pikawa94 Posted December 11, 2016 Share Posted December 11, 2016 Hello everyone, Got a two questions... 1) Is there any chance to get a primary team colour in match panels? Here I have got an example. For now my match panel ("match stats titled.xml") looks like this: and I want to achieve effect like this: Is there any code that will allow my to create that? 2) Is there any chance to get a secondary team colour on (for example) a match titlebar? Thanks in advance Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted December 12, 2016 Share Posted December 12, 2016 This should display the home text background colour: <widget class="picture" id="T1bp" auto_size="all" file="boxes/custom/interface/tab bar/paper" cached="true" rthr="68"> If you change the id to "T1nm" then it should use the text colour, whilst if you change T1 to T2 it will then use the away team colours. Then you can change the graphic to point to one of your choice. Link to post Share on other sites More sharing options...
pikawa94 Posted December 12, 2016 Author Share Posted December 12, 2016 @michaeltmurrayuk, I already tried that. Without success. Even with that id game is showing primary/secondary colour of a competition... Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted December 12, 2016 Share Posted December 12, 2016 The other ids you can try are "home" "m_HH" "away" and "m_AH" as those are the ids used in that file, however it might not be possible. Link to post Share on other sites More sharing options...
pikawa94 Posted December 12, 2016 Author Share Posted December 12, 2016 Not working... Thanks anyways for help! Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted December 15, 2016 Share Posted December 15, 2016 Another thing you might try is to cheat - you have the logos showing on that screen, so if you enable the old style background logos and apply them to that screen and then create a default image that just has a red bar across the top, that should then get recoloured to the teams primary colour (provided you aren't already using the old background logos elsewhere). Link to post Share on other sites More sharing options...
pikawa94 Posted December 15, 2016 Author Share Posted December 15, 2016 @michaeltmurrayuk, by "old background logos" which code You mean? Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted December 15, 2016 Share Posted December 15, 2016 Should be this: <!-- Left Side BG Logo --> <widget class="picture" id="lftB" auto_size="all" file="pictures/logos/background/kit/default"> <layout class="stick_to_sides_attachment" alignment="left" inset="0"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="0"/> <!-- set main 'background' logo --> <record id="object_property"> <integer id="get_property" value="mbpc" /> <integer id="set_property" value="file" /> </record> </widget> You can replace the mbpc value with either sbpc for secondary logo or ktgb for the fmtouch kitstyle images. If that works you'd then need to replace the images in \graphics\pictures\logos\background\left\default with an image that fits the design you want - easiest thing to do is create one and then in the config file just link them all to the same image. Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.