stevemc Posted November 17, 2019 Share Posted November 17, 2019 (edited) Good evening, Wondering if anyone can help, I'd like to make the player/staff information bar transparent, in this example it's the solid white panel behind Gareth Southgate’s profile picture and information; Thanks in advance! Edited November 17, 2019 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 non_player_profile_panel Line 5 <container class="main_contrast_box"> Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 (edited) 18 minutes ago, wkdsoul said: non_player_profile_panel Line 5 <container class="main_contrast_box"> Cheers mate, but I can't see that file in the Base Skin folder, where should it's location be, and should it also have a paper.png file? Edited November 17, 2019 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 22 minutes ago, stevemc said: Cheers mate, but I can't see that file in the Base Skin folder, where should it's location be, and should it also have a paper.png file? No idea. Heres the default xml jsut change the line..non player profile.xml 1 Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 (edited) 1 hour ago, wkdsoul said: No idea. Heres the default xml jsut change the line..non player profile.xml Cheers, but I'm not sure I follow you - what exactly am I changing to alter the transparency of that panel? Line 5 is already as you have it above in post 2. Quote <container class="main_contrast_box"> <layout class="arrange_horizontal_attachment" layout="-1, 1, -1, 1, -1" offset="0" gap="10" /> <layout class="stick_to_sides_attachment" alignment="vertical" apply_to_children="true" inset="0" /> Edited November 17, 2019 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 <container class="main_contrast_box"> to a diff kind of box or add an appearance="xxx" to the paper file you want Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 (edited) 3 minutes ago, wkdsoul said: <container class="main_contrast_box"> to a diff kind of box or add an appearance="xxx" to the paper file you want So if I change it to this? <container class="main_contrast_box" appearance="backgrounds/overlaymanager"> And added a overlaymanager.png paper file to the graphics/background folder? And does the nonplayerprofile.xml go here; Application Support/Sports Interactive/Football Manager 2020/skins/FM 20 - Base Skin Default/panels Edited November 17, 2019 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 skins/FM 20 - Base Skin Default/panels/non_player the paper & xml file into the appearance location Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 2 minutes ago, wkdsoul said: skins/FM 20 - Base Skin Default/panels/non_player the paper & xml file into the appearance location So this? Quote <container class="main_contrast_box" appearance="backgrounds/overlaymanager"> Application Support/Sports Interactive/Football Manager 2020/skins/FM 20 - Base Skin Default/panels/non_player/nonplayerprofile.xml Application Support/Sports Interactive/Football Manager 2020/skins/FM 20 - Base Skin Default/graphics/appearance/overlaymanager.png Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 FM 20 - Base Skin Default/graphics/backgrounds/overlaymanager.png Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 (edited) 10 minutes ago, wkdsoul said: FM 20 - Base Skin Default/graphics/backgrounds/overlaymanager.png I can't get this to work, I've got this (first 7 lines of code - green is the part you've asked me to change) Quote <panel> <layout class="arrange_vertical_attachment" layout="95, -1" offset="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" /> <container class="main_contrast_box" appearance="backgrounds/overlaymanager"> <layout class="arrange_horizontal_attachment" layout="-1, 1, -1, 1, -1" offset="0" gap="10" /> <layout class="stick_to_sides_attachment" alignment="vertical" apply_to_children="true" inset="0" /> This nonplayerprofile.xml then lives here; /Library/Application Support/Sports Interactive/Football Manager 2020/skins/FM 20 - Base Skin Default/panels/non_player/nonplayerprofile.xml Then I've got an overlaymanager.png graphic in this location; /Library/Application Support/Sports Interactive/Football Manager 2020/skins/FM 20 - Base Skin Default/graphics/backgrounds/overlaymanager.png That folder also includes these files from the background transparency overlay; The XML already in that location is from the background transparency overlay. That xml file includes this; Quote <!-- image properties --> <properties> <!-- image borders --> <!-- these determine how many pixels any content is inset from each side of the image --> <!-- (for example, in the case of a button, the content would be the text label) --> <record id="image_borders" left="10" right="10" top="5" bottom="1"/> <!-- image slices determine the points at which the image will be sliced to enable scaling --> <!-- the image will only slice in the directions slicing values are provided for--> <record id="image_slices" left="8" right="8" top="8" bottom="8"/> <colour id="red_replacement" name="bg"/> <colour id="green_replacement" name="bg"/> <colour id="blue_replacement" name="bg"/> </properties> Edited November 17, 2019 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 non player profile with spaces. or jsut change main_contract_box to bordered_box and remove the appearance bit altogether Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 2 minutes ago, wkdsoul said: non player profile with spaces. or jsut change main_contract_box to bordered_box and remove the appearance bit altogether That's created this: I wanted to retain the white shape but be able to change the transparency of it between 1-100%. Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 Step 1: Change to <container class="bordered_box" appearance="backgrounds/overlaymanager"> Step 2: in the paper xml change <colour id="red_replacement" name="bg"/> the "bg" to "primary" Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 (edited) 5 minutes ago, wkdsoul said: Step 1: Change to <container class="bordered_box" appearance="backgrounds/overlaymanager"> Step 2: in the paper xml change <colour id="red_replacement" name="bg"/> the "bg" to "primary" Done that, but now no white box at all... Edited November 17, 2019 by stevemc Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 whats you overlaymanager.png? Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 2 minutes ago, wkdsoul said: whats you overlaymanager.png? Ahh sorry, should that be; Quote <container class="bordered_box" appearance="backgrounds/paper"> Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 anhd what is that image? should be a solid red paper file. you can play with opacity in paint. Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 (edited) 19 minutes ago, wkdsoul said: anhd what is that image? should be a solid red paper file. you can play with opacity in paint. The image is a solid red paper file. Yeah that's worked now, thanks for your help, sorry for not fully understanding the coding Presumably that's the same for player profiles? Edited November 17, 2019 by stevemc 1 Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 12 minutes ago, stevemc said: The image is a solid red paper file. Yeah that's worked now, thanks for your help, sorry for not fully understanding the coding Presumably that's the same for player profiles? Yeah, the player personal details panel on that one. Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 6 minutes ago, wkdsoul said: Yeah, the player personal details panel on that one. Any chance you could;d attach that file for me too? Much appreciated! Link to post Share on other sites More sharing options...
wkdsoul Posted November 17, 2019 Share Posted November 17, 2019 1 minute ago, stevemc said: Any chance you could;d attach that file for me too? Much appreciated! player personal details panel.xml Link to post Share on other sites More sharing options...
stevemc Posted November 17, 2019 Author Share Posted November 17, 2019 5 minutes ago, wkdsoul said: player personal details panel.xml 12.63 kB · 0 downloads perfect, nice one! 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