Jump to content

Scoreboard Team Colour


Alexpuk2002
 Share

Recommended Posts

I am playing around with the scoreboard and trying to re-create the one that is used on Sky Sports EFL games. The closest one to this is the Bundesliga scoreboard that is included in the game. So I am editing that and I have got to the point where I can't figure out how to get the team names and background to show as the kit colours. In the screenshot I am playing as Bradford City and we are playing in black (which is shown as a line under the team name, difficult to see but you can see how it looks on the home team in red). This does not show above and instead is a dark red. Ideally I want to get this to look so the background is the away kit primary colour and the text is the away kit secondary colour. I will post the code of the xml below the screenshot too.Screenshot2023-04-07at12_42_29.thumb.png.f6c60ccd120148455f333b34fd510fca.png

 

<panel>

	<!--Alternate UI mode-->
	<integer id="alSM" value="1" />

	<list id="properties_to_forward">
		<record get_property="disable_animations" set_property="disable_animations" target="clkc"/>
		<record get_property="disable_animations" set_property="disable_animations" target="temc"/>
	</list>

	<attachment_group class="vertical_arrange_autosize_all" vertical_alignment="top" vertical_offset="0" vertical_gap="0" horizontal_alignment="horizontal" horizontal_inset="0" />

	<container id="scbr">
		<attachment_group class="vertical_arrange_autosize_all" vertical_gap="0"/>
		<container height="10">
			<animation class="scale_animation" start_value="0, 1" end_value="1, 1" duration="0.5" delay="0.9" end_mode="hold_end" tween="ease_out" coord_mode="relative_to_target" centre_point="left"/>
			<animation class="fade_animation" start_value="0" end_value="1" duration="0.4" delay="1" end_mode="hold_end"/>

			
			<attachment_group class="horizontal_arrange_autosize" horizontal_gap="0" horizontal_offset="10" />

			<widget class="spacer">
				<string id="create_if" value="distribution_is_apple"/>
				<global id="width" name="ui.safe_area_left"/>
			</widget>

			<!--Make sure this matches the mtSA container below-->
			<widget class="spacer" width="88"/>

			<widget class="spacer" id="BLsp" width="45" hidden="true"/>

			<container width="255">
				<attachment_group class="horizontal_arrange" horizontal_layout="-1,75,-1" vertical_inset="2" horizontal_gap="0"/>
				<container>
					<attachment_group class="horizontal_arrange_vertical_autosize" horizontal_gap="0" horizontal_offset="10" />
					<container class="main_box_no_margin" id="T1rc" red_replacement="red" blue_replacement="red" appearance="boxes/custom/solid/paper" height="10" width="13" />
				</container>
				<widget class="spacer"/>
				<container>
					<attachment_group class="horizontal_arrange_vertical_autosize" horizontal_gap="0" horizontal_offset="10" horizontal_alignment="right"/>
					<container class="main_box_no_margin" id="T2rc" red_replacement="red" blue_replacement="red" appearance="boxes/custom/solid/paper" height="10" width="13" />
				</container>
			</container>
			<widget class="spacer"/>
			<widget class="spacer"/>

		</container>
		<container height="30" id="mtSA">

			<attachment_group class="horizontal_arrange_autosize" horizontal_gap="0" horizontal_offset="10"/>
			<widget class="spacer">
				<string id="create_if" value="distribution_is_apple"/>
				<global id="width" name="ui.safe_area_left"/>
			</widget>
			<container width="38">
				<attachment_group class="vertical_arrange" vertical_alignment="top" vertical_offset="0" vertical_gap="0" />
				<container height="30" class="main_box_no_margin" appearance="">

					<animation class="translate_animation" start_value="-1, 0" end_value="0, 0" duration="0.4" delay="0" end_mode="hold_end" tween="ease_out_4" coord_mode="relative_to_target"/>
					<animation class="fade_animation" start_value="0" end_value="1" duration="0.3" delay="0.8" end_mode="hold_end"/>

					<attachment_group class="vertical_arrange" vertical_alignment="middle" vertical_offset="0" vertical_gap="0" />
					<!-- Competition icon
					<widget class="value_based_picture" id="coIC" scale_picture="true" image_alignment="centre" height="30" >
						<list id="value_list">
							<record value="22" file="pictures/logos/custom/comps/ger/BL grey small"/>
							<record value="23" file="pictures/logos/custom/comps/ger/BL2 grey small"/>
							<record value="92030194" file="pictures/logos/custom/comps/ger/supercup grey small"/>
						</list>
					</widget -->

				</container>
			</container>

			<!--clock-->

			<container width="55">
				<attachment_group class="vertical_arrange" vertical_alignment="top" vertical_offset="0" vertical_gap="0" />
				<container height="30" class="main_box_no_margin" appearance="boxes/custom/solid/paper" red_replacement="fg" id="clkc">

					<animation class="translate_animation" start_value="-1, 0" end_value="0, 0" duration="0.4" delay="0" end_mode="hold_end" tween="ease_out_4" coord_mode="relative_to_target"/>
					<animation class="fade_animation" start_value="0" end_value="1" duration="0.3" delay="0.8" end_mode="hold_end"/>

					<attachment_group class="vertical_arrange" vertical_alignment="middle" vertical_offset="0" vertical_gap="0" />

					<!--clock-->
					<container id="ClkC">
						<attachment_group class="vertical_arrange_autosize" vertical_alignment="middle" vertical_gap="0" horizontal_inset="0" />

						<record id="default_properties" auto_size="vertical" alignment="centre" />

						<container height="22">
							<attachment_group class="horizontal_arrange" horizontal_alignment="middle,extend" horizontal_gap="4" horizontal_offset="2" vertical_inset="0,0,4,0" />

							<widget class="text" id="Mclk" size="12" font="bundesliga" alignment="centre" >
								<!--Alternate UI mode-->
								<integer id="alSM" value="1" />
							</widget>
							<widget class="text" id="ClkT" size="12" font="bundesliga" alignment="centre_y,auto_fit">
								<integer id="alSM" value="1" />
							</widget>

						</container>
					</container>

				</container>
			</container>

			<container height="30" width="40" id="MijC"  class="main_box_no_margin" appearance="boxes/custom/solid/paper" red_replacement="fg">

				<attachment_group class="horizontal_arrange" horizontal_alignment="middle,extend" horizontal_gap="4" horizontal_offset="2" vertical_inset="0,0,4,0" />
				<!--injury time indicator-->
				<widget class="text" id="Mijt" size="12" font="bundesliga" colour="white" hidden="true" alignment="centre" >
					<integer id="alSM" value="1" />
				</widget>
			</container>



			<!--team names and score-->
			<container width="247" id="temc">

				<animation class="scale_animation" start_value="0, 1" end_value="1, 1" duration="0.5" delay="0.9" end_mode="hold_end" tween="ease_out" coord_mode="relative_to_target" centre_point="left"/>
				<animation class="fade_animation" start_value="0" end_value="1" duration="0.4" delay="1" end_mode="hold_end"/>

				<attachment_group class="horizontal_arrange" horizontal_layout="-1,55,-1,70" vertical_inset="0" horizontal_gap="0"/>


				<container class="client_object_viewer_xml_panel" id="T1Co" override_with_object="true">
					<attachment_group class="horizontal_arrange" horizontal_layout="-1" vertical_inset="0" horizontal_gap="0"/>
					<container class="main_box_no_margin" id="t1CB" appearance="boxes/custom/bundesliga/match/bundesliga team background">
						<attachment_group class="horizontal_arrange" horizontal_layout="-1" vertical_inset="-3" horizontal_gap="0"/>
						<record id="object_property">
							<integer id="get_property" value="tbcl" />
							<integer id="set_property" value="blue_replacement" />
						</record>

						<widget class="text_button" id="T1nm" font="bundesliga-condensed" size="12" alignment="top" click_event="htac" navigation_focus_target="false" multiline="true">
							<record id="object_property">
								<integer id="get_property" value="ttbw" />
								<integer id="set_property" value="colour" />
							</record>
						</widget>
					</container>
				</container>

				<container id="MInf">
					<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/>
					<container class="main_box_no_margin" appearance="boxes/custom/bundesliga/match/bundesliga score" red_replacement="grey 800" navigation_focus_target="false" >
						<attachment_group class="horizontal_arrange" horizontal_alignment="middle" horizontal_gap="4" horizontal_offset="0" vertical_inset="-1" />
						<widget class="text" id="T1sc" size="12" font="bundesliga" alignment="right" colour="white" auto_size="all"/>
						<widget class="text" size="12" font="bundesliga" alignment="top" text="-" colour="white" auto_size="all"/>
						<widget class="text" id="T2sc" size="12" font="bundesliga" alignment="left" colour="white" auto_size="all"/>
					</container>
				</container>

				<container class="client_object_viewer_xml_panel" id="T2Co" override_with_object="true">
					<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/>
					<container class="main_box_no_margin" id="t2CB" appearance="boxes/custom/bundesliga/match/bundesliga team background">
						<attachment_group class="horizontal_arrange" horizontal_layout="-1" vertical_inset="-3" horizontal_gap="0"/>

						<record id="object_property">
							<integer id="get_property" value="tbcl" />
							<integer id="set_property" value="blue_replacement" />
						</record>
						<widget class="text_button" id="T2nm" font="bundesliga-condensed" size="12" alignment="top" click_event="htac" navigation_focus_target="false" multiline="true">
							<record id="object_property">
								<integer id="get_property" value="ttbw" />
								<integer id="set_property" value="colour" />
							</record>
						</widget>
					</container>
				</container>

				<container class="main_box_no_margin" id="asco" appearance="boxes/custom/bundesliga/match/bundesliga score" red_replacement="grey 800" >
					<attachment_group class="horizontal_arrange_vertical_autosize" horizontal_alignment="middle"  horizontal_gap="2" horizontal_offset="0" vertical_inset="0" />

					<widget class="text" id="T1as" size="12" font="bundesliga" alignment="right" colour="white" auto_size="all"/>
					<widget class="text" size="12" font="bundesliga" alignment="top" text="-" colour="white" auto_size="all"/>
					<widget class="text" id="T2as" size="12" font="bundesliga" alignment="left" colour="white" auto_size="all"/>

				</container>
			</container>
		</container>
	</container>
	<widget class="button" appearance="" navigation_focus_target="false">
		<!--Dark Magic xml shenanigans to make this button match the above container, while also allowing us to keep the autosize horizontal-->
		<layout class="stick_to_object_attachment" id="align_top" offset="0" get_side="top" set_side="top" target="scbr" />
		<layout class="stick_to_object_attachment" id="align_bottom" offset="0" get_side="bottom" set_side="bottom" target="scbr" />
		<layout class="stick_to_object_attachment" id="align_left" offset="0" get_side="left" set_side="left" target="scbr" />
		<layout class="stick_to_object_attachment" id="align_right" get_side="right" set_side="right" target="scbr" />
		<record id="click_event">
			<flags id="event_id" value="TNeV" />
			<integer id="evfl" value="7" />
			<flags id="evtg" value="root" />
		</record>
	</widget>
