Save Menu Script Alteration

● ARCHIVED · READ-ONLY
Started by Jocho 4 posts View original ↗
  1. Hey guys! Fine afternoon we have here.

    I'm working on a game with multiple party members, but only the main character has any stats attached to them. I'm also using Yanfly's Save Engine which shows Party Member levels. It looks great for the first member, but I'd like to remove it for other characters.

    Right now it looks like this: 

    Character Levels.png

    I want it to only show the level for the main character. 

    If there's any way to do this more simply, please let me know.

    Thank you in advance! :)

    Character Levels.png
  2. class Window_FileStatus < Window_Basedef draw_save_characters(dx, dy) return if @header[:party].nil? reset_font_settings make_font_smaller dw = (contents.width - dx) / @header[:party].max_battle_members dx += dw/2 for member in @header[:party].battle_members next if member.nil? member = @header[:actors][member.id] change_color(normal_color) draw_actor_graphic(member, dx, dy) text = member.name draw_text(dx-dw/2, dy, dw, line_height, text, 1) if member.id == 1 #checks to see if the member id is equal to 1 text = member.level.group #store the member level in a variable draw_text(dx-dw/2, dy-line_height, dw-4, line_height, text, 2) # draw the member level cx = text_size(text).width change_color(system_color) text = Vocab::level_a #stores the "lv" in a variable draw_text(dx-dw/2, dy-line_height, dw-cx-4, line_height, text, 2) #draws "lv" end dx += dw end endendPut this snippet under Yanfly's save engine and your saves should show the level for only the first member.
  3. Thank you for the wonderfully quick (and working) response, Sarlecc! This is perfect! :D
  4. Next time you want help with a custom script, please include a link to the script so people don't have to go searching for it.