info_lighting_relative

From Source Entities
Jump to navigation Jump to search
Obsolete.png

This entity is obsolete. Using this is discouraged.

Present in:
Css.pngCS:S
Dods.pngDOD:S
Hl2.pngHL2
Hl2-episodes.pngEp1&2
Hl2dm-custom.pngHL2:DM
P1.pngPortal
Tf2.pngTF2

Code classes:

Info lighting.png

info_lighting_relative is a point entity present in some Source games. It shifts the "lighting origin" of a CBaseAnimating entity over so that the entity is lit as if it was in the position that the info_lighting_relative was in relative to the model entity when it had spawned/been sent SetLightingOriginHack.

This entity is considered obsolete because the task can also be done with the regular lighting origin setting with an info_target parented to the desired entity.