</panel>

 

Link to post
Share on other sites

So I have been making some progress with my match scoreboard, but there are just a couple of tweaks I would like to make which I am struggling to implement. Below is how my scoreboard looks now, but what I am wanting to do is to move the match clock from the left to the right (where the injury time clock and added minutes is shown at the moment). Then when the injury time appears I want this to be shown with a red background and white text. That bit should be straight forward but moving the match clock to be shown on the right instead of the left is what I am having issues with.

Screenshot2023-04-10at14_57_25.thumb.png.860f707997d116d7e5ad5dcb0713d59d.png

This is currently what my code looks like

<panel>

	<!--Alternate UI mode-->
	<integer id="alSM" value="5" />

	<list id="properties_to_forward">
		<record get_property="disable_animations" set_property="disable_animations" target="clkc"/>
		<record get_property="disable_animations" set_property="disable_animations" target="temc"/>
	</list>
	<attachment_group class="vertical_arrange_autosize_all" vertical_alignment="top" vertical_offset="0" vertical_gap="0" horizontal_alignment="horizontal" horizontal_inset="0" />

	<container id="scbr">
		<attachment_group class="vertical_arrange_autosize_all" vertical_gap="0"/>
		<container height="10">
			<attachment_group class="horizontal_arrange_autosize" horizontal_gap="0" horizontal_offset="10" vertical_inset="3,0,0,0"/>
			<widget class="spacer">
				<string id="create_if" value="distribution_is_apple"/>
				<global id="width" name="ui.safe_area_left"/>
			</widget>
			<!--Make sure this matches the mtSA container below-->
			<widget class="spacer" width="220"/>
			<container class="main_box_no_margin" id="T1rc" red_replacement="red" blue_replacement="red" appearance="boxes/custom/solid/paper" height="5" width="10" />
			<widget class="spacer" width="115"/>

			<container class="main_box_no_margin" id="T2rc" red_replacement="red" blue_replacement="red" appearance="boxes/custom/solid/paper" height="5" width="10" />

		</container>
		
		<container id="mtSA" height="30">
			<attachment_group class="horizontal_arrange_autosize" horizontal_gap="0" horizontal_offset="10"/>
			<widget class="spacer">
				<string id="create_if" value="distribution_is_apple"/>
				<global id="width" name="ui.safe_area_left"/>
			</widget>
			
			<container  class="main_box_no_margin" appearance="boxes/custom/efl/match/scorebar/round/paper" red_replacement="black"  >
				<attachment_group class="horizontal_arrange_autosize" horizontal_gap="-15"/>

				<container id="clkc" width="75">
					<attachment_group class="horizontal_arrange" horizontal_gap="10" horizontal_offset="1" vertical_alignment="vertical" horizontal_alignment="left, extend" vertical_inset="0"/>
					<!--widget class="value_based_picture" id="coIC" image_alignment="centre" red_replacement="efl blue" scale_picture="true" width="100">
						<list id="value_list">
							<record value="12" file="pictures/logos/custom/comps/eng/efl_skybet_horizontal_short"/>
							<record value="13" file="pictures/logos/custom/comps/eng/efl_skybet_horizontal_short"/>
							<record value="14" file="pictures/logos/custom/comps/eng/efl_skybet_horizontal_short"/>
							<record value="1301427" file="pictures/logos/custom/comps/eng/efl_cup_horizontal_short"/>
							<record value="1301429" file="pictures/logos/custom/comps/eng/efl_trophy_horizontal_short"/>
						</list>
					</widget-->

					<container>
						<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/>
						<widget class="text" id="Mclk" size="14" font="efl bold" colour="efl blue" alignment="left,centre_y" >
							<layout class="stick_to_sides_attachment" alignment="bottom" inset="2"/>
							<!--Alternate UI mode-->
							<integer id="alSM" value="5" />
						</widget>

						<widget class="text" id="ClkT" font="title" colour="white" alignment="centre_y,auto_fit">
							<layout class="stick_to_sides_attachment" alignment="bottom" inset="2"/>
							<!--Alternate UI mode-->
							<integer id="alSM" value="5" />
						</widget>
					</container>

					
				</container>

				<widget class="spacer" width="35"/>

				<!--team names and score-->
				<container id="temc">
					<attachment_group class="horizontal_arrange_autosize" vertical_inset="0" horizontal_gap="0"/>

					<container class="client_object_viewer_xml_panel" width="80" id="T1Co" override_with_object="true">
						<attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" vertical_inset="0" horizontal_gap="0"/>

						<container class="main_box_no_margin" appearance="boxes/custom/efl/match/scorebar/left/paper" id="t1CB">
							<attachment_group class="horizontal_arrange" horizontal_alignment="right,extend" vertical_inset="0" horizontal_gap="0"/>

							<widget class="text_button" id="T1nm" font="efl bold" size="13" alignment="centre" click_event="htac" navigation_focus_target="false" multiline="true">
								<layout class="stick_to_sides_attachment" alignment="bottom" inset="2"/>
							</widget>

						</container>
					</container>

					<container id="MInf" width="55">
						<layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0"/>
						<container class="main_box_no_margin" appearance="boxes/custom/efl/match/scorebar/middle/paper" red_replacement="black" navigation_focus_target="false" >
							<attachment_group class="horizontal_arrange" horizontal_alignment="middle" horizontal_gap="4" horizontal_offset="0" vertical_inset="0,0,0,0"/>
							<widget class="text" id="T1sc" size="14" font="title" alignment="right,centre_y" colour="white" auto_size="horizontal"/>
							<widget class="text" size="13" font="title" alignment="centre" text="-" colour="white" auto_size="horizontal"/>
							<widget class="text" id="T2sc" size="14" font="title" alignment="left,centre_y" colour="white" auto_size="horizontal"/>
						</container>
					</container>

					<container class="client_object_viewer_xml_panel" width="80" id="T2Co" override_with_object="true">
						<attachment_group class="horizontal_arrange" horizontal_alignment="right,extend" vertical_inset="0" horizontal_gap="0"/>

						<container class="main_box_no_margin" appearance="boxes/custom/efl/match/scorebar/right/paper" id="t2CB">
							<attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" vertical_inset="0" horizontal_gap="0"/>

							<widget class="text_button" id="T2nm" font="efl bold" size="13" alignment="centre" click_event="htac" navigation_focus_target="false" multiline="true">
								<layout class="stick_to_sides_attachment" alignment="bottom" inset="2"/>
							</widget>
						</container>
					</container>


				</container>

				<container class="main_box_no_margin" width="70" id="asco" appearance="boxes/custom/efl/match/scorebar/aggregate/paper" red_replacement="efl blue">
					<attachment_group class="horizontal_arrange_autosize" horizontal_alignment="middle"  horizontal_gap="2" horizontal_offset="8" vertical_inset="0,0,4,0" />

					<widget class="text" id="T1as" size="13" font="efl bold" alignment="right,centre_y" colour="white" auto_size="horizontal"/>
					<widget class="text" size="13" font="efl bold" alignment="centre" text="•" colour="white" auto_size="horizontal"/>
					<widget class="text" id="T2as" size="13" font="efl bold" alignment="left,centre_y" colour="white" auto_size="horizontal"/>

				</container>

				<container id="McIC" class="main_box_no_margin" >
					<attachment_group class="horizontal_arrange_autosize" vertical_inset="0,0,4,0" horizontal_offset="4" horizontal_gap="4"/>

					<widget class="spacer" width="10"/>

					
					<widget class="text" id="McIt" font="efl bold"  alignment="centre" colour="efl blue" size="14" width="65"/>

					<!--injury time indicator-->
					<container id="MijC" class="main_box_no_margin">
						<attachment_group class="horizontal_arrange_autosize" vertical_inset="0" horizontal_offset="0"/>

						<widget class="text" id="Mijt" auto_size="horizontal" font="efl bold" alignment="centre" colour="red" size="14" usMT="true"/>

					</container>

				</container>
				

			
			</container>
		</container>
		
	</container>
	<widget class="button" appearance="" navigation_focus_target="false">
		<!--Dark Magic xml shenanigans to make this button match the above container, while also allowing us to keep the autosize horizontal-->
		<layout class="stick_to_object_attachment" id="align_top" offset="0" get_side="top" set_side="top" target="scbr" />
		<layout class="stick_to_object_attachment" id="align_bottom" offset="0" get_side="bottom" set_side="bottom" target="scbr" />
		<layout class="stick_to_object_attachment" id="align_left" offset="0" get_side="left" set_side="left" target="scbr" />
		<layout class="stick_to_object_attachment" id="align_right" get_side="right" set_side="right" target="scbr" />
		<record id="click_event">
			<flags id="event_id" value="TNeV" />
			<integer id="evfl" value="7" />
			<flags id="evtg" value="root" />
		</record>
	</widget>

