UI Fonts

Discussion in 'User Interface and HUD Modding' started by Aleksi Elomaa, Nov 6, 2012.

  1. Aleksi Elomaa

    Aleksi Elomaa Registered

    Joined:
    Oct 5, 2010
    Messages:
    62
    Likes Received:
    2
    Hello,

    I have been doing some UI editing for my league's live broadcasts. I tried to change some fonts, but didn't find a way to make it work. I tried adding my .ttf file to uimaps.mas, but the game didn't load the font. Then I did some searching and found fonts are in Core\Shared\Fonts.mas so I tried to make a new component, but couldn't get it working (which I wasn't surprised of since I tried to edit stuff in Core). I also found that fonts show up in userdata\log folder when rF2 is running so I tried to add my font there with no luck.

    So my question is whether it is possible to add custom fonts to UI at this point or ever?
     
  2. gor

    gor Registered

    Joined:
    Apr 4, 2015
    Messages:
    43
    Likes Received:
    5
    Sorry for necroposting but i am interested in this too, any ideas?
    To be clear - i need to edit SIMPLE.TTF in Fonts.mas for fixing my language in chat.
    But if unpack and pack Fonts.mas even without file editing i have error about missed/corrupted files.
     
  3. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,071
    The font.mas is then changed, the hash will be different / corrupt.
     
  4. gor

    gor Registered

    Joined:
    Apr 4, 2015
    Messages:
    43
    Likes Received:
    5
    I understand, thats why i asked what i can do with this, any ideas?
     
  5. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,071
    Not sure if an update package for the mas is an option? There is a category for UI, HUD and for Other, whatever that is.
     
  6. gor

    gor Registered

    Joined:
    Apr 4, 2015
    Messages:
    43
    Likes Received:
    5
    I read a lot about creating packages but do not fully understand how it works especially in my case, coz everywhere describes .rfcmp files.
    Should i write Fonts or Shared or what i want in "Select component" string?
    Should i browse to Fonts.mas in "Component" string?
    Should i use version box? "Type" list has any effect? should i use "update from/minimum build" and what it means and what should be writen there?
    Should i put my modified Fonts.mas in last window?

    Tryed different options and had only errors and deleted content from Shared folder.
     
    Last edited by a moderator: Aug 12, 2015

Share This Page