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...)
 
 
Line 22: Line 22:
  
 
Creates a cloud of particles, useful for forcefields but quite customizable.
 
Creates a cloud of particles, useful for forcefields but quite customizable.
 +
[[Category:DarkPlaces]]

Latest revision as of 02:24, 25 March 2013

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.