</panel>

 

Edited by Alexpuk2002
Added in my match score area.xml code
Link to post
Share on other sites

Ok, so it seems that my custom match titlebar.xml file doesn't let the team colours show. Removing it and using the default one allows the team colours but then it won't let me change the colour of the match clock from efl blue to white.

I have dabbled quite a bit with xml's and skins but the match screen and particularly the match score area is just beyond my knowledge

Link to post
Share on other sites

11 hours ago, Alexpuk2002 said:

Ok, so it seems that my custom match titlebar.xml file doesn't let the team colours show. Removing it and using the default one allows the team colours but then it won't let me change the colour of the match clock from efl blue to white.

I have dabbled quite a bit with xml's and skins but the match screen and particularly the match score area is just beyond my knowledge

Put this at the top of your match titlebar 

    <panel colour_team_names="false" colour_team_scores="false">
 

i'll help more with the rest in a couple of days, just away with the missus atm so im limited with what i can do

Link to post
Share on other sites

4 hours ago, bluestillidie00 said:

Put this at the top of your match titlebar 

    <panel colour_team_names="false" colour_team_scores="false">
 

i'll help more with the rest in a couple of days, just away with the missus atm so im limited with what i can do

Thanks for that mate. I had seen that and tried it and it does change the colour of the team text which is a good start.

