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

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
873
Reaction score
871
First Language
german
Primarily Uses
RMMZ
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!

RNG_Maps_SnowForest

(randomly generated Map - the yellow floor is not supported yet in the released beta)

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

Inspired by:
This plugin originally was inspired by https://forums.rpgmakerweb.com/inde...s-random-dungeons-now-with-version-two.40197/ , which was created for VX Ace


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

Discord Server: https://discord.gg/FRF2YDBR8h
 
Last edited:

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
873
Reaction score
871
First Language
german
Primarily Uses
RMMZ
  • Instructions moved to my homepage, including images!
  • Demo extended
  • Fixed crash when re-generate map
  • Fixed some issues with cloning / erasing of events
 

Calvynne

Veteran
Veteran
Joined
Oct 23, 2015
Messages
104
Reaction score
70
First Language
English
Primarily Uses
Thanks for the detailed instructions. When I have more time I will see if I can implement this in my randomizer game.
 

Mojo907

Veteran
Veteran
Joined
May 21, 2013
Messages
192
Reaction score
43
First Language
English
Primarily Uses
RMMV
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.
 
Last edited:

Khulse

Villager
Member
Joined
Jan 2, 2019
Messages
25
Reaction score
10
First Language
English
Primarily Uses
RMMV
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!
 

Attachments

  • Waterfallproblem.jpg
    Waterfallproblem.jpg
    69.8 KB · Views: 4
Last edited:

Yougotsomechocolate

Random Chest
Veteran
Joined
Jan 29, 2019
Messages
215
Reaction score
91
First Language
English
Primarily Uses
RMMV
Will there be a point where you can customize what regions are entrance/exit?
 

Yougotsomechocolate

Random Chest
Veteran
Joined
Jan 29, 2019
Messages
215
Reaction score
91
First Language
English
Primarily Uses
RMMV
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}
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
873
Reaction score
871
First Language
german
Primarily Uses
RMMZ
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 ;)
 

Yougotsomechocolate

Random Chest
Veteran
Joined
Jan 29, 2019
Messages
215
Reaction score
91
First Language
English
Primarily Uses
RMMV
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.
 
Last edited:

mojoaa13

Villager
Member
Joined
Dec 25, 2014
Messages
23
Reaction score
17
Primarily Uses
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.
 
Last edited by a moderator:

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
873
Reaction score
871
First Language
german
Primarily Uses
RMMZ
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.
 

Yougotsomechocolate

Random Chest
Veteran
Joined
Jan 29, 2019
Messages
215
Reaction score
91
First Language
English
Primarily Uses
RMMV
Basically, the cells don't graphically connect to connect wall and ceiling tiles.
 

mojoaa13

Villager
Member
Joined
Dec 25, 2014
Messages
23
Reaction score
17
Primarily Uses
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

Villager
Member
Joined
Dec 25, 2014
Messages
23
Reaction score
17
Primarily Uses
@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.
 

Yougotsomechocolate

Random Chest
Veteran
Joined
Jan 29, 2019
Messages
215
Reaction score
91
First Language
English
Primarily Uses
RMMV
@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!
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
873
Reaction score
871
First Language
german
Primarily Uses
RMMZ
@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 ;)
 

robhav

Veteran
Veteran
Joined
Jan 31, 2018
Messages
49
Reaction score
16
First Language
English
Primarily Uses
RMMV
Hi. Very cool. Loved KaiMonkey's script and am glad to see someone bring his concept into MV. What are your terms of use?
 

Latest Threads

Latest Profile Posts

Someday, I hope they make a game where 95% of the animation budget went to turning valves and opening door animations, leaving every other animation looking like a CDI zelda cutscene.
programming at 12 years old: "I love how it works!"
programming at 18: "I love that it works."
programming at 25: "I love why it works."
programming at 30: "I love when it works."
programming at 50: "How did this work?"
Why can't I insert picture in this profile post? Only insert image -> by URL. No option to upload from my pc?
Trying out a new Battle Ui.
BattleUI.png
And.... I couldn't help myself. I linked my card game Lore and Concepts back to my RPG Maker game and made them take place in the same universe. I think that means I need to get back to work on my RPG Maker Game. There's obviously a story here my brain wants to tell.

Forum statistics

Threads
129,758
Messages
1,204,888
Members
170,847
Latest member
Reddyfrog
Top