Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

DP TE PARTICLECUBE

From Quake Wiki

Revision as of 02:24, 25 March 2013 by Hectate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Builtin definitions:

void(vector mincorner, vector maxcorner, vector vel, float howmany,
     float color, float gravityflag, float randomveljitter) te_particlecube = #408;

Temp entity definitions:

float TE_PARTICLECUBE = 54;

Protocol:

vector mins (minimum corner of the cube)
vector maxs (maximum corner of the cube)
vector velocity
short count
byte color (palette color)
byte gravity (TRUE or FALSE, FIXME should this be a scaler instead?)
coord randomvel (how much to jitter the velocity)

Creates a cloud of particles, useful for forcefields but quite customizable.