Канал в IRC
RusNet: #cmt
Env_lightglow

Env_lightglow

Table of contents
1 Entity Description
2 Keyvalues
3 Flags
4 Inputs
5 Outputs

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).


env_lightglow used in a tunnel to create an illusion of overwhelming brightness at the end of the tunnel
 Tip: For symmetrical glows, you can also use an env_sprite entity using a glow sprite.

Keyvalues

<target_source> The name that other entities refer to this entity by.
<integer readonly> This id is used for debugging purposes in Hammer.
<target_destination> The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
<float> Float value to multiply sprite color by when running in HDR mode.
<color255> Glow Color
<integer> Vertical Size
<integer> Horizontal Size
<integer> The distance at which this effect will be fully translucent.
<integer> The distance at which this effect will be at full intensity.
<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.
<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.

Flags


Inputs

Removes this entity from the world.
Removes this entity and all its children from the world.
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.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs. !activator = activator

К оглавлению справочника

© Valve Developer Community
CMT (CS Mapping Tutorials) - © 2006-2011. Created by VM
[ Script Execution time: 0.0013 ]