Env lightglow
From Valve Developer Community
This point-based entity is available in all Source games.| Table of contents |
[edit]
Entity Description
An entity that puts an additive glow in the world, mostly used over light sources and other locations where a glow would look natural (tunnels, caves, dark buildings, etc).
Tip: For symmetrical glows, you can also use an env_sprite entity using a glow sprite.[edit]
Keyvalues
- targetname <target_source>
- Defines the name that other entities refer to this entity by.
- hammerid [Episode Two Update]
- <integer readonly> This id is used for debugging purposes in Hammer.
- parentname <target_destination>
- Specifies the targetname of this entity's Parent in a movement hierarchy. Child entities move with their Parent.
- HDRColorScale
- <float> Float value to multiply sprite color by when running in HDR mode.
- rendercolor
- <color255> Glow Color
- VerticalGlowSize
- <integer> Vertical Size
- HorizontalGlowSize
- <integer> Horizontal Size
- MinDist
- <integer> The distance at which this effect will be fully translucent.
- MaxDist
- <integer> The distance at which this effect will be at full intensity.
- OuterMaxDist
- <integer> If larger than the maximum distance, this is the length at which the glow will fade completely out, between the span of the maximum distance and this length.
- GlowProxySize
- <float> Size of the glow to be rendered for visibility testing. Must be larger than the distance from the sprite center to empty space. So if this glow is inside geometry (like a light bulb), set this value to be bigger than the bulb's radius. Any time a sphere of this radius would be visible (poking through any nearby geometry), the glow will be rendered.
[edit]
Flags
- 1 : Visible only from front
[edit]
Inputs
- Kill
- Removes this entity from the world.
- Removes this entity and all its children from the world.
- AddOutput <string>
- Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
- Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
[edit]
Outputs
- Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
- !activator = activator
