Env ambient light

From Valve Developer Community
Revision as of 23:54, 12 June 2011 by Barracuda (talk | contribs) (Created page with '{{base point multi|env_ambient_light|game1=Portal 2|game2=Alien Swarm}} == Entity description == left|link= An entity to control the color correcti…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Base point multi

Entity description

Color correction.png

An entity to control the color correction in the map.

Keyvalues

Color (R G B) ([todo internal name (i)]) <color255>
Ambient light color.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

SpatialEntity:

Lookup Falloff Start Distance (minfalloff) <float>
Within this range to the entity, the effect will be at full strength. If this is larger than the End Distance, the effect will apply to the entire map.
Lookup Falloff End Distance (maxfalloff) <float>
Maximum distance from the entity that the effect is applied. At this distance, the effect is barely apparent but will strengthen as the viewer approaches the Start Distance.
Maximum Weight (maxweight) <float>
This is the maximum weight for this lookup.[Clarify]
Lookup Fade In Duration (fadeInDuration) <float>
When the entity becomes Enabled, how long the effect takes to fade in.
Lookup Fade out Duration (fadeOutDuration) <float>
When the entity becomes Disabled, how long the effect takes to fade out.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

SetColor <color255RedirectInput/color32>
Sets the color.

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

SpatialEntity:

SetFadeInDuration <floatRedirectInput/float>
Sets the Lookup Fade In Duration.
SetFadeOutDuration <floatRedirectInput/float>
Sets the Lookup Fade out Duration.

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs