Request: Completely remove the "EquipCommand" Window

Status
Not open for further replies.

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
200
Reaction score
49
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
289
Reaction score
265
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
200
Reaction score
49
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,380
Reaction score
1,561
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
200
Reaction score
49
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,380
Reaction score
1,561
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
200
Reaction score
49
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,380
Reaction score
1,561
First Language
English
Primarily Uses
RMMV

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
200
Reaction score
49
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,380
Reaction score
1,561
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
200
Reaction score
49
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,433
Reaction score
5,181
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 Posts

Latest Profile Posts

Well... My game plays better at 1920x1080, so I guess that's the new resolution. Still runs at 60FPS. :LZSexcite: Also... I really want a boss to be able to build new maps around the player... Mostly because it's visually spectacular! I'm er... not quite sure yet how I can do that without making MV explode.... But I'll find a way, anything in service to the "sparkles"! :kaopride:
How to change your netbooks screen resolution

Forum statistics

Threads
100,787
Messages
979,542
Members
132,430
Latest member
Timiti
Top