🚧 This incomplete article needs help! Please submit tips and info by pull requests or issues or contacting a maintainer.

...

Structure and fields

Field Type Comments
model
TagDependency
animation graph

TagDependency: model_animations

indoor ambient radiosity color ColorRGB
Field Type Comments
red float
green float
blue float
indoor ambient radiosity power float
outdoor ambient radiosity color ColorRGB?
outdoor ambient radiosity power float
outdoor fog color ColorRGB?
outdoor fog maximum density float
  • Min: 0
  • Max: 1
  • Default: 1
outdoor fog start distance float
  • Unit: world units
outdoor fog opaque distance float
  • Unit: world units
indoor fog color ColorRGB?
indoor fog maximum density float
  • Min: 0
  • Max: 1
  • Default: 1
indoor fog start distance float
  • Unit: world units
indoor fog opaque distance float
  • Unit: world units
indoor fog screen

TagDependency: fog

shader functions Block
  • HEK max count: 8
Field Type Comments
function name TagString
Field Type Comments
buffer char[32]
animations Block
  • HEK max count: 8
Field Type Comments
animation index int16
period float
  • Unit: seconds
lights Block
  • HEK max count: 8
Field Type Comments
lens flare

TagDependency: lens_flare

lens flare marker name TagString?
flags bitfield
Flag Mask Comments
affects exteriors 0x1
affects interiors 0x2

If enabled, this light will affect clusters with a sky index of -1, which are considered indoor/interior.

color ColorRGB?
power float
test distance float
direction Euler2D
Field Type Comments
yaw float
pitch float
diameter float

Acknowledgements

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

  • Galap (Researching the purpose of affects interiors)
  • Kavawuvi (Invader tag definitions)
  • MosesOfEgypt (Tag structure research)