Custom Fonts

Discussion in 'User Interface and HUD Modding' started by lordpantsington, Feb 4, 2013.

  1. lordpantsington

    lordpantsington Registered

    Joined:
    Oct 5, 2010
    Messages:
    849
    Likes Received:
    79
    There is a pulldown for which font to pick for HUD elements, how do I go about making and using my own font? Any additional details are greatly appreciated. I've played around with custom entries in the "fontlayout" TGA, but the naming or placement or file type is causing it to not be picked up.
    TIA
     
  2. lordpantsington

    lordpantsington Registered

    Joined:
    Oct 5, 2010
    Messages:
    849
    Likes Received:
    79
    Step 1: Add FONT = "fontname" to the top of the list in the ini.

    Still wont show anything but the default font. Perhaps one of the rogue file pastes I tried earlier is blowing things up.

    TBC
     
  3. lordpantsington

    lordpantsington Registered

    Joined:
    Oct 5, 2010
    Messages:
    849
    Likes Received:
    79
    Step 2: Pack the font into a mas.

    This is the thing that did it. Whereas HUDTEXTURE.TGA can be picked up from \HUD\, fonts for some reason cannot.
     
  4. lordpantsington

    lordpantsington Registered

    Joined:
    Oct 5, 2010
    Messages:
    849
    Likes Received:
    79
    Step 3: Green Dots!

    To adjust the spacing of each character, you need to correctly place the dot.
     

Share This Page