Removing levels

How do i remove levels? I'm going to make a system were the player can pay various amounts of EXP for skills, or a flat 50 EXP for a boost in three different stats, but iv'e noticed when i do stuff like this, the level goes down. So i want to know how to hide the actors level and the EXP needed for the next level
don't remove levels - that is too much work.

set all actor to max level 1 in the database, amd remove he display og level data from the status menu (requires plugin)
Anything with the dsiplay will require a script unless you want to event your own menu. I'll move this to script requests.
Anything with the dsiplay will require a script unless you want to event your own menu. I'll move this to script requests.
How do i event my own menu? Is their a tutorial somewhere?
I honestly have never tried it, but I've heard of people doing it in RPGMaker 2000 and 2003, and I imagine it can be done. As to how, I'd start with a call to disable menu access (event command) at start of game, then a parallel process to tell when the menu button has been pushed. From there I'd probably save the player location in variables, then transfer them to a new map for all the menu work, and when done transfer them back.

That's how I'd start to approach it at least. Never tried it though myself.
How do i event my own menu?
It's rarely done unless absolutely neccessary because of the work required and the lag.
pre-RMXP it had to be done that way because there was no script access.

basically you use show pictures to create the semblance of a menu, and loops with conditional branch:button pressed to check for the buttons to know which picture to show.
For anyone even halfway experienced with scripting it will be easier to script a menu than to event it.
For anyone even halfway experienced with scripting it will be easier to script a menu than to event it.
And this is the crux of my problem
If you want to show EXP in the menu instead of level, you could do something like this:
Code:
module AMN_Levels
  SHOW_LEVELS = false     # whether to show levels
  EXP_VOCAB = "EXP"       # vocab for EXP
  LEVEL_ONE_PARAMS = true # params stay set at level 1 (can be raised manually)
end

class Game_Actor < Game_Battler
 
  alias amn_levels_gameactor_displvlup  display_level_up
  def display_level_up(new_skills)
    return unless AMN_Levels::SHOW_LEVELS
    amn_levels_gameactor_displvlup(new_skills)
  end
 
  alias amn_levels_gameactor_parambase    param_base
  def param_base(param_id)
    return self.class.params[param_id, 1] if AMN_Levels::LEVEL_ONE_PARAMS
    amn_levels_gameactor_parambase(param_id)
  end
 
end

class Window_Base < Window

  alias amn_levels_windbase_drawactlvl  draw_actor_level
  def draw_actor_level(actor, x, y, width = 124)
    return amn_levels_windbase_drawactlvl(actor, x, y) if AMN_Levels::SHOW_LEVELS
    draw_actor_exp(actor, x, y, width)
  end

  def draw_actor_exp(actor, x, y, width = 124)
    change_color(system_color)
    draw_text(x, y, 32, line_height, AMN_Levels::EXP_VOCAB)
    ts = text_size("#{AMN_Levels::EXP_VOCAB}").width
    change_color(normal_color)
    draw_text(x + ts, y, width - (ts*2), line_height, actor.exp, 2)
  end
 
end

class Window_Status < Window_Selectable

  def draw_basic_info(x, y)
    draw_actor_level(@actor, x, y + line_height * 0, 154)
    draw_actor_icons(@actor, x, y + line_height * 1)
    draw_actor_hp(@actor, x, y + line_height * 2)
    draw_actor_mp(@actor, x, y + line_height * 3)
  end
 
  alias amn_levels_windstat_drawexpinfo  draw_exp_info
  def draw_exp_info(x, y)
    return amn_levels_windstat_drawexpinfo(x, y) if AMN_Levels::SHOW_LEVELS
    change_color(system_color)
    draw_text(x, y + line_height * 0, 180, line_height, Vocab::ExpTotal)
    change_color(normal_color)
    draw_text(x, y + line_height * 1, 180, line_height, @actor.exp, 2)
  end
 
end

It should remove any level up messages as well, and you can set it so that parameters stay at their base amounts (but you can manually adjust them). I haven't tested it much, so let me know how you go. Haven't taken into consideration any custom menu scripts, etc.

EDIT: updated code above.
Thanks @A-Moonless-Night. I'll test it out tomorrow and let you know how it goes. I don't have any menu scripts, but might add them in the future. I didn't want to add lag to the game. I'll give you credit when i release the game if this scriptlet works
I've evented my own menus but you'll also have to event your own battle system and put database stuff into variables. It's a lot of trouble. I say just stick with Level 1 and ignore it. Same with any stats you don't end up using.
It still shows level-up messages in battle. But for menu's. It only shows EXP and current EXP
My bad; had a line checking the wrong thing. I've updated the script above and it should work now.
Yup. it works. Thank you

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/removing-levels.115193/