Info darknessmode lightsource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Added Light Radius Internal Name)
 
Line 8: Line 8:
{{KV Targetname}}
{{KV Targetname}}
{{KV StartDisabled}}
{{KV StartDisabled}}
{{KV|Light Radius|float| The radius around this lightsource in which Alyx will be able to see enemies.}}
{{KV|Light Radius|intn=LightRadius|float| The radius around this lightsource in which Alyx will be able to see enemies.}}


==Inputs==
==Inputs==

Latest revision as of 23:39, 8 October 2025

info_darknessmode_lightsource is a point entity available in Half-Life 2: Episode One Half-Life 2: Episode One.

Stub

This article or section is a stub. You can help by expanding it.

Entity description

If the map is set to darkness mode using the env_global entity, this entity represents a light source that Alyx can see in and try to go to if hurt.

Keyvalues

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).
Light Radius (LightRadius) <float>
The radius around this lightsource in which Alyx will be able to see enemies.

Inputs

EnableDisable:

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