Page 1 of 3

TM // Map Constructor 2015-07-12 // The Stadium AutoGen

Posted: 11 Jul 2015, 17:20
by Dommy
Image
(screen from above: http://dominolink.aq.pl/common/ScreenShot84-small.jpg)
Image

Hello again my friends :D

This time I made something that some players were waiting for very long time - Map Constructor: The Stadium AutoGen! It's mt first editor plugin released to public ever. It's generating completely random straight track using preset blocks for road sand scenery.

DOWNLOAD
Get it from my GitHub repository
:idea: Save text file to /ManiaPlanet/Scripts/EditorPlugins/TrackMania/MapConstructor.Script.txt :idea:

HOW TO USE?
Once installed, re-open map editor and click Plugin icon or press "P". Select "MapConstructor" to activate the plugin. Now in top left screen corner icon will appear. Click on it to open generator menu and select interesting you option. You can customize generator behavior in Advanced Mode tab.

FAQ
Q: How can i get 64x64 Stadium base for my tracks?
A: Download ready preset here, or add 64x64 mood in your title pack here.

Q: Does it generate 90* turns?
A: It could, but it's extremely hard to do and I gave up trying to do it.

Q: Deos it work for Canyon and Valley too?
A: Yes! But the amount of available blocks is very small and maps aren't as spectacular as Stadium 64x64.

HOW DOES IT WORK EXACTLY?
First of all - the generator has blocks split into some categories: Spawn, Finish, Checkpoints, Curves (Turns), Props, Decoration and Pillar (Tube). Map is generated from West map edge to East map edge.
Roads placing:
Spawn is placed on the ground, near the middle of the map edge. Then, generator places road blocks in loop with this order: X (1) Curves > Y (2) Props. After each Z (6) blocks a Checkpoint is placed. If block is above ground, generator adds a pillar under it, if block allows it. Almost every block has saved coordinates of Decoration blocks at the sides of it - there scenery has chance to be spawned. Roads are generated until nothing can be placed, then Finish is attached at the end.
Decoration placing:
When roads are done (Finish is placed) generator is placing Decorative blocks in places triggered by road blocks. Decoration has N (75%) chance to be spawned, and if it's spawned above ground generator places pillar under it. After that, Decorative blocks are placed above road blocks with pillars. They have M (75%) chance to appear. When everything is done, generator places A (100) extra decorative items, spread random on whole map.

Image
Image

Image

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 17:22
by Florenzius
Yeahhhh! Thanks :3 :3 :3

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 17:27
by shortz
video inc. domino :)

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 17:29
by kripkee
++

It seems you release every week a new thing, that's awesome :mrgreen:

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 18:06
by NJin
kripkee wrote:++

It seems you release every week a new thing, that's awesome :mrgreen:
He is something special :D

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 19:22
by hackie
tm-jinzo wrote:
kripkee wrote:++

It seems you release every week a new thing, that's awesome :mrgreen:
He is something special :D
He should work at Nadeo. :roflol:

Nice , Thanks a lot. :thumbsup:

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 20:21
by Dommy
Ekhm, Nadeo should work for me :roflol:

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 20:22
by maxi031
I support your effort but i see no point in autogen script.
For me best part of tm is editor and having automatic track generation kills the joy of using the editor in normal way.

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 20:24
by Rots
DROGA means drug in spanish :oops: this polish :/ :lol: :thx:

Re: Map Constructor // The Stadium AutoGen // 2015-07-11

Posted: 11 Jul 2015, 20:33
by adamkooo2
Rots wrote:DROGA means drug in spanish :oops: this polish :/ :lol: :thx:
:roflol: in Slovak is this same :lol:

Btw. nice tool! :thumbsup: