Category talk:Flags

From Valve Developer Community
Jump to navigation Jump to search
  • What are "spawnflags" and how do they differ from "keyvalues", "inputs" and "outputs" ? what kind of things are flags generally used for ?
Boolean : flags can only be on/off, but then many "keyvalues" offer only a choice of "yes/no" ... ?


  • What do the flag numbers mean and why are they logarithmic?
I guess that all the active-flag numbers are added together for storage (somewhere) as a single integer value, eg 519 can only mean flags 1+2+4+512 ?


  • Which entities use which flags ?
See the specific documentation page for the entity classname or decipher the FGD file.


  • What is the best way to document and comment on the usefulness / function of each flag ?
  • Inline ? - ie within each relevant Template:Fl_ ... so notes appear on (already cluttered) entity documentation pages?
  • Link ? ie using flag label as pagetitle/redirect link ?
eg flag : 1024 : Think outside PVS : 0 (then #REDIRECT PVS#flags) ?
eg flag : 1024 : Think outside PVS : 0 (using piped link to PVS) ?
eg flag : 1024 : Think outside PVS : 0 (using glossary keywords) ?
  • Template ?
eg {{Think outside PVS}} => [[PVS|Think outside PVS]]<includeonly>[[Category:Thinking Entities]]</includeonly><noinclude>[[Category:Flags|T]]</noinclude>.

--Beeswax 14:12, 26 Feb 2008 (PST)