Home   Help Search Login Register  

Author Topic: Dynamic Weather  (Read 962 times)

0 Members and 1 Guest are viewing this topic.

LightWalker

  • Guest
Dynamic Weather
« on: 02 Feb 2003, 13:46:50 »
I have added a dynamic weather script in my MPmap. I works fine but the problem is that the players have different types of weather! How do I get them all the same weather conditions?

Offline Blanco

  • Former Staff
  • ****
Re:Dynamic Weather
« Reply #1 on: 02 Feb 2003, 19:12:57 »
ztime = -1;
?!(local server) : goto "wait"

ztime = random 24
weather = random 1
fog = random 0.8

publicvariable "weather"
publicvariable "fog"
publicvariable "ztime"
#wait
@(ztime != -1)

skiptime ztime
0 setovercast weather
0 setfog fog
 

; dont forget a gamelogic named "server"


Found this somewhere on HD :)

Maybe it's what U need, don't know the author...

*edit* : hmm...this script is for random time too I think...

« Last Edit: 02 Feb 2003, 19:15:16 by Blanco »
Search or search or search before you ask.