MV Is it possible to change a character's max level through events?

Exactly what it says on the tin.

I have a concept for a game where the party starts with a max level of LV 20 or so, but then the cap increases after certain cutscenes. There's no command for this in the event menu, so... Do I need to use JavaScript?
It would be difficult, as all the parameters (max HP, max MP, atk, def, m.atk, m.def, agi, luk) are based on the level. So in addition to increasing the level by, say 20 at a time, you'd also have to tell it how to figure out the curve for each stat for each level between the current max and new max.

I think it would be simpler to give them the maximum level you want them to have at the end of the game, and then cap it to 20 until they reach the cutscene that moves them up to the next cap. You'd then have to stop the characters gaining EXP beyond the current cap and fake the "exp to next level" stat.

Either way, you'd need a plugin, so
Moved to: Plugin Requests
A workaround without a plugin could be giving your actor a state that sets their exp *0%
1680338530583.png

You'd essentially just run a common event that checks if the actors are on the current "max level", then apply that state.

You'd set this up with a conditional branch saying if "Cap removal switch" = off > apply state else remove state.

In your cutscene you then just turn that switch on. You can have multiple caps like that too, though the common event may get quite lenghty depending on how many actors you got.

Something like this essentially:
1680339189110.png
So in addition to increasing the level by, say 20 at a time, you'd also have to tell it how to figure out the curve for each stat for each level between the current max and new max.
this only counts if the new max level goes beyond the official max level of 99.
If the OP limits to 20 and then increases to 30 there is absolutely no need for additional work other than changing the maxlevel.

@Idelac you'll still need a plugin for the changes, but if you stay below level 99 that can be a simple plugin that redirects the max level value to a variable or something similar.

If you confirm that you will stay below L99 even at the end of your game, then someone should be able to write a quick plugin for that. You also have to decide if you want one variable for all actors (easier) or each actor have its own variable.

Only if you consider going beyond 99 the plugin would be much more complex.
I made a max level plugin once upon a time.



Hope it helps.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-change-a-characters-max-level-through-events.156312/