Changing a map from day to night during gameplay
Moderator: Moderators
- Null_Clone_Assasin
- Lance Corporal
- Posts: 90
- Joined: Wed Nov 12, 2008 7:24 pm
Changing a map from day to night during gameplay
is this possible and how would i do it?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Changing a map from day to night during gameplay
The FAQ / Everything You Need Thread: Random Sky/Fx/Lighting Tutorial (FAQ)
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Changing a map from day to night during gameplay
Not quite, that tells you how to do random skies, not how to change the sky during a battle.
My best guess would be to make a skydome with an animated .tga, similar to tank treads, and have a texture that scrolled across, slowly turning day into night.
My best guess would be to make a skydome with an animated .tga, similar to tank treads, and have a texture that scrolled across, slowly turning day into night.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Changing a map from day to night during gameplay
i think that would look ugly
imagine clouds which get more and more squashed when they rise..
imagine clouds which get more and more squashed when they rise..
- Gen.Kenobi
- Corporal

- Posts: 150
- Joined: Sun Feb 08, 2009 3:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Lieutanant Commander aboard ENTERPRISE NX-01
Re: Changing a map from day to night during gameplay
What he said.
But the transition would need to be really slow to make it happen.
But the transition would need to be really slow to make it happen.
- YouJediJunkie
- Command Sergeant Major

- Posts: 256
- Joined: Mon Mar 10, 2008 4:06 pm
Re: Changing a map from day to night during gameplay
Well, simply an animated texture - many frames for the same animated image? Might eat up too much memory, but hey... 
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Changing a map from day to night during gameplay
Hah, an animated skydome? That's preposterous (not to make fun, but it really is laughable if you consider the reasons):YouJediJunkie wrote:Well, simply an animated texture - many frames for the same animated image? Might eat up too much memory, but hey...
1) Animated textures are really just one texture, divided into a (power of two) number of keyframes (i.e. one texture split into 16 even pieces).
2) Skydome textures need, particularly, to be high-res, because they're stretched over an entire sky.
I think the problem is apparent.
-
Null_1138
- Jedi

- Posts: 1192
- Joined: Thu Oct 16, 2008 4:05 pm
Re: Changing a map from day to night during gameplay
Well, if you can change the ambient lighting ingame, then you can get a work-around. If not, then you're stuck with random skies.
You could have a thick cloud cover, then animate it to move and reveal the skydome. I don't know, I'm just guessing from what I see happen in CoD4's "Ultimatum" map.
You could have a thick cloud cover, then animate it to move and reveal the skydome. I don't know, I'm just guessing from what I see happen in CoD4's "Ultimatum" map.
- Null_Clone_Assasin
- Lance Corporal
- Posts: 90
- Joined: Wed Nov 12, 2008 7:24 pm
Re: Changing a map from day to night during gameplay
thanks guys, sorry, bad question 
