Lachflash's map editing tools

Interesting mapping tools and mapping help.

Lachflash's map editing tools

Postby Lachflash » 04 May 2019, 12:18

So I sat down yesterday afternoon and wrote a little tool that might be useful to some of you.
it takes the .raw files the editor outputs and makes them point-symmetric.
The improvement over using image editing software is that you can use a paintbrush tool to select the areas you want to keep.

Here is an example of using it on a heightmap of the grand canyon:
Image

And here is the result inside the map editor:
Image

As of now this only works with heightmaps, stratums are not supported. Also it only works on square heightmaps but as I understand all our heightmaps are square anyways.

Here is a download link. It also comes with the full source code.
http://www.mediafire.com/file/5b4m1ogt8 ... comRAW.zip

Please let me know if you find any problems with it.
Last edited by Lachflash on 04 May 2019, 13:36, edited 3 times in total.
Lachflash
 
Posts: 5
Joined: 04 May 2019, 09:52
Has liked: 0 time
Been liked: 2 times
FAF User Name: Lachflash

Re: Lachflash's map editing tools

Postby Uveso » 04 May 2019, 12:34

Hello Lachflash,

Welcome to FAForever!

What do you mean with "point-symmetric" ?
Does it mirror a map in a specific direction ?
User avatar
Uveso
Supreme Commander
 
Posts: 1554
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 53 times
Been liked: 243 times
FAF User Name: Uveso

Re: Lachflash's map editing tools

Postby Lachflash » 04 May 2019, 12:45

Hi Uveso,

point symmetry is hard to explain without images. However many SupCom maps use it. Setons Clutch would be a prime example.
Lachflash
 
Posts: 5
Joined: 04 May 2019, 09:52
Has liked: 0 time
Been liked: 2 times
FAF User Name: Lachflash

Re: Lachflash's map editing tools

Postby Anihilnine » 04 May 2019, 13:17

well it looks like the plane of symmetry is not horizontal or vertical, but a polyline
Anihilnine
Moderator
 
Posts: 2271
Joined: 16 Apr 2013, 10:10
Has liked: 269 times
Been liked: 400 times
FAF User Name: Anihilnine

Re: Lachflash's map editing tools

Postby Lachflash » 04 May 2019, 13:34

Now that I am able to post links to images here is an example.
Image
There is no plane of symmetry, just a point.
Lachflash
 
Posts: 5
Joined: 04 May 2019, 09:52
Has liked: 0 time
Been liked: 2 times
FAF User Name: Lachflash

Re: Lachflash's map editing tools

Postby Uveso » 04 May 2019, 13:48

Looks great, nice work!
User avatar
Uveso
Supreme Commander
 
Posts: 1554
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 53 times
Been liked: 243 times
FAF User Name: Uveso

Re: Lachflash's map editing tools

Postby Morax » 04 May 2019, 14:10

I am curious by what you mean when you "can select parts you want to keep." You can select precise portions of raw files in image editing software with ease.

This is a nice tool by the way! I'm curious to see how it progresses.
Maps and Mods Councilor

M&M Discord Channel

Come join us and help create content with the artists of FAF.
User avatar
Morax
Councillor - Maps and Mods
 
Posts: 2720
Joined: 25 Jul 2014, 18:00
Has liked: 1073 times
Been liked: 605 times
FAF User Name: Morax

Re: Lachflash's map editing tools

Postby Lachflash » 04 May 2019, 14:28

I must admit I'm not very experienced in using image editing software.
As far as I am aware the current procedure to make a map point symmetric is described here under "Editing the heightmap in photoshop": https://wiki.faforever.com/index.php?title=Map_Editor
This tool lets you just paint over the parts of the map you want to keep and marks the areas that will be overridden in red.
Lachflash
 
Posts: 5
Joined: 04 May 2019, 09:52
Has liked: 0 time
Been liked: 2 times
FAF User Name: Lachflash

Re: Lachflash's map editing tools

Postby Morax » 04 May 2019, 14:45

Oof, the outdated wiki strikes again.

Not many people are using that editor anymore as ozonex created a brand new one that uses the unity engine:

FaF OzoneX Editor

Your tool looks like it does nice work with images and the averaging algorithm is great! Keep it up as the more tools we have, the better!
Maps and Mods Councilor

M&M Discord Channel

Come join us and help create content with the artists of FAF.
User avatar
Morax
Councillor - Maps and Mods
 
Posts: 2720
Joined: 25 Jul 2014, 18:00
Has liked: 1073 times
Been liked: 605 times
FAF User Name: Morax

Re: Lachflash's map editing tools

Postby Lachflash » 04 May 2019, 15:11

That is good to know. I see this editor already has symmetry options built in which makes my tool obsolete right away.
I'll have a good look at it. I still have some Ideas I might realize at some point and now I can make sure to keep them compatible to ozonex's editor.

I don't understand whats great about my averaging. I just take the height values of opposing points and average them. There still remains is a seam that has to be cleaned up.
Lachflash
 
Posts: 5
Joined: 04 May 2019, 09:52
Has liked: 0 time
Been liked: 2 times
FAF User Name: Lachflash


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest

cron