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

Advanced Wolfenstein 3D source port based upon Wolf4SDL and ZDoom.
[Home] [Download] [HG builds (Win)] [HG builds (Mac)] [Wiki] [Repo]

Moderator: Blzut3

User avatar
LkMax
Posts: 20
Joined: Thu Jan 28, 2016 13:52

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

Post by LkMax »

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 1712 times
BIGFONT.png
BIGFONT.png (5.59 KiB) Viewed 1712 times
User avatar
LkMax
Posts: 20
Joined: Thu Jan 28, 2016 13:52

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

Post by LkMax »

*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}
Blzut3
Developer
Developer
Posts: 491
Joined: Sun Jan 24, 2010 22:21

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

Post by Blzut3 »

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.
Post Reply

Return to “ECWolf”