I know that are several script that shows the map name in the screen, i dont want that, im not scripter either so i have no idea how to make it for myself... im using the default RPG Maker VX menu with the Integrated Reserve Party of Modern Algebra, so i only want a box that displays the map name above the money box, can someone helpme with this??
Thanks!
#==============================================================================
# ** Window_Location
#------------------------------------------------------------------------------
# This window displays the location of the current actor.
#==============================================================================
class Window_Location < Window_Base
#--------------------------------------------------------------------------
# * Object Initialization
# x : window X coordinate
# y : window Y coordinate
#--------------------------------------------------------------------------
def initialize(x, y)
super(x, y, 160, WLH + 32)
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
draw_icon(153, 4, 0)
text = load_data("Data/MapInfos.rvdata")[$game_map.map_id].name
self.contents.draw_text(4, 0, 120, WLH, text, 2)
end
end
#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
# This class performs the menu screen processing.
#==============================================================================
class Scene_Menu < Scene_Base
#--------------------------------------------------------------------------
# alias listing
#--------------------------------------------------------------------------
alias map_name_menu_start start
alias map_name_menu_terminate terminate
alias map_name_menu_update update
#--------------------------------------------------------------------------
# * Start Processing
#--------------------------------------------------------------------------
def start
map_name_menu_start
@map_window = Window_Location.new(0, 304)
end
#--------------------------------------------------------------------------
# * Terminate Scene
#--------------------------------------------------------------------------
def terminate
map_name_menu_terminate
@map_window.dispose
end
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
map_name_menu_update
@map_window.update
end
end
Should do it. Tell me if you want anything different.
Uhh Pac @map_window.terminate should be @map_window.dispose.
Lulwut am I on something?
Lazy scripting! Alias method, forget how Window_Base works. Fundamental.
I fixed it.
Oh, so that was why when i closed the menu it gaves me an error lol. Yes, that is what i want! Thanks Pacman, now the issue i have i where i put the map box because i realize that i have very long map names.
So, i decided to put it in the top:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi55.tinypic.com%2Fixtd0j.jpg&hash=040bfb8637ed990f2d037e04cc738de4c6e90cab)
I know it looks kinda weird, if anyone has a better idea i will listen ;D
One more thing, and im not sure to make a new post for this, but, how i make my team of 3 instead of the default 4 with the default menu?
Here's a pretty cool menu designed for 3 characters. http://rmrk.net/index.php/topic,41214.0.html (http://rmrk.net/index.php/topic,41214.0.html)
Though I don't think it would work well with the party system.
In fact, i was using that script for the three party feature, but didnt work with the modern algebra´ script, thats why i dediced to change to the default menu, but respect for the map box you gave me it was perfect, thanks again!