env_particlelight

From Valve Developer Community
Revision as of 22:41, 7 February 2023 by THE OWL (talk | contribs)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

Template:Entity It can be used to light the smoke particles emitted by env_smokestack entities. Does not light any other particle types.

C++ In code, it is represented by theCParticleLightclass, defined in theparticle_light.cppfile.

Keyvalues

Color (Color) ([todo internal name (i)]) <color255>
Color emitted by this light.
Intensity (Intensity) ([todo internal name (i)]) <integer>
How strong the light is.
Directional (Directional) ([todo internal name (i)]) <choices>
If this is specified, then this light will use the bump map on the particles. Each particle system can have one ambient and one directional light.
  • 0: No
  • 1: Yes
Particle System Entity (PSName) ([todo internal name (i)]) <string>
Set this to the name of the env_smokestack that you want this light to affect.


Inputs

Outputs