Jump to content

[FM13][Guide] How to change Player Ratings Screens


michaeltmurrayuk

Recommended Posts

In Football Manager 2013 it is possible to change what information is displayed on the various Player Ratings screens within the match screen.

The first thing you need to know is which column in the game do the ids in the files correspond to, below is a list of all of the column ids for the ratings screen with the column it applies to next to it:

M_pa - Passes
M_pc - Passes Completed
M_cr - Cross Attempts
M_cc - Crosses Completed
M_kp - Key Passes
M_ta - Tackles
M_kt - Key Tackles
M_tw - Tackles Won
M_ha - Headers
M_hw - Headers Won
M_ky - Key Headers
M_ic - Interceptions Made
M_rw - Runs past opponent
M_os - Offside
M_fm - Fouls Made
M_fd - Foul against
M_as - Assists
M_st - Shots
M_so - Shots on target
M_co - Condition
M_rt - Rating
M_gl - Goals
Pmtc - Body Language
Ppfc - Performance
M_cp - Pass Completion %
M_dr - Distance
M_sn - Squad Number
M_in - Info - carded, motm, injury etc
M_nm - Player Name
M_sb - Saves Blocked (GK)
M_cn - Conceeded (GK)
M_sh - Saves Held (GK)
M_sp - Saves Parried (GK)
M_sd - Saves Tipped (GK)

Now you need to edit some files, however the files you need to edit depend on what Player Rating screen you use, if you are using the Base skin then the files you need should already be in the panels folder, for other skins you may need to extract the files from the panels.fmf file located where you installed FM2013.

Player Ratings Screen (Stats -> Player Ratings)

teamstatsshort.th.jpg

To edit this screen you need to edit the 'match team stats short.xml' file, when you open the file you will have a list of code like this:

<boolean id="M_so" value="
false
"/>

<boolean id="M_co" value="
true
"/>

<boolean id="M_rt" value="
true
"/>

Now anything that shows as true is displayed and anything that displays as false isn't displayed, so in this example Shots on Target (so) is hidden whilst Condition (co) and Rating (rt) are displayed as can be seen in the above screenshot.

To change what displays you just need to set the columns to true or false to match what you want.

Now to change the order of the columns or the column sizes we need to edit the file called 'match team stats table.xml' in this file you will find lists of code that look like this:

<record id="match_stats_squad_number" width="
30
">

<flags id="sort_disabled" value="true"/>

<flags id="box_style" value="no_border"/>

<record id="column_properties">

<flags id="alignment" value="centre_x, centre_y"/>

<flags id="spec" value="control, small"/>

</record>

</record>

This example controls the Squad Number column, the width value on the first line how wide to make the column you just increase/decrease this value to suit your needs, you can also set the values to -1 which will tell it to use all the remaining space.

Whilst the order of the columns is determined by which code appears first in the file, so for example the Squad Number code appears first so that is the left most column, to change the order you just need to cut and paste the code for the columns you want into a different order in the file, note that all the content needs to be between these two lines of code:

<list id="column_display_properties">

</list>

Thankfully the ids in this file are full names so it is easy to work out which is for which column, the only one that isn't that clear is player_comment and that is for Body Language.

Full Player Stats Screen (Stats -> <Home/Away Team> Stats)

teamstatsfull.th.jpg

To edit this screen you need to edit the 'match team stats full.xml' file when you open the file you will have a list of code like this:

<string id="name" value="General Info"/>

<record id="view">

<boolean id="M_co" value="
true
"/>

<boolean id="M_rt" value="
true
"/>

<boolean id="Pmtc" value="
false
"/>

Now again anything that shows as true is displayed and anything that displays as false isn't displayed, so in this example Condition (co) and Rating (rt) are displayed whilst Body Language is hidden as can be seen in the above screenshot.

To change what displays you just need to set the columns to true or false to match what you want.

The main difference with this screen is that we have two views we can select from within the game the 'General Info' view and the 'Body Language and Performance' view on which different information is displayed.

The General Info view is controlled by the coding following this line:

<string id="name" value="
General Info
"/>

Whilst the Body Language and Performance view is controlled by the coding following this line:

<string id="name" value="
Body Language and Performance
[COMMENT: match team full stats; what kind of mood the player appears to be in and notes on their match performance]"/>

To change the order of the columns or the column sizes we again need to edit the file called 'match team stats table.xml' in this file you will find lists of code that look like this:

<record id="match_stats_squad_number" width="
30
">

<flags id="sort_disabled" value="true"/>

<flags id="box_style" value="no_border"/>

<record id="column_properties">

<flags id="alignment" value="centre_x, centre_y"/>

<flags id="spec" value="control, small"/>

</record>

</record>

This example controls the Squad Number column, the width value on the first line how wide to make the column you just increase/decrease this value to suit your needs, you can also set the values to -1 which will tell it to use all the remaining space.

Whilst the order of the columns is determined by which code appears first in the file, so for example the Squad Number code appears first so that is the left most column, to change the order you just need to cut and paste the code for the columns you want into a different order in the file, note that all the content needs to be between these two lines of code:

<list id="column_display_properties">

</list>

Thankfully the ids in this file are full names so it is easy to work out which is for which column, the only one that isn't that clear is player_comment and that is for Body Language.

Team Rating Widget

teamstatsfloating.th.jpg

To edit this screen you need to edit the 'match team stats floating.xml' file, when you open the file you will have a list of code like this:

<boolean id="M_so" value="
false
"/>

<boolean id="M_co" value="
true
"/>

