Changing light levels Created 17 years ago2007-08-08 12:42:13 UTC by Kill_the_Bug Kill_the_Bug

Created 17 years ago2007-08-08 12:42:13 UTC by Kill_the_Bug Kill_the_Bug

Posted 17 years ago2007-08-08 12:42:13 UTC Post #231608
Hey - has anyone changed a lighting level on a map?

example - day to night (using a fade) and back again

How to do it? thanks.
Posted 17 years ago2007-08-08 12:51:51 UTC Post #231610
Only possible with two versions of the same map, and a level change after the fade. Lightmaps are decided upon compiling, and are hard to change ingame.
Posted 17 years ago2007-08-08 12:57:20 UTC Post #231613
thanks!
Posted 17 years ago2007-08-08 13:03:29 UTC Post #231614
What is this for? I know there are a few AMX plugins that can change the map's lighting on a global level, which you might be able to use depending on what exactly you are trying to do.
Posted 17 years ago2007-08-08 13:23:33 UTC Post #231619
I wanted to give a DOD battle a day/night time effect. As the battle progresses it will get dark and then light again if it goes to night.

Perhaps have global lights 1 2 3 - 1 day - 2 dusk - 3 night then a multi manger and timer countdown - to switch the lights on and off.
Posted 17 years ago2007-08-08 14:47:44 UTC Post #231630
Multiplayer? Won't work as easy as that.
If it's possible to trigger a light_enviroment on/off - you can fake the lighting levels by using a bunch of those. The sky can't be changed ingame though. You'll have to go around that and either use one sky that would work both with day and night, or replace the skybox with a func_wall, with it's render mode set to color and make it fade with the light_enviroment from blue to black, or however you want it.
Daubster DaubsterVault Dweller
You must be logged in to post a response.