Original Source
- Original title: TAA_SmartHelpWindows (v1.2.1)
- Original author: taaspider
- Original date: June 22, 2021
- Source thread: https://forums.rpgmakerweb.com/threads/taa_smarthelpwindows-v1-2-1.137717/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
TAA_SmartHelpWindow - v1.2.1 Created by taaspider This plugin is compatible with both MV and MZ. Terms of Use
Archived First Post
Created by taaspider
This plugin is compatible with both MV and MZ.
Terms of Use
Any plugins developed by taaspider are free for use for both commercial and noncommercial RPG Maker games, unless specified otherwise. Just remember to credit "taaspider".
Redistribution of parts or the whole of taaspider plugins is forbidden (which also includes reposting), unless it comes from the official website (linked within the post). You are allowed to edit and change the plugin code for your own use, but you're definitely not allowed to sell or reuse any part of the code as your own. Although not required to use my plugins, a free copy of your game would be nice!
Introduction
By default, help windows are included by the engine in all menu scenes as a way to convey additional information to the player, either by showing an item, weapon, armor or skill description, or by showing a descriptive text for the scene (like showing "Which slot to save?" in the save scene, for example). This window takes a considerable area of the screen, even when there's no text to show.
This plugin aims to effectively remove the help window from all selected scenes, while also allowing for its existence (in whichever window from the scene you want it to be enabled). However, when the window is activated using this plugin it is show close to the selected item, and the window is resized to fit the text it has to show without taking more space than needed to convey the required information. Also, the player has the power to show or hide this window as he pleases, so that experienced players can remove unnecessary information from the screen.
Screenshots
Below examples of the Smart Help Windows in action!
Skill Menu (Help Window Off)
Skill menu (Help Window On)
Item Menu
Equip Menu
Shop Menu
Battle Skill Selection
Support for the main menu scene.
Support for the title command scene.
How to Use
WARNING: This plugin requires RPG Maker MV 1.5.0 or above! Please make sure your RPG Maker MV software is up to date before using this plugin. You don't need any specific version if you're using MZ.
WARNING 2: This plugin messes A LOT with any scene it is enabled on. To ensure it works properly, place it as far below in your plugin list as possible. Be sure to check plugin compatibilities as well.
First of, download the plugin here. You can also test it using my sample demo project. It was built with MV, but you can open it with MZ as well (just open the game.rmmzproject file and you're good to go).
There's a long list of parameters used to configure the plugin operations. However, most of them are used to tell the plugin which scenes should keep the original help window, and which should adopt the plugin's dynamic window. For each scene, you can also select which windows will allow the smart help window to show. When it is disabled for a window and that window becomes active, the help window is hidden from the player as long as he remains in the current disabled window.
The plugin also allows you to change the remaining window positions (to account for the help window absence). That works only if the dynamic help window is enabled for the scene (and the proper custom parameter is also enabled). There's a long section in the plugin help file describing how custom window positioning works, along with some suggested settings. Be sure to take a good look into that before customizing its parameters.
Input Info Settings
Each scene has its own input info settings, so you can determine how this window works for each scene independently (you can see this small windows in the screenshot examples, where it reads "Press 'tab' to toggle help"). However, parameters are always the same for all the scenes. You can enable / disable it, change the window position and size, change font settings, padding, opacity and window skin.
Input Key
This parameter determines which input key is used to show or hide the smart help windows. It provides a list of supported keys for the developer to select.
Input Default Settings
This parameter tells the game if the Smart Help Windows are shown or hidden by default at game boot.
Choices
Starting on version 1.2.0, the plugin can also load help texts to be used with the engine Show Choices command. This section includes a parameter to enable or disable this feature by default (it can be altered with plugin commands), and a specific set of input info window settings to be used when the choices window is displayed in a map.
The sample project has been updated to showcase this feature. Be sure to check it out if you have questions!
Global Parameters
- Display when empty: If disabled, Smart Help Windows will be automatically hidden when the highlighted item has no attached description. This can be strange for a player (the window appearing for some items, and some not). Use it with caution;
- Help Window Setting: This allows you to configure the help window as a separate entity from all the other windows (effective only on scenes where the plugin is enabled). It allows you to set properties like line height, font settings, padding, window opacity and skin. This settings also allow you to draw a flat color rectangle behind the smart help window. You can use that to replace the window skin itself (to do that, set both standard and back opacity to 0), or to replace the window skin background only (by setting only back opacity to 0). The color settings for the background rectangle is based on the html color code, and alpha is used to set opacity, being 0 completely transparent, and 100 completely opaque.
- Help Preferred Position: This allows you to choose what's the preferred method of placement for the help window. If set to 'Above', the plugin will try to always place the window above the selected item. If the help window falls out of screen the plugin will move it below the selection. If set to 'Below' the inverse occurs.
- Item Category Help: If enabled, whenever a Window_ItemCategory (with its corresponding scene Parameter enabled) is active the plugin will load category descriptions from Item Category Texts to be shown in the help windows (be it smart or not).
- Item Category Texts: This array defines what text description to show in the help window when an item category is highlighted. It basically an array of key value pairs: for each item category name (as shown in the menu), it gives a description text to be shown.
- Skill Type Help: If enabled, whenever a Window_SkillType (with its corresponding scene parameter enabled) is active the plugin will load type descriptions from Skill Type Texts to be shown in the help windows (be it smart or not).
- Skill Type Texts: This array defines what text description to show in the help window when an skill type is highlighted. It basically an array of key value pairs: for each skill type name (as shown in the menu), it gives a description text to be shown.
- Equip Command Help: If enabled, whenever a Window_EquipCommand (with its corresponding scene parameter enabled) is active the plugin will load command descriptions from Equip Command Texts to be shown in the help windows (be it smart or not).
- Equip Command Texts: This array defines what text description to show in the help window when an equip command is highlighted. It basically an array of key value pairs: for each equip command name (as shown in the menu), it gives a description text to be shown.
Version 1.2.0 introduced a feature to load a custom button for the player to toggle the smart help window (with a click, or touch based for mobile deployments). The button must exist in the game's button set image. Compatibility with plugins that alter the default engine button behavior may not be supported.
The button is shown only when the smart help window is available. Whenever it is not, the button is hidden to not confuse the player.
- Enable Button: This defines if the button feature is enabled or not for the whole game (applicable to all scenes where the smart help window is active). If this is set to false, all the remaining parameters under "Toggle Button" are ignored.
- Button Index: Determines the button index in the system's button set image. The index starts at 0 for the first button, and large buttons may take two indexes. Pay attention to this when setting this property.
- Button Width: Determines the button width type for the toggle function. If set to 1, the plugin will assume it has to load a small button. If set to 2, it will assume a large button is to be used.
- Button X and Y: Determines the button position in the screen. All scenes will use the same button placement, as moving it around may confuse the player. Both parameters are evals.
MOG's slide animations are not a problem in itself, but they can render an odd feeling when toggling smart help windows. My general advice is to use it with caution, or (even better) keep them disabled (set to 0).
A third (and final) warning about using MOG's plugin alongside SmartHelpWindows is that Custom Window Positioning for the battle scene must be either disabled or set to the same dimensions configured in MOG's plugin. If that is not taken care of, skill and item selection can have unexpected behaviors (like, for example, having a skill item width larger than the window width).
To ensure compatibility with YEP_X_MoreCurrencies, be sure to place the smart help plugin below more currencies.
Clears any previously set smart help choice texts.
$gameSystem.enableSmartHelpChoices()
Enables the smart help choices plugin feature.
$gameSystem.disableSmartHelpChoices()
Disables the smart help choices plugin feature.
$gameSystem.setSmartHelpChoices(index, text)
Sets the smart help choices text for the specified index. If no index is provided (undefined or null value) then the plugin will simply push the text to the next empty choice index.
SmartHelpChoices Enable
SmartHelpChoices Disable
SmartHelpChoices index text
Enable/Disable Smart Help Choice
Set Smart Help Choice
Credit and Thanks
I would like to give a special thanks to my friend DarkSearinox92 for bringing me the idea for this plugin, and relentlessly helping me test the many iterations needed for a stable release (and also for helping me test many of my other plugins).
Thank you!
- Version 1.2.1:
- Added some functions to allow compatibility with other plugins like ShadowDragon_TRI;
- Added support to skill level window when using this feature from TAA_SkillMastery;
- Version 1.2.0:
- Added parameters to include a touch based toggle button for the smart help window;
- Added the option to define a background image for the smart help window;
- Added commands to add smart help to the choice window;
- Included support for the title and main menu scenes;
- Version 1.1.0:
- Fixed a compatibility issue with YEP_X_MoreCurrencies;
- Version 1.0.0:
- Added a preload of custom window skins (both for help windows and input info windows);
- Fixed an issue in MV that caused a highlighted selection to be wrongly sized in MV the first time a scene was loaded;
- Added compatibility with TAA_SkillMastery custom level descriptions;
- Fixed a bug that would make the smart help window disappear when changing active windows;
- Fixed a bug that would cause text to be cut out due to the window not moving properly;
- Version 0.8.0:
- Fixed a compatibility issue with YEP_X_TurnOrderDisplay;
- Fixed a compatibility issue with wordwrap plugins (like YEP_MessageCore), which would cause part of the help window text to be cut off, even though the window was resized correctly;
- Added a parameter to turn the Input Info Window always visible for each scene, if enabled;
- Version 0.7.0:
- Added MZ support;
- Fixed a bug that could cause the shop scene to show a misplaced help window when entering the scene;
- Fixed a bug that would cause descriptions with more than one line to not position the help window properly;
- Fixed a bug that would cause the custom window positioning to be always enabled;
- Added a parameter to determine the preferred help window position (above or below the selected item), which substitutes the previous behavior that would automatically place above when the item is below the half of the screen, and below when above;
- Changed the info window parameters, so that each scene has its own settings;
- Added new parameters to custom window positioning to allow changing the number of visible columns for items and skill listings;
- Version 0.6.0:
- Added rectangle and rounded rectangle with flat colors background for the smart help windows;
- Added custom window positioning for the battle scene;
- Fixed a bug which would cause issues with the help window in the skills menu;
- Added a help section with compatibility warnings;
- Added a new info window (which you can enable or disable) to show an informational message to the player, so he knows when the smart help window is available;
- Version 0.5.0:
- Beta Release
Features Mentioned
- Support for the main menu scene.
- Support for the title command scene.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Terms of Use Any plugins developed by taaspider are free for use for both commercial and noncommercial RPG Maker games, unless specified otherwise. Just remember to credit "taaspider". Redistribution of parts or the whole of taaspider plugins is forbidden (which also includes reposting), unless it comes from the official website (linked within the post). You are allowed to edit and change the plugin code for your own use, but you're definitely not allowed to sell or reuse any part of...
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...