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

Aerosys

Regular
Regular
Joined
Apr 23, 2019
Messages
1,045
Reaction score
1,107
First Language
German
Primarily Uses
RMMZ
@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!
 

Edael

Regular
Regular
Joined
Jun 6, 2020
Messages
46
Reaction score
10
First Language
English
Primarily Uses
RMMV
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 >:(
 

Aerosys

Regular
Regular
Joined
Apr 23, 2019
Messages
1,045
Reaction score
1,107
First Language
German
Primarily Uses
RMMZ
Hi @Edael ,

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

1698170867606.png
 

Aerosys

Regular
Regular
Joined
Apr 23, 2019
Messages
1,045
Reaction score
1,107
First Language
German
Primarily Uses
RMMZ
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.
 

Edael

Regular
Regular
Joined
Jun 6, 2020
Messages
46
Reaction score
10
First Language
English
Primarily Uses
RMMV
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
 

Aerosys

Regular
Regular
Joined
Apr 23, 2019
Messages
1,045
Reaction score
1,107
First Language
German
Primarily Uses
RMMZ
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.
 

Edael

Regular
Regular
Joined
Jun 6, 2020
Messages
46
Reaction score
10
First Language
English
Primarily Uses
RMMV
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
 

Aerosys

Regular
Regular
Joined
Apr 23, 2019
Messages
1,045
Reaction score
1,107
First Language
German
Primarily Uses
RMMZ
Looks like a needle in a haystack problem. I will see what I can do for you.
 

xabileug

Regular
Regular
Joined
Jul 1, 2014
Messages
665
Reaction score
279
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?
 

Aerosys

Regular
Regular
Joined
Apr 23, 2019
Messages
1,045
Reaction score
1,107
First Language
German
Primarily Uses
RMMZ
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.
 

xabileug

Regular
Regular
Joined
Jul 1, 2014
Messages
665
Reaction score
279
It's something like this. when you do action on a break on a wall a secret path or chamber opens up.
asdasd.gif
 

Aerosys

Regular
Regular
Joined
Apr 23, 2019
Messages
1,045
Reaction score
1,107
First Language
German
Primarily Uses
RMMZ
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.
 

Latest Threads

Latest Posts

Latest Profile Posts

Time for the next chance for y'all to affect my advent calendar! Where should Day 7's sprite come from: land, sea, or demon realm? :rwink:
Throné's final boss is weird. He is a guy holding a baby while fighting off attackers. I think his name was Santos. I might be thinking of someone else.
I think I've just about finished fighting the fight with the tileset I was most intimidated by for game jam. No pictures yet, the map isn't presentable, but I think the tileset will work! I'm very relieved XD
Twitch! At it again with more gamedev for a couple hours, followed by some Valheim with my friend. Feel free to drop by~
these 80+ gb updates on several years old games are the absolute worst. I just want to play for an hour or so before bed to unwind. Sorry, gotta spend that time downloading an update. Then my mods will be broken so I'll have to start over or wait for those to be updated to. Is a complete game within three years of the pay to be a beta tester period really to much to ask?

Forum statistics

Threads
136,781
Messages
1,269,871
Members
180,522
Latest member
Reniawan
Top