Page 1 of 1

Weather Question!

Posted: Wed Jun 25, 2003 5:29 pm
by m0g
Ok, the other day my girlfriend asked me about certain things, when mapping for mohaa, and i didn't have the answer to her questions...
Hopefully someone here can give me an answer.

Q: Is it possible to have a map, that after a certain playtime changes weather, lets say that it starts raining.
Maybe even that fog and sky becomes darker...

Would be intersting to know if this would work!

thanks in advance

Posted: Wed Jun 25, 2003 5:36 pm
by jv_map
I think the rain and fog differences are possible, but I don't think changing the sky smoothily can be done.

Posted: Wed Jun 25, 2003 5:42 pm
by m0g
thanks JV!
She's happy now... but another question (from her, omg) :wink:

Q: Now she wonders if its possible to somehow script the sun 'to go down'? Like script it so that the suncolor, sundirection and ambientlight changes...

(she's getting into mapping, i see... she's my texture slave, and PS whizkid)

Posted: Wed Jun 25, 2003 5:45 pm
by jv_map
No that is not possible with the Quake 3 engine. All lightmaps are precompiled and cannot be changed without recompiling. Newer engines (like Doom3) use dynamic lightmaps 8).

Posted: Wed Jun 25, 2003 7:03 pm
by nuggets
there are compromises that you can make, but no real time shadows

animating different sky textures will make the sun go down, and adding a darkened texture to the sky with an increased transparency will make it go darker,

but that's all i'm giving away for now

changing weather can be done, but it'll involve creating a new global/weather.scr

Posted: Wed Jun 25, 2003 7:55 pm
by Serph
Im not sure about scripting for radient but ive script for some other progs, and is there a start time for each map, then if so then you have th e script like

if starttime == 50000 (or whaterver);

then
begin
change farplane=(100)

again I dont know how to script for radient, but if you understand what im trying to get at.....

Posted: Wed Jun 25, 2003 8:42 pm
by nuggets
anything made in script can be changed though script

BJARNE made a tut on changing farplanes

Posted: Wed Jun 25, 2003 10:45 pm
by m0g
Cheer's guys, now im gonna install mohradiant on her pc and let her go crazy :wink:

Posted: Wed Jun 25, 2003 10:51 pm
by Gen Cobra
m0g wrote:Cheer's guys, now im gonna install mohradiant on her pc and let her go crazy :wink:
Good luck pal. You are asking for it.

Posted: Wed Jun 25, 2003 10:58 pm
by m0g
lol... She'2 like me, 8-14 hours infront of screen, producing stuff...
I've got her to start doing textures for me, hehe... she's great! :D
(she's getting into mapping, i see... she's my texture slave, and PS whizkid)
now i only need to get our dog something to do... :lol:

Posted: Wed Jun 25, 2003 11:49 pm
by nuggets
lmao, u'll never get the dog working on a pc :lol:

just get it to cook dinner, remember you need to eat!!! :P