Hello! I would like to know how to set a limit for how many monsters can attack you in one area, you see, I want to have a balanced fighting system where if you clear out one area you'd be safe there and won't be worried of getting attacked, are there plugins for RPG Maker MV that can help?
How to set a limit for monsters?
JS Plugin RequestsWhat ype of battle system are you using? the default one or on the map?
I am testing out the MOGhunter LMBS battle system
You would need a plug-in for this, as by default this can't be done easily.
I've moved this thread to Plug-In Requests. Thank you.
Yeah, I agree with @bgillisp. This isn't easy by default, although it isn't impossible.
So, before I jump to "plugin" as solution, I'd like to ask you to specify something: what is the definition of "area" here? Is it a region in a map? Or a map as a whole? When monster is attacking, is it a random encounter, pseudo-random encounter, or on-map encounter? And about the limit count, do you want to limit the total number of each monster attacking or the total troop attacking?
Just FYI, the default engine without any plugin can handle "limited monster encounter" mechanics under very specific circumstances.
I am going to answer all of your questions
- A map as a whole
- On-map encounter
- Total number of each monster attacking
If it were the default engine, it would be very easy to handle this by taking control of the encounters with events.
the problem is that we don't know how moghunters engine creates enemies or counts fights, and that makes this extremely difficult to judge and replace.
the problem is that we don't know how moghunters engine creates enemies or counts fights, and that makes this extremely difficult to judge and replace.
If I'm not mistaken, Moghunter's LMBS plugin doesn't mess with randomized/controlled encounter. However, it disable all functionality of Troops Event.
If you use random encounter, you need Troops Event to setup the limit count. With it is being disabled with the LMBS plugin, the only way to do it is by setting it up in parallel event. You will also need to set the random encounter manually by using event, not by using the default map setting.
Therefore, taking those specific conditions into account (area as whole map + random encounters), in theory it is still possible to count monster defeated via command event - with one condition: the player may not escape from battle.
Otherwise, it requires a very specifically made plugin.
EDIT: added explanation about the need of troop event.
If you use random encounter, you need Troops Event to setup the limit count. With it is being disabled with the LMBS plugin, the only way to do it is by setting it up in parallel event. You will also need to set the random encounter manually by using event, not by using the default map setting.
Therefore, taking those specific conditions into account (area as whole map + random encounters), in theory it is still possible to count monster defeated via command event - with one condition: the player may not escape from battle.
Otherwise, it requires a very specifically made plugin.
EDIT: added explanation about the need of troop event.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-set-a-limit-for-monsters.129781/