Info hang lighting: Difference between revisions
Jump to navigation
Jump to search
Note:Special property of entity having this classname is that when CTerrorPlayer's ResetLightingOrigin method is called it checks if their current lighting origin entity's classname is info_hang_lighting and then removes it
Bug:If player's SetLightingOrigin input is used during hanging the
Bug:Going idle or taking over a character while hanging removes info_hang_lighting which results in situation shown in third example [todo tested in ?]
(-hang lighting) |
(-example of why this is needed) |
||
Line 5: | Line 5: | ||
{{bug|If player's SetLightingOrigin input is used during hanging the <code>info_hang_lighting</code> is not removed}} | {{bug|If player's SetLightingOrigin input is used during hanging the <code>info_hang_lighting</code> is not removed}} | ||
<!-- I am probably reaching here with that bug but there is not much to put on this page --> | <!-- I am probably reaching here with that bug but there is not much to put on this page --> | ||
{{bug|Going idle or taking over a character while hanging removes info_hang_lighting which results in situation shown in third example}} | |||
[[File:Info hang lighting example.jpg|thumb|center|500px|Position where the entity spawns]] | |||
[[File:Info hang lighting example 2.jpg|500px|thumb|center|Example of why info_hang_lighting is needed]] | |||
[[File:Info hang lighting example 3.jpg|500px|thumb|center|Example of how the situation would look like without info_hang_lighting]] | |||
{{clr}} | {{clr}} | ||
== See Also == | == See Also == | ||
* {{ent|info_target}} | * {{ent|info_target}} |
Latest revision as of 19:28, 25 June 2024
![]() |
---|
CPointEntity |
info_hang_lighting
is a point entity available in Left 4 Dead series. It's automatically created when player hangs from ledge and it's set as their lighting origin.


info_hang_lighting
is not removed [todo tested in ?]