This article's documentation is for anything that uses the Source engine. Click here for more information.

env_particlelight

From Valve Developer Community
Jump to: navigation, search
English (en)中文 (zh)
... Icon-Important.png
class hierarchy
CParticleLight defined in particle_light.cpp
CServerOnlyPointEntity
CServerOnlyEntity
CBaseEntity

env_particlelight is a point entity available in all Source Source games. It can be used to light the smoke particles emitted by env_smokestack entities. Does not light any other particle types.

Keyvalues


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Color (Color) <color255>
Color emitted by this light.
Intensity (Intensity) <integer>
How strong the light is.
Directional (Directional) <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) <string>
Set this to the name of the env_smokestack that you want this light to affect.