MZ (MZ & MV) Random Maps during Playtime (June Update)

Hey all,

this Thread is about my Plugin series to enable randomly generated Maps during Playtime! This Plugin series for RPG Maker MV and MZ has been my greatest work ever since. To get a decent variety and still provide enough mechanics to build a fun game, there are multiple Plugins with different strategies and additional functions. That means, this series is not plug&play, but was made with the idea that, once you are motivated to make a decent game, you are also motivated enough to take your time to understand how everything works!

RandomMaps.png



Functions:
  • Multiple Algorithms and techniques to generate random Dungeons!
  • Create Mazes, corridors, caves, forests, ...
  • A lot of optional Parameters to get a higher diversity eg. dead-end probability, perfect / imperfect maze
  • Chests, Enemies, Switches, whatever you need
  • Seedable RNG for pseudo-persisting Map or Non-seedable RNG for Rogue-like Games


Link to my Blog: https://aerosys.blog
Link to itch-io: https://aerosys.itch.io/rng-maps

Discord Server: https://discord.gg/FRF2YDBR8h
  • Instructions moved to my homepage, including images!
  • Demo extended
  • Fixed crash when re-generate map
  • Fixed some issues with cloning / erasing of events
Thanks for the detailed instructions. When I have more time I will see if I can implement this in my randomizer game.
Well, this is unexpectedly awesome! Had been waiting for a randomizer that followed the same styling of Kai's.

You have done a fine thing here, and hopefully, it will get a lot of love. I for one am happy to see it!

EDIT: after some playing, it appears events do not copy over their notetags, an example would be like if using an ABS system the event notetags are used to designate which enemy stats are used for the event.
Very, very nice. I've been hoping for something like this.
I'll have to tinker with it to see if it'll work for me, but it looks very promising!

@V_Aero
I've had some time to play with this, and I love the dungeons it generates. If you set up the sources right, It generates very nice random dungeons.

About the only critique I can offer at this point is that some of the instructions could be clearer. The ones that I can think of off the top of my head (all of which I've figured out, but that others might want to know going in):
The specific purpose of each of the snippet sections.
The origin point of entrances and exits (from top left to bottom right, for those that want to know- and that should have occurred to me much sooner than it did!)
Do NOT try to erase the events generated in the dungeon. It crashes. Use self switches only (the plugin resets the switches).
The one I was just struggling with- if you exit the dungeon and then re-enter, the events don't reset properly. You have to generate the dungeon while the player is ON the map for the events to re-spawn.

Edit: I recently ran into a problem. The autotileing for rivers and waterfalls doesn't seem to work correctly. The river doesn't connect to the waterfall the way it should:
101149-ac7bea2adec2228006149836942ed34b.jpg

Other than that, the system works beautifully. I've been looking for something like this. Thank you!
Will there be a point where you can customize what regions are entrance/exit?
Will there be a point where you can customize what regions are entrance/exit?
I could, but Im not sure how this would be benefitial. Tell me why you would need this feature.
well, I'm using yanflys region restrict and the vehicles one, so i would want to change it so it doesn't conflict with my setting (Using 1-6) {I can those settings aswell}
well, I'm using yanflys region restrict and the vehicles one, so i would want to change it so it doesn't conflict with my setting (Using 1-6) {I can those settings aswell}
Sounds useful, feature will come with the next update 😉
I'm getting a non conecting dungeon, how do i solve it? Edit: also when i turn on autotile (plugin) it just puts me in the void without loading anything. Update: it works fine in your demo and may be a conflict, i'll check.
When your plugin clones events does it also clone the "Note:" field?

I'm getting a non conecting dungeon, how do i solve it? Edit: also when i turn on autotile (plugin) it just puts me in the void without loading anything. Update: it works fine in your demo and may be a conflict, i'll check.
Check your region tiles on the Entrance_Exit map and the Space map. I had a similar issue and it was because my region tiles were not set up correctly.
Hey all, I was in Holiday with limited access to Internet.

I'm getting a non conecting dungeon, how do i solve it? Edit: also when i turn on autotile (plugin) it just puts me in the void without loading anything. Update: it works fine in your demo and may be a conflict, i'll check.
Hm what do you mean with "non connecting dungeon"? Do you mean that snippets were not arranged correctly? Until I spend time to add more error Messages I think the best for you would be to compare your Project with my demo and check everything carefully.

EDIT:
What autotile plugin do you use? It's very likely that there are compatibility issues.

When your plugin clones events does it also clone the "Note:" field?
My Plugin does a deep copy of datamap, so I believe it does, but I haven't checked this one.

Check your region tiles on the Entrance_Exit map and the Space map. I had a similar issue and it was because my region tiles were not set up correctly.
Yes, I definitely will add more informative error messages.
Basically, the cells don't graphically connect to connect wall and ceiling tiles.
I think there is an issue with how event note tags are copied (possibly not being copied over). I first noticed it using the AlphaABS plugins. It requires an event notetag for the plugin to work. Events were being copied over to the space map, but were not behaving according to the plugin. Events behaved correctly on the Intro map, but not the Space maps. I also checked this against Yanfly's Event Offset plugin. Events will offset on the Intro map, but not offset when copied onto the Space maps.
@mojoaa13 so you're saying that instead of copying and pasting the script, to write it out?
@mojoaa13 so you're saying that instead of copying and pasting the script, to write it out?

Possibly, I've found pasting the script into a text editor helps me verify that it is correct more easily since you can see more of the script than what MV normally allows.

When I had my character spawning in a void the issue was with where I had my region tiles placed on the Entrance_Exit and Snippets maps. The script will tell you what map you are copying tiles from and the height and width (in tiles) of the section you are copying. The region tile on the Entrance_Exit map indicates where you will spawn for that section of the map to be copied. The region tag on the Snippets map indicates the upper left corner where the Entrance_Exit section will be copied too. If your Entrance_Exit map sections are bigger than one tile, you may need to offset the region tiles on the Snippets map to ensure that player spawns correctly.
Love you for this, btw, truly
@mojoaa13 I have put them in an gird, but I did edit the entrance_exit size to only be 2 blocks instead of three. (followed the tutorial she posted)
edit: changed it back to 3, It works!
@mojoaa13 I have put them in an gird, but I did edit the entrance_exit size to only be 2 blocks instead of three. (followed the tutorial she posted)
edit: changed it back to 3, It works!
Okay nice to hear it works. Unfortunately I haven't found a better way yet than to manually define width and heigth of entrance and exit in the map's metainfo. @mojoaa13 did a nice explanation 😉
Hi. Very cool. Loved KaiMonkey's script and am glad to see someone bring his concept into MV. What are your terms of use?

Original thread: https://forums.rpgmakerweb.com/threads/mz-mv-random-maps-during-playtime-june-update.109537/