DoubleX RMMV Reverse Input

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

Spoiler
 *    # 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

Spoiler
 *    # 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

Spoiler
 *      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




View attachment DoubleX RMMV Reverse Input v100c.rar
What exactly can you do with this?
What exactly can you do with this?
Some guys suggested some kind of interface screw as a feature in an atb system. I inspired from that suggestion and made the RMVXA version of this plugin, and the latter's direct conversion of the former.

While they can both function as standalone scripts/plugins, they're actually intended for atb/abs systems or any other ones that need players to input quickly.

If, say, the actor currently controlled by the player are selecting something from a window assigned to that actor, and the directional inputs are reversed(up reversed with down, left reversed with right, etc), while the players can continue their inputs just fine once they're familiar with this kind of input screw, it'll definitely need additional skill and experience to achieve that level of practice(as if nothing happened). Such input screw can hence pose a significant challenge for those not being that proficient, especially when they've to input quickly(and like the input screw weren't there).
Updates

Code:
 *      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

Original thread: https://forums.rpgmakerweb.com/threads/doublex-rmmv-reverse-input.53975/