DoubleX RMMV Popularized ATB Hotkey

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,469
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Note


This plugin's available for commercial use


Purpose


Lets users set some hotkeys to select various inputable actors


Games using this plugin


None so far


Configurations

* @param prior_inputable_actor
* @desc Sets the key setting up the inputable actor at the left of the
* current one as prior_inputable_actor
* If the current one's the leftmost one, the rightmost one will be
* setup instead
* Holding prior_inputable_actor can repeatedly setup inputable actors
* prior_inputable_actor should remain unchanged during the same battle
* @Default left
*
* @param next_inputable_actor
* @desc Sets the key setting up the inputable actor at the right of the
* current one as next_inputable_actor
* If the current one's the rightmost one, the leftmost one will be
* setup instead
* Holding next_inputable_actor can repeatedly setup inputable actors
* next_inputable_actor should remain unchanged during the same battle
* @Default right

Code:
DoubleX_RMMV.PATB_Hotkey = {

    /* Sets hotkeys selecting the inputable actor with the specified party
     * member index
     * None of these hotkeys are supposed to be changed during the same battle
     * Each hotkey will be referenced by $gameSystem.patb.hotkey_actor_index,
     * where index is the index of the hotkey
     * $gameSystem.patb.hotkey_actor_count must always be updated to maintain
     * the exact number of these hotkeys
     * The ith hotkey will try to select the inputable actor with party memver
     * index i - 1
     * Each of these hotkey must be a String
     * Using a keyboard mapping plugin, like Quasi Input, can be useful here
     */
    inputable_actors: [
        "#1", // Referenced by $gameSystem.patb.hotkey_actor_0
        "#2", // Referenced by $gameSystem.patb.hotkey_actor_1
        "#3", // Referenced by $gameSystem.patb.hotkey_actor_2
        "#4", // Referenced by $gameSystem.patb.hotkey_actor_3
        "#5", // Referenced by $gameSystem.patb.hotkey_actor_4
        "#6", // Referenced by $gameSystem.patb.hotkey_actor_5
        "#7", // Referenced by $gameSystem.patb.hotkey_actor_6
        "#8", // Referenced by $gameSystem.patb.hotkey_actor_7
        "#9", // Referenced by $gameSystem.patb.hotkey_actor_8
        "#0" // Referenced by $gameSystem.patb.hotkey_actor_9
    ]

}; // DoubleX_RMMV.PATB_Hotkey


Plugin Calls

* # Configuration manipulations
* 1. $gameSystem.patb.param
* - Returns the value of param listed in the plugin manager
* 2. $gameSystem.patb.param = val
* - Sets the value of param listed in the plugin manager as val
* - All $gameSystem.patb.param changes will be saved
* 3. $gameSystem.patb.hotkey_actor_index
* - Returns the keyboard mapping of hotkey selecting the inputable
* actor with the specified party member index
* 4. $gameSystem.patb.hotkey_actor_index = keyboard_mapping
* - Sets the keyboard mapping of hotkey selecting the inputable actor
* with the specified party member index as keyboard_mapping
* - All $gameSystem.patb.hotkey_actor_index changes will be saved
* 5. $gameSystem.patb.hotkey_actor_count
* - Returns the number of hotkeys selecting the inputable actor with
* specified party member indices
* 6. $gameSystem.patb.hotkey_actor_count = count
* - Sets the number of hotkeys selecting the inputable actor with
* specified party member indices as count
* - All $gameSystem.hotkey_actor_count changes will be saved


Video










Prerequisites


Plugins:


1. DoubleX RMMV Popularized ATB Core


Abilities:


1. Little 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.00b(GMT 0500 11-8-2017):
* 1. Fixed actors selected by hotkeys not performing the waiting pose
* bug
* v1.00a(GMT 0900 10-7-2016):
* 1. 1st version of this plugin finished


Plugin Download

DoubleX RMMV Popularized ATB Hotkey
 

Attachments

Last edited:

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,469
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Updates
Code:
 *      v1.00b(GMT 0500 11-8-2017):                                           
 *      1. Fixed actors selected by hotkeys not performing the waiting pose   
 *         bug
 

