I'm attempting to replace the Step Counter on the DMS with a window that will display the map name of the players current location. I'm using the script shown in This thread, as amended in the thread, as a base script to work from.
I have this added above Main and below every other script (excluding a few others that are custom as well... not mine, obviously). In Scene_Menu, I have made the following alterations :
This one merely replaces the word 'step' with 'location' from the original, as well as changing it to Window_Location.new.
Same as above for disposal.
Same again for update.
For you coders, it will probably be painfully obvious that this doesn't seem to work. I would most appreciate it if someone could explain to me the changes I need to make, and where to make them. After looking at Mr. Mo's CMS tutorial, I see how to call a window, but I'm not finding where Window_Steps is being changed into @steps_window. If I can find out where that happens, I think I can figure out how to edit the Scene_Menu to call the correct window.
A couple of things I'd forgotten:
Using the SDK v1.5 (tried using 2.1, but two other scripts I'm using aren't compatible with it, so I went back to 1.5) and the Method and Class Library v1.5. Other custom scripts present include Autoscroll v 1.02, Seph's recent CTB battle system, and the UMS script.
I have this added above Main and below every other script (excluding a few others that are custom as well... not mine, obviously). In Scene_Menu, I have made the following alterations :
Code:
# Make location window (ALTERED)
@location_window = Window_Location.new
@location_window.x = 0
@location_window.y = 320
This one merely replaces the word 'step' with 'location' from the original, as well as changing it to Window_Location.new.
Code:
# Dispose of windows
@command_window.dispose
@playtime_window.dispose
@location_window.dispose
@gold_window.dispose
@status_window.dispose
Same as above for disposal.
Code:
# Update windows
@command_window.update
@playtime_window.update
@location_window.update
@gold_window.update
@status_window.update
Same again for update.
For you coders, it will probably be painfully obvious that this doesn't seem to work. I would most appreciate it if someone could explain to me the changes I need to make, and where to make them. After looking at Mr. Mo's CMS tutorial, I see how to call a window, but I'm not finding where Window_Steps is being changed into @steps_window. If I can find out where that happens, I think I can figure out how to edit the Scene_Menu to call the correct window.
A couple of things I'd forgotten:
Using the SDK v1.5 (tried using 2.1, but two other scripts I'm using aren't compatible with it, so I went back to 1.5) and the Method and Class Library v1.5. Other custom scripts present include Autoscroll v 1.02, Seph's recent CTB battle system, and the UMS script.