Env smoketrail: Difference between revisions
Jump to navigation
Jump to search
(value 0 means it will never emit. which other games does this apply to?) |
m (→Keyvalues) |
||
Line 13: | Line 13: | ||
{{KV|End Color|intn=endcolor|color255|Ending color of the emitted particles.}} | {{KV|End Color|intn=endcolor|color255|Ending color of the emitted particles.}} | ||
{{KV|Emitter Life Time|intn=emittime|float|Number of seconds until the <code>env_smoketrail</code> stops emitting particles. 0 means never stop emitting particles.}} | {{KV|Emitter Life Time|intn=emittime|float|Number of seconds until the <code>env_smoketrail</code> stops emitting particles. 0 means never stop emitting particles.}} | ||
:{{bug|A value of 0 means it will never emit particles in {{css}}.}} | :{{bug|A value of 0 means it will never emit particles in {{css}}. Only if the KV is deleted will it emit indefinitely.}} | ||
{{KV|Minimum Random Speed|intn=minspeed|float|Minimum randomly-directed speed to use for emitted particles.}} | {{KV|Minimum Random Speed|intn=minspeed|float|Minimum randomly-directed speed to use for emitted particles.}} | ||
{{KV|Maximum Random Speed|intn=maxspeed|float|Maximum randomly-directed speed to use for emitted particles.}} | {{KV|Maximum Random Speed|intn=maxspeed|float|Maximum randomly-directed speed to use for emitted particles.}} |
Latest revision as of 15:37, 19 November 2024
![]() |
---|
SmokeTrail |
![]() |
env_smoketrail
is a point entity available in all Source games. It creates a smoke trail.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Sprite Opacity (opacity) <float>
- Opacity of the sprites (range from 0 - 1).
- Spawn Rate (spawnrate) <float>
- Number of particles to emit each second.
- Particle Life Time (lifetime) <float>
- Number of seconds until each particle dies.
- Start Color (startcolor) <color255>
- Starting color of the emitted particles.
- End Color (endcolor) <color255>
- Ending color of the emitted particles.
- Emitter Life Time (emittime) <float>
- Number of seconds until the
env_smoketrail
stops emitting particles. 0 means never stop emitting particles. Bug:A value of 0 means it will never emit particles in
. Only if the KV is deleted will it emit indefinitely. [todo tested in ?]
- Minimum Random Speed (minspeed) <float>
- Minimum randomly-directed speed to use for emitted particles.
- Maximum Random Speed (maxspeed) <float>
- Maximum randomly-directed speed to use for emitted particles.
- Minimum Directed Speed (mindirectedspeed) <float>
- Minimum speed along the
env_smoketrail
's forward direction (x axis) to use for emitted particles.
- Maximum Directed Speed (maxdirectedspeed) <float>
- Maximum speed along the
env_smoketrail
's forward direction (x axis) to use for emitted particles.
- Starting particle size (startsize) <float>
- Starting particle size.
- Ending particle size (endsize) <float>
- Ending particle size.
- Spawn radius (spawnradius) <float>
- Distance from
env_smoketrail
at which particles are emitted.
Fire Sprite (firesprite) <sprite>- Deprecated.
Not present in code. Sprite to use for fire particles.
Smoke Puff (smokesprite) <sprite>- Deprecated.
Not present in code. Sprite to use for smoke puffs.