Page 1 of 3

Automatic map generator

Posted: Thu Aug 03, 2017 2:46 pm
by QshaR
Hey all!

I recently created a tool to autogenerate the Gores map in teeworlds. I did it just for fun and to see if I can do this or not.

So here are the results:
The map generates the puzzle automatically. Each time the puzzle is new. All you need to do is to set the map size.
You can test it on our KoG test server (Password is "KoG" in case someone doesn't know). Map names are "tmp1" and "tmp2".

This is only POC, but here are the results:

Example #1:
01.png
01.png (71.86 KiB) Viewed 7692 times
Example #2:
02.png
02.png (105.98 KiB) Viewed 7692 times

And now the main question:

What can I do with it now? xD

I created it just for fun, but maybe someone has any idea where the autocreation of the map can it be useful.
I already had thoughts to apply random gores parts on a map and regenerate it each time the map is voted. But the idea is already implemented in Q-KoG-Portal map and it does absolutely the same.

Please, share your opinion.

Re: Automatic map generator

Posted: Thu Aug 03, 2017 2:57 pm
by Silex
Send
me
this
tool

now!

Re: Automatic map generator

Posted: Thu Aug 03, 2017 3:21 pm
by Im 'corneum
Could be useful to add some midground design spice

Re: Automatic map generator

Posted: Thu Aug 03, 2017 3:28 pm
by deen
Make a gore fight server where you can join with some people, wait until a new round starts, then a new map is generated and you race to the finish. next round, new map.

Re: Automatic map generator

Posted: Thu Aug 03, 2017 3:38 pm
by Im 'corneum
deen wrote: Thu Aug 03, 2017 3:28 pm Make a gore fight server where you can join with some people, wait until a new round starts, then a new map is generated and you race to the finish. next round, new map.
Yeah with multiple difficulty levels which differ in mapsize and how thin the gores is.

Re: Automatic map generator

Posted: Thu Aug 03, 2017 3:42 pm
by hi_leute_gll
You could predifine parts and put them in a random order (needs as many different parts as possible, maybe from popular maps?), so that you get more linear and interesting maps. This could be used for competition then, as deen said.

Re: Automatic map generator

Posted: Thu Aug 03, 2017 3:46 pm
by deen
Oh, and make it open source please! I don't know if you have a fork for KoG, but I'd welcome a tool like this in the ddnet repo. I'm always annoyed when I read about cool TW projects a few years later and the binaries are gone (or have security vulns.) and no source code is available anywhere.

Re: Automatic map generator

Posted: Thu Aug 03, 2017 3:50 pm
by Konsti
Pls make this for hammerhitparts and hammerflyparts too hehe

Re: Automatic map generator

Posted: Thu Aug 03, 2017 3:55 pm
by Im 'corneum
Maybe we can vote for the best parts of the 20 or what most played maps and then make a tourney with some quick rounds of 5 random parts. First finish will automatically vote a new combination. Any round will only be about 5 to 10 minutes long.

Re: Automatic map generator

Posted: Thu Aug 03, 2017 4:09 pm
by QshaR
Silex wrote: Thu Aug 03, 2017 2:57 pmSend me this tool now!
deen wrote: Thu Aug 03, 2017 3:46 pm Oh, and make it open source please! I don't know if you have a fork for KoG, but I'd welcome a tool like this in the ddnet repo. I'm always annoyed when I read about cool TW projects a few years later and the binaries are gone (or have security vulns.) and no source code is available anywhere.
It is currently on POC stage, but when I finish, for sure I can share the source.
Im 'corneum wrote: Thu Aug 03, 2017 3:21 pm Could be useful to add some midground design spice
its a bit hard I guess.
deen wrote: Thu Aug 03, 2017 3:28 pm Make a gore fight server where you can join with some people, wait until a new round starts, then a new map is generated and you race to the finish. next round, new map.
This is an interesting idea. I'm not sure if such server going to be popular, but its a good direction to think about. The only "but" here is that it is very boring to play such simple map. Its only down-up-left-right.
hi_leute_gll wrote: Thu Aug 03, 2017 3:42 pm You could predifine parts and put them in a random order (needs as many different parts as possible, maybe from popular maps?), so that you get more linear and interesting maps. This could be used for competition then, as deen said.
That is what I meant when wrote the post, maybe I chose the wrong words to describe it.
QshaR wrote: Thu Aug 03, 2017 2:46 pm I already had thoughts to apply random gores parts on a map and regenerate it each time the map is voted. But the idea is already implemented in Q-KoG-Portal map and it does absolutely the same.

It will require much work to hardcode the stages. Anyway, its an interesting idea too.
Konsti wrote: Thu Aug 03, 2017 3:50 pm Pls make this for hammerhitparts and hammerflyparts too hehe
You mean to create an empty map to be able to fly to the finish? xD