oJMPx
8 years ago
3 weeks ago
378
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
13 years ago
20 hours ago
255
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
2 years ago
2 hours ago
21
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
14 years ago
1 hour ago
33,643
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
6 years ago
4 hours ago
4
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
11 years ago
1 minute ago
8,073
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
6 years ago
4 hours ago
4


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
3 years ago
3 weeks ago
1
Premium
im looking for such a button, too. isnt there any skin atm that has it included?
Tommy Hughes
8 years ago
3 hours ago
493
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
6 years ago
4 hours ago
4
Up.

No one can help or suggest how to do this?

You'll need to Login to comment