Info lighting: Difference between revisions
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) |
||
Line 3: | Line 3: | ||
{{intent}} | {{intent}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname null|vbsp only=1}} | ||
== External links == | == External links == |
Revision as of 16:49, 1 September 2024

info_lighting
is an internal point entity available in all Source games. 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.


Keyvalues
- Name (targetname) <string>
- Name of this entity. Can be used by compile tools as a prop_static's lighting origin.
Also displayed in Hammer's 2D views and Entity Report. No effect in-game.
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