Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Dynamic Weather  (Read 1739 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.