Jump to content

[FM18][MOD] How To Add A Manager Picture


michaeltmurrayuk
 Share

Recommended Posts

2018_mod.thumb.png.8ea7f0fd8d76fc093df14b734f085322.png2018T_mod.thumb.png.1981bd1455a8c830e4443a03b4ce684b.png

Football Manager 2018 - How To Add a Manager Picture

Like with FM17 Football Manager 2018 no longer allows you to add a picture to your manager instead encouraging you to use the Facegen system. However last years mod still works so at the moment you can add a manager picture with a bit of work though it may be disabled again in a patch and still has the same limitations as last year.

Thanks to some work from @Cyrius50 at www.manager-online.fr it is now possible to add a Manager Picture when adding your Manager to the game, however at the moment it isn't possible to apply the picture to existing profiles nor to change the image so make sure you are happy with it before applying it.

When you have installed the mod on the Add Manager panel select either Edit Profile or New Profile, then on the Profile screen you should see a new option below the Social Networks as in the below picture:

fm18managerpic1.thumb.png.290f57013b864322b655ca14870adbb3.png

Clicking on 'Choose Picture' should take you to the file select popup, from here browse to the location on your hard drive where your image is selected and select the image, in the below example I have selected an image of the FM18 logo.

fm18managerpic2.thumb.png.4a49223740925511a4c77fbe9a41c02d.png

Once that is done fill in the rest of your profile as normal and continue through the profile settings and once you are into the game your image should now be showing:

fm18managerpic3.png.185ecf3f4e81d202200de6c732725762.png

Again this method has it's limitations:

- You cannot assign a picture to an existing manager, if you want an existing manager to have a picture you would need to retire that manager and create a new one to take over but you won't be able to keep any of your in-game progress.

- It isn't possible to change the image after the profile has been created so make sure you are happy with the image before you get too far into your game. Whilst you can now edit your manager in game this feature doesn't allow you to change the profile picture nor will editing the face here override the set picture.

- Also be aware this feature is unsupported and might be removed again if the game gets another patch, also I have only tested to see if the image will appear I have no idea if it will cause any issues further into the game, so it is used at your own risk.

Installation Instructions

Full Mode - After extracting the zip file if you are using the default skins you can place the panels folder directly into your User Data Location (My Documents\Sports Interactive\Football Manager 2018\) if you are using a custom skin then it is best placed inside the folder for the skin you are using.
If it wants to overwrite any files then you are best checking the manual instructions in the below post / linked pages below as it means the skin you are using has already customized the file used so you'll need to modify the file yourself.

Touch Mode - After extracting the zip file you need to place the panels folder inside the folder for the skin you are using, if you are using the Default Touch Skins then you'll need to download and switch to the Base Touch Skins.
If it wants to overwrite any files then you are best checking the manual instructions in the below post / linked pages below as it means the skin you are using has already customized the file used so you'll need to modify the file yourself.


- Next load up the game and if the skin cache is on turn it off and reload your skin, then follow the above steps to add your picture. (Once you have confirmed the Add Picture box has appeared you can turn the skin cache back on).

Football Manager 2018 Manager Picture Mod Download Page

Football Manager Touch 2018 Manager Picture Mod Download Page

(make sure you download the correct one for the version of FM you are using).

 ---
Redistribution Terms
You are free to post this content to your website provided:
1. It is not sold or behind a paywall.
2. You don't advertise it as being exclusive to your website.
3. My username and blog address are included: http://michaeltmurrayuk.blogspot.co.uk/

Link to post
Share on other sites

2018_guide.thumb.png.dc8f38c819fef7a7b16c58953f65a70a.png

Football Manager 2018 - How to Create the Manager Picture Mod

NOTE: You only need to follow these instructions if the skin you are using already includes this file or you want to know how the mod works, if you just want to use it then read the opening post.

To create the mod for Football Manager 2018 you will need to extract the 'add manager profile panel' xml file from the panels\human folder found inside the panels.fmf file if you don't know how to extract the default files then have a read of this guide.