<boolean id="M_rt" value="
true
"/>

Now anything that shows as true is displayed and anything that displays as false isn't displayed, so in this example Shots on Target (so) is hidden whilst Condition (co) and Rating (rt) are displayed as can be seen in the above screenshot.

To change what displays you just need to set the columns to true or false to match what you want.

Now to change the order of the columns or the column sizes we need to edit the file called 'match team stats table short.xml' in this file you will find lists of code that look like this:

<record id="match_stats_squad_number" width="
30
">

<flags id="sort_disabled" value="true"/>

<flags id="box_style" value="no_border"/>

<record id="column_properties">

<flags id="alignment" value="centre_x, centre_y"/>

<flags id="spec" value="control, small"/>

</record>

</record>

This example controls the Squad Number column, the width value on the first line how wide to make the column you just increase/decrease this value to suit your needs, you can also set the values to -1 which will tell it to use all the remaining space.

Whilst the order of the columns is determined by which code appears first in the file, so for example the Squad Number code appears first so that is the left most column, to change the order you just need to cut and paste the code for the columns you want into a different order in the file, note that all the content needs to be between these two lines of code:

<list id="column_display_properties">

</list>

Thankfully the ids in this file are full names so it is easy to work out which is for which column, the only one that isn't that clear is player_comment and that is for Body Language.

However there might be some more code you need to alter depending on what you are wanting to see in this view as not all columns are enabled even with the true flag, however there are two ways to enable them provided they have been set to true as above.

In the 'match team stats floating.xml' file locate this line:

<widget class="match_team_stats_table" id="mtst" file="match team stats table
short
" mode="fill_rows, stripe_rows" row_height="16" row_spacing="0" show_players_on_pitch_at_top="true">

and delete the word short so the file looks like this:

<widget class="match_team_stats_table" id="mtst" file="match team stats table" mode="fill_rows, stripe_rows" row_height="16" row_spacing="0" show_players_on_pitch_at_top="true">

The game will now use the same view and order as the two previous options.

Alternatively you can copy the missing code from the 'match team stats table.xml' file into the 'match team stats table short.xml' file which is what determines the order by default for this view - the coding is exactly the same it is just missing from the table short file for some reason.

Team Ratings on Overview Screen (Overview -> Overview -> Team Ratings)

teamstatsoverview.th.jpg

To edit this screen you need to edit the 'match team stats overview.xml' file, when you open the file you will have a list of code like this:

<boolean id="M_so" value="
false
"/>

<boolean id="M_co" value="
true
"/>

<boolean id="M_rt" value="
true
"/>

Now anything that shows as true is displayed and anything that displays as false isn't displayed, so in this example Shots on Target (so) is hidden whilst Condition (co) and Rating (rt) are displayed as can be seen in the above screenshot.

To change what displays you just need to set the columns to true or false to match what you want.

Now to change the order of the columns or the column sizes we need to edit the file called 'match team stats table overview.xml' in this file you will find lists of code that look like this:

<record id="match_stats_squad_number" width="
30
">

<flags id="sort_disabled" value="true"/>

<flags id="box_style" value="no_border"/>

<record id="column_properties">

<flags id="alignment" value="centre_x, centre_y"/>

<flags id="spec" value="control, small"/>

</record>

</record>

This example controls the Squad Number column, the width value on the first line how wide to make the column you just increase/decrease this value to suit your needs, you can also set the values to -1 which will tell it to use all the remaining space.

Whilst the order of the columns is determined by which code appears first in the file, so for example the Squad Number code appears first so that is the left most column, to change the order you just need to cut and paste the code for the columns you want into a different order in the file, note that all the content needs to be between these two lines of code:

<list id="column_display_properties">

</list>

Thankfully the ids in this file are full names so it is easy to work out which is for which column, the only one that isn't that clear is player_comment and that is for Body Language.

However there might be some more code you need to alter depending on what you are wanting to see in this view as not all columns are enabled even with the true flag, however there are two ways to enable them provided they have been set to true as above.

In the 'match team stats overview.xml' file locate this line:

<widget class="match_team_stats_table" id="mtst" file="match team stats table
overview
" mode="fill_rows, stripe_rows" row_height="16" row_spacing="0" show_players_on_pitch_at_top="true">

and delete the word overview so the file looks like this:

<widget class="match_team_stats_table" id="mtst" file="match team stats table" mode="fill_rows, stripe_rows" row_height="16" row_spacing="0" show_players_on_pitch_at_top="true">

The game will now use the same view and order as the two previous options.

However you also need to add this coding to the 'match team stats overview.xml' file otherwise the performance column will be displayed :

<boolean id="Ppfc" value="false"/> <!-- Performance -->

Alternatively you can copy the missing code from the 'match team stats table.xml' file into the 'match team stats table overview.xml' (If you are using the Base Skin this file isn't included so you'll need to get it from the panels.fmf file) file which is what determines the order by default for this view - the coding is exactly the same it is just missing from the table overview file for some reason.

Link to post
Share on other sites

No the colours seem to be hardcoded, the only colours you can change are the ones in the settings and colours files so you can change the goals column but not the assists, to change the goals column you need to locate (or add) this line in/to your settings/<SKIN NAME> settings.xml file:

<colour name="match goal" red="255" green="255" blue="255"/>

And then change the rgb values to what you want.

Link to post
Share on other sites

  • 2 weeks later...
  • michaeltmurrayuk changed the title to [FM13][Guide] How to change Player Ratings Screens

Archived

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

  • Recently Browsing   0 members

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