The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Andinout on May 26, 2008, 07:04:20 PM

Title: [RESOLVED] Step Count To Location
Post by: Andinout on May 26, 2008, 07:04:20 PM
I dont what the Step Counter But i do what it to be the Location Can some one help me Plz?
Title: Re: Request Step Count To Location
Post by: Falcon on May 27, 2008, 11:36:27 AM
http://rmrk.net/index.php/topic,16921.0.html
Strike 1
Title: Re: [REQUEST] Step Count To Location
Post by: modern algebra on May 29, 2008, 01:29:10 PM
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
Title: Re: [REQUEST] Step Count To Location
Post by: Andinout on May 30, 2008, 01:06:20 PM
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