This page is incomplete! You can contribute information using GitHub issues or pull requests.

...

Structure and fields

Field Type Comments
flags bitfield
Flag Mask Comments
dynamic 0x1
no specular 0x2
don't light own object 0x4
supersize in first person 0x8
first person flashlight 0x10
don't fade active camouflage 0x20
radius float
  • Default: 1
radius modifer Bounds
  • Default: 1,1
Field Type Comments
min float
max float
falloff angle float
  • Default: 3.14159274101257
cutoff angle float
  • Default: 3.14159274101257
lens flare only radius float
cos falloff angle float
  • Cache only
cos cutoff angle float
  • Cache only
unknown two float
  • Cache only

Not setting this to 2 breaks the first person flashlight.

sin cutoff angle float
  • Cache only
interpolation flags bitfield
Flag Mask Comments
blend in hsv 0x1
more colors 0x2
color lower bound ColorARGB
Field Type Comments
alpha float
red float
green float
blue float
color upper bound ColorARGB?
primary cube map TagDependency: bitmap
texture animation function enum
Option Value Comments
one 0x0
zero 0x1
cosine 0x2
cosine variable period 0x3
diagonal wave 0x4
diagonal wave variable period 0x5
slide 0x6
slide variable period 0x7
noise 0x8
jitter 0x9
wander 0xA
spark 0xB
texture animation period float
  • Unit: seconds
secondary cube map TagDependency: bitmap
yaw function enum?
yaw period float
  • Unit: seconds
  • Default: 1
roll function enum?
roll period float
  • Unit: seconds
  • Default: 1
pitch function enum?
pitch period float
  • Unit: seconds
  • Default: 1
lens flare TagDependency: lens_flare
intensity float
color ColorRGB
Field Type Comments
red float
green float
blue float
duration float
  • Unit: seconds
falloff function enum
Option Value Comments
linear 0x0
early 0x1
very early 0x2
late 0x3
very late 0x4
cosine 0x5

Acknowledgements

Thanks to the following individuals for their research or contributions to this topic:

  • Kavawuvi (Invader tag definitions)
  • MosesOfEgypt (Tag structure research)