Posts
417
Respect
49Add +1
Forum Rank
Perk Hacker
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!
![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
Is there a function to change the font, or just a variable, where I can change for the font for a hud element?
I want to update the current Round font to a more modern font, but I can't find where the normal font is to replace,
there are no threads on adding a custom font along with assigning a hudelement to use the font.
masterHud = newHudElem();
masterHud.alpha = 1;
masterHud.hidewheninmenu = true;
masterHud.horzAlign = "center";
masterHud.vertAlign = "middle";
masterHud.alignX = "center";
masterHud.alignY = "middle";
masterHud.x = 0;
masterHud.y = -60;
masterHud.font = "big";
masterHud.fontscale = 2.0;
masterHud.color = ( 1, 1, 0.5 );
masterHud setText( &"PAYLOAD_MASTER" );
Take a look at the files that come with UGX Mod v1.0.3 or wait for v1.1 for examples.
there is no function to change the font.