Info darknessmode lightsource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{this is a|e0|game=ep1|name=info_darknessmode_lightsource}}
{{this is a|point entity|game=Half-Life 2: Episode One|name=info_darknessmode_lightsource}}
{{stub}}
{{stub}}


Line 7: Line 7:
==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
 
{{KV StartDisabled}}
{{KV EnableDisable}}
 
{{KV|Light Radius|float| The radius around this lightsource in which Alyx will be able to see enemies.}}
{{KV|Light Radius|float| The radius around this lightsource in which Alyx will be able to see enemies.}}


==Inputs==
==Inputs==
{{I Targetname}}
{{I EnableDisable}}
{{I EnableDisable}}
==Outputs==
{{O Targetname}}


[[Category:Half-Life 2: Episode One Entities]]
[[Category:Half-Life 2: Episode One Entities]]

Latest revision as of 07:38, 4 June 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 ([todo internal name (i)]) <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.