Statistical Approach Posted April 23, 2016 Share Posted April 23, 2016 Firstly sorry as I've asked this before but I assume it was via PM to someone because I can't find the thread. Anyway. What .xml file do I need to amend to add in the instant result button? and what area of that xml file? I remember it being fairly straight forward but if someone can explain that would be very much appreciate. Thanks Link to post Share on other sites More sharing options...
wkdsoul Posted April 23, 2016 Share Posted April 23, 2016 client objest browser or titlebar xml. depends where you want the button in your skin. There is a mod already, ill find the link. EDIT - http://community.sigames.com/showthread.php/450775-FM16-MOD-RELEASED-Instant-Match-Skins Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 Thank you. The mod won't work as I'm looking to apply it to a heavily customised version of the default dark skin. Where am I looking to make those changes within client object browser or titlebar xml ? Link to post Share on other sites More sharing options...
wkdsoul Posted April 23, 2016 Share Posted April 23, 2016 Most likely the titlebar.xml after the titlebar_search_panel stuff but before the FM dropdown and world/date widgets. Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 Ok. I pasted the below into the client browser because A) it's from the mod you linked to and B) that mod uses the client browser. Will check title bar now. Thanks <!--instant match button--> <widget class="button" id="INST" size="10" appearance="buttons/custom/instant/button" width="150" font="bold" colour="white" alignment="centre"> <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" /> <attachment class="test_global_attachment" get_property="sect" mode="1" set_property="hidn"> <list id="value"> <integer value="phtc" /> <integer value="PhcP" /> <integer value="PhcR" /> <integer value="PhcK" /> <integer value="PhcH" /> <integer value="PhcN" /> <integer value="PhcC" /> <integer value="PhcF" /> <integer value="patc" /> <integer value="PacP" /> <integer value="PacR" /> <integer value="PacK" /> <integer value="PacH" /> <integer value="PacN" /> <integer value="PacC" /> <integer value="PacF" /> </list> </attachment> </widget> </container> </container> Link to post Share on other sites More sharing options...
magick beatty Posted April 23, 2016 Share Posted April 23, 2016 You doing some editing, Statapp? Link to post Share on other sites More sharing options...
Kill Rock Stars Posted April 23, 2016 Share Posted April 23, 2016 title bar an issue? Link to post Share on other sites More sharing options...
el sid Posted April 23, 2016 Share Posted April 23, 2016 You mean the Instant Win Button? Link to post Share on other sites More sharing options...
pearcey_90 Posted April 23, 2016 Share Posted April 23, 2016 Comments not been deleted? Link to post Share on other sites More sharing options...
Welshace Posted April 23, 2016 Share Posted April 23, 2016 Just a quick note... keep it on topic or infractions will ensue... Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 Most likely the titlebar.xml after the titlebar_search_panel stuff but before the FM dropdown and world/date widgets. Most of the way there now but I need to amend the font style and colour (to match everything). Isn't held within the container that I pasted in from the mod. Also when clicking the button the transparency is far too high. Any ideas? Link to post Share on other sites More sharing options...
wkdsoul Posted April 23, 2016 Share Posted April 23, 2016 Yes it is, the first line <widget class="button" id="INST" size="10" appearance="buttons/custom/instant/button" width="150" font="bold" colour="white" alignment="centre"> Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 Yes it is, the first line<widget class="button" id="INST" size="10" appearance="buttons/custom/instant/button" width="150" font="bold" colour="white" alignment="centre"> Perfect, copied and pasted that and it worked exactly as I wanted. Thanks. One last thing -- any idea for the transparency of the box? see below. It's not a huge problem but it's not that clear either and I'd prefer a full opacity box. Thanks again dude. Link to post Share on other sites More sharing options...
wkdsoul Posted April 23, 2016 Share Posted April 23, 2016 The graphic is in the appearance="xxxx" address, if you have one there you'll need to increase/decrease the opacity in a paint tool or point the address to a diff file. Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 Ahh I see, it's pointing toward -- appearance="buttons/custom/instant/button which isn't there at all, not even a instant folder, take it that means it defaults to 0% opacity as there isn't a png in place? Link to post Share on other sites More sharing options...
el sid Posted April 23, 2016 Share Posted April 23, 2016 Yes, you will need to edit that png in iirc. Link to post Share on other sites More sharing options...
wkdsoul Posted April 23, 2016 Share Posted April 23, 2016 Ahh I see, it's pointing toward -- appearance="buttons/custom/instant/button which isn't there at all, not even a instant folder, take it that means it defaults to 0% opacity as there isn't a png in place? Yes you can take a copy of another graphic and place it there, or change the address to another. ie the titlebar address. Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 is it looking for the paper png rather than the multitude of button pngs that are in the interface folder? as I copied that over as all are 100% opacity. Link to post Share on other sites More sharing options...
TCSSkin Posted April 23, 2016 Share Posted April 23, 2016 is it looking for the paper png rather than the multitude of button pngs that are in the interface folder? as I copied that over as all are 100% opacity. Not particularly sure what you're asking here, but what I've done, is I made path called appearance="boxes/custom/instantresult/paper" Make sure the path is 100% correct, and that the file inside the instantresult folder is called paper, and make sure there is a paper.xml file in there too. Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 I was asking what png it was looking for. I've also added paper.png and the paper.xml to buttons/custom/instant/button and get the same transparent look. Link to post Share on other sites More sharing options...
TCSSkin Posted April 23, 2016 Share Posted April 23, 2016 I was asking what png it was looking for. I've also added paper.png and the paper.xml to buttons/custom/instant/button and get the same transparent look. ah right. Just to clarify, are you definately placing the "paper" at the end of the path? Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 No but when I change it to boxes/custom/match/action bar/paper then the instant result becomes hidden / dissapears altogether. Strange. As though it's controlling a layer on top of the button. Link to post Share on other sites More sharing options...
TCSSkin Posted April 23, 2016 Share Posted April 23, 2016 No but when I change it to boxes/custom/match/action bar/paper then the instant result becomes hidden / dissapears altogether. Strange. As though it's controlling a layer on top of the button. I'm not sure then mate, sorry I couldn't help. Link to post Share on other sites More sharing options...
Statistical Approach Posted April 23, 2016 Author Share Posted April 23, 2016 no worries, thanks anyway Link to post Share on other sites More sharing options...
el sid Posted April 24, 2016 Share Posted April 24, 2016 And as always GUISE, thanks for listening. Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.