Env embers: Difference between revisions
Jump to navigation
Jump to search

(removed the {{PAGENAME}} only because that was an exceedingly dumb use of it) |
(updates) |
||
Line 1: | Line 1: | ||
[[ | {{lang|Env embers}} | ||
[[File:env_embers.jpg|thumb|250px|An example of embers in-game. The embers are difficult to see in the thumbnail.]] | |||
{{base brush|env_embers}} It spawns fire embers within its volume. For some reason its state can only be changed with the {{ent|Use}} input. | |||
{{ | {{code class|CEmbers|effects.cpp}} | ||
==Flags== | |||
*1: Start On | |||
*2: Toggle - If left off, only one <code>Use</code> input will ever be accepted. | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Ember type (particletype)|choices|deprecated=1|Not present in code. The manner in which embers should appear and disappear. | |||
:*0: Normal | |||
:*1: Smooth Fade | |||
:* Normal | :*2: Pulled}} | ||
:* Smooth Fade | {{KV|Density (density)|int|Number of particles spawned each second.}} | ||
:* Pulled | {{KV|Particle Lifetime (lifetime)|int|Number of seconds each particle lasts for. A certain amount of randomness is added proportional to the time specified here.}} | ||
{{KV|Particle Speed (speed)|int|Number of units moved by particles each second.}} | |||
{{KV|Ember Color (rendercolor)|color255|Color of the sprites.}} | |||
{{KV BaseEntity|css=1}} | |||
{{KV | |||
{{KV | |||
==Inputs== | ==Inputs== | ||
{{IO|Color|nofgd=1|param=color255|Changes the color that new sprites will spawn with.}} | |||
{{ | {{I BaseEntity|prel4d=1}} | ||
{{I | |||
==Outputs== | ==Outputs== | ||
{{O BaseEntity|l4d=1}} | |||
{{O |
Revision as of 03:42, 24 September 2018


Template:Base brush It spawns fire embers within its volume. For some reason its state can only be changed with the Use input.
Flags
- 1: Start On
- 2: Toggle - If left off, only one
Use
input will ever be accepted.
Keyvalues
Ember type (particletype) ([todo internal name (i)]) <choices>- Deprecated.
Not present in code. The manner in which embers should appear and disappear.- 0: Normal
- 1: Smooth Fade
- 2: Pulled
- Particle Lifetime (lifetime) ([todo internal name (i)]) <integer>
- Number of seconds each particle lasts for. A certain amount of randomness is added proportional to the time specified here.
- Particle Speed (speed) ([todo internal name (i)]) <integer>
- Number of units moved by particles each second.
Inputs