Weather for scenario's made in the editor.

Discuss and post your mods and scenarios here for others to download.

Moderator: Vic

Post Reply
Saros
Posts: 454
Joined: Sat Dec 18, 2010 6:18 am

Weather for scenario's made in the editor.

Post by Saros »

I cannot for the life of me figure out how to implement weather in a scenario I designed for a PBEM game. I assume it is done somehow through events but there is no documentation or examples I can find.

I'd be happy with just a way to implement the types of weather given as options when you generate a random scenario (or even details on these).
User avatar
Tac2i
Posts: 2083
Joined: Tue Apr 12, 2005 5:57 pm
Location: WV USA

RE: Weather for scenario's made in the editor.

Post by Tac2i »

Did you use the Alt Map Graphics game to build your scenario? If so, that game type has no weather options.
ORIGINAL: Saros

I cannot for the life of me figure out how to implement weather in a scenario I designed for a PBEM game. I assume it is done somehow through events but there is no documentation or examples I can find.

I'd be happy with just a way to implement the types of weather given as options when you generate a random scenario (or even details on these).
Tac2i (formerly webizen)
Saros
Posts: 454
Joined: Sat Dec 18, 2010 6:18 am

RE: Weather for scenario's made in the editor.

Post by Saros »

Nope just a map made by clicking on the editor button on the main screen. A new dawn style.

If I generate a random map then edit it weather works fine but I cant get it to work on my map I made from scratch. I've played with all the weather gameslots (i.e. 'no weather and climates' and 'weather set') and tried importing events from a file with weather but no luck.

I could attach the scenario I made if it helps?
Saros
Posts: 454
Joined: Sat Dec 18, 2010 6:18 am

RE: Weather for scenario's made in the editor.

Post by Saros »

I found a bit trawling the forums
You need to edit Game_Slot 2. You do this in the editor, and instead of choosing a terrain type, you choose "Slot". "Pick Draw Type -> Slot -> 2 -> 1. The last number is the value you pick you assign to that hex in the editing. Sp, if you choose 1, when you click on a hex in the editor, it will assign the value 1 for that hex with that Game_Slot. The hex should have a value of 1 - 4. 1 = Arctic, while 4 is tropic. Note that deserts typically get a value of 99, this means no weather. An easy way to see it is to generate a random game with full weather and then edit the map, and choose the slot. This will show you how the values are assigned. These slot values are then used in the event #11, Seasons: Month and Weather to set the landscape type during the season.

Not sure if this works but ill give it a shot.
User avatar
Ormand
Posts: 835
Joined: Tue Feb 17, 2009 1:31 am

RE: Weather for scenario's made in the editor.

Post by Ormand »

Sorry, I didn't see this awhile back - too much travel. This is more or less what you need to get weather started. Especially if you have all the core stringlists and events from vanilla in your file. If not, you will need stringlist ID44 and event 11.
One man alone can be pretty dumb sometimes, but for real bona fide stupidity, there ain't nothin' can beat teamwork -- Edward Abbey
Post Reply

Return to “Mods and Scenarios”