auto:colored map borders and highlighted neutral buildings

Automated generation of an improved map preview

Discussion about the game and its default mods.
Post Reply
SirCake
Posts: 393
Joined: Thu Feb 04, 2016 5:40 pm

auto:colored map borders and highlighted neutral buildings

Post by SirCake »

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):
Image
After (yellow borders + neutrals highlighted in white):
Image

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
Attachments
neutralhighlighter.zip
addBorderColor.py and highlightNeutralBuildings.py inside
(2.9 KiB) Downloaded 230 times

abcdefg30
Posts: 664
Joined: Mon Aug 18, 2014 6:00 pm

Post by abcdefg30 »

Good stuff. I wonder if OpenRA should show derricks by default.

SirCake
Posts: 393
Joined: Thu Feb 04, 2016 5:40 pm

Post by SirCake »

Probably. All captureable neutrals would be good to know of beforehand.

Post Reply