Barkermush Posted August 30, 2010 Share Posted August 30, 2010 Hi, i never knew we could have both the team badge behind the players picture and the little graphics hexagon on the player profile screen, untill i saw this screenie. What would i need to edit to get the graphical attributes octagon onto the Skin i'm using? Link to post Share on other sites More sharing options...
Kevinmatt Posted August 30, 2010 Share Posted August 30, 2010 I followed that:http://community.sigames.com/showthread.php/168090-Player-attribute-analyser-player-pic-amp-logo-together Link to post Share on other sites More sharing options...
Barkermush Posted August 30, 2010 Author Share Posted August 30, 2010 I followed that:http://community.sigames.com/showthread.php/168090-Player-attribute-analyser-player-pic-amp-logo-together I'll have a look into it, thank's. Link to post Share on other sites More sharing options...
Barkermush Posted September 21, 2010 Author Share Posted September 21, 2010 Hi can anyone help me, i've tried a few things now but i just can't get it. What i would like to do is move the team badge a little bit more to the left so it's closer to the edge, and move the player picture away from the center to more to the left aswell, and then put the little stats diagram in on the right. Does anybody know what code i would need to put into the panel to do this? Thanks. Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted September 22, 2010 Share Posted September 22, 2010 It depends on how the skinner has edited the panel, the above linked thread has various examples of how to edit the panel. Link to post Share on other sites More sharing options...
Barkermush Posted September 22, 2010 Author Share Posted September 22, 2010 It depends on how the skinner has edited the panel, the above linked thread has various examples of how to edit the panel. Thanks for the reply. I'm not sure, yeah i've tried to copy some of the codes from the above link but i can't get it right, the players picture moves up and out of place etc. Maybe i'm putting the code in the wrong place of the Panel? This is the code from the player profile personal details.xml in the Skin i'm using. <!-- Personal Details --> <panel> <layout class="arrange_vertical_attachment" alignment="top,extend" offset="-18" gap="4"/> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <!-- WITH PORTRAIT --> <!-- this version of the table is used if the player portrait is visible --> <widget class="table" id="pld1" mode="printable, fill_rows" layout="20,140,20,140" fixed_size_rows="true" row_spacing="0" row_height="18"> <list id="column_properties"> <record indx="0" alignment="right,centre_y"/> <record indx="1" alignment="left,centre_y" /> <record indx="2" alignment="right,centre_y" /> <record indx="3" alignment="left,centre_y" /> <record indx="4" alignment="left,centre_y" /> </list> <!-- small inset from sides of table --> <list id="column_display_properties"> <record indx="0" left="0" sort_disabled="true"/> <record indx="1" left="6" sort_disabled="true"/> <record indx="2" left="6" sort_disabled="true"/> <record indx="3" rght="6" sort_disabled="true"/> <record indx="4" rght="6" sort_disabled="true"/> </list> <!-- custom row graphics --> <list id="row_properties"> <record indx="10"> <flags id="appearance" value="table/custom/stripe/row"/> </record> <record indx="11"> <flags id="appearance" value="table/custom/stripe/row"/> </record> <record indx="14"> <flags id="appearance" value="table/custom/stripe/row" /> </record> <record indx="15"> <flags id="appearance" value="table/custom/stripe/row"/> </record> </list> <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!--mugshot--> <widget class="picture" id="ppic" image_alignment="bottom" scale_picture="false" keep_aspect_ratio="true"/> </container> <!-- Attribute Analyser Container --> <!-- Logo and Picture Container --> <widget class="group_box" row="0" col="0" column_span="4" row_span="10"> <!-- Club Logo --> <widget class="picture" id="pict" transparency="0.2" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="centre"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="-80" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it --> <attachment class="get_global_attachment" get_property="mnpc" set_property="file" skip_if_null="false"/> <!-- tells the picture to listen for the 'main picture needs recolouring' property and sets its own 'should recolour' property from it --> <attachment class="get_global_attachment" get_property="mprc" set_property="srec" skip_if_null="false"/> <!-- the background, foreground and outline colours of the object we use for recolouring the default main picture if there is one, and it should be recoloured --> <attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/> <attachment class="get_global_attachment" get_property="fcol" set_property="grep"/> <attachment class="get_global_attachment" get_property="ocol" set_property="brep"/> </widget> <!-- Player Picture --> <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="centre"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="0" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> </widget> </widget> <!-- Temporary Row Fillers - the picture and logo should possibly be put in their own table --> <widget class="label" col="0" row="1" /> <widget class="label" col="0" row="2" /> <widget class="label" col="0" row="3" /> <widget class="label" col="0" row="4" /> <widget class="label" col="0" row="5" /> <widget class="label" col="0" row="6" /> <widget class="label" col="0" row="7" /> <!-- Nationality --> <widget class="nation_button" id="pfna" col="1" row="10" column_span="1" colour="yellow2" icon_alignment="left,can_scale" dspf="1" style="semi_bold"/> <!-- International Appearances --> <widget class="international_appearances_label" id="pfcg" col="1" row="11" column_span="2" size="7"/> <!-- Age --> <widget class="label" id="pfag" col="3" row="10" column_span="2" colour="yellow2" style="semi_bold"/> <!-- Date Of Birth --> <widget class="label" id="pdob" col="3" row="11" column_span="2" size="7" /> <!-- Height --> <widget class="height_label" id="phei" col="1" row="12" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Weight --> <widget class="weight_label" id="pwei" col="1" row="13" column_span="2" size="7" /> <!-- Preferred Foot --> <widget class="label" id="pfot" col="3" row="12" column_span="2" colour="yellow2" style="semi_bold"/> <!-- Preferred Foot Label --> <widget class="label" id="text" text="Preferred Foot" col="3" row="13" column_span="2" size="7" /> <!-- Wage --> <widget class="label" id="wagw" col="1" row="14" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Contract Expiry --> <widget class="label" id="pexp" col="1" row="15" column_span="2" size="7" /> <!-- Value --> <widget class="label" id="pval" col="3" row="14" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Value Label --> <widget class="label" id="text" text="Estimated Value[COMMENT: player profile; value label]" col="3" row="15" column_span="2" size="7" /> <!--Extra Info --> <widget class="text" id="pinf" spec="text" col="0" row="16" column_span="4" alignment="centre_x,centre_y" style="semi_bold" colour="profile extra text"/> </widget> <!-- WITHOUT PORTRAIT --> <!-- this version of the table is used if the player portrait is hidden --> <widget class="table" id="pld2" mode="fill_rows, stripe_rows, printable" layout="-1,-1,-1" fixed_size_rows="true" row_spacing="0" row_height="20"> <list id="headings"> <record text="Personal Details" alignment="left, centre_y" column_span="3"/> </list> <list id="column_properties"> <record indx="0" alignment="left,centre_y"/> <record indx="1" alignment="right,centre_y" colour="selection"/> <record indx="2" alignment="right,centre_y" colour="selection"/> </list> <!-- small inset from sides of table --> <list id="column_display_properties"> <record indx="0" left="4" sort_disabled="true"/> <record indx="1" rght="4" sort_disabled="true"/> <record indx="2" rght="4" sort_disabled="true"/> </list> <!-- Nationality --> <widget class="label" text="Nationality" col="0" row="0" column_span="2" /> <widget class="nation_button" id="pfna" col="1" row="0" column_span="2" icon_alignment="right,can_scale" dspf="1"/> <!-- Caps + Goals --> <widget class="label" text="International" col="0" row="1" column_span="2" /> <widget class="international_appearances_label" id="pfcg" col="1" row="1" column_span="2" /> <!-- DOB --> <widget class="label" text="Born" col="0" row="2" column_span="2" /> <widget class="label" id="pdob" col="1" row="2" column_span="2" /> <!-- Age --> <widget class="label" text="Age" col="0" row="3" column_span="2" /> <widget class="label" id="pfag" col="1" row="3" column_span="2" /> <!-- Player Position --> <widget class="label" text="Position" col="0" row="4" column_span="2" /> <widget class="label" id="pprs" col="1" row="4" column_span="2" /> <!-- Foot --> <widget class="label" text="Preferred Foot" col="0" row="5" column_span="2" /> <widget class="label" id="pfot" col="1" row="5" column_span="2" /> <!-- Height --> <widget class="label" text="Height[COMMENT - player profile panel; height label]" col="0" row="6" column_span="2" /> <widget class="height_label" id="phei" col="1" row="6" column_span="2" /> <!-- Weight --> <widget class="label" text="Weight[COMMENT - player profile panel; weight label]" col="0" row="7" column_span="2" /> <widget class="weight_label" id="pwei" col="1" row="7" column_span="2" /> <!-- Value --> <widget class="label" text="Value" col="0" row="8" column_span="2" /> <widget class="label" id="pval" col="1" row="8" column_span="2" /> <!-- Wage Details --> <widget class="label" text="Basic Wage" col="0" row="9" column_span="2" /> <widget class="label" id="wagw" col="1" row="9" column_span="2" /> <!--Contract Expires --> <widget class="label" text="Contract Expires" col="0" row="10" column_span="2" /> <widget class="label" id="pexp" col="1" row="10" column_span="2" /> <!--Extra Info --> <widget class="text" spec="text" id="pinf" col="0" row="11" column_span="3" colour="profile extra text" alignment="right, centre_y"/> </widget> </panel> Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted September 22, 2010 Share Posted September 22, 2010 To get the Analyser back you need to add this code: <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"/> Into this code: <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!--mugshot--> <widget class="picture" id="ppic" image_alignment="bottom" scale_picture="false" keep_aspect_ratio="true"/> </container> <!-- Attribute Analyser Container --> So it looks like this: <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!--mugshot--> <widget class="picture" id="ppic" image_alignment="bottom" scale_picture="false" keep_aspect_ratio="true"/> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"/> </container> <!-- Attribute Analyser Container --> To shift the Logo and Player Picture you need to mess around with this load of code: <!-- Logo and Picture Container --> <widget class="group_box" row="0" col="0" column_span="4" row_span="10"> <!-- Club Logo --> <widget class="picture" id="pict" transparency="0.2" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="centre"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="-80" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it --> <attachment class="get_global_attachment" get_property="mnpc" set_property="file" skip_if_null="false"/> <!-- tells the picture to listen for the 'main picture needs recolouring' property and sets its own 'should recolour' property from it --> <attachment class="get_global_attachment" get_property="mprc" set_property="srec" skip_if_null="false"/> <!-- the background, foreground and outline colours of the object we use for recolouring the default main picture if there is one, and it should be recoloured --> <attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/> <attachment class="get_global_attachment" get_property="fcol" set_property="grep"/> <attachment class="get_global_attachment" get_property="ocol" set_property="brep"/> </widget> <!-- Player Picture --> <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="centre"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="0" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> </widget> </widget> And mess around with the offset values (minus number shifts images to left), image_alignment (change to left) and column_span (try reducing to 3) until they move where you want. Link to post Share on other sites More sharing options...
Barkermush Posted September 22, 2010 Author Share Posted September 22, 2010 Hi, i've done what you said and i've got the player picutre and logo over to the left, thanks. But the little polygram is not appearing? This is how i have put the code in: <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!--mugshot--> <widget class="picture" id="ppic" image_alignment="bottom" scale_picture="false" keep_aspect_ratio="true"/> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"/> </container> <!-- Attribute Analyser Container --> Not sure if i have done anything wrong above? Here is the entire edited code: <!-- Personal Details --> <panel> <layout class="arrange_vertical_attachment" alignment="top,extend" offset="-18" gap="4"/> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <!-- WITH PORTRAIT --> <!-- this version of the table is used if the player portrait is visible --> <widget class="table" id="pld1" mode="printable, fill_rows" layout="20,140,20,140" fixed_size_rows="true" row_spacing="0" row_height="18"> <list id="column_properties"> <record indx="0" alignment="right,centre_y"/> <record indx="1" alignment="left,centre_y" /> <record indx="2" alignment="right,centre_y" /> <record indx="3" alignment="left,centre_y" /> <record indx="4" alignment="left,centre_y" /> </list> <!-- small inset from sides of table --> <list id="column_display_properties"> <record indx="0" left="0" sort_disabled="true"/> <record indx="1" left="6" sort_disabled="true"/> <record indx="2" left="6" sort_disabled="true"/> <record indx="3" rght="6" sort_disabled="true"/> <record indx="4" rght="6" sort_disabled="true"/> </list> <!-- custom row graphics --> <list id="row_properties"> <record indx="10"> <flags id="appearance" value="table/custom/stripe/row"/> </record> <record indx="11"> <flags id="appearance" value="table/custom/stripe/row"/> </record> <record indx="14"> <flags id="appearance" value="table/custom/stripe/row" /> </record> <record indx="15"> <flags id="appearance" value="table/custom/stripe/row"/> </record> </list> <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!--mugshot--> <widget class="picture" id="ppic" image_alignment="bottom" scale_picture="false" keep_aspect_ratio="true"/> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"/> </container> <!-- Attribute Analyser Container --> <!-- Logo and Picture Container --> <widget class="group_box" row="0" col="0" column_span="3" row_span="10"> <!-- Club Logo --> <widget class="picture" id="pict" transparency="0.2" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="center"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="-40" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it --> <attachment class="get_global_attachment" get_property="mnpc" set_property="file" skip_if_null="false"/> <!-- tells the picture to listen for the 'main picture needs recolouring' property and sets its own 'should recolour' property from it --> <attachment class="get_global_attachment" get_property="mprc" set_property="srec" skip_if_null="false"/> <!-- the background, foreground and outline colours of the object we use for recolouring the default main picture if there is one, and it should be recoloured --> <attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/> <attachment class="get_global_attachment" get_property="fcol" set_property="grep"/> <attachment class="get_global_attachment" get_property="ocol" set_property="brep"/> </widget> <!-- Player Picture --> <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="left"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="0" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> </widget> </widget> <!-- Temporary Row Fillers - the picture and logo should possibly be put in their own table --> <widget class="label" col="0" row="1" /> <widget class="label" col="0" row="2" /> <widget class="label" col="0" row="3" /> <widget class="label" col="0" row="4" /> <widget class="label" col="0" row="5" /> <widget class="label" col="0" row="6" /> <widget class="label" col="0" row="7" /> <!-- Nationality --> <widget class="nation_button" id="pfna" col="1" row="10" column_span="1" colour="yellow2" icon_alignment="left,can_scale" dspf="1" style="semi_bold"/> <!-- International Appearances --> <widget class="international_appearances_label" id="pfcg" col="1" row="11" column_span="2" size="7"/> <!-- Age --> <widget class="label" id="pfag" col="3" row="10" column_span="2" colour="yellow2" style="semi_bold"/> <!-- Date Of Birth --> <widget class="label" id="pdob" col="3" row="11" column_span="2" size="7" /> <!-- Height --> <widget class="height_label" id="phei" col="1" row="12" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Weight --> <widget class="weight_label" id="pwei" col="1" row="13" column_span="2" size="7" /> <!-- Preferred Foot --> <widget class="label" id="pfot" col="3" row="12" column_span="2" colour="yellow2" style="semi_bold"/> <!-- Preferred Foot Label --> <widget class="label" id="text" text="Preferred Foot" col="3" row="13" column_span="2" size="7" /> <!-- Wage --> <widget class="label" id="wagw" col="1" row="14" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Contract Expiry --> <widget class="label" id="pexp" col="1" row="15" column_span="2" size="7" /> <!-- Value --> <widget class="label" id="pval" col="3" row="14" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Value Label --> <widget class="label" id="text" text="Estimated Value[COMMENT: player profile; value label]" col="3" row="15" column_span="2" size="7" /> <!--Extra Info --> <widget class="text" id="pinf" spec="text" col="0" row="16" column_span="4" alignment="centre_x,centre_y" style="semi_bold" colour="profile extra text"/> </widget> <!-- WITHOUT PORTRAIT --> <!-- this version of the table is used if the player portrait is hidden --> <widget class="table" id="pld2" mode="fill_rows, stripe_rows, printable" layout="-1,-1,-1" fixed_size_rows="true" row_spacing="0" row_height="20"> <list id="headings"> <record text="Personal Details" alignment="left, centre_y" column_span="3"/> </list> <list id="column_properties"> <record indx="0" alignment="left,centre_y"/> <record indx="1" alignment="right,centre_y" colour="selection"/> <record indx="2" alignment="right,centre_y" colour="selection"/> </list> <!-- small inset from sides of table --> <list id="column_display_properties"> <record indx="0" left="4" sort_disabled="true"/> <record indx="1" rght="4" sort_disabled="true"/> <record indx="2" rght="4" sort_disabled="true"/> </list> <!-- Nationality --> <widget class="label" text="Nationality" col="0" row="0" column_span="2" /> <widget class="nation_button" id="pfna" col="1" row="0" column_span="2" icon_alignment="right,can_scale" dspf="1"/> <!-- Caps + Goals --> <widget class="label" text="International" col="0" row="1" column_span="2" /> <widget class="international_appearances_label" id="pfcg" col="1" row="1" column_span="2" /> <!-- DOB --> <widget class="label" text="Born" col="0" row="2" column_span="2" /> <widget class="label" id="pdob" col="1" row="2" column_span="2" /> <!-- Age --> <widget class="label" text="Age" col="0" row="3" column_span="2" /> <widget class="label" id="pfag" col="1" row="3" column_span="2" /> <!-- Player Position --> <widget class="label" text="Position" col="0" row="4" column_span="2" /> <widget class="label" id="pprs" col="1" row="4" column_span="2" /> <!-- Foot --> <widget class="label" text="Preferred Foot" col="0" row="5" column_span="2" /> <widget class="label" id="pfot" col="1" row="5" column_span="2" /> <!-- Height --> <widget class="label" text="Height[COMMENT - player profile panel; height label]" col="0" row="6" column_span="2" /> <widget class="height_label" id="phei" col="1" row="6" column_span="2" /> <!-- Weight --> <widget class="label" text="Weight[COMMENT - player profile panel; weight label]" col="0" row="7" column_span="2" /> <widget class="weight_label" id="pwei" col="1" row="7" column_span="2" /> <!-- Value --> <widget class="label" text="Value" col="0" row="8" column_span="2" /> <widget class="label" id="pval" col="1" row="8" column_span="2" /> <!-- Wage Details --> <widget class="label" text="Basic Wage" col="0" row="9" column_span="2" /> <widget class="label" id="wagw" col="1" row="9" column_span="2" /> <!--Contract Expires --> <widget class="label" text="Contract Expires" col="0" row="10" column_span="2" /> <widget class="label" id="pexp" col="1" row="10" column_span="2" /> <!--Extra Info --> <widget class="text" spec="text" id="pinf" col="0" row="11" column_span="3" colour="profile extra text" alignment="right, centre_y"/> </widget> </panel> This is what it look's like on the game: Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted September 23, 2010 Share Posted September 23, 2010 First make a copy of the xml file in case this makes things worse. Try changing this code: <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!--mugshot--> <widget class="picture" id="ppic" image_alignment="bottom" scale_picture="false" keep_aspect_ratio="true"/> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"/> </container> <!-- Attribute Analyser Container --> <!-- Logo and Picture Container --> <widget class="group_box" row="0" col="0" column_span="3" row_span="10"> <!-- Club Logo --> <widget class="picture" id="pict" transparency="0.2" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="center"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="-40" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it --> <attachment class="get_global_attachment" get_property="mnpc" set_property="file" skip_if_null="false"/> <!-- tells the picture to listen for the 'main picture needs recolouring' property and sets its own 'should recolour' property from it --> <attachment class="get_global_attachment" get_property="mprc" set_property="srec" skip_if_null="false"/> <!-- the background, foreground and outline colours of the object we use for recolouring the default main picture if there is one, and it should be recoloured --> <attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/> <attachment class="get_global_attachment" get_property="fcol" set_property="grep"/> <attachment class="get_global_attachment" get_property="ocol" set_property="brep"/> </widget> <!-- Player Picture --> <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="left"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="0" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> </widget> </widget> To this: <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!-- Club Logo --> <widget class="picture" id="pict" transparency="0.2" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="center"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="-40" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it --> <attachment class="get_global_attachment" get_property="mnpc" set_property="file" skip_if_null="false"/> <!-- tells the picture to listen for the 'main picture needs recolouring' property and sets its own 'should recolour' property from it --> <attachment class="get_global_attachment" get_property="mprc" set_property="srec" skip_if_null="false"/> <!-- the background, foreground and outline colours of the object we use for recolouring the default main picture if there is one, and it should be recoloured --> <attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/> <attachment class="get_global_attachment" get_property="fcol" set_property="grep"/> <attachment class="get_global_attachment" get_property="ocol" set_property="brep"/> </widget> <!-- Player Picture --> <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="left"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="0" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> </widget> </widget> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="140" /> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" /> </container> </container> <!-- Attribute Analyser Container --> Though you may need to mess around with the numbers again to position them correctly. Link to post Share on other sites More sharing options...
Barkermush Posted September 23, 2010 Author Share Posted September 23, 2010 Hi, i tried changing the code you have posted above and it as come up with this XML parsing error. Not sure if i have edited it wrong? This is what the Panel looks like: <!-- Personal Details --> <panel> <layout class="arrange_vertical_attachment" alignment="top,extend" offset="-18" gap="4"/> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <!-- WITH PORTRAIT --> <!-- this version of the table is used if the player portrait is visible --> <widget class="table" id="pld1" mode="printable, fill_rows" layout="20,140,20,140" fixed_size_rows="true" row_spacing="0" row_height="18"> <list id="column_properties"> <record indx="0" alignment="right,centre_y"/> <record indx="1" alignment="left,centre_y" /> <record indx="2" alignment="right,centre_y" /> <record indx="3" alignment="left,centre_y" /> <record indx="4" alignment="left,centre_y" /> </list> <!-- small inset from sides of table --> <list id="column_display_properties"> <record indx="0" left="0" sort_disabled="true"/> <record indx="1" left="6" sort_disabled="true"/> <record indx="2" left="6" sort_disabled="true"/> <record indx="3" rght="6" sort_disabled="true"/> <record indx="4" rght="6" sort_disabled="true"/> </list> <!-- custom row graphics --> <list id="row_properties"> <record indx="10"> <flags id="appearance" value="table/custom/stripe/row"/> </record> <record indx="11"> <flags id="appearance" value="table/custom/stripe/row"/> </record> <record indx="14"> <flags id="appearance" value="table/custom/stripe/row" /> </record> <record indx="15"> <flags id="appearance" value="table/custom/stripe/row"/> </record> </list> <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!-- Club Logo --> <widget class="picture" id="pict" transparency="0.2" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="center"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="-40" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it --> <attachment class="get_global_attachment" get_property="mnpc" set_property="file" skip_if_null="false"/> <!-- tells the picture to listen for the 'main picture needs recolouring' property and sets its own 'should recolour' property from it --> <attachment class="get_global_attachment" get_property="mprc" set_property="srec" skip_if_null="false"/> <!-- the background, foreground and outline colours of the object we use for recolouring the default main picture if there is one, and it should be recoloured --> <attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/> <attachment class="get_global_attachment" get_property="fcol" set_property="grep"/> <attachment class="get_global_attachment" get_property="ocol" set_property="brep"/> </widget> <!-- Player Picture --> <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="left"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="0" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> </widget> </widget> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="140" /> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" /> </container> </container> <!-- Attribute Analyser Container --> <!-- Temporary Row Fillers - the picture and logo should possibly be put in their own table --> <widget class="label" col="0" row="1" /> <widget class="label" col="0" row="2" /> <widget class="label" col="0" row="3" /> <widget class="label" col="0" row="4" /> <widget class="label" col="0" row="5" /> <widget class="label" col="0" row="6" /> <widget class="label" col="0" row="7" /> <!-- Nationality --> <widget class="nation_button" id="pfna" col="1" row="10" column_span="1" colour="yellow2" icon_alignment="left,can_scale" dspf="1" style="semi_bold"/> <!-- International Appearances --> <widget class="international_appearances_label" id="pfcg" col="1" row="11" column_span="2" size="7"/> <!-- Age --> <widget class="label" id="pfag" col="3" row="10" column_span="2" colour="yellow2" style="semi_bold"/> <!-- Date Of Birth --> <widget class="label" id="pdob" col="3" row="11" column_span="2" size="7" /> <!-- Height --> <widget class="height_label" id="phei" col="1" row="12" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Weight --> <widget class="weight_label" id="pwei" col="1" row="13" column_span="2" size="7" /> <!-- Preferred Foot --> <widget class="label" id="pfot" col="3" row="12" column_span="2" colour="yellow2" style="semi_bold"/> <!-- Preferred Foot Label --> <widget class="label" id="text" text="Preferred Foot" col="3" row="13" column_span="2" size="7" /> <!-- Wage --> <widget class="label" id="wagw" col="1" row="14" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Contract Expiry --> <widget class="label" id="pexp" col="1" row="15" column_span="2" size="7" /> <!-- Value --> <widget class="label" id="pval" col="3" row="14" colour="yellow2" column_span="2" style="semi_bold"/> <!-- Value Label --> <widget class="label" id="text" text="Estimated Value[COMMENT: player profile; value label]" col="3" row="15" column_span="2" size="7" /> <!--Extra Info --> <widget class="text" id="pinf" spec="text" col="0" row="16" column_span="4" alignment="centre_x,centre_y" style="semi_bold" colour="profile extra text"/> </widget> <!-- WITHOUT PORTRAIT --> <!-- this version of the table is used if the player portrait is hidden --> <widget class="table" id="pld2" mode="fill_rows, stripe_rows, printable" layout="-1,-1,-1" fixed_size_rows="true" row_spacing="0" row_height="20"> <list id="headings"> <record text="Personal Details" alignment="left, centre_y" column_span="3"/> </list> <list id="column_properties"> <record indx="0" alignment="left,centre_y"/> <record indx="1" alignment="right,centre_y" colour="selection"/> <record indx="2" alignment="right,centre_y" colour="selection"/> </list> <!-- small inset from sides of table --> <list id="column_display_properties"> <record indx="0" left="4" sort_disabled="true"/> <record indx="1" rght="4" sort_disabled="true"/> <record indx="2" rght="4" sort_disabled="true"/> </list> <!-- Nationality --> <widget class="label" text="Nationality" col="0" row="0" column_span="2" /> <widget class="nation_button" id="pfna" col="1" row="0" column_span="2" icon_alignment="right,can_scale" dspf="1"/> <!-- Caps + Goals --> <widget class="label" text="International" col="0" row="1" column_span="2" /> <widget class="international_appearances_label" id="pfcg" col="1" row="1" column_span="2" /> <!-- DOB --> <widget class="label" text="Born" col="0" row="2" column_span="2" /> <widget class="label" id="pdob" col="1" row="2" column_span="2" /> <!-- Age --> <widget class="label" text="Age" col="0" row="3" column_span="2" /> <widget class="label" id="pfag" col="1" row="3" column_span="2" /> <!-- Player Position --> <widget class="label" text="Position" col="0" row="4" column_span="2" /> <widget class="label" id="pprs" col="1" row="4" column_span="2" /> <!-- Foot --> <widget class="label" text="Preferred Foot" col="0" row="5" column_span="2" /> <widget class="label" id="pfot" col="1" row="5" column_span="2" /> <!-- Height --> <widget class="label" text="Height[COMMENT - player profile panel; height label]" col="0" row="6" column_span="2" /> <widget class="height_label" id="phei" col="1" row="6" column_span="2" /> <!-- Weight --> <widget class="label" text="Weight[COMMENT - player profile panel; weight label]" col="0" row="7" column_span="2" /> <widget class="weight_label" id="pwei" col="1" row="7" column_span="2" /> <!-- Value --> <widget class="label" text="Value" col="0" row="8" column_span="2" /> <widget class="label" id="pval" col="1" row="8" column_span="2" /> <!-- Wage Details --> <widget class="label" text="Basic Wage" col="0" row="9" column_span="2" /> <widget class="label" id="wagw" col="1" row="9" column_span="2" /> <!--Contract Expires --> <widget class="label" text="Contract Expires" col="0" row="10" column_span="2" /> <widget class="label" id="pexp" col="1" row="10" column_span="2" /> <!--Extra Info --> <widget class="text" spec="text" id="pinf" col="0" row="11" column_span="3" colour="profile extra text" alignment="right, centre_y"/> </widget> </panel> Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted September 23, 2010 Share Posted September 23, 2010 Looks like there is an extra widget tag, try deleting the </widget> from this bit of the file (which should be on line 70): </widget> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"> Link to post Share on other sites More sharing options...
Barkermush Posted September 23, 2010 Author Share Posted September 23, 2010 That fixed it thanks. I have been changing the offset values to get it just right, but i can't get the Club logo to move over to the left anymore. I've tried changing it to -85 and then -95 but the club logo is not changing position? I'd like to get it closer to the edge away from the player picture. This what i have edited: <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="-30" gap="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!-- Club Logo --> <widget class="picture" id="pict" transparency="0.2" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="left"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="-95" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> <!-- tells the picture to listen to the 'main picture' global property being set, and set its own file property from it --> <attachment class="get_global_attachment" get_property="mnpc" set_property="file" skip_if_null="false"/> <!-- tells the picture to listen for the 'main picture needs recolouring' property and sets its own 'should recolour' property from it --> <attachment class="get_global_attachment" get_property="mprc" set_property="srec" skip_if_null="false"/> <!-- the background, foreground and outline colours of the object we use for recolouring the default main picture if there is one, and it should be recoloured --> <attachment class="get_global_attachment" get_property="bkcl" set_property="rrep"/> <attachment class="get_global_attachment" get_property="fcol" set_property="grep"/> <attachment class="get_global_attachment" get_property="ocol" set_property="brep"/> </widget> <!-- Player Picture --> <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="150" width="150" image_alignment="left"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="-80" priority="1"/> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" priority="1"/> </widget> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="90" /> <layout class="stick_to_sides_attachment" alignment="bottom" inset="1" /> </container> </container> <!-- Attribute Analyser Container --> Link to post Share on other sites More sharing options...
Barkermush Posted September 23, 2010 Author Share Posted September 23, 2010 Also, how would i go about lowering the attribute diagram down to the center? On the default Skin it's more in the center, but on my Skin it's right up at the top. Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted September 23, 2010 Share Posted September 23, 2010 What happens if you change the bolded and underlined numbers below to 1 (try one at a time): <!-- Personal Details --> <panel> <layout class="arrange_vertical_attachment" alignment="top,extend" offset="-18" gap="4"/> <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" /> <!-- WITH PORTRAIT --> <!-- this version of the table is used if the player portrait is visible --> <widget class="table" id="pld1" mode="printable, fill_rows" layout="20,140,20,140" fixed_size_rows="true" row_spacing="0" row_height="18"> Link to post Share on other sites More sharing options...
Barkermush Posted September 23, 2010 Author Share Posted September 23, 2010 Edit: Information no longer needed. Link to post Share on other sites More sharing options...
Barkermush Posted September 24, 2010 Author Share Posted September 24, 2010 Edit: Information no longer needed. Link to post Share on other sites More sharing options...
Barkermush Posted September 25, 2010 Author Share Posted September 25, 2010 Ok after alot of trial and error, editing things and seeing what happens i managed to rid of the scroll bar and also fixed a few other niggiling bugs while playing about with alot of the xml's [button colours/font/attribute colours etc]. I think this is going to be the best i can fit all the player picture/team badge and hexagon in. One thing i started doing was changing the font from the horrible Yellow to White, i've managed to change most of the font to white. But there's still some font that i can't find the settings for. After searching this Forum, i found a thread which you gave advise to somebody about changing the font on the Team Overview screen. Which you said Changing the font colour on the club information screen requires editing the team info overview.xml file from the panels folder (if you don't have one for your skin, you'll need to extract the panels.fmf file and copy the above file into the panels folder for your skin).If you locate this set of code (lines #24-29): <list id="column_properties"> <record indx="1"> <colour name="selection"/> <flags id="auto_size" value="vertical"/> </record> </list> You just need to change the words "selection" to a different colour defined in the colours.xml files and that will change the colour of the fonts in the right hand columns. I don't have a team info overview.xml in the Skin i'm using but i do have a "team information.xml" in the Panels folder, but i can't find the above code in it. Here is that xml: <panel> <!-- need to request all info for this panel --> <boolean id="request_facts_and_stats" value="true"/> <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/> <container class="titled_box" id="genr" title="Information"> <layout class="arrange_horizontal_attachment" alignment="right,extend" offset="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/> <!-- state saving information --> <boolean id="scst" value="true"/> <boolean id="sdst" value="true"/> <!-- the contents of the following container should change depending on the option selected in the embedded popup button --> <container id="iSec"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/> <container id="over" hidden="true" file="team info overview"/> <container id="fact" hidden="true" file="team info facts"/> <container id="stat" hidden="true" file="team info stats"/> <container id="stad" hidden="true" file="team info stadium facilities"/> </container> <widget class="table" id="tdki" fixed_size_rows="false" auto_size_rows="true" width="180"> <flags id="layo" value="-1"/> <flags id="mode" value="fill_rows, stripe_rows"/> <integer id="row_spacing" value="0"/> <boolean id="scst" value="true"/> <list id="headings"> <record text="Kit" alignment="left, centre_y"/> </list> <!-- small inset from sides of table --> <list id="column_display_properties"> <record indx="0" alignment="left,centre_y"> <integer id="left" value="4"/> <boolean id="sort_disabled" value="true"/> </record> </list> <!-- The file= below should be replaced in the code with the actual kits for each team! --> <widget class="label" text="Home" row="0" col="0" auto_size="vertical"/> <widget class="kit_picture" id="T_hk" scale_picture="true" width="150" height="150" keep_aspect_ratio="true" row="1" col="0"/> <widget class="label" text="Away" row="2" col="0" auto_size="vertical"/> <widget class="kit_picture" id="T_ak" scale_picture="true" width="150" height="150" keep_aspect_ratio="true" row="3" col="0"/> <widget class="label" id="T_tl" text="Third" row="4" col="0" auto_size="vertical"/> <widget class="kit_picture" id="T_tk" scale_picture="true" width="150" height="150" keep_aspect_ratio="true" row="5" col="0"/> </widget> </container> </panel> These are the Panels in the Skin i'm using, don't know if that helps. Link to post Share on other sites More sharing options...
Ishu Posted September 26, 2010 Share Posted September 26, 2010 I found out how to push the Hex down <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="140" /> <layout class="centre_in_parent_attachment" alignment="vertical" offset="25" /> <layout class="stick_to_sides_attachment" alignment="vertical" inset="1"/> </container> Add this line. Just want to find out how to get the text in hex right. Link to post Share on other sites More sharing options...
Barkermush Posted September 27, 2010 Author Share Posted September 27, 2010 I found out how to push the Hex down<!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="140" /> <layout class="centre_in_parent_attachment" alignment="vertical" offset="25" /> <layout class="stick_to_sides_attachment" alignment="vertical" inset="1"/> </container> Add this line. Just want to find out how to get the text in hex right. Hi, i already sorted it by changing the Row settings, but thanks anyway. Yep i've given up on trying to the text right around the hex, but if you figure out how to sort it, be sure to let me know! You don't by any chance know how to change the Font colour in my question above? [from yellow to white] I've spent the last 2 nights trying to change it, to no avail. I've changed all the Colour settings i can in the SkinName Settings.XML and i've gone through all the other Panels but i can't find the XML that controll's the Team Overview/ Player Overview and injury status font colour... Link to post Share on other sites More sharing options...
Ishu Posted September 28, 2010 Share Posted September 28, 2010 Hi, i already sorted it by changing the Row settings, but thanks anyway. Yep i've given up on trying to the text right around the hex, but if you figure out how to sort it, be sure to let me know! You don't by any chance know how to change the Font colour in my question above? [from yellow to white] I've spent the last 2 nights trying to change it, to no avail. I've changed all the Colour settings i can in the SkinName Settings.XML and i've gone through all the other Panels but i can't find the XML that controll's the Team Overview/ Player Overview and injury status font colour... Oh I figured it out. <!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="-24"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="140" /> <layout class="centre_in_parent_attachment" alignment="vertical" offset="25" /> <layout class="stick_to_sides_attachment" alignment="vertical" inset="1"/> </container> <!-- Club Logo --> See the bold part. Change the gap to -ve. And I don't know about the colour. The skin I'm using is pretty close to the original black skin. I just added a few tweaks and its just perfect now. Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted September 28, 2010 Share Posted September 28, 2010 Sorry I've been busy the last few days. If you want to change the yellow text to white, locate the selection colour code - it'll be in one of the files in the settings folder, either the <SKIN NAME> settings.xml file or the colours.xml file or the fm colours.xml file. If the skin you are using doesn't have a value declared for the selection colour copy this code into one of the xml files located in the settings folder for your skin: <colour name="selection" red="255" green="255" blue="255"/> That will recolour all of the selection text to white from gold/yellow. Link to post Share on other sites More sharing options...
Barkermush Posted September 29, 2010 Author Share Posted September 29, 2010 Oh I figured it out.<!-- Attribute Analyser Container --> <container class="group_box" id="over" row="0" col="0" column_span="5" row_span="10"> <layout class="arrange_horizontal_attachment" alignment="fill" offset="0" gap="-24"/> <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" /> <!-- Attribute Analyser --> <container id="ppaa" file="player profile attribute analyser"> <layout class="centre_in_parent_attachment" alignment="horizontal" offset="140" /> <layout class="centre_in_parent_attachment" alignment="vertical" offset="25" /> <layout class="stick_to_sides_attachment" alignment="vertical" inset="1"/> </container> <!-- Club Logo --> See the bold part. Change the gap to -ve. And I don't know about the colour. The skin I'm using is pretty close to the original black skin. I just added a few tweaks and its just perfect now. Thanks very much. Link to post Share on other sites More sharing options...
Barkermush Posted September 29, 2010 Author Share Posted September 29, 2010 Sorry I've been busy the last few days.If you want to change the yellow text to white, locate the selection colour code - it'll be in one of the files in the settings folder, either the <SKIN NAME> settings.xml file or the colours.xml file or the fm colours.xml file. If the skin you are using doesn't have a value declared for the selection colour copy this code into one of the xml files located in the settings folder for your skin: <colour name="selection" red="255" green="255" blue="255"/> That will recolour all of the selection text to white from gold/yellow. No problems. Thanks, i've finally sorted the colour now. Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.