env_effectscript

From Source Entities
Jump to navigation Jump to search
Env effectscript.png

Code classes:

env_effectscript is a point entity present in all Source games. It creates env_sprites and env_spritetrails parented to attachment points on an animated model to create complex effects. Arguably obsolete to the current particle system.

Keyvalues[edit | edit source]

Script Model (model) <studio>
Model to use for animation sequence.
Script File (scriptfile) <string>
File with info about the visual effects to spawn. For Half-Life 2, see scripts/effects/testeffect.txt.

Inputs[edit | edit source]

SetSequence <string>
Sets the script model's animation. See the sequence tab in the model browser for available animations.