ZDusk
8 years ago
3 months ago
7

Hello,

 

I downloaded this base skin from FMScout and I'm trying to add players faces to the tactics screen so they show up next to their shirt.

What I did was to create the folder 'tactics' inside the 'Documents\Sports Interactive\Football Manager 2023\skins\fm23Base\panels', and there I created a file named 'tactics icon info panel overview.xml', so the result is this:


 

 

But now my ingame tactics screen is looking like this:

 


 

Can anyone please help? What am I doing wrong?

This is the code that I wrote inside the .xml file:

 

 

<container>
   <layout class="stick_to_sides_attachment" alignment="all" inset="25" apply_to_children="true"/>
   <widget class="picture" id="prop" scale_picture="true" keep_aspect_ratio="true">
       <layout class="stick_to_sides_attachment" alignment="right" inset="20" />
       <layout class="stick_to_sides_attachment" alignment="bottom" inset="49" />
     <record id="object_property">
       <list id="get_properties">
         <!--Facegen data request-->
         <record get_property="fcgn" />
         <!--Fake name request-->
         <record get_property="Pfke" />
         <record get_property="prpc" set_property="valu" />
       </list>
     </record>
   </widget>
   <widget class="object_portrait_picture" id="pict" scale_picture="true" image_alignment="right, bottom" clickable="false">
     <record id="object_property">
       <integer id="get_property" value="objt"/>
       <integer id="set_property" value="objt"/>
     </record>
   </widget> 
</container>

Lugui
12 years ago
18 hours ago
46

Hi mate. Im not an expert when it comes to editing xml codes for skins, but Im affraid theres something messed up here. Seems to me its missing a few conditions:  <widget class="object_portrait_picture" id="pict" scale_picture="true" image_alignment="right, bottom" clickable="false">

 

Lets try the easiest way. Backup and delete your current file and try using the one below. Clean up the cache and reload the skin.

ZDusk
8 years ago
3 months ago
7
By Lugui 23 October 2022 - 11:00 AM UTC 

Hi mate. Im not an expert when it comes to editing xml codes for skins, but Im affraid theres something messed up here. Seems to me its missing a few conditions:  <widget class="object_portrait_picture" id="pict" scale_picture="true" image_alignment="right, bottom" clickable="false">

 

Lets try the easiest way. Backup and delete your current file and try using the one below. Clean up the cache and reload the skin.

 

 

Downloading your file and using it worked, thank you so much!

Lugui
12 years ago
18 hours ago
46
By ZDusk 23 October 2022 - 12:40 PM UTC 

Downloading your file and using it worked, thank you so much!

 

Glad it worked for you, mate. Enjoy.

You'll need to Login to comment