Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
ChaosBlitz

Anyone know how to edit this script?

Recommended Posts

Could you put it in code and then in spoiler and link to Dargor? I know who Dargor is, but I don't know the script. We might be able to help if you give a little more information on it or link to the script. :)

Share this post


Link to post
Share on other sites

Could you put it in code and then in spoiler and link to Dargor? I know who Dargor is, but I don't know the script. We might be able to help if you give a little more information on it or link to the script. :)

Oh sorry, I think url to another script is here http://quantumcore.forumotion.com/rgss-f11/rmxplocation-window-t28.htm

Share this post


Link to post
Share on other sites

As far as I can tell it looks like a script to show the name of an area when you enter a map. Then again I am new to scripting so what do I know. You should put that in a code block and a spoiler with [spoiler'][code'] "the code" [/code'][/spoiler'] just without the single quotes. It will make the post smaller so it's quicker to load.

Share this post


Link to post
Share on other sites

As far as I can tell it looks like a script to show the name of an area when you enter a map. Then again I am new to scripting so what do I know. You should put that in a code block and a spoiler with [spoiler'][code'] "the code" [/code'][/spoiler'] just without the single quotes. It will make the post smaller so it's quicker to load.

how?

Share this post


Link to post
Share on other sites

Put ['spoiler]['code] CONTENT OF THE SCRIPT HERE ['/code] ['/spoiler] over the code of the script in the main post. Remove the ' from the brackets when you do so.

 

edit:

Also, had the script the main post. Just put it in the above code and link to it on the first post.

 

Also, what do you need? You erased your post....

Edited by CrimsonInferno

Share this post


Link to post
Share on other sites

Okay, I'll make the post for you. Quote me and after I put the "COPY" in my post, copy it and paste it in the first post, kay?

 

COPY BELOW THIS

 

 

 

(Link to script: http://quantumcore.forumotion.com/rgss-f11/rmxplocation-window-t28.htm)

 

Location Window

Version: 1.4

Type: Scene Menu Add on

 

 

Introduction

 

This script displays the map name or location in a menu.

 

Features

 

* Display Map name in menu

* Removes * in map name

* Shorter than some location name scripts

 

 

 

 

Screenshots

 

N/A

 

Demo

 

If anyone wants a demo I'll make one.

 

Script

 

 


#==============================================================================
# ** Location Window
#------------------------------------------------------------------------------
# Juan 
# Version 1.4
# made 10/13/07
# Date last time updated 12/30/07
#==============================================================================
# This script changes the step window to a location window(displays map name.)
# by changing the steps wiindow to display a location window.
# Any bugs email me juanpena1111@yahoo.com
# Version History
#
# Version 1.0
# -> This script was first made.
# Version 1.1
# -> Fixed font bug
# Version 1.2
# -> Removed * in map name.
# Version 1.3
# -> You can now change the location name.
# Version 1.4
# -> Improed coding
#
# Compatibility:
# This script changes the windows steps window to display the map name. What  that means
# is this script will not work on some cms(custom menu systems) if they
# don't use the step window
#
# Features
# Displays the map name.
# Removed the * in map name.
# Less code than other location scripts
#
# Instructions
# Make a new script above main and paste this script there. You should
# also configure the location name. Just change the Location Name = 'Location'
# FAQ (Frequently Asked Questions):
# None yet

# Author's Notes
# Any bugs email me juanpena1111@yahoo.com
# Credit me and enjoy.
#
#
#==============================================================================
# module Juan_Configuration
#==============================================================================

module Juan_Configuration

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Configuration
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 
# Begin Configuration
Location_Name = 'Location'
# End Configuration.
end
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# END Configuration
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

#==============================================================================
# Scene_Title
#==============================================================================

class Scene_Title

 alias main_juans_custom_menu_later main
 def main
   $map_infos = load_data('Data/MapInfos.rxdata')
   $map_infos.keys.each {|key| $map_infos[key] = $map_infos[key].name}
   main_juans_custom_menu_later
 end 
end
#===================================================
# * Class Scene_Title Ends
#===================================================


#===================================================
# * Class Game_Map Begins
#===================================================
class Game_Map
def name
return $map_infos[@map_id]
end
end
#===================================================
# * Class Game_Map Ends
#===================================================



#===================================================
# * Class Window_Steps Begins
#===================================================
class Window_Steps < Window_Base
 #--------------------------------------------------------------------------
 # * Refresh
 #--------------------------------------------------------------------------
 def refresh
   if $fontface != nil
   self.contents.font.name = $fontface
   elsif $defaultfonttype != nil
   self.contents.font.name = $defaultfonttype
   end
   self.contents.font.size = 24   
   self.contents.clear
   self.contents.font.color = system_color
   self.contents.draw_text(4, 0, 80, 32, Juan_Configuration::Location_Name)
   self.contents.font.color = normal_color
   if $game_map.name.include?('*')
   self.contents.draw_text(4, 32, 120, 32, $game_map.name.delete!('*'), 2)
   else
   self.contents.draw_text(4, 32, 120, 32, $game_map.name, 2)
   end
 end
end
#===================================================
# * Class Window_Steps Ends
#===================================================

 

Edited by CrimsonInferno

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...