Automatic map generator

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
QshaR
Posts: 86
Joined: Mon Feb 02, 2015 11:41 am

Automatic map generator

Post 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 7642 times
Example #2:
02.png
02.png (105.98 KiB) Viewed 7642 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
Posts: 1124
Joined: Tue May 06, 2014 6:40 pm
Mapper profile: http://ddnet.tw/mappers/Silex/

Re: Automatic map generator

Post by Silex »

Send
me
this
tool

now!
Im 'corneum
Posts: 1052
Joined: Thu Oct 30, 2014 4:58 pm
Clan: ☭birming

Re: Automatic map generator

Post by Im 'corneum »

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
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Automatic map generator

Post 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.
Im 'corneum
Posts: 1052
Joined: Thu Oct 30, 2014 4:58 pm
Clan: ☭birming

Re: Automatic map generator

Post 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.
reply to this post or your mom will die in her sleep tonight
User avatar
hi_leute_gll
Posts: 2525
Joined: Mon Jul 21, 2014 1:15 am
Player profile: http://ddnet.tw/players/hi-95-leute-95-gll/
Mapper profile: http://ddnet.tw/mappers/hi-95-leute-95-gll/
Clan: iMTG

Re: Automatic map generator

Post 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.
.hi._.leute._.gll. | iMTGmember
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Automatic map generator

Post 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.
User avatar
Konsti
Posts: 1188
Joined: Mon Sep 28, 2015 9:01 pm
Location: Germany
Player profile: http://ddnet.tw/players/Konsti/
Mapper profile: https://ddnet.tw/mappers/Konsti/
Clan: flawLess
Website: http://ddnet.tw/players/Konsti

Re: Automatic map generator

Post by Konsti »

Pls make this for hammerhitparts and hammerflyparts too hehe
Image
Image
Im 'corneum
Posts: 1052
Joined: Thu Oct 30, 2014 4:58 pm
Clan: ☭birming

Re: Automatic map generator

Post 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.
reply to this post or your mom will die in her sleep tonight
QshaR
Posts: 86
Joined: Mon Feb 02, 2015 11:41 am

Re: Automatic map generator

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests