Particles

This message is sent to each client within the first 30 seconds of round start.  It informs the client of the different particle systems it will need to create.

String
The name of the particle system (e.g. "ResourceEmission")
Long
Maximum number of particles
Coord
Particle size
String
Particle sprite (e.g. "sprites/flare3.spr")
Coord
Particle system lifetime (-1 == infinate)
Coord
Particle lifetime (-1 == infinate)
Coord
Animation speed
Byte
Animation frames in sprite
Coord
Scale particles over lifetime
Byte
Render mode
Long
Generation rate (particles/sec)
Byte
Generation shape
Long
Generation shape parameter 1
Long
Generation shape parameter 2
Long
Generation shape parameter 3
Long
Generation shape parameter 4
Long
Generation shape parameter 5
Long
Generation shape parameter 6
Long
Generation shape parameter 7
Long
Generation shape parameter 8
Long
Unknown (always -1?)
Coord
Unknown (always 0.0?)
Byte
Starting velocity shape
Long
Starting velocity parameter 1
Long
Starting velocity parameter 2
Long
Starting velocity parameter 3
Long
Starting velocity parameter 4
Long
Starting velocity parameter 5
Long
Starting velocity parameter 6
Long
Starting velocity parameter 7
Long
Starting velocity parameter 8
Coord
Base colour Red
Coord
Base colour Green
Coord
Base colour Blue
Coord
Particle max alpha
Long
Index of the particle system to generate on collision (-1 == none).
Long
Flags

For generation shape, the following values are valid:
0: point
4: box
5: sphere
8: blob

For starting velocity shape, the following values are valid:
1: point
2: box
3: sphere
4: box

For render mode, the following values are valid:
0: Normal
1: Trans color -> (c*a+dest*(1-a))
2: Trans texture -> (src*a+dest*(1-a))
3: Glow -> (normal?)
4: Trans alpha -> (src*srca+dest*(1-srca))
5: Additive -> (src*a+dest)

The valid flags are:
1: start on
2: particle density
4: fade in
8: fade out
16: use world grav
32: tri, not quads
128: constrain pitch
256: collide
512: high-detail only
1024: face up