Jump to content

I want to change the Match Commentary font only


Uncle_Sam

Recommended Posts

The file you need to edit is 'match commentary.xml' from the panels folder.

This code controls the font style:

<string id="text" value=""/>

<integer id="size" value="12"/>

<flags id="algn" value="centre"/>

<colour name="text"/>

If you want to change the font you'll need to add this line to the above code:

<flags id="font" value="<name of the font>"/>

i.e. if you want to change the font to the scoreboard font the coding would look like:

<string id="text" value=""/>

<integer id="size" value="12"/>

<flags id="algn" value="centre"/>

<flags id="font" value="fonts/fm scoreboard"/>

<colour name="text"/>

Just make sure the font you want to use is in the fonts folder for your skin (or already included with the game).

If you want to make the font shadowed, embossed, bold, italic etc... just add in line:

<flags id="style" value="embossed"/>

changing the value tag to what style you want.

Link to post
Share on other sites

The file you need to edit is 'match commentary.xml' from the panels folder.

This code controls the font style:

<string id="text" value=""/>

<integer id="size" value="12"/>

<flags id="algn" value="centre"/>

<colour name="text"/>

If you want to change the font you'll need to add this line to the above code:

<flags id="font" value="<name of the font>"/>

i.e. if you want to change the font to the scoreboard font the coding would look like:

<string id="text" value=""/>

<integer id="size" value="12"/>

<flags id="algn" value="centre"/>

<flags id="font" value="fonts/fm scoreboard"/>

<colour name="text"/>

Just make sure the font you want to use is in the fonts folder for your skin (or already included with the game).

If you want to make the font shadowed, embossed, bold, italic etc... just add in line:

<flags id="style" value="embossed"/>

changing the value tag to what style you want.

What if the skin does not have a fonts folder ie steklo?

Link to post
Share on other sites

If the skin doesn't have a fonts folder you'd need to create a fonts folder in the folder for the skin you are using (so SKIN_NAME/fonts - for the steklo skin you would need to create the fonts folder inside the steklo_09 folder so the path in windows would be skins/steklo_09/fonts, in the match commentry.xml file you'd put fonts/FONT_NAME) and copy the font file you want into the fonts folder you created.

The fonts that come with the game are called 'fm main', 'fm scoreboard' 'vera' and 'verabd'

To use any other font, the font file you want needs copying to the fonts folder for your skin.

Link to post
Share on other sites

The coding to change the text in the titlebars is slightly different, you need to look for the code that calls the text and modfiy it for example:

<widget class="text" id="sect" standard_spec="title, large" width="700" auto_size="vertical" alignment="left" style="shadowed" multiline="false">

standard_spec - tells the game to display the text in the title style large size - styles are declared in the SKIN_NAME.xml file or the settings.xml file in the settings folder.

You change other things by typing:

Font Size - size="<number>"

Font - font="fonts/<fontname>"

Colour - colour="<colourname from colours.xml file>"

etc...

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...