Oscar92player

Veteran
Veteran
Joined
Jul 26, 2012
Messages
451
Reaction score
199
First Language
Spanish
Primarily Uses
RMMV
Hi again, DoubleX.

I have a question regarding this plugin, because I don't know if it's an issue or works as intended. The thing is that I have four characters in my party, and in battle, with this plugin, I can change what will be the active actor who's going to do an action first, and that works fine.

However, when I want to open the Party Command Window to select the Fight or Escape option, if I've choose another character than the first active one in the party (with the left or right key), when I press the Cancel button, I will return to the first active character command window, instead of opening the Party Command Window.

If necessary, I'll provide you with a sample project to replicate this issue. Thanks in advance!
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,469
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
Hi again, DoubleX.

I have a question regarding this plugin, because I don't know if it's an issue or works as intended. The thing is that I have four characters in my party, and in battle, with this plugin, I can change what will be the active actor who's going to do an action first, and that works fine.

However, when I want to open the Party Command Window to select the Fight or Escape option, if I've choose another character than the first active one in the party (with the left or right key), when I press the Cancel button, I will return to the first active character command window, instead of opening the Party Command Window.

If necessary, I'll provide you with a sample project to replicate this issue. Thanks in advance!
Yeah, it'd be great if I can access that sample project :)
 

Oscar92player

Veteran
Veteran
Joined
Jul 26, 2012
Messages
451
Reaction score
199
First Language
Spanish
Primarily Uses
RMMV
Yeah, it'd be great if I can access that sample project :)
I've uploaded the Sample Project here.

The exact steps to replicate the issue are:
  • Enter the first or third battle option. (The second one was for turn testing).
  • In battle, wait until all the actors have a full ATB bar. In theory, Harold will be the first one that will be active.
  • Once you have all the characters with the full ATB, use the directional keys to change between them, until you reach the last one in the party. (Is Lucius, but in battle, the HUD will name it "Suzaku").
  • Then, press the Cancel button to try to open the Party Command Window.
  • You'll see that you will return to the previous actor you selected and his Command Window will be opened instead of the Party Command Window.
  • Continue pressing the Cancel button until you reach Harold (the first active character in battle), and once you reach him, you can open the Party Command Window.
  • You'll see that you cannot open the Party Command Window until you reach the first active character in the battle if you selected one or more characters in the party.
Hope you can fix this issue. Thanks in advance for your hard work!
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,469
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
I've uploaded the Sample Project here.

The exact steps to replicate the issue are:
  • Enter the first or third battle option. (The second one was for turn testing).
  • In battle, wait until all the actors have a full ATB bar. In theory, Harold will be the first one that will be active.
  • Once you have all the characters with the full ATB, use the directional keys to change between them, until you reach the last one in the party. (Is Lucius, but in battle, the HUD will name it "Suzaku").
  • Then, press the Cancel button to try to open the Party Command Window.
  • You'll see that you will return to the previous actor you selected and his Command Window will be opened instead of the Party Command Window.
  • Continue pressing the Cancel button until you reach Harold (the first active character in battle), and once you reach him, you can open the Party Command Window.
  • You'll see that you cannot open the Party Command Window until you reach the first active character in the battle if you selected one or more characters in the party.
Hope you can fix this issue. Thanks in advance for your hard work!
That's because you've set no_prior_actor in the core plugin as false:
Code:
 * @param no_prior_actor
 * @desc (v1.03a+)Sets the previous command that would go to the previous(in
 *       terms of party member index) inputable actor to go to the party command
 *       window instead
 *       Enabling this feature's recommended only with the hotkey addon
 * @default false
I've changed it as true in your proejct and the result's what you want.
So you may want to try this change and see if anything really changes :)
 

Oscar92player

Veteran
Veteran
Joined
Jul 26, 2012
Messages
451
Reaction score
199
First Language
Spanish
Primarily Uses
RMMV
That's because you've set no_prior_actor in the core plugin as false:
Code:
 * @param no_prior_actor
 * @desc (v1.03a+)Sets the previous command that would go to the previous(in
 *       terms of party member index) inputable actor to go to the party command
 *       window instead
 *       Enabling this feature's recommended only with the hotkey addon
 * @default false
