stevemc Posted October 22, 2022 Share Posted October 22, 2022 (edited) Evening all, I'm after having the players faces on the subs bench in match, instead of shirts. I had this set up in FM21 and FM22 but for some reason I can't get it to work in FM23 - any Ideas? I know it's controlled by this file: /Users/NAME/Library/Application Support/Sports Interactive/Football Manager 2023/skins/fm23BaseTrans/panels/widgets/match players bar widget.xml FM23: Standard Bench (I want faces instead of the shirts) So it looks like this (face, number, heart): FM23 Code in match players bar widget.xml Quote <panel> <list id="properties_to_add_to_context"> <integer value="Ttea"/> </list> <list id="properties_to_forward"> <record get_property="aprn" target="bpic" set_property="file"/> <record get_property="rrep" target="bpic" set_property="rrep"/> </list> <flags id="titA" value="menus/standard/heading_item"/> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/> <widget class="picture" file="boxes/custom/match/card/paper" id="bpic" scale_picture="true" keep_aspect_ratio="false"/> <container class="container_with_mouse_events" id="cefw"> <attachment_group class="vertical_arrange" vertical_alignment="bottom,extend" vertical_offset="0,0,0,0" horizontal_inset="0" vertical_gap="0"/> <container> <attachment_group class="vertical_arrange" vertical_alignment="top,extend" vertical_offset="0" horizontal_inset="2" vertical_gap="2"/> <container height="6"/> <container height="16"> <attachment_group class="horizontal_arrange" horizontal_layout="16,-1,16" horizontal_gap="0" horizontal_offset="0"/> <!--Goal icon if needed--> <widget class="client_object_property_panel" property="MPgl" id="MPgl"> <record id="widget_properties"> <flags id="scale_picture" value="false" /> <flags id="image_alignment" value="top" /> <flags id="auto_size" value="horizontal"/> <boolean id="label_disabled" value="true"/> </record> </widget> <!-- Position--> <widget class="client_object_property_panel" property="Pshp" alignment="bottom,centre_x" height="16"> <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/> <record id="object_property" get_property="objt" set_property="objt" /> <record id="widget_properties"> <string id="appearance" value=""/> <boolean id="disabled" value="true"/> <string id="size" value="xsmall"/> <boolean id="wants_mouse_events" value="false"/> </record> </widget> <!--injury/sub icon if needed--> <widget class="client_object_property_panel" property="PinD" id="PinD"> <record id="widget_properties"> <flags id="label_disabled" value="true" /> </record> </widget> </container> <!--name--> <widget class="person_button" id="name" font="title" alignment="centre,can_scale" auto_size="vertical" disable_link="true" size="small" format="[%person#1-shirt]" navigation_focus_target="false"> <record id="object_property" get_property="objt" set_property="valu" /> </widget> <container> <attachment_group class="horizontal_arrange" horizontal_alignment="middle" horizontal_offset="4" horizontal_gap="2" vertical_inset="4"/> <!-- Player picture --> <widget class="object_portrait_picture" id="pict" scale_picture="true" image_alignment="left, bottom"> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/> <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/> <record id="object_property"> <integer id="get_property" value="objt"/> <integer id="set_property" value="objt"/> </record> </widget> <container> <layout class="stick_to_sides_attachment" alignment="top,right" inset="0" apply_to_children="true"/> <!--injury/red/yellow card --> <container class="inner_box_no_margin" id="inji" height="16" width="16" oSin="true"> </container> </container> <container> <layout class="arrange_vertical_attachment" layout="50, 20" offset="-10" gap="-12"/> <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true"/> <layout class="stick_to_sides_attachment" alignment="right" inset="-20" /> <layout class="stick_to_sides_attachment" alignment="all" inset="0" /> <!--shirt--> <container width="38"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <widget class="shirt_number_label" id="PsnS"/> <container> <layout class="stick_to_sides_attachment" alignment="top,right" inset="0" apply_to_children="true"/> <widget class="picture" file="icons/16px/slightly injured" height="16" width="16" id="inji" scale_picture="true"/> </container> </container> <!--condition icon--> <widget class="client_object_property_panel" property="PcOI" width="16" navigation_focus_target="false" id="PcOI"> <record id="object_property" get_property="objt" set_property="objt" /> <record id="widget_properties"> <boolean id="label_disabled" value="true" /> <boolean id="show_hover_popup" value="false" /> <integer id="width" value="16" /> <flags id="icon_alignment" value="centre"/> </record> </widget> </container> </container> </container> <container class="main_box_no_margin" appearance="boxes/custom/darken/no margin/paper" height="27"> <attachment_group class="horizontal_arrange" horizontal_alignment="middle" horizontal_offset="0" vertical_inset="0" horizontal_gap="4"/> <widget class="body_language_widget" id="Pmtc" label_disabled="true" width="16" icon_alignment="centre" appearance="" navigation_focus_target="false"> </widget> <widget class="match_rating_label_formatted" id="rtIc" format="[%fraction#1-2.1]" dont_format_numeric_grouping="true" alignment="centre" navigation_focus_target="false" auto_size="horizontal" wants_mouse_events="false"> </widget> </container> </container> <!--The button that will get clicks--> <widget class="popup_button" id="abtn" appearance="buttons/custom/over state only/square/button" down_arrow_appearance="" fixed="true" select_event="acsl" default_focus="true"/> </panel> Code that worked in FM22 from the match players bar widget.xml but doesn't work in FM23: Quote <panel> <list id="properties_to_add_to_context"> <integer value="Ttea"/> </list> <list id="properties_to_forward"> <record get_property="aprn" target="bpic" set_property="file"/> <record get_property="rrep" target="bpic" set_property="rrep"/> </list> <flags id="titA" value="menus/standard/heading_item"/> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/> <widget class="picture" file="boxes/custom/match/card/paper" id="bpic" scale_picture="true" keep_aspect_ratio="false"/> <container class="container_with_mouse_events" id="cefw"> <attachment_group class="vertical_arrange" vertical_alignment="bottom,extend" vertical_offset="0,0,0,0" horizontal_inset="0" vertical_gap="0"/> <container> <attachment_group class="vertical_arrange" vertical_alignment="top,extend" vertical_offset="0" horizontal_inset="2" vertical_gap="2"/> <container height="6"/> <container height="16"> <attachment_group class="horizontal_arrange" horizontal_layout="16,-1,16" horizontal_gap="0" horizontal_offset="0"/> <!--Goal icon if needed--> <widget class="client_object_property_panel" property="MPgl" id="MPgl"> <record id="widget_properties"> <flags id="scale_picture" value="false" /> <flags id="image_alignment" value="top" /> <flags id="auto_size" value="horizontal"/> <boolean id="label_disabled" value="true"/> </record> </widget> <!-- Position--> <widget class="client_object_property_panel" property="Pshp" alignment="bottom,centre_x" height="16"> <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/> <record id="object_property" get_property="objt" set_property="objt" /> <record id="widget_properties"> <string id="appearance" value=""/> <boolean id="disabled" value="true"/> <string id="size" value="xsmall"/> <boolean id="wants_mouse_events" value="false"/> </record> </widget> <!--injury/sub icon if needed--> <widget class="client_object_property_panel" property="PinD" id="PinD"> <record id="widget_properties"> <flags id="label_disabled" value="true" /> </record> </widget> </container> <!--name--> <widget class="person_button" id="name" font="title" alignment="centre,can_scale" auto_size="vertical" disable_link="true" size="small" format="[%person#1-shirt]" navigation_focus_target="false"> <record id="object_property" get_property="objt" set_property="valu" /> </widget> <container> <attachment_group class="horizontal_arrange" horizontal_alignment="middle" horizontal_offset="4" horizontal_gap="2" vertical_inset="4"/> <!-- Player picture --> <widget class="object_portrait_picture" id="pict" scale_picture="true" image_alignment="left, bottom"> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/> <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/> <record id="object_property"> <integer id="get_property" value="objt"/> <integer id="set_property" value="objt"/> </record> </widget> <container> <layout class="stick_to_sides_attachment" alignment="top,right" inset="0" apply_to_children="true"/> <!--injury/red/yellow card --> <container class="inner_box_no_margin" id="inji" height="16" width="16" oSin="true"> </container> </container> <container> <layout class="arrange_vertical_attachment" layout="50, 20" offset="-10" gap="-12"/> <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true"/> <layout class="stick_to_sides_attachment" alignment="right" inset="-20" /> <layout class="stick_to_sides_attachment" alignment="all" inset="0" /> <!--shirt--> <container class="tactics_icon_info_panel" id="PsnS" file="" icon_flags="show_number,dont_colour_number,dont_use_player_kits_back" width="38"> <layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true"/> <widget class="tactics_kit_picture" id="kitp" /> </container> <!--condition icon--> <widget class="client_object_property_panel" property="PcOI" width="16" navigation_focus_target="false" id="PcOI"> <record id="object_property" get_property="objt" set_property="objt" /> <record id="widget_properties"> <boolean id="label_disabled" value="true" /> <boolean id="show_hover_popup" value="false" /> <integer id="width" value="16" /> <flags id="icon_alignment" value="centre"/> </record> </widget> </container> </container> </container> <container class="main_box_no_margin" appearance="boxes/custom/darken/no margin/paper" height="27"> <attachment_group class="horizontal_arrange" horizontal_alignment="middle" horizontal_offset="0" vertical_inset="0" horizontal_gap="4"/> <widget class="body_language_widget" id="Pmtc" label_disabled="true" width="16" icon_alignment="centre" appearance="" navigation_focus_target="false"> </widget> <widget class="match_rating_label_formatted" id="rtIc" format="[%fraction#1-2.1]" dont_format_numeric_grouping="true" alignment="centre" navigation_focus_target="false" auto_size="horizontal" wants_mouse_events="false"> </widget> </container> </container> <!--The button that will get clicks--> <widget class="popup_button" id="abtn" appearance="buttons/custom/over state only/square/button" down_arrow_appearance="" fixed="true" select_event="acsl" default_focus="true"/> </panel> Edited October 22, 2022 by stevemc Link to post Share on other sites More sharing options...
DarkXess Posted October 23, 2022 Share Posted October 23, 2022 Did you check this out by any chance? Link to post Share on other sites More sharing options...
stevemc Posted October 23, 2022 Author Share Posted October 23, 2022 @DarkXess Yeah that's helped, thanks! 1 Link to post Share on other sites More sharing options...
Rivanov Posted October 23, 2022 Share Posted October 23, 2022 (edited) This is my match players bar widget.xml match players bar widget.xml Edited October 23, 2022 by Rivanov 7 Link to post Share on other sites More sharing options...
DarkXess Posted October 23, 2022 Share Posted October 23, 2022 31 minutes ago, Rivanov said: This is my match players bar widget.xml match players bar widget.xml 5.4 kB · 0 downloads Where exactly does this go mate? skin/panels/match ? Link to post Share on other sites More sharing options...
Rivanov Posted October 23, 2022 Share Posted October 23, 2022 7 minutes ago, DarkXess said: Where exactly does this go mate? skin/panels/match ? skin/panels/widgets 1 Link to post Share on other sites More sharing options...
IamOverrated Posted October 24, 2022 Share Posted October 24, 2022 On 23/10/2022 at 14:47, Rivanov said: This is my match players bar widget.xml match players bar widget.xml 5.4 kB · 23 downloads What controls the colour of the player name? It's invisible for me Link to post Share on other sites More sharing options...
snowofman Posted October 24, 2022 Share Posted October 24, 2022 4 hours ago, IamOverrated said: What controls the colour of the player name? It's invisible for me same file, in the name widget Link to post Share on other sites More sharing options...
karlcole Posted October 27, 2022 Share Posted October 27, 2022 On 24/10/2022 at 20:34, snowofman said: same file, in the name widget Hi, What do we need to change? mine is also not showing? Thanks Link to post Share on other sites More sharing options...
snowofman Posted October 27, 2022 Share Posted October 27, 2022 24 minutes ago, karlcole said: Hi, What do we need to change? mine is also not showing? Thanks in the widgets/match players bar widget.xml look for the line with class="person_button" in this line put in colour="text" and you should be good Link to post Share on other sites More sharing options...
karlcole Posted October 27, 2022 Share Posted October 27, 2022 5 minutes ago, snowofman said: in the widgets/match players bar widget.xml look for the line with class="person_button" in this line put in colour="text" and you should be good Spot on, thanks! Link to post Share on other sites More sharing options...
snowofman Posted October 27, 2022 Share Posted October 27, 2022 Just now, karlcole said: Spot on, thanks! you're welcome 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