Page 1 of 1

variable weather

Posted: Tue Jan 08, 2008 9:25 pm
by 1z2x3c
Does any one know if there is a way to set it so some times when a map loads, its rainy, or sunny, or any other forcast?

and is there a way to set different weathers for different modes, such as hunt, ctf, conquest?

Re: variable weather

Posted: Tue Jan 08, 2008 10:30 pm
by Maveritchell
You could try creating a second .wld file for your map and making sure your .lua (for each mode) references it. Using variable assignments and .lua's math.random function, you could work from there and make a random weather be loaded on each startup - but all that random stuff is presuming that you can load one map from different world files.

Re: variable weather

Posted: Tue Jan 08, 2008 11:19 pm
by 1z2x3c
:| ????................ you lost me some where near the middle....... ???