Automatic map generator

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
User avatar
Shishigami
Posts: 188
Joined: Sat Nov 26, 2016 6:01 pm
Location: Germany
Player profile: https://ddnet.tw/players/Shishigami/
Mapper profile: https://ddnet.tw/mappers/Shishigami/
Clan: TOP
Website: http://www.shishigami.eu

Re: Automatic map generator

Post by Shishigami »

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.
That sounds really cool, and it would be easy to create different difficulties for scrubs like me, too ( ͡° ͜ʖ ͡°)
Image
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 »

No, should only work in the layersize u setted so that u can map those parts very fast
Image
Image
User avatar
Cellegen
Posts: 1140
Joined: Sun Nov 06, 2016 10:39 pm
Location: Germany
Player profile: https://ddnet.tw/players/Cellegen/
Mapper profile: https://ddnet.tw/mappers/Cellegen/
Clan: RestInHell.
Website: https://skins.tw/
Discord: Cellegen | RiH#5501

Re: Automatic map generator

Post by Cellegen »

lets create "best of 5" or "best of 3" commands.... i think this makes sense for real. i dont wanna gores forever to get 1st ^O^"
RestInHell. - Team Leader
QshaR
Posts: 86
Joined: Mon Feb 02, 2015 11:41 am

Re: Automatic map generator

Post by QshaR »

Konsti wrote: Thu Aug 03, 2017 5:27 pm No, should only work in the layersize u setted so that u can map those parts very fast
Layer size is an option. You can set any layer size you want, even 1234 x 567 tiles.

But don't you all think that its boring to play such map?
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 »

QshaR wrote: But don't you all think that its boring to play such map?
Maybe it's boring what we can see on your screens yes. But it could be the 'first step' to map something on or just change it so something cooler. I know what i could do with something like that 4 sure.
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 »

QshaR wrote: Thu Aug 03, 2017 8:49 pm
Konsti wrote: Thu Aug 03, 2017 5:27 pm No, should only work in the layersize u setted so that u can map those parts very fast
Layer size is an option. You can set any layer size you want, even 1234 x 567 tiles.

But don't you all think that its boring to play such map?
Its helpful for ddnetmaps, you can create fillparts very fast with this, would be goddamn nice
Image
Image
User avatar
deen
TECHNICAL Team
Posts: 3575
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 »

Konsti wrote: Fri Aug 04, 2017 1:05 pm Its helpful for ddnetmaps, you can create fillparts very fast with this, would be goddamn nice
You don't get paid by the number of parts you produce, just leave out the fillers.
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 »

Its just an example, as Silex said you can use it in different situations
You didnt really get what i mean, you are not a mapper xd
Image
Image
QshaR
Posts: 86
Joined: Mon Feb 02, 2015 11:41 am

Re: Automatic map generator

Post by QshaR »

Ok, I decided to suspend the work on map generation as I don't feel that it will be useful.

Here is the source of generation puzzle map (it is a POC, so the code might look ugly):
http://qshar.com/q-map-generator.tar.gz
SpoilerShow
Compile & use: ./q_map_generator map_input.map map_output.map
I checked it only with very basic maps, thats why I attach 2 maps as an example of input file.
Freeze - freeze layer, Stones - hookable layer. Their size should be equal to the game layer size.

The next type that I'm almost done with is creating Gores-automapper.
It creates random gores-style maps. Here are my screenshots from the terminal:

Example 1:
03.png
03.png (26.66 KiB) Viewed 6561 times
Example 2:
02.png
02.png (6.7 KiB) Viewed 6561 times
I had an idea to put the shield in a random location on the map and make the challenge: who first find it - wins.
Savander
Posts: 153
Joined: Sun Jul 13, 2014 11:57 am
Location: Poland
Player profile: http://ddnet.tw/players/Savander/
Mapper profile: http://ddnet.tw/mappers/Savander/
Website: http://codrig.com

Re: Automatic map generator

Post by Savander »

Hoh! I was reading about race maze generator on Teeworlds.com, and I thought...oh cool, then I found your project here :) :D
https://www.teeworlds.com/forum/viewtopic.php?id=1897
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests