MZ Map multiple elevation plugin?

Hello, I hope this fine evening finds you well. I have a cold, so I am not out having fun, so instead of lazing in front of the TV I decided to spend the evening a bit productively working on my project.

I wanted to experiment a bit with elevation, and while searching for solutions I found the bridge tutorial. However, that doesn't really provide what I need, so I looked for more and found this nifty plugin for MV.


I was wondering, would something like this exist for MZ or alternative, better solutions are already available?
My attempt at updating it, original credit to Fhntop

In the end, the code itself was fine but, unless I did wrong, some functionalities needed to be updated?
I'm about to try this, will let you know how it works for me, but what it promises is EXACTLY what I personally need. Thank you!
Edit: It does not work for me.. I'll attach a file of the plugins I use and the error screen it gives me.
I am getting the same error as @Ahstval.
@Dark_Ansem does it work for you?
Nope!
Do you think you can make it work or was it just an experiment to make it work with MZ?
I was wondering, would something like this exist for MZ or alternative, better solutions are already available?
For moving under bridges and such, there is a plugin (I think it's called OverpassTile) that comes with MZ. It should be in your DLC folder somewhere.

For moving diagonally on stairs and ramps and such, Caethyril has a plugin called Cae_SlopeMove.
I think the mechanics of dropping/climbing from one map to a different map can be used in creative ways.
Especially because of one thing the author does not talk about that is being able to use different tilesets on different maps and then stacking them together. Basically just increasing the tileset limits.
The only thing missing is the ability to toggle the visibility of different maps in those multi level maps.
I think its a really interesting plugin.
For moving under bridges and such, there is a plugin (I think it's called OverpassTile) that comes with MZ. It should be in your DLC folder somewhere.
Yep, dlc/BasicResources/plugins/official/OverpassTile. 2 levels should be sufficient for many cases, but if more are needed, maybe check out Ocram's Passages plugin:
(Small caveat for Cae_SlopeMove + OverpassTile: I did most of the port based on MZ's pre-release core scripts, and I don't think I ever got around to defining behaviour for slopes on an overpass.)
Hello! i tried [New plugin] Multi Level Map (x, y, z)
this error message pops up..
i am using this plugin on MZ but i don't think thats the problem...
1.png
on line 217/218 you see this line:
JavaScript:
  const match = baseMapData.note.match(/\<BELOW ([^\>]*)\>/i);
  const mapsBelow = match ? (JSON.parse('[' + match[1] + ']') || []) : [];

// let it read

 const match1 = baseMapData.note.match(/\<BELOW ([^\>]*)\>/i);
 const mapsBelow = match1 ? (JSON.parse('[' + match1[1] + ']') || []) : [];

and it might work (I don't have MZ or tested in MV), but this is the indentifier issue.

Edit:
there is another issue at the bottom, I just can't find the cause there with })().
as I cannot find the start, ruling it out give another error, so find that and it might work.

but I think there needs to be done more.

Original thread: https://forums.rpgmakerweb.com/threads/map-multiple-elevation-plugin.155270/