Enemy Encounters Based On The Player's Level

Hi! I'm currently working on a game in RPG Maker MV that I'm using to help me figure out the engine in greater detail for future games. The game is stupid by nature, but I'm having some trouble / questions with the battle system as I want to make it as fair as possible regardless of the game. I'm wondering if there's a way to unlock encounters based on what level a player is at. Not boss or mini-boss encounters, just different enemies. My game is kind of designed in a way where certain areas by default have stronger enemies than others, but since each area is big enough in their own right, I don't want the player to be stuck with the same few encounters, but I also don't want them to get stronger enemies than what they could fight at that moment just thrown at them from the start.

My idea is like once a player reaches level 5, a new enemy gets unlocked and they appear in that area's encounter list from that point forward. I'd also like to explore the possibility of once the player hits a certain "max" level, the very low enemies get removed although that's not really important to me right now. Either way, I'm hoping there's a way to do this because I haven't been able to find a way to track the player's level through events / common events (although I'm still new to the engine).

Thanks! 🙂
You can get the current level of a specific actor via Control Variables -> Game Data -> Actor -> Level.

Getting level by party position is a bit more complex, since there's no direct option for that in the editor. You could do it without scripting, e.g.
  • Control Variables -> Game Data -> Party Member (to get actor ID);
  • 1 Conditional Branch per possible ID:

    ◆Control Variables:#0001 Temporary A = Actor ID of the party member #1 ◆If:Temporary A = 1 ◆Control Variables:#0002 Level = Level of Harold ◆ :End ◆If:Temporary A = 2 ◆Control Variables:#0002 Level = Level of Therese ◆ :End ◆Comment:etc
Easier to use a script call, though:
  • Control Variables -> Script: $gameParty.members()[0].level

You can manually pick which troops are eligible for battle using eventing...if you only start battles via the Battle Processing command. It is possible to event your own "random encounter" system to replace the default one.

In case it helps, there are plugins that let you assign encounter conditions to individual troops, e.g.
Alright, thank you! This really does help a lot, especially with finding the player's level and the random encounters bit. I was having a rough time trying to figure this out, so again thank you! 🙂
Just to put forth the option - a different approach to this would be to have different versions of the same map. One with level 1-4 enemies, another adding level 5, etc.

Then you can use the built-in event logic when you're transferring between maps to determine which one you go to.

Whether that's feasible for however many maps and how many different troops you'd want to add is up to you, just putting it out there as a possibility.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-encounters-based-on-the-players-level.152383/