Env particlelight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (categorising)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=env_particlelight}}
{{base point|env_particlelight}}
{{base_point}}


==Entity Description==
==Entity Description==
An entity that can be used to light the smoke particles emitted by [[Env_smokestack|env_smokestack]] entities. Does not light any other particle types.
An entity that can be used to light the smoke particles emitted by [[env_smokestack]] entities. Does not light any other particle types.


==Keyvalues==
==Keyvalues==
{{KV|Color|color255|Color emitted by this light.}}
{{KV|Intensity|integer}}
{{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.}}
:* 0 : No
:* 1 : Yes
{{KV|Particle System Entity|string|Set this to the name of the env_smokestack that you want this light to affect.}}
{{KV Parentname}}


* {{KV Targetname}}
==Inputs==
 
{{I Parentname}}
* {{KV Parentname}}
 
* '''Color'''
: {{color}} Color emitted by this light.


* '''Intensity'''
[[Category:Lighting]]
: <integer>
 
* '''directional'''
: {{boolean}} 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.
 
* '''PSName'''
: <string> Set this to the name of the [[env_smokestack]] that you want this light to affect.
 
==Inputs==
* {{Not in FGD}}
:{| class=standard-table
|
* {{I Targetname}}
|}
* {{I Parentname}}
==Outputs==
* {{Not in FGD}} {{O Targetname}}
[[Category:Lightning]]

Revision as of 09:50, 7 June 2011

Template:Base point

Entity Description

An entity that can be used to light the smoke particles emitted by env_smokestack entities. Does not light any other particle types.

Keyvalues

Color ([todo internal name (i)]) <color255>
Color emitted by this light.
Intensity ([todo internal name (i)]) <integer>
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 ([todo internal name (i)]) <string>
Set this to the name of the env_smokestack that you want this light to affect.
Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.