Actor Battle Commands

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
This plugin provides advanced battle command manage functionality that allows you to manage each and every one of your actors’ battle commands.

The most basic use is it allows you to customize which commands will be displayed in your actor battle command window, for each actor.



If you're looking for more advanced use, it also comes with some script calls that you can use to manage commands during the game. For example, you can add new commands to your actors, or you can disable commands in real-time during battle when certain conditions are met, using simple eventing!

You can watch a few demonstrations here:

Disabling Battle Commands


Hiding Battle Commands


Download

Get the plugin here: http://himeworks.com/2015/12/actor-battle-commands/
Terms of Use here: http://himeworks.com/terms-of-use/

This plugin is compatible with both MV and MZ.

Add-ons

ChangeEquipOnBattleMZ - https://forums.rpgmakerweb.com/index.php?threads/actor-battle-commands.125511/post-1107828
 
Last edited:

Misappi

Veteran
Veteran
Joined
Apr 16, 2018
Messages
42
Reaction score
26
First Language
Japanese
Primarily Uses
RMMV
I love it!
If someone have Gatling guns instead or arms (like ff7 Barret) It makes sense the character can not use items for example!
 

KotCR

Villager
Member
Joined
Oct 25, 2014
Messages
9
Reaction score
1
First Language
English
Primarily Uses
Anyway to make it work with the ability to freely enable/disable the Equip Command from the launch Plug-in from the MZ DLC folder (ChangeEquipOnBattleMZ), the way your MV version had a plug-in to make it work with Yanfly's Battle Equip command?

Currently using that plug-in will make every character always have access to the equip command in battle, which is not what I want :).

I remember using this plug-in in MV for this exact purpose in the past. Now it'd be nice to have it in MZ.
Cheers!
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
Anyway to make it work with the ability to freely enable/disable the Equip Command from the launch Plug-in from the MZ DLC folder (ChangeEquipOnBattleMZ), the way your MV version had a plug-in to make it work with Yanfly's Battle Equip command?

Currently using that plug-in will make every character always have access to the equip command in battle, which is not what I want :).

I remember using this plug-in in MV for this exact purpose in the past. Now it'd be nice to have it in MZ.
Cheers!
I tried it out.

1598201884287.png

Steps

1. Place the equip change plugin above actor battle commands (we're overwriting the way the command window makes its list, so you want all command plugins to be placed above)

2. add this somewhere under actor battle commands (maybe a new JS file, maybe just copy paste into bottom of actor battle commands, etc)

Code:
TH.ActorBattleCommands.makeCommand_equip = function(symbol, ext) {
  return new Data_BattlerCommand("Equip", symbol);
};

/* New */
Window_ActorCommand.prototype.addBattleCommand_equip = function(cmd) {
  var enabled = cmd.isEnabled(this._actor); 
  this.addCommand(cmd.name(), cmd.symbol(), enabled);
};
Now you can use the

Code:
<battle command: equip />
And the script calls

Code:
disable_actor_command(ACTOR_ID, "equip")
hide_actor_command(ACTOR_ID, "equip")
I'll make a more official post about it somewhere, maybe as an add-on patch.

But if anyone is interested in adding their own commands, the process of adding new commands to the framework is basically defining those two methods in order to "register" the command.
 
Last edited:

KotCR

Villager
Member
Joined
Oct 25, 2014
Messages
9
Reaction score
1
First Language
English
Primarily Uses
Thankyou for the fast response. Can confirm it worked in a clean project (pasting the code snippet as it's own .js script).

For some reason didn't in my currenty existing project (with everything else turned off), but I'll try and figure that one out on my own. Maybe I changed something else. Cheers! ^_^
 

tumsterfest

Veteran
Veteran
Joined
Aug 11, 2020
Messages
50
Reaction score
4
First Language
English
Primarily Uses
RMMZ
Hi, I have these two plugins activated, but the Equip command isn't showing up in my battles. I have them in the correct order in my plugin list -- is there something else I could be doing wrong?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,586
Latest member
Usagiis
Top