Info darknessmode lightsource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(cleanup)
No edit summary
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:info_darknessmode_lightsource}}
{{this is a|point entity|game=Half-Life 2: Episode One|name=info_darknessmode_lightsource}}
{{hl2 point|info_darknessmode_lightsource}}
{{stub}}
{{stub}}


==Entity description==
==Entity description==
AI Darkness Lightsource {{Todo|Add a usefull description.}}
If the map is set to darkness mode using the [[env_global]] entity, this entity represents a light source that [[npc_alyx|Alyx]] can see in and try to go to if hurt.


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