DOUBLEX RMMV REVERSE INPUT

RPG Maker MV

Lets users set some actors reversing the assigned window inputs

  • DoubleX
  • 12/30/2015 12:27 PM
  • 1458 views
Note
This plugin's available for commercial use

Purpose
Lets users set some actors reversing the assigned window inputs

Games using this plugin
None so far

Notetags
*    # Actor/Class/Equip/State Notetags:                                     
 *      State notetags take the highest priority, followed by weapon, armor,  
 *      class and actor                                                       
 *      1. <reverse input: proto, downUp, rightLeft, pagedownPageup, okCancel>
 *         - This notetag only works for windows assigned to 1 actor at a time
 *           The below prototypes in default RMMV setting meet the condition: 
 *           Window_SkillType.prototype                                       
 *           Window_SkillList.prototype                                       
 *           Window_EquipSlot.prototype                                       
 *           Window_EquipItem.prototype                                       
 *           Window_Status.prototype                                          
 *           Window_ActorCommand.prototype                                    
 *         - This notetag will work for windows belonging to proto or having  
 *           proto in its prototype chain                                     
 *           Both the Window_ and .prototype part doesn't need to be included 
 *           in proto                                                         
 *           For example: Status stands for Window_Status.prototype           
 *           proto only accepts prototypes starting with Window_              
 *         - The inputs corresponding to down and up selection commands will  
 *           be reversed if downUp is t                                       
 *         - The inputs corresponding to right and left selection commands    
 *           will be reversed if rightLeft is t                               
 *         - The inputs corresponding to pagedown and pageup selection        
 *           commands will be reversed if pagedownPageup is t                 
 *         - The inputs corresponding to ok and cancel selection commands will
 *           be reversed if okCancel is t                                     
 *         - Only the working notetag with the highest priority will be used


Plugin Calls
* # Actor/Class/Equip/State manipulations
* 1. meta.reverseInput
* - Returns the reverse input flags in the form of {
* proto: proto,
* downUp: b,
* rightLeft: b,
* pagedownPageup: b,
* okCancel: b
* } with proto and b being the window prototype and booleans
* 2. meta.reverseInput = {
* proto: proto,
* downUp: b,
* rightLeft: b,
* pagedownPageup: b,
* okCancel: b
* }
* - Sets the reverse input flags in the form of {
* proto: proto,
* downUp: b,
* rightLeft: b,
* pagedownPageup: b,
* okCancel: b
* } with proto and b being the window prototype and booleans
* - All meta.reverseInput changes can be saved if
* DoubleX RMMV Dynamic Data is used

Prerequisites
1. Some Javascript coding proficiency to fully utilize this plugin

Terms Of Use
You shall keep this plugin's Plugin Info part's contents intact
You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases
None of the above applies to DoubleX or his/her aliases

Changelog
*      v1.00c(GMT 1200 30-1-2016):                                           
 *      1. Fixed reading meta from null equip bug                             
 *      2. Fixed only reading state notetags bug                              
 *      3. Changed from using klass to using prototypes                       
 *      v1.00b(GMT 1300 24-1-2016):                                           
 *      1. Fixed undefined lines in DataManager.loadReverseInputNotes bug     
 *      v1.00a(GMT 1300 30-12-2015):                                          
 *      1. 1st version of this plugin finished