Remove (not skip!) Party Command Window

Amarysse

Ubiquitous Gimmick
Veteran
Joined
Oct 15, 2012
Messages
46
Reaction score
18
First Language
English
Primarily Uses
Hello!


Been searching the Web and these forums to no avail, so thought I'd ask directly.


I want to completely deactivate the Party Command Window. I'm using Yanfly's battle engine and the CTB extension, and I'd like to remove the functionality that brings up the Party Command Window when pressing Cancel on the first actor. This window isn't necessary at all for my game -- characters have individual Escape options -- so I'd like to remove any chance that the player might inadvertently bring it up.


Any plugins or JS tweaks I can do to achieve this? I've had a look around in the core JS files, but I don't know JS well enough to start tinkering with them myself.


Thanks in advance!
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
854
First Language
English
Primarily Uses
RMMV
I created a plugin which will disable selecting the party command window. It should be compatible with those plugins.


Window Options 1.03


The plugin will need to be placed above any battle plugin.
 
Last edited by a moderator:

Amarysse

Ubiquitous Gimmick
Veteran
Joined
Oct 15, 2012
Messages
46
Reaction score
18
First Language
English
Primarily Uses
@Exhydra That's great, thank you -- it does exactly what I wanted.


Just wanted to let you know there's a small bug when used with Yanfly's CTB, however; while pressing Cancel on the Actor Command window no longer brings up the Party Command window, it does incorrectly advance the Turn Indicator in Yanfly's CTB module to the next actor/enemy as if the turn had already been taken. (The turn can still be taken; it's just the turn order indicator that's wrong.)
 
Last edited by a moderator:

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
854
First Language
English
Primarily Uses
RMMV
Oop ... updated to 1.01 (file name has also been changed to correct a minor spelling error; will need to be re-added to the plugin manager). This should keep from skipping the turn.
 

Amarysse

Ubiquitous Gimmick
Veteran
Joined
Oct 15, 2012
Messages
46
Reaction score
18
First Language
English
Primarily Uses
@Exhydra Close but no cigar! Pressing Escape now skips the turn and moves to the next actor in the list. If it's the last actor in the list, it throws a "TypeError: Cannot read property 'index' of undefined".


Thanks for your fast turnaround on this. Together we'll crack it! :)
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
854
First Language
English
Primarily Uses
RMMV
Huh ... that's really odd. I have Yanfly's Battle Engine Core and the Battle System CTB plugins installed and I am receiving no errors or turn skipping. Are there any other plugins that you are using that might be related to the battle system?
 

Amarysse

Ubiquitous Gimmick
Veteran
Joined
Oct 15, 2012
Messages
46
Reaction score
18
First Language
English
Primarily Uses
@Exhydra Possibly. I'm using quite a few plugins to tweak the look and feel of the battle system. Here's a list of what I'm using that might be involved somewhere:


Exhydra_WindowOptions (yours, at the top of the list so above all others)


YEP_BattleEngineCore


YEP_X_BattleSysCTB


VE_BasicModule


VE_BattleCommandWindow


VE_BattleStatusWindow


HIME_ActorBattleCommands


HIME_BattleCommandUseSkill


YEP_EnhancedTP


YEP_TargetCore


I'm guessing one of the plugins that affects battle commands/the actor menu may be to blame here, so maybe the Himeworks or Victor Engine plugins are conflicting somehow?


EDIT: Yanfly's Battle Engine Core and VE's Battle Command Window both have functions to skip (but not disable) the Party Command window. I've tried disabling both of these options and your plugin still works, but the problem persists.


EDIT THE SECOND: Fixed it! I poked around in your .js file and commented out BattleManager._actorIndex++; -- now it appears to work as intended, for my purposes at least. Let me know if you find a more elegant solution. :)
 
Last edited by a moderator:

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
854
First Language
English
Primarily Uses
RMMV
Hmm, well, before I delve into that ... I have updated the plugin to 1.02 in order to try another, hopefully safer method.
 

Amarysse

Ubiquitous Gimmick
Veteran
Joined
Oct 15, 2012
Messages
46
Reaction score
18
First Language
English
Primarily Uses
@Exhydra Your 1.02 produces the opposite problem now, it goes back in the actor list instead of forwards. (To clarify, it doesn't actually show the command menu for the actor, it just highlights that actor in the party information window as if it's their turn.) Doesn't throw an error if it goes past the first one in the list, though. How peculiar!


In the meantime, the edit I posted in my previous reply seems to work, so I'll use that for the moment. I'll keep an eye on this thread in case you have any other ideas though, since my JS knowledge is pretty limited and my solution may have unforeseen consequences!
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
854
First Language
English
Primarily Uses
RMMV
Huh ... I am not receiving any of these issues, even with adding the other plugins into the project. I imagine that could be due to plugin configuration and such. Anyway ... perhaps version 1.03 is the charm? Updated in my initial post. In the plugin manager, I have the plugin placed above all of the battle plugins you listed in the above post. 
 

Bryan Rael

Villager
Member
Joined
Mar 19, 2017
Messages
7
Reaction score
2
First Language
English
Primarily Uses
RMMV
@Ossra would you mind putting the link to the plugin again? It's now 404
 

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

Latest Threads

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,083
Members
137,583
Latest member
write2dgray
Top