q3font problems


(Domipheus) #4

did you even read my reply?


(hollowgrave) #5

yeah i read your reply, but i don’t have the time to do that, i have too much other code to do for the Price of Peace mod…

http://pop.rtcwfiles.com


(chavo_one) #6

The output from the ‘current’ 'q3’font is not completely worthless though. It’s only the pitch values that are wrong. I haven’t tried it yet, but I am going to try substituting the pitch values from the ET courierbd21 into my homemade courierbd21 and see if it works properly.

In general, if you make sure that pitch + imageHeight = xSkip then you should get passable results.


(RR2DO2) #7

We got an updated q3font that produces correct tga/dat files, I’ll just need to poke some people to get it released.

  • Arnout ‘RR2DO2’

(chavo_one) #8

great news! :slight_smile:


(hollowgrave) #9

Hey Arnout, any luck with the poking of people and allowing you to release the updated q3font?


(faltytower) #10

:poke:

Ummm, I think you need to poke them with a torch.


(RR2DO2) #11

ET compatible q3font: http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&p=86583

use -createex


(faltytower) #12

^^ yeX ^^ :clap: :clap:

Much <3 to RR2DO2.


(hollowgrave) #13

Thanks RR2DO2, your the best!!! :clap: :clap: :banana: :banana: :notworthy: :notworthy:


(chavo_one) #14

Thanks so much RR2DO2 !
Looking good faltytower!

Unfortunately, I’m having problems getting it to work. Perhaps one of you can help me out:

This error has occurred for me on two different PCs. Am I missing an argument? If I change -createex to -create, it doesn’t have this error.


(RR2DO2) #15

Put the font in the same directory as the tool, else it will try to write to “fonts/c:\windows\fonts\courdb_0_21.tga”

whoops :slight_smile:

I’ll see if I can put a new version out soonish

EDIT: new version up, will now handle absolute paths properly.


(chavo_one) #16

:fiesta: Works like a charm.


(nUllSkillZ) #17

I’ve got a problem with custom fonts.
I would like to make a grphic mod.
o I’ve created the fonts using q3font.
I’ve renamed the files to “ariblk_x.tga” / “ariblk_y.dat” and packed them using the path “fonts” into a pk3-file.
But if I startthe game I only see the black / orange “no texture” texture where the fonts should be.
Thnx in advance.


(nUllSkillZ) #18

Easy solution of my problem:
The ttf-font-file has to be renamed to for example ariblk.ttf before converting it with q3font.


(Magic_Al) #19

Sorry if I’m slightly off-topic but I can’t find much q3font discussion elsewhere.

I’m trying to create a font for Jedi Knight II: Jedi Outcast and Jedi Academy and although it looks like q3font is giving me a nice .tga I’m not sure if the .dat file is compatible. I’m trying to replace one of the game’s default fonts and I notice JK2 uses .fontdat instead of .dat files. When I decompile it appears very similar. But, fonts I create aren’t working. I rename .dat to .fontdat. If I don’t replace the game font’s original .fontdat file I see bits and pieces of my font in game (my .tga being misaligned with the game’s original .fontdat), but if I load my custom .fontdat then the in-game text is completely blank.

I notice after decompiling the custom .dat file, it contains a filename that would be incorrect since it’s not the same as the game’s default font filename, but I corrected this and recompiled, so that’s not why it doesn’t work.

Comparing the game’s original .tga to mine, I notice the characters in the game’s original .tga are spaced out much more horizontally than in the .tga created by q3font, and there are more blank characters at the beginning of the first line. I thought the custom .dat/.fontdat file would compensate for these differences but I’m getting nothing in game.

Any ideas, anyone?

(My project is to replace JK2’s fugly “ergoec” font used for cutscene captions with the Franklin Gothic font used in the Star Wars movies. It’ll look nice if I get it working!)


(hellkn1ght) #20

Hi,

I’ve got a problem with the changed font in Enemy Territory.
Used q3font to create a custom font which worked quite well: The font in ET has changed, BUT: The personal Killmessage that appears in the Lower Mid of the screen (“You killed XYZ”) is still written in the default ET font.

How can I change this one, too?

pic:


(crls) #21

Yes please, can somebody tell us how you can change the font of “You killed X”, ive looked everywhere also on this forum and i cant find it.
It is certainly possible, look at this screen http://www.clanalis.dk/font.jpg


(Jaquboss) #22

you must change another font, you may want to look in SDK which one…


(crls) #23

Can you pls tell me where and how i change this font in sdk :s, cuz im not such a pro like you guys :’(