oJMPx
11 years ago
1 week ago
382
Premium
Is it possible to add the instant result button to any skin?
Have a couple of skins i like, but want the instant result button on them
Is it possible?

Cheers
a31632
17 years ago
5 hours ago
463
Is it possible to add the instant result button to any skin?
Have a couple of skins i like, but want the instant result button on them
Is it possible?

Cheers



Yep, pretty easy actually.

Add this code to the bottom of your "titlebar.xml" in your favorite skin and the button is there:

<!--instant match button-->
<widget class="button" id="INST" size="9" appearance="button/custom/instant/button" width="120" height="20" font="fonts/continue instant" colour="white" alignment="centre" disable_layout_attachments_when_embedded="true">
<translation id="text" translation_id="339740" type="use" value="Instant Result[COMMENT: text for a button that will generate an instant result for the upcoming match rather than having to go through and play it]" />
<record id="click_event" event_id="INST" event_target="glob" />
<layout class="stick_to_sides_attachment" alignment="top,right" inset="70" />

<attachment class="test_global_attachment" get_property="sect" mode="1" set_property="hidn">
<list id="value">
<integer value="phtc" />
<integer value="PhcT" />
<integer value="PhcP" />
<integer value="PhcS" />
<integer value="PhcN" />
<integer value="PhcC" />
<integer value="PhcF" />
<integer value="patc" />
<integer value="PacT" />
<integer value="PacP" />
<integer value="PacS" />
<integer value="PacN" />
<integer value="PacC" />
<integer value="PacF" />
</list>
</attachment>
</widget>


If you want to change the position, size etc. edit the "width", "height" values or the "inset" value at "alignment top,right"
I made an minor update for the Champions League skin that contains the button for it in the "graphics" folder as well as an updated "titlebar.xml" file.
Just check it out through the download option.
luc.velthuis
6 years ago
13 hours ago
54
Premium
Yep, pretty easy actually.

Add this code to the bottom of your "titlebar.xml" in your favorite skin and the button is there:

<!--instant match button-->
<widget class="button" id="INST" size="9" appearance="button/custom/instant/button" width="120" height="20" font="fonts/continue instant" colour="white" alignment="centre" disable_layout_attachments_when_embedded="true">
<translation id="text" translation_id="339740" type="use" value="Instant Result[COMMENT: text for a button that will generate an instant result for the upcoming match rather than having to go through and play it]" />
<record id="click_event" event_id="INST" event_target="glob" />
<layout class="stick_to_sides_attachment" alignment="top,right" inset="70" />

<attachment class="test_global_attachment" get_property="sect" mode="1" set_property="hidn">
<list id="value">
<integer value="phtc" />
<integer value="PhcT" />
<integer value="PhcP" />
<integer value="PhcS" />
<integer value="PhcN" />
<integer value="PhcC" />
<integer value="PhcF" />
<integer value="patc" />
<integer value="PacT" />
<integer value="PacP" />
<integer value="PacS" />
<integer value="PacN" />
<integer value="PacC" />
<integer value="PacF" />
</list>
</attachment>
</widget>


If you want to change the position, size etc. edit the "width", "height" values or the "inset" value at "alignment top,right"
I made an minor update for the Champions League skin that contains the button for it in the "graphics" folder as well as an updated "titlebar.xml" file.
Just check it out through the download option.

can you help me? didnt work for me
mons
18 years ago
1 hour ago
91,121
can you help me? didnt work for me

That's because that code worked for FM14 and the post you replied to is almost 7 years old now

Try this file
Alexandr Footmob
10 years ago
1 week ago
10
Please tell me how to add an instant result button to the skin FM21.

Light Skin by michaeltmurrayuk: https://community.sigames.com/forums/topic/546366-fm21skin-light-skin
kingrobbo
15 years ago
32 minutes ago
11,524
Please tell me how to add an instant result button to the skin FM21.

Light Skin by michaeltmurrayuk: https://community.sigames.com/forums/topic/546366-fm21skin-light-skin


perhaps ask there
Alexandr Footmob
10 years ago
1 week ago
10


There I asked too, but the author says: I don't use it I cannot offer support.

So I decided to find help on the side.
Pascal Franke
7 years ago
1 year ago
1
im looking for such a button, too. isnt there any skin atm that has it included?
Tommy Hughes
12 years ago
5 hours ago
651
im looking for such a button, too. isnt there any skin atm that has it included?


I believe Flut skin has an Instant Result Button. And it's a great skin, regardless.
Alexandr Footmob
10 years ago
1 week ago
10
Up.

No one can help or suggest how to do this?

You'll need to Login to comment