auto:colored map borders and highlighted neutral buildings
Posted: Tue May 23, 2017 5:04 pm
Hi Guys,
i have two python scripts for you today, which make all those balance map previews more adorable:
addBorderColor.py is a script which allows map creators to automatically add a colored border to their maps (SoS-syle).
highlightNeutalBuildings.py highlights the neutral capturable buildings in any color you want (standard: white) - either only oils and hospitals, but you can choose forward commands and science buildings as well.
Most Important to note: this does ANY number of maps in less than 20 seconds, if set up correctly
Example (map europe small accurate by trump):

After (yellow borders + neutrals highlighted in white):

Originaly did this for SoS's maps, but he prefered to do it manually anyway...-.- so I didn't want this to rot on my pc uselessly and also improved it a bit for uploading here
Unfortunately it requires you to install Python 3 and Image Magick (~50mb), but then you are good to go.
Further Instructions for use are inside the script. You can look at/edit the scripts by using a standard text editor. I left a lot of comments in the code to try and make it easier to understand...
Disclaimer: Use at your own risk! I don't take any responsibility for unusable maps if you don't make a backup of you maps before or tinker with the script yourself.
Cheers, SirCake
i have two python scripts for you today, which make all those balance map previews more adorable:
addBorderColor.py is a script which allows map creators to automatically add a colored border to their maps (SoS-syle).
highlightNeutalBuildings.py highlights the neutral capturable buildings in any color you want (standard: white) - either only oils and hospitals, but you can choose forward commands and science buildings as well.
Most Important to note: this does ANY number of maps in less than 20 seconds, if set up correctly

Example (map europe small accurate by trump):

After (yellow borders + neutrals highlighted in white):

Originaly did this for SoS's maps, but he prefered to do it manually anyway...-.- so I didn't want this to rot on my pc uselessly and also improved it a bit for uploading here

Unfortunately it requires you to install Python 3 and Image Magick (~50mb), but then you are good to go.
Further Instructions for use are inside the script. You can look at/edit the scripts by using a standard text editor. I left a lot of comments in the code to try and make it easier to understand...
Disclaimer: Use at your own risk! I don't take any responsibility for unusable maps if you don't make a backup of you maps before or tinker with the script yourself.
Cheers, SirCake