Env embers

From Valve Developer Community
Revision as of 16:53, 2 May 2020 by BoxFigs (talk | contribs) (Wrong place)
Jump to navigation Jump to search
English (en)Translate (Translate)
An example of embers in-game. The embers are difficult to see in the thumbnail.

Template:Base brush It spawns fire embers within its volume. For some reason its state can only be changed with the Use input.

C++ In code, it is represented by theCEmbersclass, defined in theeffects.cppfile.

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> Obsolete
Deprecated.
Not present in code. The manner in which embers should appear and disappear.
  • 0: Normal
  • 1: Smooth Fade
  • 2: Pulled
Density (density) ([todo internal name (i)]) <integer>
Number of particles spawned each second.
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.
Ember Color (rendercolor) ([todo internal name (i)]) <color255>
Color of the sprites.


Inputs

Color <color255RedirectInput/color32> !FGD
Changes the color that new sprites will spawn with.


Outputs