Jump to content

[FM17][MOD] Match Titlebar Team Names Mod


michaeltmurrayuk

Recommended Posts

2017_mod.png
Football Manager 2017 Match Titlebar Team Names Mod

This is a simple mod that restores the Team Names to the Match Titlebar in Football Manager 2017, and you have two options:

Team Names and Logos:

fm17_matchtitlebar_names.png

Team Names and Logos, plus a Competition Logo:
 
fm17_matchtitlebar_nameslogo.png


They are designed to work on skins based on the Default FM17 skins, for skins that have a different match titlebar from the default you'll need to modify the files yourself. NOTE: These won't work in FMT mode skins as they don't use this panel.

Please note that if you are playing on a smaller resolution certain options on the action bar might be cut off at certain points, to access the other options you need to left click in the empty space and a dropdown menu will appear like in the second screenshot (which was taken at 1024x768) meaning they are still available to select.

To apply to your game you just need to download the file for which version you want from below, extract the zip file and put the 'match' folder in the panels folder for the skin you are using, if you are using the Default Skin then download the Base Skin, add the file to that skin and switch to the Base Skin in game. (If you have the skin cache on you may need to turn it off and reload your skin for the changes to show up).

Note if the Skin you are using already has a 'match title bar.xml' file you'll need to follow the advanced instructions further down to create the mod on your own as overwriting your skins custom match titlebar may cause problems.

 

 
 
 ---
Redistribution Terms
You are free to post this content to your website provided:
1. It is not sold or behind a paywall.
2. You don't advertise it as being exclusive to your website.
3. My username and blog address are included: http://michaeltmurrayuk.blogspot.co.uk/
Link to post
Share on other sites

How To Create the Mods

NOTE: These instructions are the same as for FM16, however you cannot just use the FM16 files as the other coding in this file has changed.

If you just want to download and use the mod download the above link, the below instructions are only for people who want to know what coding needs changing to create the mod, or are using an unsupported custom skin.

The file that needs to be modified is 'match title bar.xml' located in the panels\match folder of the skin you are using, if the file isn't present then you can extract the file from the panels\match folder of the fm skin located within the skins.fmf file.

To Add the Competition Logo, locate this bit of code:
 
  <!--spacer-->
  <container width="5" />

  <!--clock-->
  <container width="120">

And above that paste in the following code:
 
<!-- comp logo -->
  <!--spacer-->
  <container width="2" />
      <widget class="picture" id="fxCo" scale_picture="true" keep_aspect_ratio="true" height="18" width="25" image_alignment="left, centre_y">
    <layout class="centre_in_parent_attachment" alignment="vertical" offset="0"/>
    <record id="object_property">
      <integer id="get_property" value="mnpc" />
      <integer id="set_property" value="file" />
    </record>
    </widget>
<!-- end of comp logo -->

To Add the Home Team Name (and Background Colouring) locate this bit of code:
 
  <!--home team logo-->
  <widget class="match_team_logo_picture" id="HtLG" team_index="0" width="40">
    <record id="object_property">
      <integer id="get_property" value="objt" />
      <integer id="set_property" value="objt" />
    </record>
  </widget>

And REPLACE it with the following code:
 
<!-- home team -->
<container>
<layout class="fit_children_attachment" alignment="horizontal" offset="0" gap="0" />
<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" />

<!--home team background colour-->
<widget class="picture" id="T1bp" auto_size="vertical" file="boxes/custom/interface/tab bar/paper" cached="true" rthr="68">
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
<layout class="centre_in_parent_attachment" alignment="vertical" inset="0" />
</widget>
      
<container>
<layout class="arrange_horizontal_attachment" alignment="left" gap="0" offset="0" />
<layout class="fit_children_attachment" alignment="horizontal,fill" offset="0" gap="0" />
<layout class="stick_to_sides_attachment" alignment="all" inset="0" />
 
<container width="5" />

<!-- home team main logo -->
<widget class="picture" id="hmtF" scale_picture="true" keep_aspect_ratio="true" height="30" width="30" image_alignment="left, centre_y">
<layout class="centre_in_parent_attachment" alignment="vertical" offset="0"/>
<record id="object_property">
<integer id="get_property" value="htpc" />
<integer id="set_property" value="file" />
</record>
</widget>
 
<container width="5" />
 
<!--home team name -->
<widget class="text_button" id="T1nm" size="9" multiline="false" auto_size="horizontal" alignment="right,centre_y" click_event="htac" style="semi_bold">
<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" />
</widget>
<container width="5" />
</container>
</container>
<!-- end home team -->

To add the Away Team Name (and Background Colouring) locate this bit of code:
 
  <!--away team logo-->
  <widget class="match_team_logo_picture" id="AtLG" team_index="1" width="40">
    <record id="object_property">
      <integer id="get_property" value="objt" />
      <integer id="set_property" value="objt" />
    </record>
  </widget>

And REPLACE it with the following code:
 
<!-- away team -->
<container>
<layout class="fit_children_attachment" alignment="horizontal" offset="0" gap="0" />
<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" />

<!--away team background colour-->
<widget class="picture" id="T2bp" auto_size="vertical" file="boxes/custom/interface/tab bar/paper" cached="true" rthr="68">
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" />
<layout class="centre_in_parent_attachment" alignment="vertical" inset="0" />
</widget>

<container>
<layout class="arrange_horizontal_attachment" alignment="left" gap="0" offset="0" />
<layout class="fit_children_attachment" alignment="horizontal,fill" offset="0" gap="0" />
<layout class="stick_to_sides_attachment" alignment="all" inset="0" />

<container width="5" />
<!-- away team main logo -->
<widget class="picture" id="awtF" scale_picture="true" keep_aspect_ratio="true" height="30" width="30" image_alignment="left, centre_y">
<layout class="centre_in_parent_attachment" alignment="vertical" offset="0"/>
<record id="object_property">
<integer id="get_property" value="atpc" />
<integer id="set_property" value="file" />
</record>
</widget>
  
<container width="5" />
  
<!--away team name -->
<widget class="text_button" id="T2nm" size="9" multiline="false" auto_size="horizontal" alignment="right,centre_y" click_event="atac" style="semi_bold">
<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" />
</widget>

<container width="5" />
</container>
</container>
<!-- end away team -->

And that is it, you can also modify the values of various bits of the new code to adjust the logo sizes, style of the background and font sizes. Whilst if you wish to try and free up some extra space locate the various lines that look like this:
 
<container width="5" />

And adjust the width value, these just create some spacing between the various items, with the value being how many pixels wide the space should be.
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...