Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Font issue

  1. #1
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts

    Lightbulb Font issue

    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.
    Attached Files Attached Files
    "Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right

  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by RobsoN View Post
    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...y:_Font_System

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

  3. #3
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    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?

  4. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    sv_pure?
    10char
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  5. #5
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by IzNoGoD View Post
    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.

  6. #6
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    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...
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  7. #7
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by IzNoGoD View Post
    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.

  8. #8
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    Quote Originally Posted by IzNoGoD View Post
    sv_pure?
    10char
    PHP Code:
    sv_pure
    "sv_pure" is"1^7" default: "1^7"
      
    Domain is 0 or 
    @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)
    Last edited by RobsoN; 14th February 2014 at 10:44.
    "Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right

  9. #9
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    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

  10. #10
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    Changed it to zz_z.iwd and nothing changed.
    "Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •