This map script will create a set of roughly equally sized continents laid out in a grid. You can lay out 1x1 (one big continent) to 6x6 (36 'continents' really islands at this point), and anything in between (such as 2x1 or 3x1 to guarantee exactly 2 or 3 continents with very fair land distribution).
In addition to offering extremely fair play, this script can also serve as a model for how to write a map script, since it is thoroughly documented (and I hope much easier to follow than the fractal based map generator techniques used in most of the existing scripts).
To use: put in your PublicMaps directory, and select Fair_Continents from the custom game map selection screen.
This script shows how to customize (and handle completely independently of the fractal map generator) at least all of the following:
Custom map options during map setup time.
Dynamic map sizing.
Plot layout.
Terrain selection.
Feature generation.
Bonus addition.
# Version History
# 3.0 added feature generation demonstration
# 2.4 reduce strategic resource density compared to common resources
# 2.3 fix problem where combination of choosing a small map and a high width/height
# would result in too much ocean and unplayable maps
# 2.2 fixed oops causing the horizontal continent count to be ignored
# 2.1 changed algorithm for determining where ocean is placed to make
# the continent sizes fairer, improved documentation
# 2.0 added custom terrain generation, bonus placement, sea level support
# 1.0 (as Surt.py) support for laying out continents, basic map function demonstration
In addition to offering extremely fair play, this script can also serve as a model for how to write a map script, since it is thoroughly documented (and I hope much easier to follow than the fractal based map generator techniques used in most of the existing scripts).
To use: put in your PublicMaps directory, and select Fair_Continents from the custom game map selection screen.
This script shows how to customize (and handle completely independently of the fractal map generator) at least all of the following:
Custom map options during map setup time.
Dynamic map sizing.
Plot layout.
Terrain selection.
Feature generation.
Bonus addition.
# Version History
# 3.0 added feature generation demonstration
# 2.4 reduce strategic resource density compared to common resources
# 2.3 fix problem where combination of choosing a small map and a high width/height
# would result in too much ocean and unplayable maps
# 2.2 fixed oops causing the horizontal continent count to be ignored
# 2.1 changed algorithm for determining where ocean is placed to make
# the continent sizes fairer, improved documentation
# 2.0 added custom terrain generation, bonus placement, sea level support
# 1.0 (as Surt.py) support for laying out continents, basic map function demonstration