Changing of Time

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Sonsai
Colonel
Posts: 438
Joined: Mon Feb 17, 2003 1:40 pm
Location: Wisconsin
Contact:

Changing of Time

Post by Sonsai »

Is it possible for a map in Single player for the time to change from night to day with smooth transition and not a black screen fade in?
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm well I don't think this is reasonably possible with the Q3 engine :(.
Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

i've posted a post (fancy that!!!) on here about that,

the only way to do it is tomake everything an entity, after a certain duration it'll hide a become a new entity with a lower ambientlight set (if getting darker)

this would just kill fps tho, unless you have the power in your machine to do it :D (power meaning lots and lots of power prob about 2048ram and P4 processor or higher)
hope this helps, prob not cos it's all foreign 2 me :-/
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

If your creating a linear style map it's probably possible to create the impression of time passing.

For example you could have the player enter a building at dusk, and exit at night. Really all you'd do is change the lighting between the front and back.

But you must also make it so the player can't return to the earlier parts, and that each area cannot be seen from the other.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

The actual real time spent in a map is seldom very long ( "real time", not "damn, I got killed and must start over again time" ). So letting the sun set during such a short time would be unrealistic... But maby you could just gradually change the fog gradually to a red tinted sundown color?
Admin .MAP Forums
Image
Head above heels.
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Bjarne BZR wrote:So letting the sun set during such a short time would be unrealistic...
I don't think so, many games already use accelerated time to show a transition between day and night, Earth2150 does this for example.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

I said unrealistic... I did not say that it should not be done. :D But as lighting is done at compile time, you will have to come up with a way to "fake" light changing.... like fog changes and other stuff you can affect in "real time".
Admin .MAP Forums
Image
Head above heels.
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Bjarne BZR wrote:you will have to come up with a way to "fake" light changing.
See above, I already made a suggestion for this if your working on an linear style map for SP.
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

realism, realism? get real!!!

ok, if your thinking that it gets dark or light too quick, and think it would b unrealistic, do you not think it odd that even on hard setting you can still take 4 bullets?

it's a game, a games how you interpret it and hopefully does what you want it to do, that's the whole reason you bought MOH, to escape from reality for a few...

not tryin 2 start arguments but... if people want 2 walk in2 a building and then walk out 5 minutes later... that's a little odd... but sometimes you do spend a while in a town and it does get slightly darker, it's a shame that you can't change the realism of time using radiant, but the fog is a good idea!!!

even if it was some1 elses... eh Bjarne
hope this helps, prob not cos it's all foreign 2 me :-/
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Yep, you R totally right nuggets, on all accounts :wink:
Admin .MAP Forums
Image
Head above heels.
User avatar
Sonsai
Colonel
Posts: 438
Joined: Mon Feb 17, 2003 1:40 pm
Location: Wisconsin
Contact:

Post by Sonsai »

you see, i'm in the Vietnam:Jungle Warfare mod and I am head mapper and am currently working on the Map, X-Ray, Ia Drang Valley from We Were Soldiers, and as you know they changed from day to night. But I have it planned out, you'll be knocked out and the part 1 ends there and then you wake up at a medic camp and continue at night :wink:
Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

nice plan batman... :D

are you comfortable taking player stats from one level to another?
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
Sonsai
Colonel
Posts: 438
Joined: Mon Feb 17, 2003 1:40 pm
Location: Wisconsin
Contact:

Post by Sonsai »

Wha? u confuse me!
Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

when you say the player is goin 2 get knocked out... obviously he'll come around when it's later (night from day or day from night)

if this is the case it'll b easier 2 create the newer map as a kind of level 2... so m7l1 will finish and m7l2 will load or m7l1a to m7l1b depending on what you want to do with it afterwards,

unless you have the right scripting when the player will get respawned in the l2 map without the same equipment he got knocked out with (maybe this is what u want if he's been disarmed) i was just wondering if ya know where to take it from here on in :D
hope this helps, prob not cos it's all foreign 2 me :-/
Post Reply