variable weather

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
1z2x3c
3rd Warning
3rd Warning
Posts: 259
Joined: Mon Jul 16, 2007 3:22 am

variable weather

Post 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?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: variable weather

Post 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.
1z2x3c
3rd Warning
3rd Warning
Posts: 259
Joined: Mon Jul 16, 2007 3:22 am

Re: variable weather

Post by 1z2x3c »

:| ????................ you lost me some where near the middle....... ???
Post Reply