Introducing : MapTools

New tools for the Map Editor

Information and discussion for custom maps and mods.
Post Reply
User avatar
FRenzy
Posts: 240
Joined: Sun Jun 26, 2016 8:00 am

Introducing : MapTools

Post by FRenzy » Mon Jun 25, 2018 9:20 pm

// The project :

Hello there !

Since about 2 weeks, I have started a project to develop new mapping tools for OpenRA's editor. The purpose for me was to learn how to code / participate in ORA's code (a github project in general). Mapping was a main point of interest for me, and as I'm into mapmaking, such tools would help me and fellow mapmakers a lot.

The tools will include
- "Append" tool : to add two maps next to each other
- "Copy" tool : to add a maps over another
- "Mirror" tool : mirror half of a map (Left, Top) to create a symetrical map
- "Resize" tool : resize the map, with differentiable X and Y factors

There is an option to choose what the tool will affect : Tiles, Resources, and/or Actors. You could use it for interesting combinations, such as :
- "Copy" only the Tiles / Resources of a map on another. Kind of an update.
- "Resizing" only the Tiles and Actors, while keeping Resources (ore patches) intact
- ...

Of course, the tools will not give a final result, due to the nature of the sprites. But it will give a ready structure for the mapmaker, and help a lot in his workflow.

Finally, I also added support for isometric maps (Tib Sun).
The tools work well for iso maps, except maybe for the Resize tool, due to the structure of an isometric map (no easy straightforward algorithm). I might be improving that last piece of code in the future, but for now it works OK.

// How to :
- Go to https://github.com/FRenzy-OpenRA/OpenRA/tree/Map_Tools
- Download the .ZIP, extract
Image
- For Windows : Build the project with "make.cmd", and type "all"
(Otherwise, see : https://github.com/OpenRA/OpenRA/wiki/Compiling )
- Run "launch-game.cmd" , choose your mod
- The tools will be then found in the traditional "Map Editor" in-game.
- Have fun ! :)

// Examples :

In RA mod :
The interface :
Image

"Append" tool :
Image

"Copy" tool :
Image

"Resize" tool :
Image

"Mirror Top" tool :
Image

"Mirror Left" tool :
Image

Using options :
Image


In TS mod :

"Append" tool :
Image

"Copy" tool :
Image

"Mirror Left" tool :
Image
Last edited by FRenzy on Wed Jun 27, 2018 11:50 am, edited 2 times in total.

User avatar
WhoCares
Posts: 270
Joined: Mon Feb 13, 2017 11:28 pm

Re: Introducing : MapTools

Post by WhoCares » Tue Jun 26, 2018 2:49 pm

I made a joke about such a tool when i made a unique map that was a combination of Two existing maps. I did by hand but i made beleive some player that soscared has done a powerfull secret map utility that alllows to copy from a map and import in another.

Very funny and mostly pleasant to see you actually made it for real.

User avatar
FRenzy
Posts: 240
Joined: Sun Jun 26, 2016 8:00 am

Re: Introducing : MapTools

Post by FRenzy » Tue Jun 26, 2018 4:31 pm

Lol ! You are our inspiration WhoCares, that's why ! :p

Hope you'll find this tool useful, and create even crazier maps with it ;)

User avatar
Inq
Posts: 82
Joined: Sun Sep 27, 2015 2:48 am

Re: Introducing : MapTools

Post by Inq » Wed Jun 27, 2018 12:06 am

This looks very useful, I’ve not tried it yet but thanks for taking the time to make this! :D

User avatar
FRenzy
Posts: 240
Joined: Sun Jun 26, 2016 8:00 am

Re: Introducing : MapTools

Post by FRenzy » Wed Jun 27, 2018 6:46 am

You're welcome :)

User avatar
kyrylo
Posts: 190
Joined: Wed Mar 11, 2015 8:46 am

Re: Introducing : MapTools

Post by kyrylo » Wed Jun 27, 2018 7:38 am

Nice work! The mirror functionality sounds especially useful. Mirroring by hand is very hard and error prone. It was always the most tedious and boring part of mapmaking for me, so if your tool can at least roughly mirror maps, that's already a huge win.

User avatar
FRenzy
Posts: 240
Joined: Sun Jun 26, 2016 8:00 am

Re: Introducing : MapTools

Post by FRenzy » Wed Jun 27, 2018 11:24 am

Thanks kyrylo ! I indeed hope this will remove the hard / tedious parts of mapmaking, and make it more fun !

Are we going to see new maps from you ... ? ;) haha

(that reminds me, I should add a "Rotate" tool, for antisymetric maps ... hopefully soon)

User avatar
FRenzy
Posts: 240
Joined: Sun Jun 26, 2016 8:00 am

Re: Introducing : MapTools

Post by FRenzy » Wed Jun 27, 2018 11:31 am

Btw what I'd love to see, is creative recreations / messing around with existing maps, to create new ones, just like WhoCares stated and did before ^.

I have a few ideas off my head, I'll try to put them in application when I have time !

User avatar
FRenzy
Posts: 240
Joined: Sun Jun 26, 2016 8:00 am

Re: Introducing : MapTools

Post by FRenzy » Fri Jun 29, 2018 9:31 pm

Playing around with the tools :

- Desert Rats mirroring, two versions :

Image

Image

Matt
Posts: 1002
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Re: Introducing : MapTools

Post by Matt » Sat Jun 30, 2018 10:47 am

The result looks a bit glitchy.

User avatar
FRenzy
Posts: 240
Joined: Sun Jun 26, 2016 8:00 am

Re: Introducing : MapTools

Post by FRenzy » Sat Jun 30, 2018 11:53 am

Matt, this is because the tools only operate on tile-basis, without taking into account the entire sprite.

It would be theoritically possible to further enhance it, by building a matching table of mirrored tiles, etc ...
However, this wouldn't work on a lot of RA sprites, such as rivers, beaches, many roads, etc ...

The tools only aim, for now, to give a structure of the map for the mapmaker, not the final result.

Post Reply