Thread: .RitualFont
View Single Post
Old
  (#4)
Scorpion -]M15F1T[- is Offline
Sergeant 1st Class
 
Posts: 1,664
Join Date: May 2004
Location: Joined: 06 May 2003
   
Default 06-03-2005, 05:50 PM

You need to open it in dos not just clickin the file mate
This is what i work from:

Here is the exact method I use to create fonts.

fontgen -name 04b_20-6 -winname "04b_20-6" -size 8 -first 0 -last 255

Don't forget to create a shader definition for your new font. The fontgen program does not do this for you. The only thing fontgen does, is create the .Ritual font def, and the TGA graphics.

Open up the scripts/gfx.shader file, and copy one of the font shader definitions. Any one of them should work just fine, they're all the same, except the paths, and tga file names.

Create a new text file named 04b_20-6.shader in the scripts folder. Paste the contents of the font definitions from the gfx.shader file, into your newly created shader file. It should look something like this:

gfx/fonts/04b_20-6
{
nopicmip
nomipmaps
{
map gfx/fonts/04b_20-6.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
}
}



beer:
  
Reply With Quote