Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Step Count To Location

Started by Andinout, May 26, 2008, 07:04:20 PM

0 Members and 1 Guest are viewing this topic.

Andinout

I dont what the Step Counter But i do what it to be the Location Can some one help me Plz?

Falcon


modern algebra

Just add this above Main and below the default scripts:


#==============================================================================
# ** Window Location
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  This window displays the name of the map that the player is on. It replaces Window_Steps
#==============================================================================

class Window_Steps < Window_Base
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  # * Initialize
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  def initialize
    super (320, 64, 160, 96)
    self.contents = Bitmap.new (width - 32, height - 32)
    # Draw Location Signifier
    self.contents.font.color = system_color
    self.contents.draw_text (0, 0, self.contents.width, 32, 'Location')
    # Draw location
    data = load_data("Data/MapInfos.rxdata")
    self.contents.font.color = normal_color
    self.contents.draw_text (0, 32, self.contents.width, 32, data[$game_map.map_id].name, 2)
  end
end

Andinout

thanks modern algebra II  that wroked

also ty Falcon Was Busy when Posted did not have time to look but when i did i looked

hbgames.org did not find it