MZ (+VisuMZ free plugins) Separate faces for "skills" menu

So basically VisuMZ (mainly through MainMenuCore and ItemsEquipCore) allows you to make menus such as "skills" menu, and "equipment" part of "items" menu display actor's face for an actor. And I wonder if I can use either different faces for different menus, or use entirety other pictures, since one face picture doesn't really suit every menu
Here I want to replace "skills" menu face with the last image attached. I also use portrait style.
1697222886113.png
1697222871077.png
Might as well bump it, since this problem got even worse. In battle it uses deffault face too, and it looks even more bizzare than on skill menu
1697778842676.png
Bump (should be fine I guess, since 72 hours passed)
Greetings!

I don't have a clean answer for you as this is not something I've personally worked on before, but I can point you in the right direction in the hopes that that would help:

From the Visustella MainMenuCore plugin parameters, go to List Style Settings -> JS: Portrait -> Scroll down till you see the following code:


Code:
// Draw Actor Graphic
const gw = rect.width;
const gh = rect.height;
const gx = rect.x;
const gy = rect.y;
this.drawItemActorMenuImage(actor, gx, gy, gw, gh);


This is the code that draws the face pictures within the menus. From here, you could theoretically add whatever you want. A picture instead of a face graphic. Some conditionally branching code that adds different graphics to different scenes. Whatever you can think of, you can do it by placing the code in this spot.

Happy game making,
-Niniann

PS: Check out this thread for information on drawing pictures within windows in MZ, I believe it should lead you to being able to create what you're looking for.
P.S. "this.drawItemActorMenuImage" refers to the image displayed in the main menu for your party. And that's something I already got set up for.

I believe that the main code, that does drawing for the compare window in item menu (because that's the only menu currently bothering me) is a
---
// Draw Actor Data

const actorMax = $gameParty.maxBattleMembers();

const actorWidth = Math.floor((width - paramWidth) / actorMax);

paramWidth = width - (actorWidth * actorMax);

for (const actor of $gameParty.battleMembers()) {

const index = $gameParty.battleMembers().indexOf(actor);

const actorX = paramX + paramWidth + (index * actorWidth);

this.changePaintOpacity(actor.canEquip(this._item));

this.drawActorFace(actor, actorX-25, faceY-10, actorWidth+50, tableY - faceY - 20);

let actorY = tableY-30;



// Draw Parameter Changes

for (const paramId of params) {

const diffY = actorY - ((lineHeight - paramheight) / 2);

this.drawActorParamDifference(actor, paramId, actorX, diffY+30, actorWidth);

actorY += paramheight;

}

}
---
And this part in particular
"this.drawActorFace(actor, actorX-25, faceY-10, actorWidth+50, tableY - faceY - 20);"
Do you think it's possible to replace drawActorFace command with loadPicture? That seems like the most possible solution

Original thread: https://forums.rpgmakerweb.com/threads/visumz-free-plugins-separate-faces-for-skills-menu.161990/