Help Window Extension

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA

Help Window Extension
by: Rinobi



[Version History]

  • 1.00 Initial Release

Introduction
My first public release! I hope someone out there finds this useful!


This script allows for the adjusting of visible line within help menus, effectively removing the imposed, two-line limited in the editor.

Features

  • View more than two lines of help text!
  • The notes section can be used to add additional text to the help windows.

Screenshots
HelpExtension_01.PNGHelpExtension_02.PNG


How to Use


Use the notes section as additional lines to add to your help text. You may use both help text and notes text in conjunction, or separately.

Demo
None necessary.

Script

Spoiler


Code:
#===============================================================================
# Rinobi: Help Window Extension
#-------------------------------------------------------------------------------
# This script allows for the adjusting of viable lines within help menus,
# effectively removing the imposed, two-line limit in the editor.
#-------------------------------------------------------------------------------
# Instructions:
#
# Use the notes section as additional lines to add to your help text. You may
# use both help text and notes text in conjunction, or separately.
#-------------------------------------------------------------------------------
# Version History:
#
# @ 1.0 Completed [11/23/2015]
#-------------------------------------------------------------------------------
# Compatibility:
#
# Modules:
# @ HelpMod < RINOBI
#
# Alias Methods:
# @ initialize  in Window_Help
# @ set_item    in Window_Help
#===============================================================================
module RINOBI module HelpMod # No Touchie!
#===============================================================================
# ** Settings Module
#===============================================================================
  Line_Number = 4   # Default help lines to display.
  #-----------------------------------------------------------------------------
  # Setting any of the constants below to 0 returns the default value set above.
  #-----------------------------------------------------------------------------
  Line_Status = 0   # Help lines within status menu.
  Line_Battle = 0   # Help lines in battle when viewing skills.
  Line_Skill  = 4   # Help lines within the skill menu.
  Line_Equip  = 0   # Help lines within the equip menu.
  Line_Item   = 0   # Help lines within the item menu.
  Line_LSkill = 4   # Compability with Yanfly's Learn Skill Engine
#===============================================================================
# ** End of Settings
#-------------------------------------------------------------------------------
# Editing beyond this area may result in unfathomable terror.
#===============================================================================
end end # No Touchie!
$imported = {} if $imported.nil?
$imported[:RIN_HelpExtenson] = true
#===============================================================================
# ** Class: Window_Help < Window_Base
#===============================================================================
class Window_Help < Window_Base
  #--------------------------------------------------------------------------
  # * Alias Method: Object Initialization
  #--------------------------------------------------------------------------
  alias :rinwin_init :initialize
  def initialize(line_number = RINOBI::HelpMod::Line_Number)
    if SceneManager.scene_is?(Scene_Status)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Status > 0
      return rinwin_init(RINOBI::HelpMod::Line_Status) end
    if SceneManager.scene_is?(Scene_Battle)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Battle > 0
      return rinwin_init(RINOBI::HelpMod::Line_Battle) end
    if SceneManager.scene_is?(Scene_Skill)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Skill  > 0
      return rinwin_init(RINOBI::HelpMod::Line_Skill)  end
    if SceneManager.scene_is?(Scene_Equip)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Equip  > 0
      return rinwin_init(RINOBI::HelpMod::Line_Equip)  end
    if SceneManager.scene_is?(Scene_Item)
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_Item   > 0
      return rinwin_init(RINOBI::HelpMod::Line_Item)   end
    if SceneManager.scene_is?(Scene_LearnSkill) && $imported["YEA-LearnSkillEngine"]
      return rinwin_init(line_number) unless RINOBI::HelpMod::Line_LSkill > 0
      return rinwin_init(RINOBI::HelpMod::Line_LSkill) end
    return rinwin_init(line_number)
  end # initialize
  #--------------------------------------------------------------------------
  # * Alias Method: set_item
  #--------------------------------------------------------------------------
  alias :rinwin_set_item :set_item
  def set_item(item)
    rinwin_set_item = set_text(item ? item.description + item.note : "")
  end # set_item
end # Window_Help < Window_Base
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

My computer broke yesterday, so no RPG maker for at least a week until I can get it repaired. :(
Just wanted to share how my game won 1st place in a game jam for itch.io. Everyone else used Unreal, Unity, GMS2, Godot, etc but I used RPG Maker 2003 :guffaw: It just shows that you can create a good game and it doesn't matter which engine you use
Working on cutscenes~

if your game is the first (or ONLY) in a series and still has a colon in its title, you are a bad person and I hate you...... jk.

who could ever hate BETWEEN: TWO SOULS?

Forum statistics

Threads
107,404
Messages
1,029,443
Members
139,502
Latest member
FLXYM
Top