Env embers

From Valve Developer Community
Revision as of 15:57, 26 January 2021 by Sattonru (talk | contribs) (Changed thumbnail image.)
Jump to navigation Jump to search
English (en)Translate (Translate)
env_embers demonstration.

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