Body-Guard Unstoppable!
Joined: 08 Jan 2006 Location: Hungary
|
Posted: Sat Dec 07, 2013 11:12 am Post subject: Get/SetHudmessageLightLevel ACS function |
|
|
Syntax:
Code: | GetHudmessageLightLevel(int hudmsgid);
SetHudmessageLightLevel(int hudmsgid, int lightlevel); |
This would be a zdaemon exclusive feature, and as such, I know there is a fat chance for it to never see implementation but lets give it a try...
Hudmessages are always fullbright no matter the actual sector brightness. This is undesirable behavior when using hudmessages as weapon sprites for example. (the only way to create weapons with advanced features in zdaemon)
To replicate normal weapon brightness changing as you go from one sector to another with different light level, one could use such trick:
Code: | SetHudmessageLightLevel(0,GetActorLightLevel(0)); |
This would set hudmessage brightness for all hudmessages to the light level of the sector the actor is currently standing in. |
|