Request: Completely remove the "EquipCommand" Window

Status
Not open for further replies.

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
I would like to request a plugin that just outright removes this window from the game, please.

I should note I am using the free YEP EquipCore as well. Thank you!
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
283
Reaction score
261
First Language
german
Primarily Uses
RMMV
Why don't you just go into Database -> System and disable the Equip Command?
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
Why don't you just go into Database -> System and disable the Equip Command?
I don't want to remove being able to equip items, I want to remove the window in there called "EquipCommand". It's the window that has the options "Equip, Remove, Optimize".
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,371
Reaction score
1,536
First Language
English
Primarily Uses
RMMV
The only problem is that Window_EquipCommand is the main command window in that scene and what drives the cancel handler, so what do you want to replace it with?
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
The only problem is that Window_EquipCommand is the main command window in that scene and what drives the cancel handler, so what do you want to replace it with?
If it can't be removed then can it be made so that "cancelling" (backing out, pressing ESC, etc) skips that menu too and just exits the Equip Scene completely? I can already make it so that the menu starts in the "equip" window, it's just annoying having to press ESC twice to back out.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,371
Reaction score
1,536
First Language
English
Primarily Uses
RMMV
You could modify the cancel handler of the equip slot window so that it calls this.popScene.bind(this) instead of returning to the equip window.
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
You could modify the cancel handler of the equip slot window so that it calls this.popScene.bind(this) instead of returning to the equip window.
Could you kindly point me to which line that is? I'm not an expert coder so I'm not sure where that is :smile:
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,371
Reaction score
1,536
First Language
English
Primarily Uses
RMMV

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
Line 947.
Of which .JS? I looked in the YEP and Windows files but 947 isn't any cancel handler. Sorry, I'm utterly clueless right now.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,371
Reaction score
1,536
First Language
English
Primarily Uses
RMMV
YEP_EquipCore.js. The line should read

Code:
this._slotWindow.setHandler('cancel',   this.onSlotCancel.bind(this));
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
YEP_EquipCore.js. The line should read

Code:
this._slotWindow.setHandler('cancel',   this.onSlotCancel.bind(this));
Ahh, it was 911 for me. Thanks so much! Can confirm that it works!
 

hiddenone

Lurker Extraordinaire
Global Mod
Joined
Feb 19, 2014
Messages
2,427
Reaction score
5,165
First Language
english
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

ESAMarathon on Twitch, now streaming "Eat Girl". Yep, that's the title of a game... Apparently it's a Pacman knockoff.... Which is of course the only logical conclusion one would get from a name like "Eat Girl". :kaopride: I can't believe anybody would think anything else! :kaoback:
Super stoked i just finished my first town in my project, by finished i mean i can always add more decorative aesthetics and the NPCs don't talk yet but the mapping is complete and all the important chess pieces are present!
My brain: Hey, I have an idea how to make the transition to the main story quest in The Wastes more natural!
Me: Good!
My brain: You need to remake the hotel you start out in, it's not realistic enough.
Me: Ok... This was unexpected, but I can do it.
My brain: Now make each hotel floor 5 times as large to match the main part. Oh, you also need to make a bunch of new npcs to fill in the space on these maps.
Me: Crap.
Should be able to release Haxe MV/MZ next weekend.
It look that somehow MZ tracks are messed up (for example battle4 is obviously a theme, castle2 is a ship, ship1 is a scene and so on..). Maybe they just named them after with some ambiguity.

Forum statistics

Threads
100,608
Messages
977,797
Members
132,224
Latest member
nallovint
Top