xlucky_rat

They/Them
Veteran
Joined
May 16, 2022
Messages
77
Reaction score
84
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,533
Reaction score
2,897
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
84
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,533
Reaction score
2,897
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,673
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

Update on the Unity thing: I had to redo all my map graphics for Unity because the originals were from XP, but it actually looks so much better now in Unity, so I genuinely might make the switch.
Messing around with fragment shaders (filters). This thing is HUGE and I'm surprised almost no one makes good use of. Even the number of plugins that do this stuff are limited.
ScreenShot_6_28_2022_3_2_40.png

There's 7 main areas in the game that are all connected. This train get's you from an underground lab to the center of someone's subconscious. inside the train you can talk to some of the passengers. but going to the top of it, there's battles.
Speedrunning all character portraits just so they all have the same quality. Not sure if this was a good idea, but now I'm almost done.
We now have a gameplay video!

Forum statistics

Threads
123,154
Messages
1,154,453
Members
161,503
Latest member
Asinthew
Top