Jump to content

How to edit Graphical representation of attributes (bar chart instead of numbers) FM15


andyinuk

Recommended Posts

I've done this once back in FM2012 but completely forgot how to edit this again.

In short, I found the the attribute bars are quite a bit shorter than I would like. Back in FM2012, I could edit an xml and made the bar a bit longer so they become easier to read. Does anyone know how to do that for FM15? I have already installed the Resource Archiver and ready to do some xml edit!

Link to post
Share on other sites

Should just be a case of editing the various player attribute xml files from the panels.fmf - there will be one file for each of the physical, mental and technical attribute columns, there are also different files for the profile screen, match skins, popup attribute box etc... which ones you need to edit depends on which screens you wish to increase the bar length on.

In each file locate the line that looks like this:

<widget class="table" id="plmt" mode="fill_rows, stripe_rows, printable, select_rows, select_multiple" layout="-1, 20, 34" auto_size_rows="horizontal" row_height="21" row_spacing="0">

And increase the bold red 34 value to suit, as that value controls the width of the attribute value column, just increase that value to suit.

Link to post
Share on other sites

As they aren't skin files you should just need to create a panels folder inside your Saving Location and put the edited files in it they then should apply to the default skins, if that doesn't work download one of the base skins and put them inside the panels folder for the base skin and then switch to the base skin in game.

Link to post
Share on other sites

  • 4 months later...

How to change display attributes after changing them on the graphic, so that the size rectangles for all values ​​were the same? Attribute 20 and 1 will have a rectangle of the same size, it will only be distinguished color.

Link to post
Share on other sites

You'll need to edit a couple of files.

- First from the Preferences -> Interface Menu switch the attributes back to using numbers rather than bar charts.

- Next you will need to extract the contents of the panels.fmf file (instructions on how to do that are [FM2015 Guide] How to Extract Default Files & Understanding File Structure)

- Now you need to copy the various files in the extracted panels folder that have the name attributes in them to the panels folder for your skin (how many depends on where you want the attributes changed, the various player profile ones control the player screens) [if you are using the default skin you will need to download the base skin from the stickied threads]

- Now in the various Player Profile screens you want to find the code that looks like this:

<!-- columns should be left and right aligned respectively -->

<list id="column_properties">

<record indx="0" column_span="1" multiline="false"/>

<record indx="1" alignment="right,centre_y"/>

<record indx="2" alignment="right,centre_y" style="semi_bold"/>

</list>

And change it so that it looks like this:

<!-- columns should be left and right aligned respectively -->

<list id="column_properties">

<record indx="0" column_span="1" multiline="false"/>

<record indx="1" alignment="right,centre_y"/>

<record indx="2" alignment="right, centre_y" font="custom" appearance="boxes/custom/solid/paper" >

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

</record>

</list>

Now repeat for each file you want to change the attribute appearance of in some files the code might be slightly different but it will follow the same pattern you just need to locate the correct record indx for the attributes column (0 is the first column which is normally the name, 1 is the second which is the change arrow and 2 is the third which in this case is the attribute value), this will now give you a solid background behind each attribute of the same size and recoloured to the attribute value.

If you want a different box style then you just need to change the appearance path to link to a different file, that one is just a solid square, to change the box colours just edit the attributes as normally from the preferences - > colours screen.

- Once you have done all that we now need to hide the actual number value to do this you need to edit the font setting.

- First if you skin doesn't have a fonts folder create one and then inside that folder create a new xml file called custom.

- Then inside that xml file paste the following code:

<record>

<string id="file_name" value="ProximaNova-Reg"/>

<integer id="fill_colour_red" value="255" />

<integer id="fill_colour_green" value="216" />

<integer id="fill_colour_blue" value="0" />

<integer id="fill_colour_alpha" value="0" />

</record>

Save the file, then reload your skin in FM (or switch to the base skin if you were using the default skin) and the attributes should now have changed to same sized coloured bars.

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