PDA

View Full Version : Font issue



RobsoN
12th February 2014, 10:54
Hello,

I don't know why but font is not working on 1.2 version but on 1.0 everything is okay.
However, sometimes it is not loading for random players on 1.0 also.. What is the fault?
I run same mod, with same fs_game.

Font in attachment. Thanks in advance.

Tally
12th February 2014, 12:01
Hello,

I don't know why but font is not working on 1.2 version but on 1.0 everything is okay.
However, sometimes it is not loading for random players on 1.0 also.. What is the fault?
I run same mod, with same fs_game.

Font in attachment. Thanks in advance.

Where is your edited font reference material file gamefonts_pc? That would be why it doesn't work as intended. You must edit gamefonts_pc materials in order for custom fonts to work.

Please see this tutorial for COD font structure and how it works:

http://wiki.modsrepository.com/index.php?title=Call_of_Duty:_Font_System

The tutorial talks about COD4, but COD2 uses an identical system.

Tally
12th February 2014, 17:19
Scrap what I just said about COD2 using the COD4 system. That isn't quite accurate. It works on the same font system, but COD2 does NOT use gamefonts_pc materials file. I was looking at my own mod and I have COD4 fonts and so hence I have gamefonts_pc in it. DOH!

I tested your fonts on both 1.2 and 1.3 and didn't have a problem with them. Both dedicated and local servers showed the custom fonts. So, the question is: why is it failing at your end?

Ok, are you running a Linux server? I have tested on Windows only.

Do your players get the download properly?

IzNoGoD
12th February 2014, 18:29
sv_pure?
10char

Tally
12th February 2014, 18:38
sv_pure?
10char

Pure server doesn't stop mods working. It only stops clients using client-side mods and for the mod to take effect on the server. Pure makes only server files count.

IzNoGoD
12th February 2014, 23:10
If you have sv_pure 0 on serv and cl_allowdownload 0 on client, client can connect without mod files, thus not getting the font files...

Tally
12th February 2014, 23:45
If you have sv_pure 0 on serv and cl_allowdownload 0 on client, client can connect without mod files, thus not getting the font files...

Pure is irrelevant. You can have pure on and still connect without mod files. That is why we design download checkers - they are designed to work principally on a pure server. I have never in my life run an unpure server.

RobsoN
14th February 2014, 10:41
sv_pure?
10char



sv_pure
"sv_pure" is: "1^7" default: "1^7"
Domain is 0 or 1


@Tally - Yes, I'm hosting on linux server. All mods are downloading correctly from fastdownload. You can test if you want CoD 1.2 - myextreme.pl:28961 or 176.31.26.218:28961 . Thanks in advance.

Edit: Maybe file name had something to that? (It's _aa.iwd)

Ni3ls
14th February 2014, 13:23
yes, mods are loaded depending on name. So that's why ppl put z_ in front. It will be last loaded. when you have _a it will be laoded first. So when there is a stock front it will override your font

RobsoN
14th February 2014, 13:45
Changed it to zz_z.iwd and nothing changed.

Mitch
14th February 2014, 13:59
yes, mods are loaded depending on name. So that's why ppl put z_ in front. It will be last loaded. when you have _a it will be laoded first. So when there is a stock front it will override your font

fs_game folder overrides everything in main.

Ni3ls
14th February 2014, 14:04
He places in main ;)

RobsoN
14th February 2014, 14:34
I was placing in fs_game before. Put to main for testing only.

RobsoN
15th February 2014, 15:17
Well, no ideas? :S

Mitch
15th February 2014, 16:39
Well, no ideas? :S

Look at a other mod on 1.2 with a custom font. Check the difference with yours.