[Need help] Trying to change the GUI...

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angel: :angry: :beer: :bfg: :chaingun: :cheers: :blergh:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Expand view Topic review: [Need help] Trying to change the GUI...

Re: [Need help] Trying to change the GUI...

by Blzut3 » Sat Aug 05, 2017 6:22

Single lump fonts are not a graphic so you can't scale them like that. To do high resolution fonts you need to split the characters into individual graphics and then scale those. Use FONTDEFS to build a font out of the graphics.

Re: [Need help] Trying to change the GUI...

by LkMax » Sat Aug 05, 2017 4:13

*Ahem*, anybody?
Changed the title of the thread. If anyone knows, thanks in advance, if not, I'll have to "ship" the pack without a smoother font. ¯\_(ツ)_/¯

TL;DR: This part is all I need to fix (I think?):

Code: Select all

graphic Optional SMALLFNT, 1506, 20 {XScale 2 YScale 2 Patch SMALLFNT, 0, 0}
graphic Optional BIGFONT, 1776, 26 {XScale 2 YScale 2 Patch BIGFONT, 0, 0}

[Need help] Trying to change the GUI...

by LkMax » Mon Jul 31, 2017 3:08

Greetings, I'm back from my long hiatus.

I was trying to change the interface graphics and everything was going fine, but when I tried to change the fonts (SMALLFNT and BIGFONT) it seems to not work.
The HUD and it's elements are working. A part of the code to show how I'm doing it (I have the graphics in the same PK3 so it works):

Code: Select all

graphic Optional KNIFE, 96, 48 {XScale 2 YScale 2 Patch KNIFE, 0, 0}
graphic Optional PISTOL, 96, 48 {XScale 2 YScale 2 Patch PISTOL, 0, 0}
graphic Optional MACHGUN, 96, 48 {XScale 2 YScale 2 Patch MACHGUN, 0, 0}
graphic Optional GATLGUN, 96, 48 {XScale 2 YScale 2 Patch GATLGUN, 0, 0}
graphic Optional STBAR, 640, 800 {XScale 2 YScale 2 Patch STBAR, 0, 0}
graphic Optional FONTN048, 16, 32 {XScale 2 YScale 2 Patch FONTN048, 0, 0}
graphic Optional FONTN049, 16, 32 {XScale 2 YScale 2 Patch FONTN049, 0, 0}
graphic Optional FONTN050, 16, 32 {XScale 2 YScale 2 Patch FONTN050, 0, 0}
graphic Optional FONTN051, 16, 32 {XScale 2 YScale 2 Patch FONTN051, 0, 0}
graphic Optional FONTN052, 16, 32 {XScale 2 YScale 2 Patch FONTN052, 0, 0}
graphic Optional FONTN053, 16, 32 {XScale 2 YScale 2 Patch FONTN053, 0, 0}
graphic Optional FONTN054, 16, 32 {XScale 2 YScale 2 Patch FONTN054, 0, 0}
graphic Optional FONTN055, 16, 32 {XScale 2 YScale 2 Patch FONTN055, 0, 0}
graphic Optional FONTN056, 16, 32 {XScale 2 YScale 2 Patch FONTN056, 0, 0}
graphic Optional FONTN057, 16, 32 {XScale 2 YScale 2 Patch FONTN057, 0, 0}
graphic Optional FONTN032, 16, 32 {XScale 2 YScale 2 Patch EMPTY, 0, 0} //Removing
graphic Optional STKEYS0, 16, 32 {XScale 2 YScale 2 Patch EMPTY, 0, 0} //Removing
graphic Optional STKEYS1, 16, 32 {XScale 2 YScale 2 Patch STKEYS1, 0, 0}
graphic Optional STKEYS2, 16, 32 {XScale 2 YScale 2 Patch STKEYS2, 0, 0}
graphic Optional SMALLFNT, 1506, 20 {XScale 2 YScale 2 Patch SMALLFNT, 0, 0}
graphic Optional BIGFONT, 1776, 26 {XScale 2 YScale 2 Patch BIGFONT, 0, 0}
but this part specifically seems to have no effect:

Code: Select all

graphic Optional SMALLFNT, 1506, 20 {XScale 2 YScale 2 Patch SMALLFNT, 0, 0}
graphic Optional BIGFONT, 1776, 26 {XScale 2 YScale 2 Patch BIGFONT, 0, 0}
Is there something different regarding the fonts so I should treat them differently?

EDIT: anexed the image files in question.
Attachments
SMALLFNT.png
SMALLFNT.png (5.23 KiB) Viewed 500 times
BIGFONT.png
BIGFONT.png (5.59 KiB) Viewed 500 times

Top