Random Maps
I like the random map generator in dom3. Unfortunately I don't always like what I get and have to generate another map. Because the random map generator takes some time to run and Illwinter was nice enough to give us a command line interface to dominions3, here is a Python wrapper script around dom3 to generate several random maps AND many variables (like how many mountains and how much forest) are ranges. A value within the range is selected for each random map. The resulting maps are placed in the standard ~/dominions3/maps.
I usually run this when I am sleeping: next day new maps.
The range variables are in 'VAR'. Feel free to change any of the upper case variables at the top.
This requires the Python scripting language and was tested on a Linux system.
Try "dom3 --help" and see ' Random Map Options ' for what the variables passed to dom3 do.
Download the attachment. Change the suffix to ".py" and execute it by using either "python mapgen.py" or more commonly just "mapgen.py" after setting mapgen.py to be executable.
|