glow

🚧 This article is a stub. You can help expand it by submitting content in pull requests or issues in this wiki's source repo.

Glow tags are used to create a particle-based glowing plasma effect.

Structure and fields #

Field Type Comments
attachment marker char[32]
number of particles u16
boundary effect enum
Option Value Comments
bounce 0x0
wrap 0x1
normal particle distribution enum
Option Value Comments
distributed randomly 0x0
distributed uniformly 0x1
trailing particle distribution enum
Option Value Comments
emit vertically 0x0
emit normal up 0x1
emit randomly 0x2
glow flags bitfield(32)
Flag Mask Comments
modify particle color in range 0x1
particles move backwards 0x2
partices move in both directions 0x4
trailing particles fade over time 0x8
trailing particles shrink over time 0x10
trailing particles slow over time 0x20
pad(28)
pad(2)
pad(2)
pad(4)
attachment 0 enum
  • This field's value must be subtracted by 1 by map compilers. It is unknown why this is done by Tool.
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
particle rotational velocity f32
particle rot vel mul low f32
particle rot vel mul high f32
attachment 1 enum
  • This field's value must be subtracted by 1 by map compilers. It is unknown why this is done by Tool.
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
effect rotational velocity f32
effect rot vel mul low f32
effect rot vel mul high f32
attachment 2 enum
  • This field's value must be subtracted by 1 by map compilers. It is unknown why this is done by Tool.
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
effect translational velocity f32
effect trans vel mul low f32
effect trans vel mul high f32
attachment 3 enum
  • This field's value must be subtracted by 1 by map compilers. It is unknown why this is done by Tool.
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
min distance particle to object f32
max distance particle to object f32
distance to object mul low f32
distance to object mul high f32
pad(8)
attachment 4 enum
  • This field's value must be subtracted by 1 by map compilers. It is unknown why this is done by Tool.
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
particle size bounds f32 (world units) (min & max)
size attachment multiplier f32 (min & max)
attachment 5 enum
  • This field's value must be subtracted by 1 by map compilers. It is unknown why this is done by Tool.
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
color bound 0
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
color bound 1
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
scale color 0
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
scale color 1
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
color rate of change f32
fading percentage of glow f32
particle generation freq f32 (Hz)
lifetime of trailing particles f32 (seconds)
velocity of trailing particles f32 (world units per second)
trailing particle minimum t f32
trailing particle maximum t f32
pad(52)

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)