Jump to content

[Request] Average Rating per Competition Tactics Screen


PelzMajor

Recommended Posts

Hi there,

Is anyone able to create a panel that displays player form by competition in the tactics screen? or tell me how to do it so i can attempt to do it myself. When I play finals or end of season matches I like to use the players that performed the best in 'x' competition.

Thanks in advance!

Link to post
Share on other sites

Yes you just need to paste the code from the xml file that controls the normal squad screen into the file that controls the squad on the tactics screen.

The files you need are both located in the panels.fmf which you will need to extract first (if you don't know how follow this post: [FM2015 Guide] How to Extract Default Files & Understanding File Structure)

The two files you need are:

team squad.xml - this controls the normal squad screen

team squad tactics panel.xml - this controls the tactics screen view. copy this file into the panels folder for the skin you are using. (There is also a team squad tactics panel subs.xml file that might need the same changes doing to it)

from the team squad.xml file locate the code that looks like this (this is for the league stats view, there will be similar code for other comps aswell):

<record id="lgst">

<translation id="name" translation_id="320539" type="use" value="League[COMMENT: squad list view type]" />

<record id="view">

<flags id="PtsL" />

<!-- picked info -->

<flags id="Pnfo" />

<!-- player status/info -->

<flags id="Pnms" />

<!-- person name -->

<flags id="Poap" />

<!-- overall appearances -->

<flags id="Pogl" />

<!-- player overall goals -->

<flags id="Poas" />

<!-- overall assists -->

<flags id="Pomo" />

<!-- overall man of match -->

<flags id="Popa" />

<!-- overall pass completion ratio -->

<flags id="Pota" />

<!-- overall tackles per game ratio -->

<flags id="Podr" />

<!-- overall dribbles per game ratio -->

<flags id="Post" />

<!-- overall shots on target ratio -->

<flags id="Poyc" />

<!-- overall yellow cards -->

<flags id="Porc" />

<!-- overall red cards -->

<flags id="Poav" />

<!-- overall average rating -->

</record>

<record id="object_list_view_context">

<integer id="player_stats_scope" value="1" />

</record>

</record>

And paste that code into the same place in the team squad tactics panel.xml

Then in the pasted code locate this bit:

<flags id="Pnms" />

<!-- person name -->

and change it to:

<record id="PlSE" />

<!-- person name -->

As the name code is different as the tactics screen needs that code which gives you the position picker drop down.

Then repeat for each view you want to add to the tactics screen, just remembering to change the name id for each one. You should then be able to further customize the views using the normal ingame custom view options.

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