I've changed it as true in your proejct and the result's what you want.
So you may want to try this change and see if anything really changes :)
I was wondering what was the effect of that option, and now I know xD

Thank you very much, it works perfectly!
 

Oscar92player

Veteran
Veteran
Joined
Jul 26, 2012
Messages
451
Reaction score
199
First Language
Spanish
Primarily Uses
RMMV
Hi, @DoubleX! I've found an issue regarding the selection when using a spell over my allies. Nothing serious, but is something that can confuse the player when trying to select a target, and affect the gameplay. This only affects spells when selecting target allies, but not target enemies.

To replicate the issue, just follow this steps:
  • Enter the first battle option.
  • When Harold has the turn, select the 'Magic' command, and select the Cure spell.
  • Move the cursor over your allies with the right key/button. You'll see no issues here, since the selecting order is fine (you will select all your allies in order, until you can select all of them).
  • When Therese has the turn, select the 'Magic' command, and the Cure spell again.
  • Move the cursor over your allies with the right key/button. You'll see the issue here, since the cursor will select first Therese, then Harold, and then Marsha, Lucius and all allies (breaking the selection order, since Harold should be the first selected actor, and not Therese).
  • Repeat the same process with the other actors.
  • When Marsha has the turn, select the 'Magic' command and the Cure spell again.
  • Move the cursor over your allies with the right key/button. You'll see almost the same issue here, but with the diference that the cursor will select Harold first, then Marsha, and then Therese, Lucius and all allies, breaking again the actor order.
  • When Lucis has the turn, select the 'Magic' command and the Cure spell again.
  • Move the cursor over your allies with the right key/button. The issue here is that you will select first Harold, Therese, and then, Lucius, Marsha and all allies, breaking agian the order when the cursor selects Lucius before Marsha.
Here I have a video that shows all the steps to replicate the issues, too:

And here, I've uploaded a DEMO. All your plugins are updated, and there are no compatibility issues with the other plugins:
[ATB] [YEP] [MOG] Sample Project Updated 4 - vYEP1.5.0

Hope you can help me again with this! Thanks in advance!
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,469
Reaction score
545
First Language
Chinese
Primarily Uses
N/A
As the purpose of this addon's to let you set some hotkeys to select various inputable actors, while your issue is selecting actors as skill/item targets, I'm afraid that your issue has nothing to do with this plugin, since I've tested your project and can reproduce the issue even with this addon disabled.

In fact, I can reproduce this issue with just Yanfly Engine Plugins - Target Extension - Selection Control, and the actual behaviors you've experienced might be indeed intended from that plugin, so you may want to ask Yanfly for this one :)
 

Oscar92player

Veteran
Veteran
Joined
Jul 26, 2012
Messages
451
Reaction score
199
First Language
Spanish
Primarily Uses
RMMV
As the purpose of this addon's to let you set some hotkeys to select various inputable actors, while your issue is selecting actors as skill/item targets, I'm afraid that your issue has nothing to do with this plugin, since I've tested your project and can reproduce the issue even with this addon disabled.

In fact, I can reproduce this issue with just Yanfly Engine Plugins - Target Extension - Selection Control, and the actual behaviors you've experienced might be indeed intended from that plugin, so you may want to ask Yanfly for this one :)
Thanks for the info, @DoubleX, and sorry for the inconvenience. That that we have the source of the issue, I should take a look and see if there are any plugin updates for that one you mentioned, maybe it is fixed now :kaopride:
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I forgot I had an account on rpgmakercentral lol
"What do you think the best place to visit on this cold days?" "Hell..."
Been so busy lately that I wonder if I should slowly start preparing the advent calendar resources so I have enough in december.
Man, I wish it was harder for mean d-holes to make me feel like crying.
Made 8 games. Was aiming for 20. Gonna go for 40. Because 20 + 20. /Bed.

Forum statistics

Threads
94,537
Messages
921,717
Members
124,400
Latest member
Standanddeliver
Top