Info lighting relative: Difference between revisions
mNo edit summary |
m (icon) |
||
Line 5: | Line 5: | ||
==Entity Description== | ==Entity Description== | ||
[[Image: | [[Image:info_lighting.png|right]] | ||
This entity is not present in the FGD, but is in the code. Despite its obsolete icon, this entity is used in the very beginning of HL2 (in the ''d1_trainstation_01'' map) inside the train car Gordon arrives in (where the zoom occurs, before he is teleported to the second, moving, train car). | This entity is not present in the FGD, but is in the code. Despite its obsolete icon, this entity is used in the very beginning of HL2 (in the ''d1_trainstation_01'' map) inside the train car Gordon arrives in (where the zoom occurs, before he is teleported to the second, moving, train car). | ||
Revision as of 16:04, 16 April 2006
Entity Description
This entity is not present in the FGD, but is in the code. Despite its obsolete icon, this entity is used in the very beginning of HL2 (in the d1_trainstation_01 map) inside the train car Gordon arrives in (where the zoom occurs, before he is teleported to the second, moving, train car).
The function and use of this entity is so far unknown, but a good guess would be that this entity applies static lighting to dynamic objects, improving performance (as this lighting might not count as dynamic lighting despite being inside a moving entity) and/or to avoid lighting fluctuations caused by movement. The info_lighting_relative is placed inside a static environment, and linked via the LightingLandmark keyvalue to an info_target entity inside an (preferably identical) moving environment where the lighting will be applied.
Another guess would be that it simply uses the lighting from one place, and applies it to another.
Keyvalues
- Template:Kv targetname
- LightingLandmark
- <?> In HL2 this keyvalue contains the name of an info_target entity in the second train car - a duplicate version of the boxcar the info_lighting_relative is in, seemingly at the exact same place inside it.