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

Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: {{language subpage → {{langsp) |
(-added class hierarchy) |
||
Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env embers}}[[File:env_embers.gif|thumb|250px|<code>env_embers</code> demonstration.]] | <!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env embers}}{{CD|CEmbers|file1=effects.cpp}}[[File:env_embers.gif|thumb|250px|<code>env_embers</code> demonstration.]] | ||
{{this is a|e2|name=env_embers}} It spawns fire embers within its volume. For some reason its state can only be changed with the {{ent|Use}} input. | {{this is a|e2|name=env_embers}} It spawns fire embers within its volume. For some reason its state can only be changed with the {{ent|Use}} input. | ||
{{sfx_brush}} | {{sfx_brush}} | ||
Line 11: | Line 9: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV|Ember type |intn=particletype|choices|deprecated=1|Not present in code. The manner in which embers should appear and disappear. | {{KV|Ember type |intn=particletype|choices|deprecated=1|Not present in code. The manner in which embers should appear and disappear. | ||
:*0: Normal | :*0: Normal | ||
Line 19: | Line 18: | ||
{{KV|Particle Speed |intn=speed|int|Number of units moved by particles each second.}} | {{KV|Particle Speed |intn=speed|int|Number of units moved by particles each second.}} | ||
{{KV|Ember Color |intn=rendercolor|color255|Color of the sprites.}} | {{KV|Ember Color |intn=rendercolor|color255|Color of the sprites.}} | ||
==Inputs== | ==Inputs== | ||
{{IO|Color|nofgd=1|param=color255|Changes the color that new sprites will spawn with.}} | {{IO|Color|nofgd=1|param=color255|Changes the color that new sprites will spawn with.}} |
Revision as of 00:13, 10 February 2024


![]() |
---|
CEmbers |
![]() |
env_embers
is an e2 available in all Source games. It spawns fire embers within its volume. For some reason its state can only be changed with the Use input.
Flags
- Start On : [1]
- Toggle : [2]
- If left off, only one
Use
input will ever be accepted.
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
Ember type (particletype) <choices>- Deprecated.
Not present in code. The manner in which embers should appear and disappear.- 0: Normal
- 1: Smooth Fade
- 2: Pulled
- Density (density) <integer>
- Number of particles spawned each second.
- Particle Lifetime (lifetime) <integer>
- Number of seconds each particle lasts for. A certain amount of randomness is added proportional to the time specified here.
- Particle Speed (speed) <integer>
- Number of units moved by particles each second.
- Ember Color (rendercolor) <color255>
- Color of the sprites.