Info lighting relative: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
{{Ent_not_in_fgd}} | {{Ent_not_in_fgd}} | ||
==Entity Description== | |||
[[Image:info_lighting.png|right]] | |||
This entity is used in ''d1_trainstation_01'', inside the train car [[Dr. Gordon Freeman|Gordon]] encounters [[G-Man]]. | |||
It can be used on any model entity. Use the {{not in fgd}} LightingOriginHack keyvalue to set the entity's initial lighting origin and the {{not in fgd}} SetLightingOriginHack input to set a new lighting origin.{{clr}} | |||
===FGD Code=== | |||
@PointClass base(Targetname, Parentname) iconsprite("editor/info_lighting.vmt") = info_lighting_relative | @PointClass base(Targetname, Parentname) iconsprite("editor/info_lighting.vmt") = info_lighting_relative | ||
[ | [ | ||
Line 8: | Line 15: | ||
" be used." | " be used." | ||
] | ] | ||
==Keyvalues== | ==Keyvalues== | ||
* {{kv targetname}} | * {{kv targetname}} |
Revision as of 20:44, 16 April 2006
Entity Description
This entity is used in d1_trainstation_01, inside the train car Gordon encounters G-Man.
It can be used on any model entity. Use the Template:Not in fgd LightingOriginHack keyvalue to set the entity's initial lighting origin and the Template:Not in fgd SetLightingOriginHack input to set a new lighting origin.
FGD Code
@PointClass base(Targetname, Parentname) iconsprite("editor/info_lighting.vmt") = info_lighting_relative [ LightingLandmark(target_destination) : "Lighting Landmark" : : "Entity at which the reference origin is contained. " + " If empty, the info_lighting_relative's origin will" + " be used." ]
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- LightingLandmark
- <target_destination> Entity at which the reference origin is contained. If empty, the info_lighting_relative's origin will be used.