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

Idelac

Villager of Oakvale
Veteran
Joined
Nov 7, 2022
Messages
54
Reaction score
7
First Language
English
Primarily Uses
RMMV
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?
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,045
Reaction score
16,852
First Language
English
Primarily Uses
RMMV
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

I've moved this thread to Plugin Requests. Thank you.

 

SGHarlekin

Orc Jester
Veteran
Joined
Jun 29, 2020
Messages
1,149
Reaction score
1,430
First Language
German
Primarily Uses
RMMV
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
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,503
Reaction score
10,921
First Language
German
Primarily Uses
RMMV
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.
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
995
Reaction score
496
First Language
English
Primarily Uses
RMMV
I made a max level plugin once upon a time.



Hope it helps.
 

Latest Threads

Latest Posts

Latest Profile Posts

YES!!! After hours of work I finally managed to find the perfect balance in combat.
Ok. I am seriously going to make efforts to stop double-posting because I got suspended for two days because of doing it too much. Lmao; am I the only one who got a suspension for this? Probably not, but I'd still like to know LOL.
I always hated when the an NPC disappears for the night they just blink out. Finally got around to making a fade out/in for any NPCs that leave/comeback for the night or day.
LmHbTL.png


Continuing our countdown with Capsule Monster #10 Curl Shot! A powerful ranged attacker, you're better off double teaming him with magic users to defeat!!
TSR
Taking a break from mapping, I've been working on the shop scene lately.Capture d’écran, le 2023-06-09 à 17.18.41.png

Forum statistics

Threads
131,777
Messages
1,223,264
Members
173,547
Latest member
KamiPawa
Top