View Single Post
rtxa
Senior Member
Join Date: Mar 2018
Location: Argentina
Old 12-09-2023 , 12:40   Re: Color modulation with light_environment/skybox
Reply With Quote #3

Thanks, I didn't know how to make it work in dark areas

I was experimenting with this feature in the past when porting Vampire-Slayer to HL but unfortunately I couldn't get to set this to individual players (e.g. only one type of vampires have nightvision). Any ideas?



The only solution I could thing off is to hook SVC_NEWMOVEVARS https://wiki.alliedmods.net/Half-Lif...VC_NEWMOVEVARS which is the message that contains the sky color values, but that probably requires Orpheu, not sure if there's a simpler solution, maybe using ReAPI move vars or AddToFullPack?
__________________

Last edited by rtxa; 12-10-2023 at 11:59.
rtxa is offline