Info lighting relative: Difference between revisions

From Valve Developer Community
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."
  ]
  ]
==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}}
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{kv targetname}}

Revision as of 20:44, 16 April 2006

Template:Wrongtitle

Icon-NotInFGD.png
This entity is not in the Counter-Strike: SourceHalf-Life 2Half-Life 2: DeathmatchDay of Defeat: SourceHalf-Life 2: Episode OneHalf-Life 2: Episode TwoTeam Fortress 2 FGD by default.
See below for instructions on making it available.

Entity Description

Info lighting.png

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

<target_destination> Entity at which the reference origin is contained. If empty, the info_lighting_relative's origin will be used.

Inputs

Outputs