General Skills Menu?

CharcoalKidd

Villager
Member
Joined
Mar 3, 2015
Messages
27
Reaction score
10
First Language
English
Primarily Uses
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?
 

Hollow

(◡‿◡✿)
Veteran
Joined
Jul 14, 2012
Messages
519
Reaction score
438
First Language
English
Primarily Uses
RMMV
I believe this should do what you want:

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
Let me know if you want something different.
 

CharcoalKidd

Villager
Member
Joined
Mar 3, 2015
Messages
27
Reaction score
10
First Language
English
Primarily Uses
Wow, you are quick. Thanks a bunch, dude. Do you happen to know off-hand how it interacts with Yanfly's Battle Command script?
 
Last edited by a moderator:

Hollow

(◡‿◡✿)
Veteran
Joined
Jul 14, 2012
Messages
519
Reaction score
438
First Language
English
Primarily Uses
RMMV
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.
 

CharcoalKidd

Villager
Member
Joined
Mar 3, 2015
Messages
27
Reaction score
10
First Language
English
Primarily Uses
I thought so. :p fantastico. Thanks a bazillion.

EDIT: That emoji is terrifying, I apologize for using it.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Oh, stop with the Melodrama...

...Listen to it instead!

anybody else like getting baked whilst coding?

When you go to the beach watch out for coconuts. Coconuts are more dangerous than sharks. Fact.
Try to get into pixelart again, so far its a sucess.
Also finally found a useful pixeltutorial which helps a lot.
♫ Anyone knows an ant can't move a rubber tree plant, but he's got high hopes, he's got high hopes, he's got high apple pie in the sky hopes ♫

Forum statistics

Threads
93,613
Messages
913,946
Members
123,170
Latest member
SengoMiyu
Top