env_spritetrail
Jump to navigation
Jump to search

Code classes:
CSpriteTrailCSpriteCBaseEntity(all ents)
env_spritetrail is a point entity present in all Source games. It creates a fading beam when it moves (by parenting).
Keyvalues[edit | edit source]
- Lifetime
(lifetime)<float> - How long the beam lasts. Trails with a longer lifetime will draw less precise paths.
- Start Width
(startwidth)<float> - The width of the beam at the beginning.
- End Width
(endwidth)<float> - The width of the beam segment at the end of its lifetime.
- Sprite Name
(spritename)<string> - The material to draw. The entity will only use the top row of pixels for the trail.
- Animated (Not in FGD)
(animate)<bool> - To do: Tells the sprite to animate if it can? Has never been seen working.
Editors: I've not been able to get sprites to animate with this, but that might be due to all such testing being done with hl2 fire sprites...