RMMZ Help to remove BGS volume and Me volume from options menu

worldisours

Warper
Member
Joined
Jun 25, 2022
Messages
1
Reaction score
1
First Language
english
Primarily Uses
RMMZ
Hello everyone. How do i remove BGS volume and Me volume from options menu?

Ive tried some plugins without any sucsess, i wasnt suggested to dig into the game files.


Is there a easy way? I can remove the names from the database itself but the line in option menu isnt removed.


Thanks alot
 

SeaPhoenix

Veteran
Veteran
Joined
May 14, 2015
Messages
363
Reaction score
468
First Language
English
Primarily Uses
RMMV
You can copy and paste the following into a new plugin. Unless you're using any other plugins to affect the Options menu, this should work. It just removes the two commands that added BGS and ME volumes, and reduces the size of the command window (otherwise you'd see two blank lines).

JavaScript:
Window_Options.prototype.addVolumeOptions = function() {
    this.addCommand(TextManager.bgmVolume, "bgmVolume");
    this.addCommand(TextManager.seVolume, "seVolume");
};

const _alias_Scene_Options_maxCommands = Scene_Options.prototype.maxCommands;
Scene_Options.prototype.maxCommands = function() {
    return _alias_Scene_Options_maxCommands.call(this) - 2;
};
 

Arthran

Veteran
Veteran
Joined
Jun 25, 2021
Messages
515
Reaction score
495
First Language
English
Primarily Uses
RMMZ
Unless you're on some type of crusade against people who wear headphones, please don't actually remove those options from the menu.
 

Latest Threads

Latest Posts

Latest Profile Posts

Mimics! Mimics everywhere!
Pirate portrait quickie :LZYcheeze:
pirate.png
My game has a (much needed) tutorial now...
Game Making Every Day #20:kaohi:

ScreenShot_8_14_2022_11_55_51.png
FINALLY added the comic bubble to the Title Screen...

Forum statistics

Threads
124,508
Messages
1,164,120
Members
163,334
Latest member
Spiketrap
Top