env_effectscript
Jump to navigation
Jump to search
Code classes:
CEnvEffectsScript
CBaseAnimating
(models)CBaseEntity
(all ents)
env_effectscript
is a point entity present in all Source games. It creates env_sprite
s and env_spritetrail
s 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.