- Joined
- Jun 22, 2017
- Messages
- 540
- Reaction score
- 1,363
- First Language
- Norwegian
- Primarily Uses
- RMMZ
I'm looking for help to make a plugin to change the font size of the param text and numbers.

It is a change that I think Visustella SkillStates did.
The Visustella MainMenuCore did the same in the main menu.
I managed to change it in the main menu due to JS code being available.

(This looked identical to the one in the skill window before.)
But cant find any for skill window.
Here is the code for the main menu and the changes I made. (If that helps?)

It is a change that I think Visustella SkillStates did.
The Visustella MainMenuCore did the same in the main menu.
I managed to change it in the main menu due to JS code being available.

(This looked identical to the one in the skill window before.)
But cant find any for skill window.
Here is the code for the main menu and the changes I made. (If that helps?)
// Following Requires VisuStella MZ's Core Engine
// Draw Additional Parameter Data if Enough Room
sx3 = sx2 + 300;
sw = rect.width - sx3 - 2;
if (Imported.VisuMZ_0_CoreEngine && sw >= 300) {
const params = VisuMZ.CoreEngine.Settings.Param.DisplayedParams;
const pw = Math.floor(sw / 2) - 24;
let px = sx3;
let py = rect.y + Math.floor((rect.height - (Math.ceil(params.length / 2) * gaugeLineHeight)) / 2 - 12);
let counter = 0;
for (const param of params) {
this.resetFontSettings();
this.drawParamText(px, py, pw, param, false); (Changing this to false made the param text regular size.)
this.resetTextColor();
this.contents.fontSize = 20; (This changes the size of the param numbers.)
const paramValue = actor.paramValueByName(param, true);
this.contents.drawText(paramValue, px +64, py +2, pw, gaugeLineHeight, 'center');
counter++;
if (counter % 2 === 0) {
px = sx3;
py += gaugeLineHeight + 4;
} else {
px += pw + 24;
}
}
}
I tried to make my own but I just lack the basic knowledge tbh xD Im more of a ''edit what is already made'' kind of guy
// Draw Additional Parameter Data if Enough Room
sx3 = sx2 + 300;
sw = rect.width - sx3 - 2;
if (Imported.VisuMZ_0_CoreEngine && sw >= 300) {
const params = VisuMZ.CoreEngine.Settings.Param.DisplayedParams;
const pw = Math.floor(sw / 2) - 24;
let px = sx3;
let py = rect.y + Math.floor((rect.height - (Math.ceil(params.length / 2) * gaugeLineHeight)) / 2 - 12);
let counter = 0;
for (const param of params) {
this.resetFontSettings();
this.drawParamText(px, py, pw, param, false); (Changing this to false made the param text regular size.)
this.resetTextColor();
this.contents.fontSize = 20; (This changes the size of the param numbers.)
const paramValue = actor.paramValueByName(param, true);
this.contents.drawText(paramValue, px +64, py +2, pw, gaugeLineHeight, 'center');
counter++;
if (counter % 2 === 0) {
px = sx3;
py += gaugeLineHeight + 4;
} else {
px += pw + 24;
}
}
}
I tried to make my own but I just lack the basic knowledge tbh xD Im more of a ''edit what is already made'' kind of guy
Last edited: