Page 3 of 3

Re: Trackmania 2, mazes and labyrinths

Posted: 23 Oct 2011, 08:06
by SurferIX
Hi, thanks for the clarification: I can say that my algorithm generates "mazes", or, to be more precise, "labyrinths". :D

Tell me when you try to write a TM2 labyrinth generator.

I've not written a labyrinth generator in ManiaScript actually.

My script isn't about labyrinths, it just "executes" what is C-generated.
If you look at my script, here's the important part:

Code: Select all

DrawLaby([
...
])
This is where my C-labyrinth generator writes into the file.
If you want the source code just let me know ;)

Re: Trackmania 2, mazes and labyrinths

Posted: 23 Oct 2011, 10:05
by occam
SurferIX wrote:Hi, thanks for the clarification: I can say that my algorithm generates "mazes", or, to be more precise, "labyrinths". : D
when i read your sentence a few minutes ago, it threw me in 'wikipedia-mode' ^^ and i wanted to find out the difference between mazes and labyrinths :->>

... In colloquial English, labyrinth is generally synonymous with maze, but many contemporary scholars observe a distinction between the two: maze refers to a complex branching (multicursal) puzzle with choices of path and direction; while a single-path (unicursal) labyrinth has only a single, non-branching path, which leads to the center. A labyrinth in this sense has an unambiguous route to the center and back and is not designed to be difficult to navigate. ...

source

if i understood the paragraph from wikipedia correctly,
your algorithm at least on longer tracks rather generates mazes...

...the route of the astonishing example picture you posted seems to branch out...and you indeed called it the biggest maze possible...

...well, either way: Congrats to you, for your amazing script!
:clap: :pop:
 

Re: Trackmania 2, mazes and labyrinths

Posted: 23 Oct 2011, 19:26
by EntropicLqd
occam wrote:....... In colloquial English, labyrinth is generally synonymous with maze, but many contemporary scholars observe a distinction between the two: maze refers to a complex branching (multicursal) puzzle with choices of path and direction; while a single-path (unicursal) labyrinth has only a single, non-branching path, which leads to the center. A labyrinth in this sense has an unambiguous route to the center and back and is not designed to be difficult to navigate. ...

source
...
Interesting.

I also did some digging as their definition of a labyrinth is not even close to mine. It would appear that the definition of the term labyrthinth has changed over time. So while older tellings of the Minotaur legend refer to a labyrinth (and in the past there was never much distinction between mazes and labyrinths) modern re-tellings call it a maze.
most concise source - scroll to end

In which case I'll have to re-qualify my original comment to comply with modern usage.

I've written a bucketful of maze generators. Specifically mazes where there is only a single path between any two points in the maze.

I've never tried to write a labyrinth generator; although for TM it might work well. Maybe that's also how they built the levels in Rage - heh.

I learnt something today; which means it hasn't been a complete waste of time.

Re: Trackmania 2, mazes and labyrinths

Posted: 28 Oct 2011, 18:09
by SurferIX
"I learnt something today; which means it hasn't been a complete waste of time." :D :thumbsup:

So, now I should say: my algorithm generates mazes where there is only a single path between any two points in the maze :lol:

Thanks for the (new) clarification!

Re: Trackmania 2, mazes and labyrinths

Posted: 21 Jun 2013, 23:35
by weerwolf
old post..
but just what i was looking for :P

I have tried the scripts.. guess what dont work
As far as my insight in Maniaplanet scripting goes, it seems that some
classes have changed aswell some BlockModels?

To the point, is there anyone who can and is willing to update this script ^^

Weerwolf