so in this map i have a bunch of enemies i want to have encountered only when travelling through the water because there enemies like for e:g jellyfish and angler fish im not sure how to do it though
how can i make enemies spawn on certain parts of a map
RPG Maker MZ Supportso in this map i have a bunch of enemies i want to have encountered only when travelling through the water because there enemies like for e:g jellyfish and angler fish im not sure how to do it though
That is the entire purpose for Region IDs. You use the Region tab of the map editor to mark certain tiles, then in the Encounters section of the map properties you say which troops appear where.
I can't possibly offer any other suggestions. You've been told that it's useless to provide screenshots that are cropped to be so small.
Which plugin are you using that will allow you to have encounters while on a boat?
Which plugin are you using that will allow you to have encounters while on a boat?
Only the airship disables encounters. The boat and ship vehicles should work fine.
It's possible there is a parallel event running a move route command. Encounters won't occur during "forced" move route commands. But it doesn't have to be "movement" specifically.
It could be something like [Through OFF][Switch OFF][Transparency OFF], if these commands are looping in a parallel process the game will see it as a "forced movement" and so random encounters won't occur.
You might also check to make sure you don't have something equipped with the "No Encounters" Trait.
If you're loading an old save file, you might have also disabled encounters at some point. So it wouldn't hurt to just add in a dummy event with [Change Encounter...] ◉Enable. But you could rule that out if you can get random encounters else where.
It's possible there is a parallel event running a move route command. Encounters won't occur during "forced" move route commands. But it doesn't have to be "movement" specifically.
It could be something like [Through OFF][Switch OFF][Transparency OFF], if these commands are looping in a parallel process the game will see it as a "forced movement" and so random encounters won't occur.
You might also check to make sure you don't have something equipped with the "No Encounters" Trait.
If you're loading an old save file, you might have also disabled encounters at some point. So it wouldn't hurt to just add in a dummy event with [Change Encounter...] ◉Enable. But you could rule that out if you can get random encounters else where.
You're right, I made a quick mock up of the OP's map and it works perfectly for me.
Is there a way i can get encounters to happen when using the airship?
There's a plugin for it.
I'd seriously consider why you would want random encounters with the airship though. Generally, getting an airship in a game marks the point when you can avoid battles since you're flying above them. Players might not enjoy being bugged by enemies when flying through the sky, so definitely think about whether it's worth possibly worsening the end user experience before implementing airship encounters.
JavaScript:
Game_Player.prototype.canEncounter = function() {
return (
!$gameParty.hasEncounterNone() &&
$gameSystem.isEncounterEnabled() &&
//!this.isInAirship() && // commented out, Balendra
!this.isMoveRouteForcing() &&
!this.isDebugThrough()
);
};
In rmmz_objects.js you can find this canEncounter() function and comment out the condition that the player is not riding an Airship. Just put // infront. You might also make additional comments to yourself, so you can find where you made changes.
standard caution: changes to the core script are at risk of being overwritten if you ever use the update core script option in the editor.
Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-enemies-spawn-on-certain-parts-of-a-map.150504/