xlucky_rat

They/Them
Veteran
Joined
May 16, 2022
Messages
77
Reaction score
83
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,514
Reaction score
2,878
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
83
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,514
Reaction score
2,878
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,671
Reaction score
2,759
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

Have you ever been in such a luck streak you felt fear something was wrong?
I'm going to be adding in combat animations, revamping the UI and putting in a new cutscene this week, so this is your last chance to play the MC:RIS demo in its original form! Say you were there since the beginning! https://qos.itch.io/infinite-sadness
I added reflections and shadows. Though one of the party seems to have no reflection, is floating, with glowing eyes. I'm sure it's fine.
p7O1sjG.png
Well. *That* was an entertaining fustercluck — and that’s not meant nearly as sarcastically as it sounds. I just had to make four different versions of the same conversation:
1: Attained MacGuffin.
2: Have not attained MacGuffin, but know its location.
3: Do not know MacGuffin’s location, but have a good idea where to find it.
4: Do not know where to look for MacGuffin.
Yep, feels good to be back. ^.^
I'm soooooooooo tired TT___TT why can't there be a plugin to let me sleep + work simultaneously ... !!

Forum statistics

Threads
123,110
Messages
1,154,057
Members
161,442
Latest member
pestilence
Top