I posted this here, because it didn't seem to fit in the categories of the JS Plugins section. But I could be wrong.
I want to remove a few options from the Main Menu Options. I searched for information, found an example of removing certain volume options, I opened the rmmz_windows .js file, and located what I think is the correct information that needs to be modified.
I want to remove the Always Dash, Command Remember, and Touch UI options, but keep the volume options.
I was planning on making a new .js plugin to modify the Main Menu Options window. I think this is the relevant code:
Window_Options.prototype.makeCommandList = function() {
this.addGeneralOptions();
this.addVolumeOptions();
};
Window_Options.prototype.addGeneralOptions = function() {
this.addCommand(TextManager.alwaysDash, "alwaysDash");
this.addCommand(TextManager.commandRemember, "commandRemember");
this.addCommand(TextManager.touchUI, "touchUI");
};
I saw in a related thread that I should just be able to do something like this:
Window_Options.prototype.makeCommandList = function() {
//this.addGeneralOptions();
this.addVolumeOptions();
};
OR
Window_Options.prototype.addGeneralOptions = function() {
//this.addCommand(TextManager.alwaysDash, "alwaysDash");
// this.addCommand(TextManager.commandRemember, "commandRemember");
// this.addCommand(TextManager.touchUI, "touchUI");
};
I think by adding the "//" you are making this a Comment so those options won't be added. Or, since it is a plugin, those options will be removed.
If that is correct, which is better?
Edit the first function - "//this.addGeneralOptions();"? Since that seems like it would remove all of the general options?
Or Edit the second function with each of the 3 general options listed?
I would think it would be better to just use this is the plugin:
Window_Options.prototype.makeCommandList = function() {
//this.addGeneralOptions();
this.addVolumeOptions();
};
But I wanted to make sure this was correct and wouldn't cause any unforeseen problems.
Also, I think this needs to be added at the beginning of the plugin:
/*:
* @target MZ
* @plugindesc Remove General Options From Main Menu Options
* @Help Free to use and/or modify for any project, no credit required.
*/
But I also wanted to check that. I am not plugin conversant.
Thanks for any assistance you can provide!
I want to remove a few options from the Main Menu Options. I searched for information, found an example of removing certain volume options, I opened the rmmz_windows .js file, and located what I think is the correct information that needs to be modified.
I want to remove the Always Dash, Command Remember, and Touch UI options, but keep the volume options.
I was planning on making a new .js plugin to modify the Main Menu Options window. I think this is the relevant code:
Window_Options.prototype.makeCommandList = function() {
this.addGeneralOptions();
this.addVolumeOptions();
};
Window_Options.prototype.addGeneralOptions = function() {
this.addCommand(TextManager.alwaysDash, "alwaysDash");
this.addCommand(TextManager.commandRemember, "commandRemember");
this.addCommand(TextManager.touchUI, "touchUI");
};
I saw in a related thread that I should just be able to do something like this:
Window_Options.prototype.makeCommandList = function() {
//this.addGeneralOptions();
this.addVolumeOptions();
};
OR
Window_Options.prototype.addGeneralOptions = function() {
//this.addCommand(TextManager.alwaysDash, "alwaysDash");
// this.addCommand(TextManager.commandRemember, "commandRemember");
// this.addCommand(TextManager.touchUI, "touchUI");
};
I think by adding the "//" you are making this a Comment so those options won't be added. Or, since it is a plugin, those options will be removed.
If that is correct, which is better?
Edit the first function - "//this.addGeneralOptions();"? Since that seems like it would remove all of the general options?
Or Edit the second function with each of the 3 general options listed?
I would think it would be better to just use this is the plugin:
Window_Options.prototype.makeCommandList = function() {
//this.addGeneralOptions();
this.addVolumeOptions();
};
But I wanted to make sure this was correct and wouldn't cause any unforeseen problems.
Also, I think this needs to be added at the beginning of the plugin:
/*:
* @target MZ
* @plugindesc Remove General Options From Main Menu Options
* @Help Free to use and/or modify for any project, no credit required.
*/
But I also wanted to check that. I am not plugin conversant.
Thanks for any assistance you can provide!