View Single Post
Re: code to get the illumination at any point on the map
Old
  (#44)
Immortal_BLG
Member
 
Status: Offline
Posts: 171
Join Date: Nov 2007
Location: Russian Federation
Default Re: code to get the illumination at any point on the map - 23-03-2012

Quote:
Originally Posted by KWo
Did You check if v.light_level for the real player (human) is cleared (0) after the player gets killed (is dead)?
Checked already, and the answer is NO.
When the real client dies and he is not in "First Person" spectating mode - the value of the variable "light_level" does not changes, otherwise, he "takes" the value of player, which he sees.

By the way I'm not exactly sure but I think in general the engine and game DLL (CS) never uses the variable "light_level"....
  
Reply With Quote