Info lighting: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added what i discovered today, which is that props using a info_lighting will also reflect cubemaps from the same point they take the lighting.)
(After experimenting, info_lighting has broken functionality in TF2)
Line 1: Line 1:
{{base_point|info_lighting|internal=1|sprite=1}} It can be used to change the [[lighting]] [[origin]] of a [[prop_static]] or a vehicle prop. Set the prop's '''lightingorigin''' keyvalue to point at this entity to make the prop light as if it was at the info_lighting's origin. Good for prop_static entities that are embedded in world geometry (like rocks/windows/etc). It also changes the [[cubemap]] origin, meaning the prop will show reflections from the closest cubemap to the info_ligthing entity. For a prop_dynamic, use [[info_target]].{{clr}}
{{base_point|info_lighting|internal=1|sprite=1}} It can be used to change the [[lighting]] [[origin]] of a [[prop_static]] or a vehicle prop. Set the prop's '''lightingorigin''' keyvalue to point at this entity to make the prop light as if it was at the info_lighting's origin. Good for prop_static entities that are embedded in world geometry (like rocks/windows/etc). It also changes the [[cubemap]] origin, meaning the prop will show reflections from the closest cubemap to the info_lighting entity. For a prop_dynamic, use [[info_target]].{{clr}}
{{intent}}
{{intent}}
:{{bug|This entity doesn't function properly in Team Fortress 2, use info_target instead.}}


== Keyvalues ==
== Keyvalues ==

Revision as of 10:41, 22 January 2018

Template:Base point It can be used to change the lighting origin of a prop_static or a vehicle prop. Set the prop's lightingorigin keyvalue to point at this entity to make the prop light as if it was at the info_lighting's origin. Good for prop_static entities that are embedded in world geometry (like rocks/windows/etc). It also changes the cubemap origin, meaning the prop will show reflections from the closest cubemap to the info_lighting entity. For a prop_dynamic, use info_target.

Template:Intent

Icon-Bug.pngBug:This entity doesn't function properly in Team Fortress 2, use info_target instead.  [todo tested in ?]

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

Inputs

Outputs

External Links

.VMF that has a prop_static using 2 lights (on/off green/red using triggers)

http://www.mediafire.com/?c7200b7lq7bw49i http://gtamike.tsgk.com/two_lights_static_info_lighting.rar


Interlopers Topic http://www.interlopers.net/forum/viewtopic.php?f=2&t=23112