Eljolly

Villager
Member
Joined
Aug 18, 2018
Messages
6
Reaction score
5
First Language
italian
Primarily Uses
RMMV
Hello!
I'm using "AltmenuScreen3" plugin for my menu.
I need to hide and/or delete the End Game from the menu before I start painting the background for it.

Schermata 2022-01-25 alle 21.55.59.png

I hope someone can help!
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,741
Reaction score
2,266
First Language
Dutch
Primarily Uses
RMMV
you can either rule it out in the core, or if you use a custom menu commands,
you can build it up in the way you want it to be.

but why do you want to get rid of that button if they cannot close it?
or want to go back to title scene for a New Game or Load another save?
 

ovate

tale
Veteran
Joined
Dec 16, 2016
Messages
1,046
Reaction score
1,694
First Language
English
Primarily Uses
N/A
This should hide EndGame command which is a snippet that commented out from rpg_windows.js

Code:
//=============================================================================
// NoGameend.js
//=============================================================================

/*:
 * @plugindesc Hides Game End command (commented out from rpg_windows.js)
 * @author ovate
 */

Window_MenuCommand.prototype.makeCommandList = function() {
    this.addMainCommands();
    this.addFormationCommand();
    this.addOriginalCommands();
    this.addOptionsCommand();
    this.addSaveCommand();
    //this.addGameEndCommand();
};
 

Attachments

  • NoGameend.js
    536 bytes · Views: 2

Eljolly

Villager
Member
Joined
Aug 18, 2018
Messages
6
Reaction score
5
First Language
italian
Primarily Uses
RMMV
you can either rule it out in the core, or if you use a custom menu commands,
you can build it up in the way you want it to be.

but why do you want to get rid of that button if they cannot close it?
or want to go back to title scene for a New Game or Load another save?

I would like to cut it out because it being a small game it can be shut down by simply closing the window on a pc/mac, and closing it as an smartphone app just need a swipe.

But you are quite right, indeed loading a new savefile would be a pain, because you would need to reopen the game. However I would like to have only 4 commands on the menu so the idea I have for the menu skin can work fine.


This should hide EndGame command which is a snippet that commented out from rpg_windows.js

Code:
//=============================================================================
// NoGameend.js
//=============================================================================

/*:
 * @plugindesc Hides Game End command (commented out from rpg_windows.js)
 * @author ovate
 */

Window_MenuCommand.prototype.makeCommandList = function() {
    this.addMainCommands();
    this.addFormationCommand();
    this.addOriginalCommands();
    this.addOptionsCommand();
    this.addSaveCommand();
    //this.addGameEndCommand();
};
THANK YOU!!! It works perfectly!
I will credit you once as soon as I get the first build up :)
 

Latest Threads

Latest Profile Posts

Happy treason day, Colonial friends <3

I am officially amused. One of the NPCs in my project is basically meant as the guy you check in with to point you where you should go next, including if you’ve been away for a bit and have forgotten.

I can conclusively say he does his job nicely. I was out of town over the weekend. I had forgotten what I was working on, so I checked what I had last done with him for a reminder. ^.^
While talking about anime with a friend got the idea of doing this. :kaopride:
4m6nhlF.jpg

Character: Mirajane Strauss from Fairy Tail.
Dog saliva is an antiseptic.
NghNgE9.gif

Forum statistics

Threads
123,333
Messages
1,155,836
Members
161,755
Latest member
shirouinazuki
Top