Once you have extracted the 'add manager profile panel' xml file you will need to copy it into the panels\human folder for the skin you are using (if those folders don't exist just create them).

Now there are a few changes we need to make to that file so open the file and locate the following line of text ( Line #32):

<layout class="grid_layout_attachment" row_layout="20,30,22,20,30,22,20,30,22,20,30,1,20,30,30,60" mode="auto" vertical_gap="5" vertical_offset_start="40" vertical_offset_end="0">

That line tells the game how many rows to display on the Add Manager Profile Screen, so what we need to do is add another row for the manager picture content, so change that line to read:

<layout class="grid_layout_attachment" row_layout="20,30,22,20,30,22,20,30,22,20,30,1,20,30,30,60,30" mode="auto" vertical_gap="5" vertical_offset_start="40" vertical_offset_end="0">

As you can see we have added another row to the row_layout code, you can change this number to something else if you want the row height to be different.

Now if you scroll down a bit you will see a load of code that looks like this:

<record>
<string id="column_layout" value="-1,-1,-1" />
<integer id="horizontal_offset" value="20" />
<integer id="horizontal_gap" value="5" />
</record>
</list>
</layout>

This code tells the game how to layout the columns in the row, so again we need to add some code to get the Manager Picture code to display so change that code to read:

<record>
<string id="column_layout" value="-1,-1,-1" />
 <integer id="horizontal_offset" value="20" />
<integer id="horizontal_gap" value="5" />
</record>
                           
<record>
<string id="column_layout" value="-1,-1,-2" />
<integer id="horizontal_offset" value="20" />
<integer id="horizontal_gap" value="5" />
</record>
</list>
</layout>

The Bold code we have added tells the game how to layout the columns, the string line tells the game how many columns there are on the row and how wide they should be, so you can see from this there are three columns, whilst the negative numbers tell the game to set the widths by ratio instead of using fixed numbers, so in this case the first two columns take up 1/4 of the space and the last column takes up the last half, again you can adjust these values to different ratios or absolute numbers if you want.

Now we have set up the table we need to add the actual coding to call the Manager Picture, now scroll down to the bottom of the file where you should find this code:

<widget class="icon_button" id="yoib" icon="icons/48px/youtube" icon_alignment="centre" click_event="yoDI" />
<widget class="icon_button" id="tcib" icon="icons/48px/twitch" icon_alignment="centre" click_event="tcDI" />
<widget class="icon_button" id="faib" icon="icons/48px/facebook" icon_alignment="centre" click_event="faDI" />
<widget class="icon_button" id="twib" icon="icons/48px/twitter" icon_alignment="centre" click_event="twDI" />

And what we need to do underneath that code on Line #299 is paste in the following code:

<!-- pick manager picure -->
<widget class="label"  alignment="right, centre_y" style="semi_bold">
<translation id="text" translation_id="292605" type="use" value="Manager Picture[COMMENT: add_manager_panel; select manager picture]" />
</widget>
<widget class="icon_button" id="slpc" alignment="left, centre_y" icon="icons/actions/select picture" fixed="true"  auto_size="vertical">
<translation id="text" translation_id="361086" type="use" value="Choose Picture[COMMENT: Minor wording change, meaing the same, us etop 10 matches; Add Manager Wizard - Button that lets the manager select a picture of himself for his ingame manager profile]" />
<event id="click_event" event_id="sepi" event_target="sepi" />
</widget>
<widget class="text"  alignment="left,centre_y" size="7" multiline="true">
<translation id="text" translation_id="292607" type="use" value="Select a picture to be used on your profile[COMMENT: add manager panel, option asking the user to select a picture for their profile]" />
</widget>

This is the code that allows you to assign a picture to your manager, and again you can change the alignment and size values to suit your preference.
 ---
Redistribution Terms
You are free to post this content to your website provided:
1. It is not sold or behind a paywall.
2. You don't advertise it as being exclusive to your website.
3. My username and blog address are included: http://michaeltmurrayuk.blogspot.co.uk/

Link to post
Share on other sites

2018T_guide.thumb.png.3bcb35812b6e668ce981fcf3ed62247b.png

Football Manager Touch 2018 - How to Create the Manager Picture Mod

NOTE: You only need to follow these instructions if the skin you are using already includes this file or you want to know how the mod works, if you just want to use it then read the opening post.

To create the mod for Football Manager Touch 2018 you will need to extract the 'add manager profile panel' xml file from the \skins\fmc\panels\human folder found within the skins.fmf file if you don't know how to extract the default files then have a read of this guide.

Once you have extracted the 'add manager profile panel' xml file you will need to copy it into the panels\human folder for the skin you are using (if those folders don't exist just create them).

Thankfully for Touch mode there is only one change that is needed to be made, so scroll down to the bottom of the file where you should find this code:

<!-- Log In YouTube -->
          <widget class="button" id="yoDB" alignment="centre_x, centre_y" fixed="true" col="2" row="10" column_span="3" >
            <event id="click_event" event_id="yoDI" />
          </widget>

 </widget>
 </container>

And what we need to do is to add the Manager Picture code into that inbetween the two </widget> lines so it should look something like this:

<!-- Log In YouTube -->
          <widget class="button" id="yoDB" alignment="centre_x, centre_y" fixed="true" col="2" row="10" column_span="3" >
            <event id="click_event" event_id="yoDI" />
          </widget>

         
<!-- Manager Picture -->
<widget class="label" col="0" row="11" alignment="right, centre_y" style="semi_bold">
<translation id="text" translation_id="292605" type="use" value="Manager Picture[COMMENT: add_manager_panel; select manager picture]" />
</widget>
         
<widget class="icon_button" id="slpc" alignment="left, centre_y" icon="icons/actions/select picture" fixed="true" col="2" row="11" column_span="3" auto_size="vertical">
<translation id="text" translation_id="361086" type="use" value="Choose Picture[COMMENT: Minor wording change, meaing the same, us etop 10 matches; Add Manager Wizard - Button that lets the manager select a picture of himself for his ingame manager profile]" />
<event id="click_event" event_id="sepi" event_target="sepi" />
</widget>

<widget class="icon_button" id="clpc" icon_alignment="centre" icon="icons/16px/cross" fixed="true" col="4" row="11" disabled="true" auto_size="vertical">
<event id="click_event" event_id="clpc" event_target="clpc" />
<attachment class="event_relay_attachment" event_id="clpc">
<record id="action_event">
<flags id="event_id" value="disable" />
<flags id="event_target" value="clpc" />
</record>
</attachment>
</widget>

<widget class="text" col="5" row="11" column_span="3" alignment="left,centre_y" size="7" multiline="true">
<translation id="text" translation_id="292607" type="use" value="Select a picture to be used on your profile[COMMENT: add manager panel, option asking the user to select a picture for their profile]" />
</widget>   
<!-- End Manager Picture -->   
   
</widget>
</container>

Again you can play around with the alignment, column span and size codes to suit your skin if you want.

And that is it you are done, save the file, load up the game turn off the skin cache if its on and reload your screen and an option to add a Manager Picture should appear on the Add New Manager Screen.

 ---
Redistribution Terms
You are free to post this content to your website provided:
1. It is not sold or behind a paywall.
2. You don't advertise it as being exclusive to your website.
3. My username and blog address are included: http://michaeltmurrayuk.blogspot.co.uk

Link to post
Share on other sites

10 hours ago, JayVincenzo said:

Can some1 please help me with this. I cant get it to work :-( 

I just use normal skin 

Installation Instructions

Full Mode - After extracting the zip file if you are using the default skins you can place the panels folder directly into your User Data Location (My Documents\Sports Interactive\Football Manager 2018\ folder by default)

Next load up the game and if the skin cache is on turn it off and reload your skin, then follow the above steps to add your picture. (Once you have confirmed the Add Picture box has appeared you can turn the skin cache back on).

Link to post
Share on other sites

  • 2 weeks later...

@michaeltmurrayuk  I used this and  your "in between match" highlights.  When I try to install this with both, I get a prompt that asks me to over write the existing config file in the panels section.  I assume this will break the manager pic if I change that one first.  Are you aware of any conflicts between the two?  Or should everything still work fine?

Link to post
Share on other sites

19 minutes ago, Enos said:

@michaeltmurrayuk  I used this and  your "in between match" highlights.  When I try to install this with both, I get a prompt that asks me to over write the existing config file in the panels section.  I assume this will break the manager pic if I change that one first.  Are you aware of any conflicts between the two?  Or should everything still work fine?

It's fine to overwrite the config file as it's the same file, it's not the same as the one for graphics this one just ensures that the game reloads the files when you reload your skin instead of making you exit the game.

Link to post
Share on other sites

  • 10 months later...
  • 2 weeks later...
  • 3 years later...

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
 Share

  • Recently Browsing   0 members

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