Trackmania 2, mazes and labyrinths

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

User avatar
SurferIX
Posts: 79
Joined: 10 May 2011, 16:14
Contact:

Re: Trackmania 2, mazes and labyrinths

Post 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 ;)
http://olivierpons.fr
Mon dernier framework hautes performances : http://www.papdevis.fr
occam
Posts: 118
Joined: 15 Jun 2010, 17:10

Re: Trackmania 2, mazes and labyrinths

Post 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:
 
EntropicLqd
Posts: 16
Joined: 16 Jun 2010, 16:47

Re: Trackmania 2, mazes and labyrinths

Post 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.
User avatar
SurferIX
Posts: 79
Joined: 10 May 2011, 16:14
Contact:

Re: Trackmania 2, mazes and labyrinths

Post 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!
http://olivierpons.fr
Mon dernier framework hautes performances : http://www.papdevis.fr
User avatar
weerwolf
Posts: 603
Joined: 15 Jun 2010, 21:21
Location: Wijchen, Netherlands
Contact:

Re: Trackmania 2, mazes and labyrinths

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

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests