Greetings everyone, I have been messing around with some visustella plugins and trying to make as many adjustments/changes as humanly possible, but I am having difficulty changing the icons back to their original size in the menu screen
So I believe the part responsible for this is from VisuMZ_1_MainMenuCore>List Style Settings> JS-Solo
This is my current code, I tried making modifications to the part saying "// Following Requires VisuStella MZ's Core Engine" but I didn't have any results, it is possible that most of the stuff I tried to copy paste/change didn't do much
I included the second image to showcase the original icon size that is being displayed properly in the equipment section!
So I believe the part responsible for this is from VisuMZ_1_MainMenuCore>List Style Settings> JS-Solo
This is my current code, I tried making modifications to the part saying "// Following Requires VisuStella MZ's Core Engine" but I didn't have any results, it is possible that most of the stuff I tried to copy paste/change didn't do much
I included the second image to showcase the original icon size that is being displayed properly in the equipment section!
Code:
// Declare Constants
const actor = arguments[0];
const rect = arguments[1];
const x = 64
const fontSize = x;
const padding = this.itemPadding();
const maxExp= 999999
// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
// Draw Actor Graphic
let sx = rect.x -400;
let sy = rect.y ;
let sw = rect.width;
let sh = rect.height;
// Portrait
if (actor.getMenuImage() !== '') {
this.drawItemActorMenuImage(actor, rect.x -600, rect.y, rect.width, rect.height);
// Everything Else
} else {
const gx = Math.max(0, rect.x + Math.floor(((rect.width ) - ImageManager.faceWidth ) / 2 -300));
const gy = Math.max(0, rect.y + rect.height - Math.ceil(lineHeight * 19) - ImageManager.faceHeight );
this.drawActorGraphic(actor, gx, gy, ImageManager.faceWidth , ImageManager.faceHeight );
}
// Draw Actor Name
sw = Math.round(rect.width / 2 +600 );
sy = Math.round(rect.width / 7);
this.drawText(actor.name(), sx , sy, sw, 'center');
// Draw Actor Level
sx = Math.max(0, rect.x + Math.floor(((rect.width / 2) - 128) / 2));
sy += lineHeight;
this.drawActorLevel(actor, sx -300, sy);
// Draw Actor Class
const className = actor.currentClass().name;
sx = rect.x + Math.round(((rect.width / 2 ) - this.textSizeEx(className).width) / 2);
sy += lineHeight +8 ;
this.drawTextEx(className, sx -100, sy, sw);
// Draw Actor Icons
sx = rect.x + Math.round(((rect.width / 2) - 128) / 2);
sy += lineHeight +5;
this.drawActorIcons(actor, sx +70, sy -70 );
// Prepare Stat Coordinates
sx = rect.x + Math.floor(rect.width / 3 -300);
sw = rect.width / 5;
sh = rect.height;
const sx3 = sx;
const cw = rect.width - sx3 ;
// Declare Constants
let paramWidth = 0;
// Prepare Total Content Height to vertically center the content.
let totalHeight = gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 3);
if (Imported.VisuMZ_0_CoreEngine && cw >= 300) {
const params = VisuMZ.CoreEngine.Settings.Param.DisplayedParams ;
totalHeight += lineHeight ;
totalHeight += Math.ceil(params.length / 2) * gaugeLineHeight +5;
}
const equips = actor.equips();
totalHeight += lineHeight;
totalHeight += equips.length * lineHeight;
sy = Math.max(rect.y, rect.y + Math.floor((rect.height - totalHeight) / 2));
// Place Gauges
this.contents.fontSize += 16;
this.placeGauge(actor, "hp", sx, sy);
sy += 8+ gaugeLineHeight;
if ($dataSystem.optDisplayTp) {
sy += 8+ gaugeLineHeight;
this.placeGauge(actor, "tp", sx, sy);
sy += 8+ gaugeLineHeight;
}
let ny = sy ;
// Following Requires VisuStella MZ's Core Engine
// Draw Additional Parameter Data if Enough Room
if (Imported.VisuMZ_0_CoreEngine && cw >= 300) {
const params = VisuMZ.CoreEngine.Settings.Param.DisplayedParams;
this.resetFontSettings();
this.fontSize += 16;
sy += lineHeight +15;
const pw = Math.floor(cw / 2) -400;
let px = sx3 ;
let counter = 0;
for (const param of params) {
param.fontsize +=16
this.drawParamText(px, sy, pw, param, true);
param.fontsize +=16
const paramValue = actor.paramValueByName(param, true);
this.contents.drawText(paramValue, px, sy, pw, gaugeLineHeight, 'right');
counter++;
if (counter % 2 === 0) {
this.fontSize += 16;
this.contents.fontSize += 24;
px = sx3;
sy += 24 + gaugeLineHeight;
} else {
px += pw + 28;
}
}
ny += lineHeight +5;
ny += Math.ceil(params.length / 1) * gaugeLineHeight;
}
// Draw Actor Equipment
this.resetFontSettings();
this.fontSize += 8;
sx = rect.x + Math.floor(rect.width / 2 -400);
sy = ny + lineHeight;
sw = rect.width / 2;
for (const equip of equips) {
if (equip) {
this.drawItemName(equip, sx, sy, sw);
sy +=lineHeight;
if (sy + lineHeight > rect.y + rect.height) return;
}
}