here its a quick small code, let me know if you want anything added to it. Just paste it above main and bellow the default scripts. The way it works is that in order to get to say, level 2 you need this much exp.
class Game_Actor < Game_Battler
def actor_exp_rates(level, actor = 0)
case actor
#==============================================================================
# ** Config **
#==============================================================================
# Follow this template for your actors in your game to set their exp.
when 1 # Actor ID
exp = { # Exp for levels
2 => 30, # A => B
3 => 40, # A is level
4 => 50 # B is EXP needed
}
return exp[level]
when 2
exp = { # Because the levels 3 and 5 are not set here, the script will
2 => 45, # get the default values from the default settings.
4 => 73, # if the default setting is not set it will return 0 and the
6 => 83 # actor will not be allowed to level up past that point.
}
return exp[level]
else # These are the default exp requirements, if the actor id is not set
# the required exp will be set to these values.
exp = {
2 => 30,
3 => 50,
4 => 65,
5 => 70,
6 => 90
}
return exp[level]
#==============================================================================
# ** End Config **
#==============================================================================
end
end
def get_exp_needed(level)
exp = actor_exp_rates(level, @actor_id)
exp = actor_exp_rates(level) if exp == nil
exp = 0 if exp == nil
return exp
end
def make_exp_list
actor = $data_actors[@actor_id]
@exp_list[1] = 0
for i in 2..100
if i > actor.final_level
@exp_list[i] = 0
else
@exp_list[i] = get_exp_needed(i)
end
end
end
end