Template talk:Hl1 kv renderfields

From Valve Developer Community
Jump to navigation Jump to search

What's with the odd numbering on the FX choices, I changed it first, but now I reverted it so I can make sure with you first. Muskrat4000000 (talk) 00:08, 1 April 2015 (UTC)

  • The keyvalues in Hammer doesn't take the name of the value directly. The texts are only used by the fgd to help mappers, while it is in fact just a whol lot of numbers. For instance, what would be shown in the list as "Constant Glow" is actually saved in the map file as "14". Thought it would be usefull to have them here, just for completeness sake.
Ah okay, so I assume that's why the Flags are numbered 1, 2, 4, 16, 64, 128 and so on? Muskrat4000000 (talk) 22:20, 1 April 2015 (UTC)
Exactly, they are toggle bit-flags, wich means that if flag one and two are on, the stored value is 3, if 2 and 4 are on the stored value is 6.