This article's documentation is for anything that uses the Source engine. Click here for more information.

Light glspot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(19 intermediate revisions by 12 users not shown)
Line 1: Line 1:
'''light_glspot''' is an entity in GoldSrc games. When coupled with a custom texture, it is used to design brush-based light shafts.
{{CD|CLight|file1=lights.cpp}}
{{ent not in fgd|nolink=1|because=it doesn't work in modern VRAD}}
{{obsolete|entity=1}}
{{this is a|point entity|name=light_glspot}}
A leftover from {{Half-Life 2|2|addtext='s}} early development (1999-early 2001). In the leaked Half-Life 2 "beta" builds of [[VRAD]], it acted the same as [[light_spot]], but this functionality was removed in retail VRAD.
{{altnames|{{mono|[[light]]}}, {{mono|[[light_spot]]}}, {{mono|light_glspot}}, and {{l4d|since}} {{mono|[[light_directional]]}} are all tied to the same C++ class in game, and only differ in VRAD.}}


==Keyvalues==
[[Category:Obsolete Entities]]
 
{{KV|Name|target_source|Name - If a name is given to this entity, it can be activated by another trigger. If you activate the func_breakable, it will break.}}
 
{{KV|Global entity name|target_source|If this entity is used between multiple levels, all entitys with this global entity name will have the same stats and properties.}}
 
{{KV|Render Mode|choices}}
:* 0 : Normal
:* 1 : Color
:* 2 : Texture¨
:* 3 : Glow
:* 4 : Solid
:* 5 : Additive
 
{{KV|FX Amount (0 - 255)|integer|The FX amount is used by the selected Render Mode.}}
 
{{KV|FX Color (R G B)|color255|The FX color is used by the selected Render Mode.}}
 
{{KV|Minimum light level||}}
 
[[Category:Half-Life]]

Latest revision as of 12:34, 23 March 2025

C++ Class hierarchy
CLight
CPointEntity
CBaseEntity
C++ lights.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it doesn't work in modern VRAD.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

light_glspot is a point entity available in all Source Source games. A leftover from Half-Life 2 Half-Life 2's early development (1999-early 2001). In the leaked Half-Life 2 "beta" builds of VRAD, it acted the same as light_spot, but this functionality was removed in retail VRAD.

AltNames.pngAltNames:light, light_spot, light_glspot, and (in all games since Left 4 Dead) light_directional are all tied to the same C++ class in game, and only differ in VRAD.