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,541
Reaction score
2,902
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,541
Reaction score
2,902
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,675
Reaction score
2,760
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 Posts

Latest Profile Posts

I think that this forum's member posts should include their Phone Number and Social Insurance Number.
My PC just broke with everything I've been working on, on it. I can't afford to replace it. Life is just wonderful....
More musics! Praise be to the winter towns!
i've had the ace attorney investigation theme stuck in my head ever since i woke up TT__TT
more opening cinematic work but i took out the text so you have no context AHAHAHAHAHA >:]]
image.png

Forum statistics

Threads
123,178
Messages
1,154,639
Members
161,545
Latest member
leafstock
Top