If you are anything even remotely like me, you would want to be able to jump between maps of the same type (type: Normal, Jungle, Mixed etc) without having to move your saved games around. For example wouldn't it be nice to have 2, 3, 5 or even 10 "normal" maps to play on? By following this mod instructions you now can!
Below I will try to give you simple instructions for how to create multiple maps of each type that you can play on.
Step 1. Go to your \Towns\data\campaigns\c1 folder and make 4 new folders. Name them normal1, normal2, normal3, normal4
Update:
In version 0.50 and NEWER versions you must copy the contents from the 'normal' folder into your 4 new folders.
For example you make
normal1
normal2
normal3
normal4
Copy the 4 following files from the 'normal' folder and paste a copy of them into all 4 of the above named folders else the game will exit without warning.
The 4 files are
gen_dungeons.xml
gen_items.xml
gen_livingentities.xml
gen_map.xml
The reason for this is that with 0.50 (maybe earlier, I can't remember) the 'normal' files for map generation used to be someplace else but now in 0.50 they are inside of the "/Towns/data/campaigns/c1/normal" folder.
Step 2. Go to your \Towns\data\ folder and open the campaigns.xml file in your favorite text editor (I support Notepad ++ and it's free) and find the following:
- Code: Select all
<mission>
<id>normal</id>
<name esES="Mapa normal">Normal map</name>
</mission>
and replace it with: (after making a backup of the original campaigns.xml file)
- Code: Select all
<mission>
<id>normal</id>
<name esES="Mapa normal">Normal map</name>
</mission>
<mission>
<id>normal1</id>
<name esES="Mapa normal">Normal map 1</name>
</mission>
<mission>
<id>normal2</id>
<name esES="Mapa normal">Normal map 2</name>
</mission>
<mission>
<id>normal3</id>
<name esES="Mapa normal">Normal map 3</name>
</mission>
<mission>
<id>normal4</id>
<name esES="Mapa normal">Normal map 4</name>
</mission>
Save the file and start the game.
When you start the game you should now see:

You should now see the extra normal map slots that you can play on, and more importantly the files will be saved as their own saves, thus allowing you to have up to 5 extra maps to play on without having to manually move files around.
You can of course, add as many extra folders as you like, and add as many extra bits of coding to the above to accomodate the new folders and thus the new saved games.
Hope this helps,
OPTIONAL:
Having multiple maps of the same type with generic names (i.e. Normal Map 10) can get confusing as to what that maps holds, other than you know that it's a normal map and it takes up slot 10. For such occasions all you need to do is to edit the campaigns.xml file with any (text editor) and find the name of the map (i.e. Normal Map 10) and rename it. So what would happen is you would take this coding found in the campaigns.xml file:
- Code: Select all
<mission>
<id>normal10</id>
<name esES="Mapa normal">Normal map 10</name>
</mission>
And simply change it to something such as this :
- Code: Select all
<mission>
<id>normal10</id>
<name esES="Mapa normal">Your own custom map name</name>
</mission>
With the example changes above, when you load up the game you will see one of the maps is actually showing a name of "Your own custom map name". So just choose whatever name you find will help you to remember that map.
/OPTIONAL
FAQ:
Q. Can I do this for any of the other maps like the snow or desert maps?
A. Yes you can, you simply make additional folders such as snow1, snow2 etc and then change the code in the above example for the campaigns.xml file to add in the extra snow maps, or desert maps or any maps that you want. Just make sure that you copy the original 4 files from the original folder (for example the snow map & those 4 files listed above from it) into the new snow folders that you created. Make sure that you copy the correct folders contents to the correct new folders. For example, don't copy the 4 files from the original desert folder into your new snow folders else your game will play desert maps when the menu says snow 1, snow 2 etc.
Q. Can't this be automated?
A. Yes it can. Tom K on this forum came up with a program to do just that.
Update: Unfortunately Tom misplaced the source code to his program so it won't be updated beyond 0.47b any longer so you'll need to use this guide to add more maps to the more current versions of Towns.
