stevemc Posted June 14, 2020 Share Posted June 14, 2020 (edited) Hi there, I play with the basic skin the game comes with, but with background transparency and few minor adjustments I've made along the way, but on the Player > Overview > Profile screen there is a lot of wasted space on the far right of the top banner. I'd like to know if it's possible to add the players assigned shirt number to that space, like the example I've mocked up below: Current: New: This is for the the Player > Overview > Profile screen, not Player > Overview > Attribute screen, and I also want this only on the player screens, not managers or staff. Is it possible? And which files does it effects within the skin? Edited June 14, 2020 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted June 14, 2020 Share Posted June 14, 2020 player profile personal details.xml is the red box. Link to post Share on other sites More sharing options...
stevemc Posted June 14, 2020 Author Share Posted June 14, 2020 (edited) 10 minutes ago, wkdsoul said: player profile personal details.xml is the red box. Cheers, any idea what line of code I would need to add in to achieve this? Edited June 14, 2020 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted June 14, 2020 Share Posted June 14, 2020 <widget class="label" id="sqco" auto_size="horizontal" size="15" alignment="centre_y, centre_x,can_scale" font="fonts/team" multiline="false" > <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0" embed_in_frame="true" /> <record id="object_property"> <integer id="get_property" value="Psnu" /> </record> </widget> for the players shirt number (if he has one) 2 Link to post Share on other sites More sharing options...
stevemc Posted June 19, 2020 Author Share Posted June 19, 2020 (edited) @wkdsoul I've added that line of code into the player profile personal details.xml but it's not changed anything as far as I can see? player profile personal details.xml Edited June 19, 2020 by stevemc Link to post Share on other sites More sharing options...
mamba34 Posted June 20, 2020 Share Posted June 20, 2020 (edited) 21 hours ago, stevemc said: @wkdsoul I've added that line of code into the player profile personal details.xml but it's not changed anything as far as I can see? player profile personal details.xml 7.64 kB · 3 downloads The xml file you need to edit is "player personal detail panel.xml" Also, need to put the lines wkdsoul suggested inside a container, try this: <!--Shirt Number--> <container width="100" priority="6"> <layout class="arrange_vertical_attachment" alignment="fill" gap="0" offset="0" /> <widget class="label" id="sqco" auto_size="horizontal" size="60" alignment="centre_y, centre_x,can_scale" font="fonts/actions" multiline="false" colour="secondary"> <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0" embed_in_frame="true" /> <record id="object_property"> <integer id="get_property" value="Psnu" /> </record> </widget> </container> Adjust "priority" value according to what's the last priority number you see in your file, and adjust "width" "size" values with what you prefer. If this doesn't work, make sure you are adding this after the correct "</container>". For example this is the last bit I had and where I added the new lines: <!-- Wage demands --> <container id="wdco" width="150" priority="5"> <layout class="arrange_vertical_attachment" alignment="fill" gap="0" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" /> <widget class="label" alignment="left,bottom" font="label" colour="secondary"> <translation id="text" translation_id="335516" type="use" value="Wage Demands[COMMENT: scout report panel label]" /> </widget> <widget class="label" id="wade" alignment="left,top" style="semi_bold" colour="secondary"/> </container> </container> </container> <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^this is the last widget I have (priority 5)^^^^^^^^^^^^^^^^^^--> <!--Shirt Number--> <container width="100" priority="6"> <layout class="arrange_vertical_attachment" alignment="fill" gap="0" offset="0" /> <widget class="label" id="sqco" auto_size="horizontal" size="60" alignment="centre_y, centre_x,can_scale" font="fonts/actions" multiline="false" colour="secondary"> <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0" embed_in_frame="true" /> <record id="object_property"> <integer id="get_property" value="Psnu" /> </record> </widget> </container> <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^new lines^^^^^^^^^^^^^^^^^^--> </container> </container> </panel> Edited June 20, 2020 by mamba34 2 Link to post Share on other sites More sharing options...
Watson156 Posted June 20, 2020 Share Posted June 20, 2020 Thanks @mamba34 just managed to get this to work for me. Appreciate the help and easy to understand instructions. Link to post Share on other sites More sharing options...
mamba34 Posted June 20, 2020 Share Posted June 20, 2020 5 hours ago, Watson156 said: Thanks @mamba34 just managed to get this to work for me. Appreciate the help and easy to understand instructions. Great Link to post Share on other sites More sharing options...
stevemc Posted June 30, 2020 Author Share Posted June 30, 2020 (edited) @mamba34 @Watson156 I've tried everything above, but cannot get it to work - can't even get it to show up, let alone adjust the size etc - I've followed your steps, and moved the code between the different <container> lines too, but it won't show no matter where I put it. I've attached my .xml incase I've missed something obvious. player personal details panel.xml Edited June 30, 2020 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted June 30, 2020 Share Posted June 30, 2020 14 minutes ago, stevemc said: @mamba34 @Watson156 I've tried everything above, but cannot get it to work - can't even get it to show up, let alone adjust the size etc - I've followed your steps, and moved the code between the different <container> lines too, but it won't show no matter where I put it. I've attached my .xml incase I've missed something obvious. player personal details panel.xml 13.34 kB · 0 downloads You got it too high, its 2 container lines form the bottom. you have 4 Link to post Share on other sites More sharing options...
stevemc Posted June 30, 2020 Author Share Posted June 30, 2020 (edited) Ahh sorted it, thanks @wkdsoul EDIT: pic for reference... Edited June 30, 2020 by stevemc Link to post Share on other sites More sharing options...
lembergman Posted July 1, 2020 Share Posted July 1, 2020 Guys, help. It didn’t work out for me. And how to add a font. It would be great. Barclays Premier League Font. https://yadi.sk/d/N72MUoOjiAJ3mg player personal details panel.xml Link to post Share on other sites More sharing options...
wkdsoul Posted July 1, 2020 Share Posted July 1, 2020 9 minutes ago, lembergman said: Guys, help. It didn’t work out for me. And how to add a font. It would be great. Barclays Premier League Font. https://yadi.sk/d/N72MUoOjiAJ3mg player personal details panel.xml 12.63 kB · 0 downloads Thats the default. xml. Link to post Share on other sites More sharing options...
lembergman Posted July 1, 2020 Share Posted July 1, 2020 @wkdsoulI put this cod <!--Shirt Number--> <container width="100" priority="6"> <layout class="arrange_vertical_attachment" alignment="fill" gap="0" offset="0" /> <widget class="label" id="sqco" auto_size="horizontal" size="60" alignment="centre_y, centre_x,can_scale" font="fonts/actions" multiline="false" colour="secondary"> <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0" embed_in_frame="true" /> <record id="object_property"> <integer id="get_property" value="Psnu" /> </record> </widget> </container> to the panel from my (Rensie) skin. But dont work. I'm doing something wrong, for this I ask for help. Link to post Share on other sites More sharing options...
wkdsoul Posted July 1, 2020 Share Posted July 1, 2020 9 minutes ago, lembergman said: @wkdsoulI put this cod <!--Shirt Number--> <container width="100" priority="6"> <layout class="arrange_vertical_attachment" alignment="fill" gap="0" offset="0" /> <widget class="label" id="sqco" auto_size="horizontal" size="60" alignment="centre_y, centre_x,can_scale" font="fonts/actions" multiline="false" colour="secondary"> <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0" embed_in_frame="true" /> <record id="object_property"> <integer id="get_property" value="Psnu" /> </record> </widget> </container> to the panel from my (Rensie) skin. But dont work. I'm doing something wrong, for this I ask for help. where did you add it? it should be above </container> </container> </panel> at the bottom of the xml Link to post Share on other sites More sharing options...
lembergman Posted July 1, 2020 Share Posted July 1, 2020 @wkdsoul I made this panel. I had to tinker with the width and font sizes. My resolution 1600x900 How can I change the font of the numbers? player personal details panel.xml Link to post Share on other sites More sharing options...
wkdsoul Posted July 2, 2020 Share Posted July 2, 2020 font="fonts/actions" change that to point to a diff font in the folder Link to post Share on other sites More sharing options...
keysi Posted July 2, 2020 Share Posted July 2, 2020 I decided to try something. If you add the <!--Shirt Number--> code to the bottom to the scouting part, the number will be here only if that player is scouted already. Scouted... Scouting required I took the code from the FMC skin/panels/players/personal details panels <!-- Back of kit --> <widget id="cKit" class="kit_icon" width="170" image_alignment="centre" scale_picture="true" kit_path="zoomed/large" kit_number_path="large" > <record id="object_property" get_property="Pers" set_property="objt"/> </widget> If you will leave it like this, the number will be here along the back of the kit and the surname of the player. I edited it: deleted "zoomed" from the part "kit_path="zoomed/large" to have with without the back of the kit. I added "file="generic/number2" as I created the second file for the numbers (I use "file="generic/number" within player pop up profile to not have here the surname of the player) I changed inset="15,0,8,0" to inset="1,0,1,0" so I now have the number bigger. And the last change was I moved the widget to the personal details behind the Youth Caps and edited the minimum_width of the first container to 450 to have it all here. It also means the number is here even if you don't have the player scouted and he has the number assigned. *I'm using transparent personal details panel so I only have to figure out how to change the numbers colours to white for all the teams here. But that's probably not possible as it would mean the numbers would be white everywhere. 1 Link to post Share on other sites More sharing options...
PequenoGenio Posted November 30, 2020 Share Posted November 30, 2020 Hello. Anybody know how add the number/kitbox? Something like this. Name and number with secondary colors of the club and kit colors in behind. mimic this example. Link to post Share on other sites More sharing options...
keysi Posted November 30, 2020 Share Posted November 30, 2020 it's in the post above from July... Link to post Share on other sites More sharing options...
PequenoGenio Posted November 30, 2020 Share Posted November 30, 2020 It was the first thing that i have done. Maybe i messed up because can´t make it work. Link to post Share on other sites More sharing options...
PequenoGenio Posted November 30, 2020 Share Posted November 30, 2020 (edited) . Edited December 1, 2020 by PequenoGenio Solved Link to post Share on other sites More sharing options...
PequenoGenio Posted December 1, 2020 Share Posted December 1, 2020 (edited) @keysi IT'S DONNE!!!!!!! ahahahha I use this code: <!--squad number--> <container width="450" id="sqco"> <layout class="arrange_vertical_attachment" alignment="top" gap="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" /> <layout class="stick_to_sides_attachment" alignment="vertical,right" /> <!-- Kit number --> <widget id="cKit" class="kit_icon" height="118" scale_picture="true" kit_zoom_level="2" priority="6"> <layout class="stick_to_sides_attachment" alignment="right" inset="0" /> <layout class="stick_to_sides_attachment" alignment="top" inset="0" /> <layout class="stick_to_sides_attachment" alignment="bottom" inset="0" /> <record id="object_property" get_property="Pers" set_property="objt"/> </widget> </container> on the bottom of player personal details panel. The only thing that i really need help is with that thing that i talk to you on twitter. That i can't really do. If you help me i will be in great debt to you. Edited December 1, 2020 by PequenoGenio 1 Link to post Share on other sites More sharing options...
lembergman Posted December 1, 2020 Share Posted December 1, 2020 @PequenoGenioCOOL STORY. but which line to add to see the number always? without a scout report... Link to post Share on other sites More sharing options...
PequenoGenio Posted December 1, 2020 Share Posted December 1, 2020 (edited) 19 minutos atrás, lembergman disse: @PequenoGenioCOOL STORY. but which line to add to see the number always? without a scout report... That i don't know. I just follow what @keysi and @wkdsoul said above and copy that code from the new keysi skin. But i see the number even without the scout report: Edited December 1, 2020 by PequenoGenio Link to post Share on other sites More sharing options...
PequenoGenio Posted December 3, 2020 Share Posted December 3, 2020 Updated view: Wider containers, new font in the name and new number style 3 Link to post Share on other sites More sharing options...
Vince_957 Posted December 3, 2020 Share Posted December 3, 2020 may you share this file for have a look? I would love to change the tab colour into a skin that I use Link to post Share on other sites More sharing options...
Watson156 Posted December 13, 2020 Share Posted December 13, 2020 On 03/12/2020 at 01:43, PequenoGenio said: Updated view: Wider containers, new font in the name and new number style I'm also looking to change the font and numbers. How did you change them? Link to post Share on other sites More sharing options...
PequenoGenio Posted December 14, 2020 Share Posted December 14, 2020 For the font you have the one you like with the name "title" For the numbers : https://community.sigames.com/topic/510038-fm20skin-show-your-skin-and-inspire/?do=findComment&comment=12513866 1 Link to post Share on other sites More sharing options...
EnigMattic1 Posted December 14, 2020 Share Posted December 14, 2020 On 03/12/2020 at 01:43, PequenoGenio said: Updated view: Wider containers, new font in the name and new number style Could you share this if possible? Link to post Share on other sites More sharing options...
Watson156 Posted December 14, 2020 Share Posted December 14, 2020 2 hours ago, PequenoGenio said: For the font you have the one you like with the name "title" For the numbers : https://community.sigames.com/topic/510038-fm20skin-show-your-skin-and-inspire/?do=findComment&comment=12513866 Brilliant thanks 1 Link to post Share on other sites More sharing options...
PequenoGenio Posted December 14, 2020 Share Posted December 14, 2020 8 minutos atrás, Watson156 disse: Brilliant thanks Let me know if it works 1 hora atrás, EnigMattic1 disse: Could you share this if possible? Not or now. Sorry Link to post Share on other sites More sharing options...
Watson156 Posted December 14, 2020 Share Posted December 14, 2020 16 minutes ago, PequenoGenio said: Let me know if it works Unfortunately not. I can get them to show up in game but the logo at the bottom of the number is very blurry. I'll have a play around with it and see what I can do. Which folder of numbers did you use? I'm currently using Large only, but there is also Small or Default. Should I be using one of those two or just leave them all in the numbers folder. Which panel would allow me to change the font for the players name in the kit box? So far I haven't been able to find any player panel that seems to have a line of code that would indicate that it controls the player name and that I can alter it. Maybe I am just missing it!! Link to post Share on other sites More sharing options...
PequenoGenio Posted December 14, 2020 Share Posted December 14, 2020 7 minutos atrás, Watson156 disse: Unfortunately not. I can get them to show up in game but the logo at the bottom of the number is very blurry. I'll have a play around with it and see what I can do. Which folder of numbers did you use? I'm currently using Large only, but there is also Small or Default. Should I be using one of those two or just leave them all in the numbers folder. Which panel would allow me to change the font for the players name in the kit box? So far I haven't been able to find any player panel that seems to have a line of code that would indicate that it controls the player name and that I can alter it. Maybe I am just missing it!! Try to look here: 1 Link to post Share on other sites More sharing options...
Watson156 Posted December 14, 2020 Share Posted December 14, 2020 1 hour ago, PequenoGenio said: Try to look here: You Hero. I had no idea about the panel in generic. Thanks a lot Link to post Share on other sites More sharing options...
EnigMattic1 Posted December 14, 2020 Share Posted December 14, 2020 (edited) Apologies if the screenshot is too big. What do I need to change to sort the sizing out? <!--squad number--> <container width="115" id="sqco"> <layout class="arrange_vertical_attachment" alignment="top" gap="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" /> <layout class="stick_to_sides_attachment" alignment="vertical,left" /> <!-- Kit number --> <widget id="cKit" class="kit_icon" height="130" kit_path="default" scale_picture="true" kit_zoom_level="2" priority="1"> <layout class="stick_to_sides_attachment" alignment="left" inset="0" /> <layout class="stick_to_sides_attachment" alignment="top" inset="0" /> <record id="object_property" get_property="Pers" set_property="objt"/> Edited December 14, 2020 by EnigMattic1 Link to post Share on other sites More sharing options...
keysi Posted December 14, 2020 Share Posted December 14, 2020 1 hour ago, EnigMattic1 said: Apologies if the screenshot is too big. What do I need to change to sort the sizing out? <!--squad number--> <container width="115" id="sqco"> <layout class="arrange_vertical_attachment" alignment="top" gap="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" /> <layout class="stick_to_sides_attachment" alignment="vertical,left" /> <!-- Kit number --> <widget id="cKit" class="kit_icon" height="130" kit_path="default" scale_picture="true" kit_zoom_level="2" priority="1"> <layout class="stick_to_sides_attachment" alignment="left" inset="0" /> <layout class="stick_to_sides_attachment" alignment="top" inset="0" /> <record id="object_property" get_property="Pers" set_property="objt"/> You need to edit name and number inset values in the kit_icon file in skin folder/panels/generic. Link to post Share on other sites More sharing options...
EnigMattic1 Posted December 15, 2020 Share Posted December 15, 2020 On 14/12/2020 at 20:52, keysi said: You need to edit name and number inset values in the kit_icon file in skin folder/panels/generic. Mate, thanks for that. One last question, Is it possible to have the club logo behind the player face? Ideally, between and behind the kit and player? Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now