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

@Luth Yes, of course, I reply to every message 🙂

I think I can add some more parameters for the mountains soon.

Furthermore, I also tried something like "between x and y continents," but as I'm using a noise function, I cannot control it well. The only solution would be a trial-and-error until the number of continents is the number you wished to have. Well, I can give it another shot, why not!

Being able to merge some landmasses would be cool aswell, so we can have a continent with ice/sand/grass in specific areas.
Actually I implemented my algorithm in a way that every landmass has only one biome because I don't like the RPG Maker's transitions between grass and other biomes. But you're right, I should let the dev decide which strategy he/she wants for his/her game. I will add some more parameters here.

Looking forward for some nice discussions and chats about this topic!
1698170519151.png

I just keep getting this error saying regions aren't set up
despite the fact they are in the plugin

1698170603123.png


Seems between the forums and itch no one else has this issue >:(
Hi @Edael ,

My first guess would be the location of the plugin. Sub directories are not allowed, unfortunately.

1698170867606.png
Hi @Edael ,

My first guess would be the location of the plugin. Sub directories are not allowed, unfortunately.

View attachment 281299
Ahh man, wanted to keep em organized, oh well
Makes me curious why subfolders cause an issue like that...
Thank you ^^
Coincidentally, I got a similar error report a few days ago. Every RPG Maker plugin requests its plugin parameters from the Plugin Manager (the UI) via its location. As far as I can see right now, this request goes nowhere when the plugin's filename or location has been changed.

I'm going to check this out tomorrow or the weekend.
Okay, so I can't seem to generate a map, and I don't have any plugin for spawning events.

Seems to be an issue with Dotmovesystem I'm using (which I'd like to be able to still use)
Also disabling dotmove does stop the error, however it seem the map is not generated and I'm walking in a black void...

Lemme know if I need to give any more info about this...

1698183755323.png

1698183787334.png
With regards to the DotMovement incompatibility:

I localized the error and will fix it, maybe this weekend or the weekend afterward. In the meantime, you can open the plugin MK_Core, search for this section, and remove it.

Code:
// Alias
MK.alias.event = Game_Event.prototype.event;
Game_Event.prototype.event = function() {
    const toReturn = MK.alias.event.call(this);
    if (!toReturn) {
        const dataMapInfo = $dataMapInfos[$gameMap.mapId()];
        const text = dataMapInfo
            ? "Map Name (retrieved from RPG Maker's code): " + dataMapInfo.name
            : "Map Id is " + $gameMap.mapId() + " but this Map is not defined!";
        console.error(text);
        console.error("$dataMap.events -> ");
        console.error($dataMap.events);
        console.error("$gameMap.events() -> ");
        console.error($gameMap.events());
        console.error("$gameMap._events -> ");
        console.error($gameMap._events);
        console.log("Recommendation: Try not to use any Event Spawning Systems (Visustella, Yanfly) besides mine when generating a map.");
        console.log("Recommendation 2: If that doesn't help, contact me in the forums or on Discord");
        console.log("This is probably an error in my source code. It's very unlikely that you can resolve it on your own.");
        throw Error ("FATAL: Wanted to access Event '" + this._eventId
            + "' but it does not exist in $dataMap.events!\n"
            + "Press F12 and go to 'console' for details.");
    }
    return toReturn;
};

This code doesn't do anything, it only verifies that all events have been set correctly on the map. This check was quite useful back in those days when a lot of incompatibilities hadn't been discovered yet. Today, however, it may ring a false alert.

With regards to your map being blank: Can you share your Eventing, please? Either here or via DM as you prefer.
Uhh
Okay, sorry, I found out why the map was blank... I didn't use the right titeset
But yeah it's working now, sorry I'm stupid ^^;

and yeah commenting out the code did the trick, thanks

tho I have another issue
I have the minimap plugin enabled, with the <Minimap> tag on my dungeon map, but nothing is showing up
I'm sorry if I'm missing some minimap tutorial or something... :hswt:

1698271621236.png
Looks like a needle in a haystack problem. I will see what I can do for you.
i want to make something like Lufia Return of the Sinistrals in Game Boy Color. The dungeons have secret paths walls that the player "hits" and a secret path opens to the next part of the dungeon. is it possible here? and also fog of wars? or Maybe the Pitch Black overlay picture to limit player visibility?
I have no knowledge about this game, so I cannot tell for sure. I have a few playable demos on my site aerosys.blog, so maybe you find something that fits your wishes.

With regard to the fog of war, no one stops you from using Pictures, my friend. This plugin is only about random map generation - it's not about what you can add on top of it! However, a fog of war plugin is not on my list; besides my minimap plugin, I haven't dealt that much with graphics in RPG Maker, so you are probably better when googling for a fog of war plugin or asking another developer to create such.
It's something like this. when you do action on a break on a wall a secret path or chamber opens up.
asdasd.gif
Well, that looks really cool, but also beyond this plugin. That would require a whole new plugin not only because of the visual effect but also of determining secret areas in the map generation process. I cannot tell you if I will ever do something in this direction.
It's something like this. when you do action on a break on a wall a secret path or chamber opens up.
View attachment 281792
For this you rather need plugin like Ritter Map Transform which changes the map tiles.
(Sorry for offtopic)
It's something like this. when you do action on a break on a wall a secret path or chamber opens up.
View attachment 281792
This is so cool, makes me want to code a new procgen plugin :eswt:
Hey Aerosys! Just wanted to say that this plugin series is amazing and really easy to use. Thank you for putting this out there for the community! I bought the premium version for my project along side MV3D to make a first person rogue like and your proc gen system is the backbone of it all lol I'm looking forward to seeing more of your stuff whenever it comes along!
Hey Aerosys, I just purchased your plugin and am trying to run it to generate a dungeon, but I'm getting an error :
1724352007364.png


But this is the organization of my map that I am teleporting to
1724352060081.png


Any insight as to what i could be doing wrong?
Hey Aerosys, I just purchased your plugin and am trying to run it to generate a dungeon, but I'm getting an error :
View attachment 315478

But this is the organization of my map that I am teleporting to
View attachment 315479

Any insight as to what i could be doing wrong?
Could it be that your player is NOT on the space map when you call this command?

PS: The next update will streamline this process making it much easier!
Hey Aerosys, I just purchased your plugin and am trying to run it to generate a dungeon, but I'm getting an error :
View attachment 315478

But this is the organization of my map that I am teleporting to
View attachment 315479

Any insight as to what i could be doing wrong?
Nevermind, I'm an idiot and was placing the transport event in the wrong place...

I was transporting BEFORE the generation of the dungeon.

Thanks for the quick reply!
Hi, thanks for this plugin !

Seems like there's a compatibility issue with Triacontane "Template Event" and "Event Respawn":

Spoiler: screenshot
1734022394604.png

As my custom abs rely heavily on both, is there a way to bypass this issue ?

Also when opening and closing the menu, it delete the generated map (but it works well in the intro map):

Spoiler: screenshot
1734028153407.png

Everything else seems to work well (enemies, light system..) so it would be a great addition to my project.

Thanks again for your work !

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