Env smoketrail: Difference between revisions
Jump to navigation
Jump to search
(After looking at its datamaps and source code, these keyvalues don't even exist) |
(updates) |
||
Line 1: | Line 1: | ||
{{base point|env_smoketrail}} | {{lang|Env smoketrail}} | ||
{{base point|env_smoketrail}} It creates a smoke trail. | |||
{{code class|SmokeTrail|smoke_trail.cpp}} | |||
{{ | ==Keyvalues== | ||
{{KV|Sprite Opacity (opacity)|float|Opacity of the sprites (range from 0 - 1).}} | |||
{{KV|Spawn Rate (spawnrate)|float|Number of particles to emit each second.}} | |||
{{KV|Particle Life Time (lifetime)|float|Number of seconds until each particle dies.}} | |||
{{KV|Start Color (startcolor)|color255|Starting color of the emitted particles.}} | |||
{{KV|End Color (endcolor)|color255|Ending color of the emitted particles.}} | |||
{{KV|Emitter Life Time (emittime)|float|Number of seconds until the <code>env_smoketrail</code> stops emitting particles. 0 means never stop emitting particles.}} | |||
{{KV|Minimum Random Speed (minspeed)|float|Minimum randomly-directed speed to use for emitted particles.}} | |||
{{KV|Maximum Random Speed (maxspeed)|float|Maximum randomly-directed speed to use for emitted particles.}} | |||
{{KV|Minimum Directed Speed (mindirectedspeed)|float|Minimum speed along the <code>env_smoketrail</code>'s forward direction (x axis) to use for emitted particles.}} | |||
{{KV|Maximum Directed Speed (maxdirectedspeed)|float|Maximum speed along the <code>env_smoketrail</code>'s forward direction (x axis) to use for emitted particles.}} | |||
{{KV|Starting particle size (startsize)|float|Starting particle size.}} | |||
{{KV|Ending particle size (endsize)|float|Ending particle size.}} | |||
{{KV|Spawn radius (spawnradius)|float|Distance from <code>env_smoketrail</code> at which particles are emitted.}} | |||
{{KV|Fire Sprite (firesprite)|sprite|deprecated=1|Not present in code. Sprite to use for fire particles.}} | |||
{{KV|Smoke Puff (smokesprite)|sprite|deprecated=1|Not present in code. Sprite to use for smoke puffs.}} | |||
{{KV BaseEntity|css=1}} | |||
== | ==Inputs== | ||
{{ | {{I BaseEntity}} | ||
==Outputs== | |||
{{O BaseEntity|l4d=1}} | |||
== Outputs == | |||
{{O |
Revision as of 00:26, 1 October 2018
Template:Base point It creates a smoke trail.
Keyvalues
- Sprite Opacity (opacity) ([todo internal name (i)]) <float>
- Opacity of the sprites (range from 0 - 1).
- 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.
- 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.
- 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>- Deprecated.
Not present in code. Sprite to use for fire particles.
Smoke Puff (smokesprite) ([todo internal name (i)]) <sprite>- Deprecated.
Not present in code. Sprite to use for smoke puffs.