subengari

Veteran
Veteran
Joined
Dec 12, 2020
Messages
35
Reaction score
14
First Language
king's english
Primarily Uses
RMMV
Aloha kakou-

I am trying to add my own command to the options window.

Behold my code:
Window_Options-min.png

It runs without a hitch, alack the command "Hud Alignment" does not appear in the options window-
Options Menu.PNG

Can somebody enlighten me as to what I have neglected?

Mahalo nui in advance!
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
613
Reaction score
588
First Language
german
Primarily Uses
RMMZ
Your command is there, you just need to scroll down :p

These are the lines of code from the Maker's Source Code you may want to alias to change the windows's height:

Code:
Scene_Options.prototype.maxCommands = function() {
    // Increase this value when adding option items.
    return 7;
};
Scene_Options.prototype.maxVisibleCommands = function() {
    return 12;
};

Example:

Code:
const alias = Scene_Options.prototype.maxCommands;
Scene_Options.prototype.maxCommands = function() {
  return alias.call(this) + 1;
}
 
Last edited:

subengari

Veteran
Veteran
Joined
Dec 12, 2020
Messages
35
Reaction score
14
First Language
king's english
Primarily Uses
RMMV
Your command is there, you just need to scroll down :p

These are the lines of code from the Maker's Source Code you may want to alias to change the windows's height:

Code:
Scene_Options.prototype.maxCommands = function() {
    // Increase this value when adding option items.
    return 7;
};
Scene_Options.prototype.maxVisibleCommands = function() {
    return 12;
};

Example:

Code:
const alias = Scene_Options.prototype.maxCommands;
Scene_Options.prototype.maxCommands = function() {
  return alias.call(this) + 1;
}

@Aerosys thank you!
 

Latest Threads

Latest Profile Posts


Finally was able to record the rest of the game demo! I added some edits here and there, this is why it takes me so long to do stuff cuz I find a problem and have to fix it asap. x.x
Game: https://dj990j.itch.io/region-of-mythos
Databasing. Just with what I consider "bare minimum", I have listed over 200 skills. That's not all of it, and isn't even considering skills that only 1 class would realistically have. lol

It's a Spanish devlog don't get scared!.
Just read the forum rules just for kicks and rule 14 reminds me of this:
150.jpg
I'm in the process of converting all locks and intimidate/persuade dialogue options into D20 DC based success/fail (modified by player skill). Before, it required a certain flat amount you had to meet, but with rolls, it offers more freedom. For instance, you can repeatedly try to unlock a door instead of just not meeting the requirement to unlock it.

Forum statistics

Threads
117,057
Messages
1,104,181
Members
153,024
Latest member
yanis773
Top