Assigning climate to sectors

Modding school: Learn it from the masters
Post Reply
User avatar
Xoryx
Posts: 91
Joined: 24 Jul 2018 16:24
Donation rank:

22 Sep 2021 22:14

Hello!
I learn making climate mods. I made many climate profiles. How to assign them to proper sectors?
climate.png
climate.png (35.24 KiB) Viewed 1294 times

User avatar
Josh0
Posts: 2965
Joined: 20 Dec 2015 02:10

13 Nov 2021 02:12

Climate is assigned to sectors using the "/map/usa.climate.sii" file in ATS. The map editor reads this file when you start the map editor, and it saves the climate assignments to the sector files when you save the map.

Below is a simplified code snippet from the ProMods Europe "/map/europe.climate.sii" file to show you the syntax. Obviously you would replace "europe" with "usa" if using ATS.

Code: Select all

SiiNunit
{
map_sector_climate : map.europe.climate
{
## ARCTIC CLIMATE (N-ICELAND) ##

 # Svalbard #
 coordinate[]: (5, -46)
 climate[]: arctic
 coordinate[]: (4, -46)
 climate[]: arctic
 coordinate[]: (5, -45)
 climate[]: arctic
 coordinate[]: (4, -45)
 climate[]: arctic

## COASTAL CLIMATE (UK, IRELAND, BENELUX, N-GERMANY and W-DENMARK, N-FRANCE) ##

# Northern Spain #
 coordinate[]: (-16, 7)
 climate[]: coastal
 coordinate[]: (-15, 7)
 climate[]: coastal
 coordinate[]: (-14, 7)
 climate[]: coastal
 coordinate[]: (-16, 8)
 climate[]: coastal
 coordinate[]: (-15, 8)
 climate[]: coastal
 coordinate[]: (-14, 8)
 climate[]: coastal
 
}
}



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest