light_volume

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

The light volume tag creates dense lines of glow particles, commonly used as a projectile widget for plasma bolts and rocket exhaust. It is also used for the marine's flashlight.

Structure and fields

Field Type Comments
attachment marker char[32]
pad(2)
flags bitfield(16)
Flag Mask Comments
interpolate color in hsv 0x1
more colors 0x2
pad(16)
near fade distance f32 (world units)
far fade distance f32 (world units)
perpendicular brightness scale Fraction: f32
  • Maximum: 1
  • Default value: 1
parallel brightness scale Fraction: f32
  • Maximum: 1
  • Default value: 1
brightness scale source enum
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
pad(20)
sequence index Index: u16
count u16
pad(72)
frame animation source enum
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
pad(36)
pad(64)
frames Block?
Field Type Comments
pad(16)
offset from marker f32 (world units)
offset exponent f32
  • Default value: 1
length f32 (world units)
pad(32)
radius hither f32 (world units)
radius yon f32 (world units)
radius exponent f32
  • Default value: 1
pad(32)
tint color hither
ColorARGB (4)
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
tint color yon
ColorARGB (4)
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
tint color exponent f32
  • Default value: 1
brightness exponent f32
  • Default value: 1
pad(32)
pad(32)

This information was partially generated using Invader tag definitions.

Acknowledgements

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

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