Fade-Out Inactive Party Members

For my game, I have it so that you have three active party members and three inactive ones that you can swap between on the fly.


Active:
Help1.png



Inactive:
Help2.png



By default, RPG Maker MV has it so that any non-active party members are slightly transparent. However, I find the effect unpronounced, and it can be hard to decern witch party member is active or not. My question is if there is a way to make them more transparent. I tried looking though the JS code, but I can't really find anything. Any advice is greatly appreciated.


A mock-up of what I'm hoping for:
Help3.jpg
For my game, I have it so that you have three active party members and three inactive ones that you can swap between on the fly.


My question is if there is a way to make them more transparent. I tried looking though the JS code, but I can't really find anything. Any advice is greatly appreciated.


A mock-up of what I'm hoping for:
View attachment 221769

1648871478742.png


You can change the 160 in function "Window_Base.prototype.translucentOpacity"
on line 244 in rpg_windows.js to a lower value

Although by doing that it will change the opacity of everything that get's disabled not just the menu actors

Is that what you needed?

Alternatively I'm pretty sure you could also overwrite the "Window_MenuStatus.prototype.drawItemImage" function like this:
JavaScript:
Window_MenuStatus.prototype.drawItemImage = function(index) {
    var actor = $gameParty.members()[index];
    var rect = this.itemRect(index);
    if (!actor.isBattleMember()) {this.contents.paintOpacity = 100;};
    this.drawActorFace(actor, rect.x + 1, rect.y + 1, Window_Base._faceWidth, Window_Base._faceHeight);
    this.changePaintOpacity(true);
};

Save that as a js file and place in plugins then turn it on as a plugin, change the 100 to whatever value you want. I didn't test this though but I'm pretty sure that would work and only affect the actor faces in the menu. Attached the JS file for your convenience
View attachment 221803

You can change the 160 in function "Window_Base.prototype.translucentOpacity"
on line 244 in rpg_windows.js to a lower value

Although by doing that it will change the opacity of everything that get's disabled not just the menu actors

Is that what you needed?

Alternatively I'm pretty sure you could also overwrite the "Window_MenuStatus.prototype.drawItemImage" function like this:
JavaScript:
Window_MenuStatus.prototype.drawItemImage = function(index) {
    var actor = $gameParty.members()[index];
    var rect = this.itemRect(index);
    if (!actor.isBattleMember()) {this.contents.paintOpacity = 100;};
    this.drawActorFace(actor, rect.x + 1, rect.y + 1, Window_Base._faceWidth, Window_Base._faceHeight);
    this.changePaintOpacity(true);
};

Save that as a js file and place in plugins then turn it on as a plugin, change the 100 to whatever value you want. I didn't test this though but I'm pretty sure that would work and only affect the actor faces in the menu. Attached the JS file for your convenience
Thanks my dude, This was exactly what I was looking for.

Original thread: https://forums.rpgmakerweb.com/threads/fade-out-inactive-party-members.146336/