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

Difference between revisions of "DP TE PARTICLECUBE"

From Quake Wiki

(New page: Builtin definitions: <pre> void(vector mincorner, vector maxcorner, vector vel, float howmany, float color, float gravityflag, float randomveljitter) te_particlecube = #408; </pre> T...)
(No difference)

Revision as of 13:53, 29 February 2008

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.