Env particlelight: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| mNo edit summary |  (-added class hierarchy, cleanup) | ||
| Line 1: | Line 1: | ||
| {{lang|title=env_particlelight}} | {{lang|title=env_particlelight}} | ||
| {{CD|CParticleLight|file1=particle_light.cpp}} | |||
| {{entity|env_particlelight|type=e0}} It can be used to light the smoke particles emitted by {{ent|env_smokestack}} entities. Does not light any other particle types. | {{entity|env_particlelight|type=e0}} It can be used to light the smoke particles emitted by {{ent|env_smokestack}} entities. Does not light any other particle types. | ||
| ==Keyvalues== | ==Keyvalues== | ||
| {{KV|Color  | {{KV Targetname}} | ||
| {{KV|Intensity  | {{KV|Color|intn=Color|color255|Color emitted by this light.}} | ||
| {{KV|Directional  | {{KV|Intensity|intn=Intensity|integer|How strong the light is.}} | ||
| {{KV|Directional|intn=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  | {{KV|Particle System Entity|intn=PSName|string|Set this to the name of the <code>env_smokestack</code> that you want this light to affect.}} | ||
| [[Category:Lighting]] | [[Category:Lighting]] | ||
Revision as of 17:40, 27 August 2023
|  Class hierarchy | 
|---|
| CParticleLight | 
|  particle_light.cpp | 
Template:Entity It can be used to light the smoke particles emitted by env_smokestack entities. Does not light any other particle types.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- 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_smokestackthat you want this light to affect.

























