Fonts don't change

brunom

New member
Hello everyone,

I'm trying to understand how the font system works.

I'm editing an existing mod that includes font GIF files numbered 1 through 7.

I did some research and found this:

p#namej 0 0 0 0 0 0 0

The last zero is supposed to represent the "value" of the font I want to use, but even when I change it, nothing happens.

The font only changes when I set it as the main font (replacing font1), but that also changes the menu font, which isn't exactly what I wanted.

I want to use a different font for the in-game HUD, but it seems the game shares the same font for both gameplay and the menu.

What am I doing wrong? I'd be very grateful if someone could shed some light on this!

Thanks in advance.
 
p#namej 0 0 0 0 0 0 0

The last zero is supposed to represent the "value" of the font I want to use, but even when I change it, nothing happens.
Yes, this is how you change the fonts. They are indexed, like this:
  • Here's font reference for {font}:
    • 0 = font.gif (default)
    • 1 = font2.gif
    • 2 = font3.gif
    • 3 = font4.gif
    • 4 = font5.gif (optional)
    • 5 = font6.gif (optional)
    • 6 = font7.gif (optional)
    • 7 = font8.gif (optional) (4287+)
    • 8 = font6.gif (optional) (4287+)
    • 9 = font7.gif (optional) (4287+)
Double check your levels.txt and your fonts (under data/sprites) to see if you are pointing to the right thing
 
Double check your levels.txt and your fonts (under data/sprites) to see if you are pointing to the right thing
Thanks for reply mate, but i still don't get what im doing wrong



#player 1

p1life 21 20
#p1mp 21 24
p1namej 23 12 5 6 5 9 6

p1icon 5 9
p1lifen 72 4
p1lifex -50 -100
p1score 23 12 -10 -10 28 -100
e1life 21 36
e1icon 5 25
e1name 23 28


#player 2

p2life 277 20
#p2mp 277 24
p1namej 23 12 5 6 5 9 6

p2icon 295 9
p2lifen 200 4
p2lifex -50 -100
p2score 275 12 -10 -10 28 -100
e2life 277 36
e2icon 295 25
e2name 275 28

It's currently like this (I want to use font7), but it doesn't change.
 
Back
Top Bottom