RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Increasing the max level to a # greater than 99

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 87
I was wondering (and hoping) if there was a way to edit the scripts to allow the player to go above the max default level, 99. I know that it cannot be done by editing the database (since we only have access to the in-game scripts, and not the RMXP program itself), but i've taken a look through the Game_Actor script and have noticed several indications which may be a way that the max level can be increased. Unfortunately, I dont have the experience to figure out just what line of coding would allow me to do this, so maybe someone else can help figure it out.

Here's a few lines in Game_Actor (ill also provide the line #) that i believe might be able to effect the max level:

Code: [Select]
    for i in 2..100
      if i > actor.final_level
(lines 98 &99)
from this section:
Code: [Select]
  #--------------------------------------------------------------------------
  # * Calculate EXP
  #--------------------------------------------------------------------------
  def make_exp_list
    actor = $data_actors[@actor_id]
    @exp_list[1] = 0
    pow_i = 2.4 + actor.exp_inflation / 100.0
    for i in 2..100
      if i > actor.final_level
        @exp_list[i] = 0
      else
        n = actor.exp_basis * ((i + 3) ** pow_i) / (5 ** pow_i)
        @exp_list[i] = @exp_list[i-1] + Integer(n)
      end
    end
  end
(lines 91-106)

and also:
Code: [Select]
    level = [[level, $data_actors[@actor_id].final_level].min, 1].max
(line 484)
from this section:
Code: [Select]
  #--------------------------------------------------------------------------
  # * Change Level
  #     level : new level
  #--------------------------------------------------------------------------
  def level=(level)
    # Check up and down limits
    level = [[level, $data_actors[@actor_id].final_level].min, 1].max
    # Change EXP
    self.exp = @exp_list[level]
  end
(lines 478 to 487)

I hope that cuts down the time that it takes for someone to help.

Personally, i believe that if you just input a set integer in place of one of the variables, this will allow for a greater max level, but that's just an idea.

Thank you to whoever helps!

**
Rep:
Level 88
I'm scared of my grandma. Wouldn't you be?
I'm not exactly sure how it's done but it is possible. I've seen edits on other sites that allow it. Also I've messed with the maximum number of variables and switches that can be used, and have been able to use a number far greater than it allows in the actual database. I suppose it would be about the same...scripting-wise.

**
Rep:
Level 87
>_> i was kinda hoping someone could tell me how, not just say "yes this is possible" -_-

but at least now i know it is possible  :)

EDIT: Also, I'm needing a way to allow skills to be learned at levels higher than 99. If this is possible, could someone please help me with this as well? Please and thank you!
« Last Edit: August 04, 2007, 12:23:00 AM by swiftdeathsk »

***
Rep:
Level 87
sry, but there isn't one. searched hbgames.org (i knew I heard of it before there, they have some AMAZING scripts...damn trickster...DAM SEPH!)

there is a limit break script which allows to have more than the usual of other stats like EXP, MHP, MSP, but not level...