Jump to content

Search the Community

Showing results for tags 'python'.

Found 1 result

  1. Hello everyone! I have written a simple script that will help a lot of modders to transfer their own maps to the new map editor. All you need is to install the latest version of Python to run the script. Put the program file in the same folder as the text file "mapAoC2_v2.txt" (if you don't know where it is yet look here "Map Editor 2.0\editor_data\Provinces"). Just run a programm and it will give you a complete JSON file in the same folder. If your text file is called differently, the program will ask you to specify the name of this file without the extension/postscript ".txt" Then simply replace the JSON file with the path MapEditor_2\MapName\data, in the folder of the new map editor for AoH3. If you dont want to download a complete .py file, you can just copy code below: Also, a small mistake from me is that the program deletes one character in the last line. I recommend manually adding the missing digit (if you dont last province will have broken borders). Sorry for that issue. There .py file: transfer.py
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games