xlucky_rat

They/Them
Veteran
Joined
May 16, 2022
Messages
77
Reaction score
85
First Language
English
Primarily Uses
RMMV
Hello again, MZ forum! You're bound to get a lot of questions from me as I embark on my RMMZ journey. Right now, I'm looking for a way, plugin or otherwise, to have only three members of the party, and have all the menus honor that change.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
4,583
Reaction score
2,926
First Language
English
Primarily Uses
RMMV
How do you mean? All of the menus should work perfectly if you only add 3 actors to your party.
 

xlucky_rat

They/Them
Veteran
Joined
May 16, 2022
Messages
77
Reaction score
85
First Language
English
Primarily Uses
RMMV
How do you mean? All of the menus should work perfectly if you only add 3 actors to your party.
I'll try to explain better. My game will have six PCs, three of which can be in the active party at any time, while the others are in reserve. I'd like it to be set up that the menu doesn't have space for a fourth party member when opened.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
4,583
Reaction score
2,926
First Language
English
Primarily Uses
RMMV
Oh. Then you'll need to change how the items (the information blocks for the actors) are drawn in the status menu so that three of them fill the screen instead of four.

You can either get a tool for that (I believe SRD's Super Tools/HUD Maker will let you edit the status menu), or you can learn what parts of JavaScript have to do with that and edit it in your rmmz_windows or rmmz_scenes files.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,684
Reaction score
2,766
First Language
EN
Primarily Uses
RMMZ
Yea, that'll need a plugin, albeit a simple one.

I've moved this thread to JS Plugin Requests. Thank you.

I feel like VisuStella probably has all the relevant options, but I'm not super familiar with their plugins...

Alternatively, you could try this (save as .js file, import as plugin):
JavaScript:
/*:
 * @target MZ
 * @plugindesc 3 battle members instead of 4.
 * @help Terms of use: free to use and/or modify for any project.
 */

// 3 battle members instead of 4
Game_Party.prototype.maxBattleMembers = function() {
    return 3;
};

// 3 status blocks in the pause menu instead of 4
Window_MenuStatus.prototype.numVisibleRows = function() {
    return 3;
};

// Reduce pause menu status window height by 25%
(alias => {
  Scene_Menu.prototype.statusWindowRect = function() {
    const rect = alias.apply(this, arguments);
    rect.height = Math.ceil(rect.height * 0.75);
    return rect;
  };
})(Scene_Menu.prototype.statusWindowRect);
There are 3 parts here: if you don't want one of the parts, just delete (or comment out) that part.
 

Latest Threads

Latest Profile Posts

After a little test with the parallax mapping, found it lags like a cat on a leash. Instead of the original idea to parallax map the entirety of the ship, I guess I'll settle for editing the tilesets. Probably should have done that first. :kaosigh:
So I kinda came back and learned how to mod other RPG Maker games so... Hello everyone!
Captura-de-pantalla-475.png
Version 1.0.1 done! Now finally free time... oh
Capture.PNG
I'm Really proud of how my game over screen looks!
UldJFr1.png
I felt inspired by a piece of art I saw. So I made this.

Wanderer Doge.png

Forum statistics

Threads
123,282
Messages
1,155,476
Members
161,680
Latest member
Said789
Top