question about light_environment


caboose
03-29-2007, 09:31 AM
is there any way to kill this particular entity via a trigger?
so you could make the level suddenly dark?

Formologic23
03-29-2007, 09:49 AM
Expanding that idea if it is possible, why not have multiple light_environments with multiple triggers to simulate the differences in time of day.

Neutrino
03-29-2007, 09:56 AM
Expanding that idea if it is possible, why not have multiple light_environments with multiple triggers to simulate the differences in time of day.

do people plan to play this long?

Dustin Diamond
03-29-2007, 09:59 AM
no you cant do this. The shadows are not dynamic, they are "baked" into the textures during compile. :(

Formologic23
03-29-2007, 10:22 AM
no you cant do this. The shadows are not dynamic, they are "baked" into the textures during compile. :(Hence the shadows still being there when you fade out.

do people plan to play this long?I mean going from say, early morning to mid afternoon or something. Also, it wouldn't seem to make much sense going from light to immediate dark with the light_environment, maybe with the dynamic lights.

Furyo
03-29-2007, 11:22 AM
You guys should check this link at VERC. The thread has never died, and never got very very far either

http://www.chatbear.com/unity2/653/371,1120968450,19389/879824?v=flatold

caboose
03-29-2007, 01:09 PM
thats a shame i was hoping i would be able to kill them so i could say slowly make a level lighter or darker as ppl cap flags...so when the level is dark and moody, you know axis are winning, lighter and allies are winning.
or set a timer so levels get lighter seeming as if morning is arriving.

OrnateBaboon
03-29-2007, 06:18 PM
Here are a couple of videos that show some dynamic source lighting. One shows the sun moving, the other shows the shadows changing as the sun moves. Maybe it will become a proper feature at some point.

The videos have been sped up to show the change.


http://gmod.foszor.com/pub/videos/day-night.wmv
http://gmod.foszor.com/pub/videos/day-night-shadows.wmv

Ca-Chicken-Soup
03-29-2007, 06:37 PM
Dynamic shadows in multiplayer maps are a big no-no. Even a single one can drop fps by at least 10. There are lights that can be turned on and off. I believe RAD is told by these ents to make two versions of lightmaps in the vicinity of the light. However even if the light_env would do this, it would boost the filesize for the map hugely.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.