This article's documentation is for anything that uses the Source engine. Click here for more information.

env_smoketrail

From Valve Developer Community
Revision as of 16:55, 17 May 2024 by PeeBot (talk | contribs) (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
env_smoketrail with default settings in action

env_smoketrail is a point entity available in all Source Source games. It creates a smoke trail.

C++ In code, it is represented by theSmokeTrailclass, defined in thesmoke_trail.cppfile.

Keyvalues

Sprite Opacity (opacity) ([todo internal name (i)]) <float>
Opacity of the sprites (range from 0 - 1).
Spawn Rate (spawnrate) ([todo internal name (i)]) <float>
Number of particles to emit each second.
Particle Life Time (lifetime) ([todo internal name (i)]) <float>
Number of seconds until each particle dies.
Start Color (startcolor) ([todo internal name (i)]) <color255>
Starting color of the emitted particles.
End Color (endcolor) ([todo internal name (i)]) <color255>
Ending color of the emitted particles.
Emitter Life Time (emittime) ([todo internal name (i)]) <float>
Number of seconds until the env_smoketrail stops emitting particles. 0 means never stop emitting particles.
Minimum Random Speed (minspeed) ([todo internal name (i)]) <float>
Minimum randomly-directed speed to use for emitted particles.
Maximum Random Speed (maxspeed) ([todo internal name (i)]) <float>
Maximum randomly-directed speed to use for emitted particles.
Minimum Directed Speed (mindirectedspeed) ([todo internal name (i)]) <float>
Minimum speed along the env_smoketrail's forward direction (x axis) to use for emitted particles.
Maximum Directed Speed (maxdirectedspeed) ([todo internal name (i)]) <float>
Maximum speed along the env_smoketrail's forward direction (x axis) to use for emitted particles.
Starting particle size (startsize) ([todo internal name (i)]) <float>
Starting particle size.
Ending particle size (endsize) ([todo internal name (i)]) <float>
Ending particle size.
Spawn radius (spawnradius) ([todo internal name (i)]) <float>
Distance from env_smoketrail at which particles are emitted.
Fire Sprite (firesprite) ([todo internal name (i)]) <sprite> Obsolete
Deprecated.
Not present in code. Sprite to use for fire particles.
Smoke Puff (smokesprite) ([todo internal name (i)]) <sprite> Obsolete
Deprecated.
Not present in code. Sprite to use for smoke puffs.


Inputs

Outputs