giglet13 Posted November 12, 2021 Share Posted November 12, 2021 I've managed to add this before but I've got a couple of issues, may be a simple re-direct but not found the specific bit im struggling with in any guides so far. - Added Global Panels - Added Background Selector Config from Other Skins - Added Graphics Background Numbered to match the Background Selector What code, and where in an existing Client_object_browser do I need to add? I have tried taking from previous ones but It's not working so assume its either slightly wrong or i've added in the wrong order. Also on FM22 specifically, the Sidebar is transparent and main block / UI isnt. Once I get the background selector working, do I just follow from here to adjust that transparency accordingly - Or can I add a transparency selector like in previous years for this area? (If so any signposts for guides on this would also be great) 1 Link to post Share on other sites More sharing options...
Vermillionz abey Posted November 16, 2021 Share Posted November 16, 2021 jejak Link to post Share on other sites More sharing options...
giglet13 Posted November 17, 2021 Author Share Posted November 17, 2021 (edited) Ok I've successfully done th is, for others (probably a little bit of a fudge) the file is below for this set up on the Panels This text was added to enable to selector : Spoiler <container file="background_selector/backgrounds" > <attachment class="test_multiple_globals_attachment" default_value="false"> <list id="get_properties"> <record get_property="MatS" test_mode="equal" value="true" skip_if_null="true" /> <record get_property="Ma3D" test_mode="equal" value="true" comparison_mode="or" skip_if_null="true" /> </list> <integer id="set_property" value="hidn" /> </attachment> </container> <!--overlay--> <widget class="picture" file="backgrounds/overlay/30" scale_picture="true"> <boolean id="keep_aspect_ratio" value="false" /> </widget> Then this code, much further down alongside the area the Backroom Advice popups are added: Spoiler <!-- Graphics Options--> <widget class="menubar_icon_button" appearance="buttons/custom/interface/navigation bar/button1" cant_be_toggled="true" fixed="true" icon="icons/26px/bs" width="40"> <record id="primary_icon_properties" red_replacement="heffem" /> <record id="secondary_icon_properties" red_replacement="heffem" /> <event id="click_event" event_id="kev3" /> <attachment class="event_relay_attachment" event_id="kev3"> <record id="action_event"> <flags id="event_id" value="show" /> <flags id="event_target" value="bgs1" /> </record> </attachment> </widget> This achieves the Background selector positioned as per screenshot below beneath the continue button: Spoiler As long as you've then set up a background selector folder/configs, the Global Panels and Backgrounds themselves numbered appropriately - all good. client object browser.xml Edited November 17, 2021 by giglet13 Link to post Share on other sites More sharing options...
_neallyons_ Posted November 21, 2021 Share Posted November 21, 2021 On 17/11/2021 at 17:45, giglet13 said: Ok I've successfully done th is, for others (probably a little bit of a fudge) the file is below for this set up on the Panels This text was added to enable to selector : Hide contents <container file="background_selector/backgrounds" > <attachment class="test_multiple_globals_attachment" default_value="false"> <list id="get_properties"> <record get_property="MatS" test_mode="equal" value="true" skip_if_null="true" /> <record get_property="Ma3D" test_mode="equal" value="true" comparison_mode="or" skip_if_null="true" /> </list> <integer id="set_property" value="hidn" /> </attachment> </container> <!--overlay--> <widget class="picture" file="backgrounds/overlay/30" scale_picture="true"> <boolean id="keep_aspect_ratio" value="false" /> </widget> Then this code, much further down alongside the area the Backroom Advice popups are added: Hide contents <!-- Graphics Options--> <widget class="menubar_icon_button" appearance="buttons/custom/interface/navigation bar/button1" cant_be_toggled="true" fixed="true" icon="icons/26px/bs" width="40"> <record id="primary_icon_properties" red_replacement="heffem" /> <record id="secondary_icon_properties" red_replacement="heffem" /> <event id="click_event" event_id="kev3" /> <attachment class="event_relay_attachment" event_id="kev3"> <record id="action_event"> <flags id="event_id" value="show" /> <flags id="event_target" value="bgs1" /> </record> </attachment> </widget> This achieves the Background selector positioned as per screenshot below beneath the continue button: Hide contents As long as you've then set up a background selector folder/configs, the Global Panels and Backgrounds themselves numbered appropriately - all good. client object browser.xml 16.18 kB · 5 downloads Can you show me your folder setup for this to work please? Link to post Share on other sites More sharing options...
giglet13 Posted November 21, 2021 Author Share Posted November 21, 2021 3 minutes ago, _neallyons_ said: Can you show me your folder setup for this to work please? [SKIN]>PANELS> Global Panels XML File here [SKIN]>PANELS>BACKGROUND_SELECTOR backgrounds xml config xml 'IDs used in this mod' Text document workings XML [SKIN]>PANELS>client_object Updated client object browser xml [SKIN]>PANELS>Graphics>Backgrounds Image files for background file named by number The Vince Skin has a good base of files if you want a start guide from there 1 Link to post Share on other sites More sharing options...
<<Macaco-RJ88>> Posted December 4, 2021 Share Posted December 4, 2021 is it possible to have a background picture for specific panels? for example: i am using the light base skin and for now, i would like to have the team stadium picture only in the background of the squad view panel. could anyone help me with that? 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