Saw in the scoreboard mod that @michaeltmurrayuk did for FM21 that you have to point the teams to use the match incidents panels but that is beyond my knowledge on how to implement that to work.

Enjoy your time away with the missus

Link to post
Share on other sites

17 hours ago, Alexpuk2002 said:

Thanks for that mate. I had seen that and tried it and it does change the colour of the team text which is a good start.

Saw in the scoreboard mod that @michaeltmurrayuk did for FM21 that you have to point the teams to use the match incidents panels but that is beyond my knowledge on how to implement that to work.

Enjoy your time away with the missus

If you look at the efl scoreboards, it'll show you how to have the team colours on the scoreboard. Here's from an upcoming BT Sport version

image.png.67751397d7e08efef26e9193fb3ec5ce.png

Link to post
Share on other sites

5 hours ago, bluestillidie00 said:

If you look at the efl scoreboards, it'll show you how to have the team colours on the scoreboard. Here's from an upcoming BT Sport version

image.png.67751397d7e08efef26e9193fb3ec5ce.png

I am using the efl scoreboards as a base to edit and this is the way the team colours are set up. I have managed to get the team colours working but I cannot change the colour of the match clock text. I would like to change the background of the clock to black, which I can do, but trying to change the colour of the text to white just doesn't work. It just stays the efl blue colour.

