Hello, I've been modifying VX Ace to work like a fixed-screen adventure game system. I know I'm probably crazy (or not) but it's ALMOST there.
I am not a programmer though I can get the gist of some code. Currently I'm trying to figure out something with Jet's mouse system, and I've been searching for a few hours before I decided to ask directly.
http://pastebin.com/raw.php?i=3KPTNr7z
1)Can I change the mouse cursor icon with a script call? I have common events set up for the current item-in-use and would like to change the mouse cursor to indicate that an item is being handled rather than the normal cursor. (Also, I'd LIKE it to switch back to the default cursor when in the save/load menus for cleanness' sake, which I THINK I could do but might need another script call. Can a common event be called when the save or load menus are accessed?)
2) While I'm at it, can this script be modified to click the center of the cursor instead of the top left corner?
3) The other script is this simple item menu, and how it interacts with mouse usage:
This is super nitpicky, BUT
With the mouse code the idea is to right-click to access the inventory. When this happens, the inventory is shown but isn't highlighted, you have to left click on the screen to activate the Key Items button in order to access the inventory. When that happens, IF you have previously selected an item[EDIT: I was wrong, first item is indeed selected by default], then that item is highlighted, and the mouse has to be moved again in order to actually click on the item it is hovering over.
If this could be fixed in one of two ways I would appreciate it: Either so that previously selected items are NOT highlighted on return to the menu (workable), or have it so that going to the menu automatically has the Key Items page selected so that the inventory is already active and so only has to be clicked once (preferable)
I am not a programmer though I can get the gist of some code. Currently I'm trying to figure out something with Jet's mouse system, and I've been searching for a few hours before I decided to ask directly.
http://pastebin.com/raw.php?i=3KPTNr7z
1)
2) While I'm at it, can this script be modified to click the center of the cursor instead of the top left corner?
3) The other script is this simple item menu, and how it interacts with mouse usage:
Code:
#==============================================================================# ** Window_MenuItemCategory#==============================================================================class Window_ItemCommand < Window_ItemCategory #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- def make_command_list #add_command(Vocab::item, :item) add_command(Vocab::key_item, :key_item) add_command(Vocab::save, :save, save_enabled) add_command("Load", :load) add_command(Vocab::game_end, :game_end) end #-------------------------------------------------------------------------- # * Get Activation State of Save #-------------------------------------------------------------------------- def save_enabled !$game_system.save_disabled endend#==============================================================================# ** Scene_Map#==============================================================================class Scene_Map < Scene_Base #-------------------------------------------------------------------------- # * Call Menu Screen #-------------------------------------------------------------------------- def call_menu Sound.play_ok SceneManager.call(Scene_Item) endend#==============================================================================# ** Scene_Item#==============================================================================class Scene_Item < Scene_ItemBase #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super return on_cancel if Input.trigger?(: end #-------------------------------------------------------------------------- # * Create Category Window #-------------------------------------------------------------------------- def create_category_window @category_window = Window_ItemCommand.new @category_window.viewport = @viewport @category_window.help_window = @help_window @category_window.y = @help_window.height @category_window.set_handler(:ok, method(:on_category_ok)) end #-------------------------------------------------------------------------- # * [Cancel] #-------------------------------------------------------------------------- def on_cancel Sound.play_cancel return_scene end #-------------------------------------------------------------------------- # * Category [OK] #-------------------------------------------------------------------------- def on_category_ok case @category_window.current_symbol when :item, :key_item @item_window.activate @item_window.select_last when :save SceneManager.call(Scene_Save) when :load SceneManager.call(Scene_Load) when :game_end SceneManager.call(Scene_End) end endend
This is super nitpicky, BUT
With the mouse code the idea is to right-click to access the inventory. When this happens, the inventory is shown but isn't highlighted, you have to left click on the screen to activate the Key Items button in order to access the inventory. When that happens,
If this could be fixed in one of two ways I would appreciate it: Either so that previously selected items are NOT highlighted on return to the menu (workable), or have it so that going to the menu automatically has the Key Items page selected so that the inventory is already active and so only has to be clicked once (preferable)