Jump to content
Age of History 3
Marcsist

Map editor automatization

Recommended Posts

I made auto province creator, it have some problems with big province, but it much faster than making it with hands(some provinces may be with strange borders and last provinces is full covered map - last province need to be deleted, broken need to be fixed with map editor (gladly map_AoC2.txt written after program finished))(sorry for mistakes, i'm not english speaker)
https://drive.google.com/file/d/1JUcUZlTCNuLvcoCwpKNX5oSJMB7dfEkF/view?usp=sharing
For using it you need open console in folder where code and your bg.png, then write this command where start_x and start_y is coordinate of pixels from image (use it if you need, for example, expand your map. i used it for my asgaard mod, because i adding new continent on south of map) and --start_index is starting name of first province(use also if you want to add provinces after last madded yourself) 22k of provinces in 5 minute (your image for this program need to be white with black borders!!!):

python province_generator.py lin.png --start_x 0 --start_y 7709 --start_index 28297image.thumb.png.3370aaedee7a397a9222b65ed26974a8.png
Edited by Marcsist

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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