Particle System Emitters

From Valve Developer Community
Revision as of 22:31, 3 July 2008 by Mdurand (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


General Operations

Operator Fade In/Fade Out/Fade Oscillate - These are standard operators that work on continuous emitters. Currently they do not fade in and out, but this will work eventually.

In and Out times are relative to the emitter lifespan, so an emitter that fades in after 3 seconds does so relative to the emitters life, not any given individual particle.

If an oscillation time is set, fade in and fade out times become 0.0 to 1.0 times relative to that oscillation time. That is if you wish your emitter to oscillate in and out, setting an oscillation time of 4, a fade in of .25 and a fade out of .75 would mean that the emitter has no effect for 1 second (one quarter the oscillation cycle time), works for 2 seconds (.25-.75), fades back out at 3 (three quarters of the oscillation cycle time), and then the cycle loops at the 4th second back to the start.


emit_instantaneously

Emits particles in one instantaneous burst.

Parameter Description
emission_start_time Time at which to begin emitting particles (seconds).
num_to_emit Number of particles to emit in a burst.

emit_continuously

Emits particles continuously over a specified period of time.

Parameter Description
emission_start_time Time at which to begin emitting particles (seconds).
emission_rate Number of particles to spawn (per second).
emission_duration Length of time to continue emitting particles (seconds).

emit noise