I am also trying to move the match clock from the left of the screen, to the right after the away team is shown. The efl scoreboard does start on the left and then when it gets to the injury time, the clock then appears on the right where I want it to be all the time. Ideally when the injury time is displayed I would like the background to change to red and the clock to still tick with the added time shown next to it.

Hope that all makes sense

Link to post
Share on other sites

7 hours ago, Alexpuk2002 said:

I am using the efl scoreboards as a base to edit and this is the way the team colours are set up. I have managed to get the team colours working but I cannot change the colour of the match clock text. I would like to change the background of the clock to black, which I can do, but trying to change the colour of the text to white just doesn't work. It just stays the efl blue colour.

I am also trying to move the match clock from the left of the screen, to the right after the away team is shown. The efl scoreboard does start on the left and then when it gets to the injury time, the clock then appears on the right where I want it to be all the time. Ideally when the injury time is displayed I would like the background to change to red and the clock to still tick with the added time shown next to it.

Hope that all makes sense

the match clock text colour has been hard coded, the only way you can change them is the alternate UI values at the top. I think 1 gives you white text. 

The clock move is easy enough, it's just an autosize container so make sure your layouts are right. There should be a container with the id temc or something like that, the clock goes AFTER that, not inside it

Link to post
Share on other sites

51 minutes ago, bluestillidie00 said:

the match clock text colour has been hard coded, the only way you can change them is the alternate UI values at the top. I think 1 gives you white text. 

The clock move is easy enough, it's just an autosize container so make sure your layouts are right. There should be a container with the id temc or something like that, the clock goes AFTER that, not inside it

I have changed the alternate UI at the top of the panel to 3 which changes the colour of the clock to white which is what I want.

Trouble is now the team colours aren't showing as the correct colour for the kits that are being played. Changing the alternate UI back to 5 at the top changes the team colours to the correct colours for the kit, but then changes the clock text back to efl blue. I have even changed the panel colour_team_names="true" in the match titlebar panel, which changed the text to the right colour but the background isn't correct. Below is a copy of my code, maybe you can see some issue with it.

https://pastebin.com/qBj66XMG

Screenshot2023-04-12at17_48_02.thumb.png.a16b06cd5f3b96b293e846612e61db53.png

Link to post
Share on other sites

11 minutes ago, Alexpuk2002 said:

I have changed the alternate UI at the top of the panel to 3 which changes the colour of the clock to white which is what I want.

Trouble is now the team colours aren't showing as the correct colour for the kits that are being played. Changing the alternate UI back to 5 at the top changes the team colours to the correct colours for the kit, but then changes the clock text back to efl blue. I have even changed the panel colour_team_names="true" in the match titlebar panel, which changed the text to the right colour but the background isn't correct. Below is a copy of my code, maybe you can see some issue with it.

