Automatic map generator

Tell us what ideas you have and what features you would like to see.
QshaR
User
Posts: 86
Joined: Mon Feb 02, 2015 11:41 am

Automatic map generator

Post by QshaR » Thu Aug 03, 2017 2:46 pm

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 1141 times
Example #2:
02.png
02.png (105.98 KiB) Viewed 1141 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.

Silex
User
Posts: 1119
Joined: Tue May 06, 2014 6:40 pm
Mapper profile: Silex

Re: Automatic map generator

Post by Silex » Thu Aug 03, 2017 2:57 pm

Send
me
this
tool

now!

Im 'corneum
User
Posts: 1046
Joined: Thu Oct 30, 2014 4:58 pm
Clan: ☭birming

Re: Automatic map generator

Post by Im 'corneum » Thu Aug 03, 2017 3:21 pm

Could be useful to add some midground design spice
reply to this post or your mom will die in her sleep tonight

User avatar
deen
Retired Administrator
Posts: 3292
Joined: Mon May 05, 2014 2:30 pm
Player profile: deen

Re: Automatic map generator

Post by deen » 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.

Im 'corneum
User
Posts: 1046
Joined: Thu Oct 30, 2014 4:58 pm
Clan: ☭birming

Re: Automatic map generator

Post by Im 'corneum » Thu Aug 03, 2017 3:38 pm

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.
reply to this post or your mom will die in her sleep tonight

User avatar
hi_leute_gll
User
Posts: 2532
Joined: Mon Jul 21, 2014 1:15 am
Player profile: hi_leute_gll
Mapper profile: hi_leute_gll
Clan: iMTG

Re: Automatic map generator

Post by hi_leute_gll » 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.
.hi._.leute._.gll. | iMTGmember

User avatar
deen
Retired Administrator
Posts: 3292
Joined: Mon May 05, 2014 2:30 pm
Player profile: deen

Re: Automatic map generator

Post by deen » 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.

User avatar
Konsti
User
Posts: 1173
Joined: Mon Sep 28, 2015 9:01 pm
Location: Germany
Player profile: Konsti
Mapper profile: Konsti
Clan: flawLess
Website: Konsti

Re: Automatic map generator

Post by Konsti » Thu Aug 03, 2017 3:50 pm

Pls make this for hammerhitparts and hammerflyparts too hehe
Image
Image

Im 'corneum
User
Posts: 1046
Joined: Thu Oct 30, 2014 4:58 pm
Clan: ☭birming

Re: Automatic map generator

Post by Im 'corneum » Thu Aug 03, 2017 3:55 pm

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.
reply to this post or your mom will die in her sleep tonight

QshaR
User
Posts: 86
Joined: Mon Feb 02, 2015 11:41 am

Re: Automatic map generator

Post by QshaR » Thu Aug 03, 2017 4:09 pm

Silex wrote:
Thu Aug 03, 2017 2:57 pm
Send 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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest