Jump to content
Sports Interactive Community
fmFutbolManager

[FM18] Recolour Player Instructions Mentality Box

Recommended Posts

Hey guys.

This year, I have noticed that the mentality bar on the player instructions panel is broken up into 20 sections, however, it's really hard to see them (see highlighted screenshot). Does anyone know what controls the colour of the individual bars that make up the 20 so I can adjust them? I know last year there were discussions about modding this section to show the number overlay on this section so you could see the mentality, but I think the bars are a cleaner solution if I can change the colour of them to make them stand out more. 

Thanks.

Screen Shot 2017-12-06 at 10.40.07.png

Share this post


Link to post
Share on other sites

The green bit is controlled by the 'selected instruction' colour and the empty boxes are controlled by the 'box_background' colour set in the settings file.

To change the empty boxes without changing them through the skin you'll need to edit the 'tactics position instructions dialog' xml file found in the panels\dialogs folder locate this line:

<widget class="adjustable_bar" id="ment" height="30" bar_filler_colour="0" file="adjustable bar overlaid" ShTx="false">

And change the colour bit to the colour name you want to use (no idea why it's a number by default but putting a name changes the colour fine).

Share this post


Link to post
Share on other sites

So if I just extract the 'panels' folder, change the 'tactics position instructions dialog' file to have a new value, e.g., 'white', and save it. This should be okay? I don't need to extract all other folders that are not needed?

Share this post


Link to post
Share on other sites

Yeah if you want to just edit that file then just extract the contents of the panels.fmf file (as I don't think extracting a single file is working at the moment) then find that file in the panels/dialogs folder and copy it into the panels/dialogs folder for the skin you are using (if the folders don't exist create them, if you are using the default skins then you can just create the panels/dialogs folder in the FM18 folder in your My Docs folder and pace it there).

Share this post


Link to post
Share on other sites

Sorry, one final question if I may. Previously in FM17 we used to be able to adjust the ShTx="false" value to true to show the mentality number. Do you know why this is no longer possible?

 

        <!--player mentality-->
        <container class="inner_titled_box" appearance="boxes/inner/titled small/paper">
          <translation id="title" translation_id="348204" type="use" value="Mentality[Comment: prefix used before mentality type text on quick tactical instruction button during match]" />

          <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0" />
          <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" />

          <widget class="adjustable_bar" id="ment" height="30" bar_filler_colour="grey" file="adjustable bar overlaid" ShTx="false">
            <translation id="hint" translation_id="396533" type="use" value="A player's Mentality affects their attitude on the pitch in relation to balancing their attacking and defensive duties within the overall framework of the Team Mentality. Players are afforded a more attacking approach with a Mentality closer to the maximum, whilst a more defensive outlook is taken when it is set closer to the minimum end of the scale.[COMMENT: bug 130007]" />
          </widget>

        </container>

 

Share this post


Link to post
Share on other sites

It was likely just something left over from the old sliders system that has now been removed, it was a bit of a fluke that it actually worked last year.

Share this post


Link to post
Share on other sites
Posted (edited)

 

Mentality_Bar_crop.jpg

Is there any way to make the green section split into bits like the white portion? Its still quite hard to see how many sections of green there is.

Edited by Atarin

Share this post


Link to post
Share on other sites

I doubt it, but you could try changing the type of adjustable bar used in the file part of the code I quoted above. You can find the other adjustable bar types in the sitoolkit\panels folder, or play around with the linked file though it depends on whether the game is generating just one solid bar or several individual ones, if its several you might be able to adjust the gap value to split them up.

Share this post


Link to post
Share on other sites
16 minutes ago, michaeltmurrayuk said:

I doubt it, but you could try changing the type of adjustable bar used in the file part of the code I quoted above. You can find the other adjustable bar types in the sitoolkit\panels folder, or play around with the linked file though it depends on whether the game is generating just one solid bar or several individual ones, if its several you might be able to adjust the gap value to split them up.

Sorry mate, didn't understand a word of that. Could you demonstrate for someone with very little (read No) skinning skills.

Share this post


Link to post
Share on other sites
1 hour ago, Atarin said:

Sorry mate, didn't understand a word of that. Could you demonstrate for someone with very little (read No) skinning skills.

From this line in the above file:

<widget class="adjustable_bar" id="ment" height="30" bar_filler_colour="0" file="adjustable bar overlaid" ShTx="false">

Try changing the highlighted file bit to point to a different file. The other adjustable bar files can be found in the sitoolkit\panels folder which you'll need to extract from the sitoolki fmf file, instructions on how to extract files are linked further up the thread.

To edit the gap values you'll need to edit which file you have listed in the file path above, in those files will be a bit of code that looks like:

gap="0"

Change the value to increase the gap to see if that does anything.

Share this post


Link to post
Share on other sites

Cool @D_LO_ do I just copy that into the extracted folder?

Share this post


Link to post
Share on other sites

C:\Users\YOUR NAME\Documents\Sports Interactive\Football Manager 2018\skins\SKIN NAME\panels

 

That's the directory, I don't know if it will work in the generic panels folder in your documents, you could try. A lot of skinning requires an editable skin though so you should get into the habit of acquiring one if you expect to make changes. 

Share this post


Link to post
Share on other sites

I'm using the default dark skin. Do you know what the folder name for that is?

dark default, default dark, default_dark, dark_default.etc etc

Share this post


Link to post
Share on other sites
11 minutes ago, Atarin said:

I'm using the default dark skin. Do you know what the folder name for that is?

dark default, default dark, default_dark, dark_default.etc etc

You need to download a copy of the base skin if you haven't already.

You really need to read the sticky threads if you want to skin (the downloads are even provided within). There's no shortcuts. 

Share this post


Link to post
Share on other sites

I have spent a long time trawling through the stickies and I can't find the specific bits of info that I'm looking for.

I've got the dark base skin, I've also got a fully extracted dark base skin. I have the file @D_LO_ posted. What I can't find is which folder, precisely, I'm supposed to paste it into.

I get what you're saying @D_LO_ about there being no shortcuts but when you don't even know what it is you're looking for it can be pretty tough. Again, I have no skinning experience.

Share this post


Link to post
Share on other sites

As said above the xml file just goes into the panels folder for the skin you are using, if you are using the default skins then you should just be able to create a panels folder inside your user data location (the SI folder in the My Documents folder) and then put the xml file in there.

Also note when downloading files through the forum it might rename them so you'll need to make sure the file is still called adjustable bar overlaid after you have downloaded it.

Then turn the skin cache off and reload the skin and the changes should apply. (If you have installed it into the base skin files then you'll need to also switch to using that skin).

Share this post


Link to post
Share on other sites
Posted (edited)
2 hours ago, Atarin said:

I have spent a long time trawling through the stickies and I can't find the specific bits of info that I'm looking for.

I've got the dark base skin, I've also got a fully extracted dark base skin. I have the file @D_LO_ posted. What I can't find is which folder, precisely, I'm supposed to paste it into.

I get what you're saying @D_LO_ about there being no shortcuts but when you don't even know what it is you're looking for it can be pretty tough. Again, I have no skinning experience.

Michael has confirmed... 

 

1 hour ago, michaeltmurrayuk said:

if you are using the default skins then you should just be able to create a panels folder inside your user data location (the SI folder in the My Documents folder) and then put the xml file in there.

Which was one of my first suggestions albeit tentative.

 

Alternatively I really don't understand the difficulty in finding a copy of the base skin and/or the thread seen it's the first one in this forum labeled 'Base Skins'. Download one and place the file in the equivalent directory already provided above (create any folders which aren't already present)

 

 

I just don't know what else I can do beyond this though (I've amended and provided the file, given the directory of where to place the file, an alternative option (which is what Michael has confirmed) and now the link if you want to proceed with the base skin option). There comes a point where you have to assume some of the onus though I'm afraid and the only way to do that is educating yourself hence why I suggest you read the guides, several times if need be. Once you got it you should hopefully retain it or at least it will make it easier to revisit as you'll be better positioned/experienced. Which is actually far more positive all round. 

Edited by D_LO_

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×