https://pastebin.com/qBj66XMG

Screenshot2023-04-12at17_48_02.thumb.png.a16b06cd5f3b96b293e846612e61db53.png

looks on to me, id just try experiment with the alternate UI modes. I'll check what i done later on

Link to post
Share on other sites

5 minutes ago, bluestillidie00 said:

looks on to me, id just try experiment with the alternate UI modes. I'll check what i done later on

I'll have a look. I have noticed there are 2 alternate UI's further down which I am not sure what they do. I was just changing them all at the same time to no success.

Is there a top end value that it goes up to? I have assumed that 5 is the maximum that is to be used

Link to post
Share on other sites

10 minutes ago, Alexpuk2002 said:

I'll have a look. I have noticed there are 2 alternate UI's further down which I am not sure what they do. I was just changing them all at the same time to no success.

Is there a top end value that it goes up to? I have assumed that 5 is the maximum that is to be used

i haven't investigated so i'm not sure tbh

Link to post
Share on other sites

18 minutes ago, bluestillidie00 said:

i haven't investigated so i'm not sure tbh

I'll see what you come up with when you check your score panel later on.

Essentially this is the look of the scoreboard that I am trying to create. Still can't figure out how to move the match clock and then get it to do what is shown below.

vlcsnap-2022-08-09-13h56m47s328.jpg.a64cf6bfa42a78ef9ed86e56783938aa.jpg 

DjtCbdLXcAEddyd.jpg.d702e83f91f9c1326cc31d929179777a.jpg

Link to post
Share on other sites

Now I have got the match clock to where I want it to be, I am wondering if you can help me set it up how I want. At the moment the match clock gets to either 45mins or 90mins and then stops. A new clock then appears next to it which starts at 0mins and goes up to however many added minutes there are. Next to that is the injury time indicator shown as +4 for example.

What I am hoping to do is to have the match clock carry on from 90mins so it shows as 91, 92 etc, and then the injury time shown next to it.

Below is how it looks now:

Screenshot2023-04-12at21_23_40.png.7dbb0d24e96aec837ac779aaf327e414.png

This is how I would like it to be shown:

DjtCbdLXcAEddyd.jpg.c0c7fa7d110e2160692aac67b725a88c.jpg

Link to post
Share on other sites

11 hours ago, Alexpuk2002 said:

Now I have got the match clock to where I want it to be, I am wondering if you can help me set it up how I want. At the moment the match clock gets to either 45mins or 90mins and then stops. A new clock then appears next to it which starts at 0mins and goes up to however many added minutes there are. Next to that is the injury time indicator shown as +4 for example.

What I am hoping to do is to have the match clock carry on from 90mins so it shows as 91, 92 etc, and then the injury time shown next to it.

Below is how it looks now:

Screenshot2023-04-12at21_23_40.png.7dbb0d24e96aec837ac779aaf327e414.png

This is how I would like it to be shown:

DjtCbdLXcAEddyd.jpg.c0c7fa7d110e2160692aac67b725a88c.jpg

it don't think it's possible. I can't remember if i've done it on a mod, if i have you'll have to check the clock IDs i used

Link to post
Share on other sites

1 hour ago, bluestillidie00 said:

it don't think it's possible. I can't remember if i've done it on a mod, if i have you'll have to check the clock IDs i used

I was starting to think that maybe it was hard coded.

I did have a play around with the scoreboard mod @michaeltmurrayuk created for FM21. Had a bit of success with that, but I just struggled to get the layout the same as the EFL one that comes with FM23. Might have to revisit it sometime and see if I can figure it out.

Thanks for your help though, its got me to almost getting the result I wanted which is greatly appriciated

Link to post
Share on other sites

I have managed to get the clock text to change from efl blue to white so the look of the scoreboard is how I want it to be.

My next question is, does anyone know how to get the clock to carry on ticking above 45mins and 90mins? At the moment the EFL scoreboard stops at 45mins and 90 mins and a new clock starts next to it from 0mins which is the added time. It looks like this:

Screenshot2023-04-18at10_14_37.png.94633b6634fac7a92398ad293f0b3b0e.png

Ideally what I am trying to create is the main clock to carry on over 45mins and 90mins and when it gets to 45mins and 90mins the background turns from black to red. I have attached my match score area.xml file so you can see how it looks

match score area panel.xml

Link to post
Share on other sites

3 minutes ago, Alexpuk2002 said:

I have managed to get the clock text to change from efl blue to white so the look of the scoreboard is how I want it to be.

My next question is, does anyone know how to get the clock to carry on ticking above 45mins and 90mins? At the moment the EFL scoreboard stops at 45mins and 90 mins and a new clock starts next to it from 0mins which is the added time. It looks like this:

Screenshot2023-04-18at10_14_37.png.94633b6634fac7a92398ad293f0b3b0e.png

Ideally what I am trying to create is the main clock to carry on over 45mins and 90mins and when it gets to 45mins and 90mins the background turns from black to red. I have attached my match score area.xml file so you can see how it looks

match score area panel.xml 8.31 kB · 0 downloads

