Env smoketrail

From Valve Developer Community
< Zh
Revision as of 06:51, 18 November 2019 by 求生的兔 (talk | contribs) (Created page with "{{lang|Env smoketrail}} {{base point|env_smoketrail}} It creates a smoke trail. {{code class|SmokeTrail|smoke_trail.cpp}} ==Keyvalues== {{KV|Sprite Opacity (opacity)|float|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

Template:Base point It creates a smoke trail.

C++ 在源代码中,它由 class SmokeTrail 代表,定义于 smoke_trail.cpp

Keyvalues

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


Inputs

Outputs