Page 2 of 3

Re: Automatic map generator

Posted: Thu Aug 03, 2017 5:02 pm
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 ( ͡° ͜ʖ ͡°)

Re: Automatic map generator

Posted: Thu Aug 03, 2017 5:27 pm
by Konsti
No, should only work in the layersize u setted so that u can map those parts very fast

Re: Automatic map generator

Posted: Thu Aug 03, 2017 7:42 pm
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^"

Re: Automatic map generator

Posted: Thu Aug 03, 2017 8:49 pm
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?

Re: Automatic map generator

Posted: Thu Aug 03, 2017 11:57 pm
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.

Re: Automatic map generator

Posted: Fri Aug 04, 2017 1:05 pm
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

Re: Automatic map generator

Posted: Fri Aug 04, 2017 1:31 pm
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.

Re: Automatic map generator

Posted: Fri Aug 04, 2017 1:34 pm
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

Re: Automatic map generator

Posted: Tue Aug 15, 2017 2:11 pm
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 6865 times
Example 2:
02.png
02.png (6.7 KiB) Viewed 6865 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.

Re: Automatic map generator

Posted: Sun Aug 27, 2017 1:13 pm
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