Ok, so I have managed to get my clock to how I want it and it now looks like this

Screenshot2023-04-18at10_24_09.png.94ee7d7237b1e8ce80bc2e39cbb7b152.png

As I mentioned in the previous post, is there a way when the clock gets to 45mins and 90mins to change the background colour to red? I have attached my match score area.xml file so you can see how it looks.

 

match score area panel.xml

Link to post
Share on other sites

1 hour ago, Alexpuk2002 said:

Ok, so I have managed to get my clock to how I want it and it now looks like this

Screenshot2023-04-18at10_24_09.png.94ee7d7237b1e8ce80bc2e39cbb7b152.png

As I mentioned in the previous post, is there a way when the clock gets to 45mins and 90mins to change the background colour to red? I have attached my match score area.xml file so you can see how it looks.

 

match score area panel.xml 8.32 kB · 1 download

oh very nice. if you look at how i done it in the sky sports epl mod, you'll have to layer the normal time clock on top of the added time background 

Link to post
Share on other sites

4 horas atrás, Alexpuk2002 disse:

Ok, so I have managed to get my clock to how I want it and it now looks like this

Screenshot2023-04-18at10_24_09.png.94ee7d7237b1e8ce80bc2e39cbb7b152.png

As I mentioned in the previous post, is there a way when the clock gets to 45mins and 90mins to change the background colour to red? I have attached my match score area.xml file so you can see how it looks.

 

match score area panel.xml 8.32 kB · 2 downloads

This is very nice and reading the entire thread now, I can only imagine the amount of work you have dedicated to reach such a neat solution, congrats and thanks for sharing it with us.

Sorry for such a question, but what should/could I adjust in order to have the teams's full name, instead of the three letter ones?

Once again, brillant work and thank you!

Link to post
Share on other sites

3 hours ago, bluestillidie00 said:

oh very nice. if you look at how i done it in the sky sports epl mod, you'll have to layer the normal time clock on top of the added time background 

@bluestillidie00 I have had a play around with trying to layer the normal clock onto the added time background but I haven't had much look. I'm sure it's something fairly straightforward but I can't for the life on me figure it out. If you wouldn't mind would you be able to have a look at the match score area.xml file I attached above and see if you can point me in the right direction.

Link to post
Share on other sites

24 minutes ago, lugui said:

This is very nice and reading the entire thread now, I can only imagine the amount of work you have dedicated to reach such a neat solution, congrats and thanks for sharing it with us.

Sorry for such a question, but what should/could I adjust in order to have the teams's full name, instead of the three letter ones?

Once again, brillant work and thank you!

I'm not one hundred percent sure but @michaeltmurrayuk created the scoreboard mod for FM21 which I used to get the scoreboard to how I wanted it to be. If you look a few posts down in the link to the post about Team Names Only Version then it should help you to add the long team names in.

https://community.sigames.com/forums/topic/547771-fm21mod-scoreboard-mods/

Link to post
Share on other sites

On 18/04/2023 at 10:26, Alexpuk2002 said:

Ok, so I have managed to get my clock to how I want it and it now looks like this

Screenshot2023-04-18at10_24_09.png.94ee7d7237b1e8ce80bc2e39cbb7b152.png

As I mentioned in the previous post, is there a way when the clock gets to 45mins and 90mins to change the background colour to red? I have attached my match score area.xml file so you can see how it looks.

 

match score area panel.xml 8.32 kB · 12 downloads

Hi mate, is there any chance you could share this so I could use in my game?

Link to post
Share on other sites

4 minutes ago, snowofman said:

a few posts up

Being as clumsy as I am I realised it was already attached above ahaha, only problem is this is what I got when I put it into my game.

Screenshot 2023-04-23 at 21.20.08.png

Is there a way I could change the score and added time text colour to match same as the clock colour?

Edited by lukewm
Link to post
Share on other sites

3 minutes ago, lukewm said:

Being as clumsy as I am I realised it was already attached above ahaha, only problem is this is what I got when I put it into my game.

Screenshot 2023-04-23 at 21.20.08.png

i believe there is a solution in this thread, i can't remember on top of my head.

Link to post
Share on other sites

33 minutes ago, lukewm said:

Being as clumsy as I am I realised it was already attached above ahaha, only problem is this is what I got when I put it into my game.

Screenshot 2023-04-23 at 21.20.08.png

Is there a way I could change the score and added time text colour to match same as the clock colour?

You'll probably need to change the colour in the match score panel.xml file. I have used the colour "fg" so if you search for that and change it to black then that should change the background from white to black.

To change the clock colour, you'll need to go into your settings.xml file and change the match scoreboard clock to white.

Link to post
Share on other sites

18 minutes ago, Alexpuk2002 said:

You'll probably need to change the colour in the match score panel.xml file. I have used the colour "fg" so if you search for that and change it to black then that should change the background from white to black.

To change the clock colour, you'll need to go into your settings.xml file and change the match scoreboard clock to white.

Done mate and it has worked a charm, your work on this is excellent!

Link to post
Share on other sites

image.png.9aff334490603383575ff786e7a66078.png

