Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[VX] Changing Maximum Level

Just wondering if there was a way to change max level either via script or something else. I'm looking to set my max level to 50, and I did find a script that Akin wrote for someone else, but from reading the script it seems that it simply renames all levels past X rather than stopping EXP gain completely. I'm assuming this wouldn't be too difficult to script, especially if it's just a stopping EXP gain. If there's any way to do this from the database, please let me know as well. Thanks!
 
Open up the Script Editor and go to the script labeled 'Game_Actor'.  Go to line 582, which should look like this:

Code:
    level = [[level, 99].min, 1].max

and change that to this:

Code:
    level = [[level, 50].min, 1].max

And there's probably a better way to do this, but I'm a scripting noob, so...
Go to line 523, which should look like this:

Code:
    @exp = [[exp, 9999999].min, 0].max

and replace the 9999999 bit with whatever the total experience need to reach level 50 is, so by default:

Code:
    @exp = [[exp, 1413646].min, 0].max

That will prevent all characters from reaching more than 1413646 experience, so if your characters level up at different rates, it's not really logical.  Unfortunately, I can't think of another way to do it, so sorry. :/
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top