Env particlelight: Difference between revisions
Jump to navigation
Jump to search
m (→Keyvalues) |
(updates) |
||
Line 1: | Line 1: | ||
{{base point|env_particlelight}} | {{lang|Env particlelight}} | ||
{{base point|env_particlelight}} It can be used to light the smoke particles emitted by {{ent|env_smokestack}} entities. Does not light any other particle types. | |||
{{code class|CParticleLight|particle_light.cpp}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Color|color255|Color emitted by this light.}} | {{KV|Color (Color)|color255|Color emitted by this light.}} | ||
{{KV|Intensity|integer|How strong the light is}} | {{KV|Intensity (Intensity)|integer|How strong the light is.}} | ||
{{KV|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. | {{KV|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 | :*0: No | ||
:* 1 : Yes | :*1: Yes}} | ||
{{KV|Particle System Entity|string|Set this to the name of the env_smokestack that you want this light to affect.}} | {{KV|Particle System Entity (PSName)|string|Set this to the name of the <code>env_smokestack</code> that you want this light to affect.}} | ||
{{KV | {{KV BaseEntity|css=1}} | ||
==Inputs== | ==Inputs== | ||
{{I | {{I BaseEntity}} | ||
==Outputs== | |||
{{O BaseEntity|l4d=1}} | |||
[[Category:Lighting]] | [[Category:Lighting]] |
Revision as of 08:32, 29 September 2018
Template:Base point It can be used to light the smoke particles emitted by env_smokestack entities. Does not light any other particle types.
Keyvalues
- 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.