MV Need Help Altering the Font in MOG Battle Hud & Results

So this one has had me stumped for several months and I'm at a point where I can overlook it no longer!

For Knowledge reasons I believe it helps to note that I have these plugins in all in play:

VE_Basic Module (to support several other VE plugins)
Yanfly Message Core (w/ ext 1 & 2)
TSR Text Color by Northern Frog
MOG_Battle HUD
MOG_BattleCommands
MOG_BattleResult

MY ISSUE: Thanks to Message Core & TSR Text Color i'm able to manipulate majority of my games font to have a simplistic comic book black font at size 22:

Spoiler: Reference
help4.png


HOWEVER during Battle my battle command's font remains at a default white with a black/grey outline which i'd like to make black as well:

Spoiler: Reference
help3.png

to make matters worst on the victory screen, when i receive items and a new skill not only is the font the default white, it sits stubbornly at the default 28 font to the point that the title of items & skills get cut off:

Spoiler: Reference
help1.png


help2.png

i do not have the issue in any other aspect of my game. if i turn off MOG Battle HUD & Result the font turns black, so i know something in either the HUD, the commands or the result is overwriting my other plugins to display a 28 font white text (to back up that theory, i also changed the font size in rpg_windows core and made my ENTIRE game 12 font and the battle commands was STILL unaffected) and i would love to know how to change this however i don't know nearly enough about javascript to even know where to begin outside of opening the .js in notepad.



I SINCERELY appreciate anyone who can walk me through this, you'll be giving my project a HUGE leap forward!
i'd like to share the plugin codes for HUD, Commands & Result but their too long to post here even with the code & spoiler functions, anyone willing to help let me know the best way to share those and i will gladly do it.
Hello, I've tried this myself and the fonts work for me with the battle huds. But I am also using different plugins than you are.

I use YEP_CoreEngine along with YEP_LoadCustomFonts. When I add my chosen font to the Core Engine's default font parameters, then the custom font does appear with Mog's battle huds. This is different from MessageCore as CoreEngine's font parameters affect menus.

I'm afraid I'm not familiar with Victor's plugins as I don't use them, but if the above is anything to go by, then I think what you're looking for is some option to change the game's default font used for menus.
i appreciate your insight it helped me dig into things more!

i've narrowed it down between your info and my own research.

Battle HUD is not to blame

it is directly Battle Commands and Battle Result causing this and, like you say, VE Basic Module must have a code somewhere that can override the two if i can't change them directly.

i did find this at line 471 of Battle Commands

Spoiler: Battle Commands
Code:
//==============================
// * Create Com Name
//==============================
Window_ActorCommand.prototype.create_com_name = function() {   
    if (this._com_name) {this.removeChild(this._com_name)};
    this._com_name = new Sprite(new Bitmap(90,32))
    this._com_name.x = Moghunter.bcom_com_name_x + 45;
    this._com_name.y = Moghunter.bcom_com_name_y + 16;
    this._com_name.bitmap.fontSize = Moghunter.bcom_com_font_size;
    this.addChild(this._com_name);
};

//==============================
// * Refresh Com Name
//==============================
Window_ActorCommand.prototype.refresh_com_name = function() {
    this._com_name.bitmap.clear();
    this._com_name.opacity = 0;
    this._com_name.anchor.x = 0.5;
    this._com_name.anchor.y = 0.5;
    this._com_name.bitmap.drawText(this.command_name(),0,0,this._com_name.bitmap.width,32,"center");
};
@Conflictx3 is TSR above the MOG plugins? if so, can you try to place below them?
and see if the color change? if not, place then back (or below YEP_EnginCore)

I know TSR change most color that draws a bitmap and change color as set
in the params or through game.

but I cant see the system color in MOG_BattleHUD.
unless the commads is an IMAGE, than you need to adjust the image to make it
work.

otherwise, I need to look deeper.
@ShadowDragon I tried moving TSR below all my MOG & even YEP plugins just now and nothing.
It seems HUD itself it not the issue but "Battle Commands" & "Battle Result" i know this because i turned off all plugins then tried both of these seperately 1 by 1 and find the issue in both.

