Personnally I like the maps produced by the custom_continents map script. However I find that there are too many desert tiles. Trying to change this I discovered that it is possible to do quiet some modifications without much work. In fact the repartition of forests, ice and deserts can be changed very simply.
Open CustomContinents.py and search for a line which looks like:
Change it to
Where[list=1][*]iDesertPercent is an integer between 0 and 100 indicating how many tiles should be desert. 0 means no desert. Default:35[*]iPlainsPercent is the same for plains plains. Default:20[*]The percent of grass is calculated using 100 - iDesertPercent - iPlainsPercent. I don't know what happens when iPlainsPercent + iDesertPercent > 100[*]fSnowLatitude is a decimal number between 0 and 1. It represents the latitude above which there may be snow. 0 is the equator and 1 the pole. Default: 0.9[*]fTundraLatitude is the same for tundra. Default: 0.8[*]fGrassLatitude is the same for grass. Default:0.1[*]fDesertBottomLatitude is the minimal latitude above which there may be desert. Default:0.2[*]fDesertTopLatitude is the maximal latitude below which there may be desert.Default:0.5[*]I don't know what those -1 means[*]grain_amount should be an integer number which indicated how often tiles change. Meaning a value of 1 or 2 would create only small deserts whereas a value of 20 would create large deserts. Applies to every tile sort, not only to desert.[/list=1]
Now to change the feature (forest, jungle) distribution. Change
Change it to
[list=1][*]iJunglePercent is an integer between 0 and 100. I don't know if 0 means all jungle or 100. Default:80[*]iForestPercent similar as iJunglePercent however here I know that 0 means all forest. Default: 60[*]jungle_grain is similar to grain_amount but for jungle only. Default:5[*]forest_grain is similar to grain_amount but for forest only. Default:6[/list=1]
I haven't figured out how to change the number of hills, mountains or bonis.
I have made a number of quick test of the above however I can not guarente if everything is correct.
Open CustomContinents.py and search for a line which looks like:
terraingen = TerrainGenerator
terraingen = TerrainGenerator(iDesertPercent, iPlainsPercent, fSnowLatitude, fTundraLatitude, fGrassLatitude, fDesertBottomLatitude, fDesertTopLatitude, -1, -1, grain_amount)
Now to change the feature (forest, jungle) distribution. Change
featuregen = FeatureGenerator
featuregen = FeatureGenerator(iJunglePercent, iForestPercent, jungle_grain, forest_grain)
I haven't figured out how to change the number of hills, mountains or bonis.
I have made a number of quick test of the above however I can not guarente if everything is correct.
Comment