Jump to content

[FM15 Mod] Match Titlebar Team Names


michaeltmurrayuk

Recommended Posts

Football Manager 2015 - Match Titlebar Team Names Mod

This is another simple match screen mod for Football Manager 2015 that this time re-enables the Team Names on the Match Titlebar.

There are two versions of the mod:

Team Names and Logos:

FM15_teamnamematch_short.jpg

Team Names and Logos, plus a Competition Logo:

FM15_teamnamematch_short_complogo.jpg

They are designed to work on skins based on the Default FM15 skin, for skins that have a different match titlebar from the default you'll need to modify the files yourself.

Please note that if you are playing on a smaller resolution certain options on the action bar might be cut off at certain points, however these items just appear in the drop down menu like the first screenshot (which was taken at 1024x768) meaning they are still available to select. (This will be the reason why they were removed by SI)

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 title bar.xml' file 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 in the second post to create the mod on your own as overwriting your skins custom match titlebar may cause problems.

Change Log:

v2 Uploaded 13th December 2014 12:26

- Minor update to bring the files up-to-date with patch 15.2, there has been no changes to the coding needed to display the names, files have just been updated to better support re-colouring of the match titlebar if added to a custom skin that recolours the titlebar.

FM2015 MATCH TITLEBAR TEAM NAMES MOD DOWNLOAD PAGE

(Both files are at the above link)

---

You are free to do what you want with this mod provided:

1. It or any skins based on it are not to be sold.

2. You don't advertise it as being exclusive to your website.

3. At least one of the download links is free to access and download.

4. My username is left as the creator and a link to my site is included: http://michaeltmurrayuk.blogspot.co.uk/ (unless included within a skin then a credit is fine).

Link to post
Share on other sites

How To Create the Mods

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 folder of the skin you are using, if the file isn't present then you can extract the file from the panels 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

  • 2 weeks later...
Hey, I've applied this to the skin I'm using and it works, but the scoreboard is now blocking off aggregate scores and extra time (screenshot below)

14cf98a8576af4fb74461fbbc0182714.png

Any way to fix it?

Rather than downloading the file, you'll need to edit the version of the match title bar file from that skin using the instructions from the second post as they are likely to have made changes to the code so the default code isn't working.

Link to post
Share on other sites

Niice work Michael. Have you had a chance to look at justifying the league table to correct the ridiculous distance between team names and numbers ? As I've previously mentioned the league stage.xml from FM14 doesn't work in FM15 !

Is it not the Inf column causing the gap? there is a coloumn for information, ie C for champs, that only appears in the the final stages etc?

Link to post
Share on other sites

Rather than downloading the file, you'll need to edit the version of the match title bar file from that skin using the instructions from the second post as they are likely to have made changes to the code so the default code isn't working.

I've done that, that's the only way I could get the colours and logos to show in the first place. Is there a code to raise the height of the clock and scores?

Link to post
Share on other sites

I've done that, that's the only way I could get the colours and logos to show in the first place. Is there a code to raise the height of the clock and scores?

Clock and Score are controlled by the code like this (code is roughly the same for each, so change the same things for each should work depending on what the skinner has already changed):

<!--clock-->

<container width="120">

<layout class="arrange_vertical_attachment" alignment="top" offset="13" gap="-5" />

<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" />

<widget class="text" id="Mclk" size="16" auto_size="vertical" alignment="centre" style="semi_bold" />

<widget class="text" id="Mijt" size="8" auto_size="vertical" height="12" alignment="centre" colour="match scoreboard added time" style="semi_bold" />

</container>

Playing around with the offset and gap values will move the clock/score, you can also alter the font sizes aswell Mclk line is for the clock, Mijt is injury time. That code just puts them one on top of the other.

Link to post
Share on other sites

Clock and Score are controlled by the code like this (code is roughly the same for each, so change the same things for each should work depending on what the skinner has already changed):

<!--clock-->

<container width="120">

<layout class="arrange_vertical_attachment" alignment="top" offset="13" gap="-5" />

<layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" />

<widget class="text" id="Mclk" size="16" auto_size="vertical" alignment="centre" style="semi_bold" />

<widget class="text" id="Mijt" size="8" auto_size="vertical" height="12" alignment="centre" colour="match scoreboard added time" style="semi_bold" />

</container>

Playing around with the offset and gap values will move the clock/score, you can also alter the font sizes aswell Mclk line is for the clock, Mijt is injury time. That code just puts them one on top of the other.

Thanks for that, I'll play around with it and see what I can do.

Link to post
Share on other sites

  • 4 weeks later...
How do I just remove the bg color from this mod? and keep the other stuff?

Follow the instructions in post #2 about how to manually add the team names but do it in reverse (so locate the code I say to add but replace that code with the orignal code).

If you purely want just the background removed and not the text then delete this bit of code one for both the home and away teams, though bare in mind it is not possible to stop the team names from being recoloured so you may need certain teamnames are unreadable:

<!--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>

To move the competition logo again from post #2 locate the competition logo code in the xml file and move it so it appears after the clock coding or after the coding for where you want it to appear.

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...