- Joined
- Dec 3, 2015
- Messages
- 8
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMV
Hello,
I'm trying to use the full actor portraits (steam dlc img\pictures folder) in place of the standard actor busts (new data img\pictures folder) with Visustella Main Menu Core using the portrait style layout. I was unable to find a solution on the Visustella sample product thread or Visustella wiki and couldn't find a related thread for Visustella Main Menu Core or MV Yanfly Main Menu Core.
The full portraits have larger canvas sizes compared to the standard busts and the default plugin parameters seem to be tuned to the standard bust size. When using the full portraits with the actor image note tag, the images don't display the way I was hoping in the main menu.
Is it possible to adjust the plugin parameters to scale portrait images?
Here's what the main menu looks like when setting actor images to the full portraits:
What I'd like to do is to scale each image to fit the height of each actor pane... meaning the tops of heads/hats all are at the top of the box and the feet are at the bottom:
Alternatively, if it is easier I would like to simply scale all portraits by a constant (like 50%)... since the actor images are different sizes this would probably result in the the heads and/or feet not lining up (depending on how the images are centered or anchored):
I was able to adjust the scaling for SUB menus using the parameters, but cannot seem to find how to do it in the main menu parameters:
I'm not sure how to adjust the image scaling using the main menu parameters. I know I'm looking at the parameters for the menu style I have set because when trying to apply scaling (using trial and error, not actual knowledge of JS) after "this.drawItemActorMenuImage(actor, gx, gy, gw, gh);" I shrunk the entire menu pane but did not improve the image scaling.
I'm trying to use the full actor portraits (steam dlc img\pictures folder) in place of the standard actor busts (new data img\pictures folder) with Visustella Main Menu Core using the portrait style layout. I was unable to find a solution on the Visustella sample product thread or Visustella wiki and couldn't find a related thread for Visustella Main Menu Core or MV Yanfly Main Menu Core.
The full portraits have larger canvas sizes compared to the standard busts and the default plugin parameters seem to be tuned to the standard bust size. When using the full portraits with the actor image note tag, the images don't display the way I was hoping in the main menu.
Is it possible to adjust the plugin parameters to scale portrait images?
- If so, how can I make adjustments?
- In not, would I have better luck shrinking/cropping the images in Photoshop/GIMP?
Here's what the main menu looks like when setting actor images to the full portraits:
What I'd like to do is to scale each image to fit the height of each actor pane... meaning the tops of heads/hats all are at the top of the box and the feet are at the bottom:
Alternatively, if it is easier I would like to simply scale all portraits by a constant (like 50%)... since the actor images are different sizes this would probably result in the the heads and/or feet not lining up (depending on how the images are centered or anchored):
I was able to adjust the scaling for SUB menus using the parameters, but cannot seem to find how to do it in the main menu parameters:
I'm not sure how to adjust the image scaling using the main menu parameters. I know I'm looking at the parameters for the menu style I have set because when trying to apply scaling (using trial and error, not actual knowledge of JS) after "this.drawItemActorMenuImage(actor, gx, gy, gw, gh);" I shrunk the entire menu pane but did not improve the image scaling.
// Declare Constants
const actor = arguments[0];
const rect = arguments[1];
// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
const totalHeight = (lineHeight * 4.5) + (gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 2));
// 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);
const actor = arguments[0];
const rect = arguments[1];
// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
const totalHeight = (lineHeight * 4.5) + (gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 2));
// 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);