I got to the same conclusion that maybe its an Image, but that doesn't seem to be the case because i can change the FONT STYLE of the battle commands to whatever i want.

*HUGE UPDATE* I did a thing! so someone had a similar issue on the forum here
(Gonna tag @Gamefall Team in hopes that he's still around to help!)

So in BATTLE COMMANDS under Refresh Com Name I tried a hail mary since i have NO CLUE how to code and added this._com_name.bitmap.textColor = "#000000" like this:

Spoiler: Code
Code:
//==============================
// * Refresh Com Name
//==============================
Window_ActorCommand.prototype.refresh_com_name = function() {
    this._com_name.bitmap.clear();
    this._com_name.opacity = 0;
    this._com_name.anchor.x = 0.5;
    this._com_name.anchor.y = 0.5;
        this._com_name.bitmap.textColor = "#000000"
    this._com_name.bitmap.drawText(this.command_name(),0,0,this._com_name.bitmap.width,32,"center");
};

and it worked! sorta:

Spoiler: Reference
Help5.png

I was able to change it black but have NO CLUE how to get rid of the grey outline or make the outline black as well in the .js

also battle result is still white text and getting cut off and i can't find anywhere in that plugin code to put the hex color like i did in battle commands.

TLDR - we're almost there! just need help to get rid of the outline or change the outline color on the battle commands and how to make the treasure and new skill in battle result to also change color and font size so it won't cut off like in the references of my OG post.

thank you all for your help so far!
Can you rule out the line like:
//this._com_name.bitmap.textColor = "ff0000";
and replace it with this line?

JavaScript:
this._com_name.bitmap.textColor = TSR.TextColorAddOn.colors;

Make sure TSR is ABOVE the Batle hud plugin.
if I'm correct, it should go to the colors set, otherwise, change .colors to .sheet

I cannot tell if it will work or not, if it's something weird, there is also a
line to get outline color to 0 or remove it entirely.

this should be an easy found by than. but you can also try to ask on
the forum while TSR is really helpfull, so he might have an idea how to fix
it in his plugin if not for a little add to read battles and victory more 🙂
@ShadowDragon I appreciate your continued assistance, unfortunately both string lines return me with "cannot read property 'colors'/'sheet' of undefined" I had TSR above Battle HUD

i would definitely love to know how to find the line for outline color i literally tyoed "outline" in find and nothing came up
You probably need to play with those 2 lines which is the "resetcolor"

this.outlineColor = 'rgba(0, 0, 0, 0.5)';
this.outlineWidth = 4;

while you use this code addon:
this._com_name.bitmap.textColor = "#000000"

you might need around this
this._com_name.bitmap.textColor = "#000000"
this._com_name.bitmap.outlineColor = 'rgba(0, 0, 0, 0.5)'; // if it;s allowing rgba color
this._com_name.bitmap.outlineWidth = 0; //remove outline

I cannot tell if it works, but it's worth a shot, if it doesn't, than I dont have
a clue anymore, and I try to learn js still, but if it's working, I am happy,
if not, someone else might have some idea's on resolving it.
@ShadowDragon OMG YOU DID IT!!!! I COULD KISS YOU FROM A SAFE SOCIAL DISTANCE RIGHT NOW!!!

Spoiler: Reference
Solved.png

I have had this issue for over 2 years and just ignored it until now so i'm super indebted to you.
the "level up" screen is still an issue but not one I can't fix thanks to you showing me the codes for changing color and outline, so i'll pine away at that later tonight but i will consider this.....


**SOLVED**
for the victory part might be the same if you you have mog's victory or
something that control the victory, the same might be applied to that
one as well.

I'm glad it's working for your.

Good luck on your project furhter 🙂 (who knows I will test it or bug test it even).

Original thread: https://forums.rpgmakerweb.com/threads/need-help-altering-the-font-in-mog-battle-hud-results.133599/