Maybe a meticulous detail, but is there a way to, instead of listing all the skill types (Special, Magic, etc.) on the commands menu, have a command titled 'Skills' that opens another window containing all the skill types? Otherwise, is there a script that already does this?
General Skills Menu?
RPG Maker VXAce SupportI believe this should do what you want:
Let me know if you want something different.
Code:
#==============================================================================# ** Window_SkillCommand#==============================================================================class Window_SkillCommand < Window_Command #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width return 0 end #-------------------------------------------------------------------------- # * Get Number of Lines to Show #-------------------------------------------------------------------------- def visible_line_number return 0 endend # Window_SkillCommand#==============================================================================# ** Window_SkillStatus#==============================================================================class Window_SkillStatus < Window_Base #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize(x, y) super(x, y, window_width, fitting_height(1)) @actor = nil end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width Graphics.width end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh contents.clear return unless @actor draw_actor_short_status(@actor, 0, 0) end #-------------------------------------------------------------------------- # * Draw Short Status #-------------------------------------------------------------------------- def draw_actor_short_status(actor, x, y) draw_actor_name(actor, x, y, 96) draw_actor_level(actor, x + 106, y) draw_actor_icons(actor, x + 180, y) draw_actor_hp(actor, x + 296, y, 134) draw_actor_mp(actor, x + 440, y, 76) endend # Window_SkillStatus#==============================================================================# ** Window_SkillList#==============================================================================class Window_SkillList < Window_Selectable #-------------------------------------------------------------------------- # * Include in Skill List? #-------------------------------------------------------------------------- def include?(item) item endend # Window_SkillList#==============================================================================# ** Window_ActorCommand#==============================================================================class Window_ActorCommand < Window_Command #-------------------------------------------------------------------------- # * Add Skill Command to List #-------------------------------------------------------------------------- def add_skill_commands add_command(Vocab::skill, :skill) endend # Window_ActorCommand#==============================================================================# ** Scene_Skill#==============================================================================class Scene_Skill < Scene_ItemBase #-------------------------------------------------------------------------- # * Alias #-------------------------------------------------------------------------- alias hollow_skill_menu_scene_skill_start start alias hollow_skill_menu_scene_skill_command_skill command_skill #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start hollow_skill_menu_scene_skill_start command_skill end #-------------------------------------------------------------------------- # * [Skill] Command #-------------------------------------------------------------------------- def command_skill hollow_skill_menu_scene_skill_command_skill @command_window.deactivate end #-------------------------------------------------------------------------- # * Item [Cancel] #-------------------------------------------------------------------------- def on_item_cancel @item_window.unselect return_scene endend # Scene_Skill
Wow, you are quick. Thanks a bunch, dude. Do you happen to know off-hand how it interacts with Yanfly's Battle Command script?
Well, I already had it written up for another project. I'm not that fast, haha. 🙂 I haven't tested them together, but after skimming through Yanfly's script, I'm pretty sure they're compatible.
I thought so. 😛 fantastico. Thanks a bazillion.
EDIT: That emoji is terrifying, I apologize for using it.
EDIT: That emoji is terrifying, I apologize for using it.
Original thread: https://forums.rpgmakerweb.com/threads/general-skills-menu.38006/