while the solution works with getting everything else run, the scoreboard has a problem when my team plays with white jersey. In the editor the second color for the jersey and for the club is red, but as you can see, in the scoreboard it is grey. Is there a chance to fix it.

The second thing Perugia got a red card, but the icon for it is so far away in the top right corner.

Otherwise i really like this style of the scoreboard.

Link to post
Share on other sites

2 hours ago, Duckn said:

image.png.9aff334490603383575ff786e7a66078.png

while the solution works with getting everything else run, the scoreboard has a problem when my team plays with white jersey. In the editor the second color for the jersey and for the club is red, but as you can see, in the scoreboard it is grey. Is there a chance to fix it.

The second thing Perugia got a red card, but the icon for it is so far away in the top right corner.

Otherwise i really like this style of the scoreboard.

For the team name colour you'll probably need to look at the top of the match titlebar.xml file and change the team_name_colour="false" to true.

I have noticed the red card indicator is far away but I haven't managed to find a fix for that. Maybe someone else knows how to solve this

Link to post
Share on other sites

1 hour ago, Alexpuk2002 said:

For the team name colour you'll probably need to look at the top of the match titlebar.xml file and change the team_name_colour="false" to true.

I have noticed the red card indicator is far away but I haven't managed to find a fix for that. Maybe someone else knows how to solve this

there's a container with an id of scbr or something to that effect. that basically has a "fake" layout for the red cards, just edit that layout to match your scoreboard.

To make positioning easier, just remove the id from the red card code to make it permanently show, then add it back at the end

Link to post
Share on other sites

4 hours ago, bluestillidie00 said:

there's a container with an id of scbr or something to that effect. that basically has a "fake" layout for the red cards, just edit that layout to match your scoreboard.

To make positioning easier, just remove the id from the red card code to make it permanently show, then add it back at the end

Thanks for that, I'll give that a go and see what I can do.

Did you manage to have a look at the clock background a few posts up. I have had a go at laying the background image for the injury time over the clock so that it shows as red instead of black when the 90mins is reached. Can't quite figure out how to do it

Link to post
Share on other sites

  • 2 weeks later...
Le 12/04/2023 à 15:11, Alexpuk2002 a dit :

Success, I have manage to move the match clock to where I want it to be. Just need to now figure out how to change the clock text while still keeping the team colours.

Screenshot2023-04-12at21_10_05.thumb.png.725d856c41390c60903c5d5f8451ac35.png

 

Hi Alexpuk2002,

Love your work. Would you mind sharing your match screen (with the stadium picture).

Really like it.

 

Best regards,

 

Link to post
Share on other sites

  • 3 weeks later...
14 hours ago, Alexpuk2002 said:

Not sure if it can be done but is there a way to edit how the aggregate score looks? In the screenshot it shows as (5) - (0) but is it possible to have it shown as (5 - 0)?

Screenshot2023-05-18at13_47_37.png.307c1903989cbda6d8dd1b69eb092937.png

Use an autosize horizontal container, and lay it out like this

<widget class="text" auto_size="horizontal" text="(" />


aggregate code with auto_size="horizontal"

<widget class="text" auto_size="horizontal" text=")" />

Link to post
Share on other sites

16 minutes ago, bluestillidie00 said:

Use an autosize horizontal container, and lay it out like this

<widget class="text" auto_size="horizontal" text="(" />


aggregate code with auto_size="horizontal"

<widget class="text" auto_size="horizontal" text=")" />

Thanks for that I'll give it a go.

I am assuming that the aggregate code is the same. I've got the following set for the aggregate at the moment.

<widget class="text" id="T1as" size="13" font="title" alignment="right,centre_y" colour="fg" auto_size="horizontal"/>

<widget class="text" id="T2as" size="13" font="title" alignment="left,centre_y" colour="fg" auto_size="horizontal"/>

Link to post
Share on other sites

22 hours ago, Alexpuk2002 said:

Thanks for that I'll give it a go.

I am assuming that the aggregate code is the same. I've got the following set for the aggregate at the moment.

<widget class="text" id="T1as" size="13" font="title" alignment="right,centre_y" colour="fg" auto_size="horizontal"/>

<widget class="text" id="T2as" size="13" font="title" alignment="left,centre_y" colour="fg" auto_size="horizontal"/>

Look at the UCL files thinking about it

Link to post
Share on other sites

3 hours ago, bluestillidie00 said:

Look at the UCL files thinking about it

Looks to be the same set up as the file I was using. Wonder if it set with the Alternate UI Mode setting.

I have put the suggestions you said in your previous post in but not had a match with an aggregate score to see if it works yet.

Link to post
Share on other sites

En 18/5/2023 a las 16:01, Alexpuk2002 dijo:

Not sure if it can be done but is there a way to edit how the aggregate score looks? In the screenshot it shows as (5) - (0) but is it possible to have it shown as (5 - 0)?

Screenshot2023-05-18at13_47_37.png.307c1903989cbda6d8dd1b69eb092937.png

 

In which line is the partial result in cup matches? in this example would be (5) - (0).

Edited by Nachote912
SOLVED
Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...