Level Up Event Script
#1
An Event on each map that would create a text box notifying the player that he/she has "leveled up" when they have, in fact, leveled up.

Does that make sense?

THX
Reply }
#2
why put an event on each map?

http://forum.chaos-project.com/index.php?topic=117.0
Reply }
#3
This doesn't look like a request. Looks more like RGSS support. Moving. :o
Reply }
#4
...That script wasn't what I was referring to.

My game works on a quest based system, so I'm going to need a notification that doesn't apply only to post-battle-screens. Which is why I said "An event on each map."
Reply }
#5
How many playable characters do you have?
Do you add and remove characters during the game?
What kind of information should this message show? Just "Joe leveled up"?
Do you want the ordinary message window that you have to close or something that fades away automatically?
Reply }
#6
1, no, yes, fades away automatically.
Reply }
#7
You should make an animation and some conditional check.... .-.
Reply }
#8
Or you can try this:

Code:
#==============================================================================
# ? Scene_Map
#------------------------------------------------------------------------------
#==============================================================================
class Scene_Map
  #--------------------------------------------------------------------------
  #
  #--------------------------------------------------------------------------
  alias main_level_up main
  def main
    @level_up_window = Window_Level_Up.new
    #original call
    main_level_up
    @level_up_window.dispose
  end

  #--------------------------------------------------------------------------
  #
  #--------------------------------------------------------------------------
  alias update_level_up update
  def update
    @level_up_window.update
    # original call
    update_level_up
  end
end

#==============================================================================
# ? Window_Level_Up
#------------------------------------------------------------------------------
#==============================================================================

class Window_Level_Up < Window_Base
  #--------------------------------------------------------------------------
  #
  #--------------------------------------------------------------------------
  def initialize
    super(160, 416, 320, 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    self.visible = false
    @wait_count = 0
  end
  
  #--------------------------------------------------------------------------
  #
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    self.contents.draw_text(self.contents.rect, $game_party.actors[0].name +
      " reached level " + $game_party.actors[0].level.to_s, 1)
  end

  #--------------------------------------------------------------------------
  #
  #--------------------------------------------------------------------------
  def update
    if $game_system.old_level < $game_party.actors[0].level
      $game_system.old_level = $game_party.actors[0].level
      refresh
      # Play decision SE
      $game_system.se_play($data_system.decision_se)
      self.visible = true
      self.opacity = 255
      self.contents_opacity = 255
      @wait_count = 40
    else
      if @wait_count > 0
        @wait_count -= 1
      else
        if self.opacity > 0
          self.opacity -= 4
          self.contents_opacity -= 4
        else
          self.visible = false
        end
      end
    end  
  end
end

#==============================================================================
# ? Game_System
#------------------------------------------------------------------------------
#==============================================================================

class Game_System
  #--------------------------------------------------------------------------
  #
  #--------------------------------------------------------------------------
  attr_accessor :old_level
  #--------------------------------------------------------------------------
  #
  #--------------------------------------------------------------------------
  alias initialize_level_up initialize
  def initialize
    @old_level = 1
    # original call
    initialize_level_up
  end
end
Reply }
#9
U ROK

That's exactly what I was looking for.
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 322 11-22-2024, 07:02 PM
Last Post: JayRay
   Script compatibility help Lord Vectra 3 4,776 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Change event graphic? Bennerdeben 2 5,162 11-15-2020, 10:13 AM
Last Post: Bennerdeben
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 16,179 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 16,506 04-28-2020, 04:06 PM
Last Post: Whisper
   EXP gain even at max level Lord Vectra 4 6,424 02-12-2020, 06:01 AM
Last Post: Lord Vectra
   Skill Cooldown script Fenriswolf 11 16,819 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 8,630 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 10,401 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 10,074 05-31-2017, 05:10 AM
Last Post: Zachariad



Users browsing this thread: 1 Guest(s)