Rodma 2 Posted November 1, 2018 Can someone tell me how to make the winchance work?I see that there are people that work for himThank you Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444584 Posted November 4, 2018 you need to download additional py macro (mod_wn8_chance.py) and edit configs to get it work Quote Share this post Link to post Short link Share on other sites
Rodma 2 #444689 Posted November 6, 2018 I already had it activated, but it still does not work Quote Share this post Link to post Short link Share on other sites
Andyss 16 #444722 Posted November 6, 2018 download this mod_wn8_chance.py add this line to battleLabels.xc ${ "battleLabelsTemplates.xc":"def.teamRating"}, and these to battleLabelsTemplates.xc "teamRating": { "enabled": true, "updateEvent": "PY(ON_UPDATE_TEAM_RATING)", "align": "left", "screenHAlign": "left", "x": 25, "y": 440, "shadow": { "distance": 0, "angle": 45, "alpha": 90, "blur": 4, "strength": 2 }, "textFormat": { "font": "$FieldFont", "color": "0xEEEEEE", "size": 15, "align": "left" }, "format": "Team WN8: <font color='{{py:alliesAliveRatingRatio>=0?#00EE00|#EE0000}}'>{{py:alliesAliveRating}} - {{py:enemiesAliveRating}}</font> WinChance <font color='{{py:alliesAliveRatingRatio>=0?#00EE00|#EE0000}}'>{{py:alliesAliveRatingRatio}}%</font>" }, Quote Share this post Link to post Short link Share on other sites
Rodma 2 #444732 Posted November 7, 2018 Thanks, it works.I had this and it did not work, I do not understand Quote "teamRating": { "enabled": true, "hotKeyCode": 56, "onHold": true, "visibleOnHotKey": false, "updateEvent": "PY(ON_UPDATE_TEAM_RATING)", "x": 230, "y": 2, "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 }, "textFormat": { "font": "$TextFont", "size": 13, "bold": true }, "format": "Team WN8: <font color='{{py:alliesAliveRatingRatio>=50?#00EE00|#EE0000}}'>{{py:alliesAliveRating}} {{py:alliesAliveRatingRatio=50?=|{{py:alliesAliveRatingRatio>50?>|<}}}} {{py:enemiesAliveRating}}</font>" }, Quote Share this post Link to post Short link Share on other sites
Rodma 2 #454536 Posted March 24, 2019 What should I modify so that I can work with the new version of xvm? Thank you Quote Share this post Link to post Short link Share on other sites
Andyss 16 #454627 Posted March 24, 2019 (edited) check that you have ${ "battleLabelsTemplates.xc":"def.teamRating"}, in battleLabels.xc , winchance should work as earlier. nothing really changed Edited March 24, 2019 by Andyss Quote Share this post Link to post Short link Share on other sites
Rodma 2 #454647 Posted March 24, 2019 thanks, change the battleLabels.xc file unintentionally Quote Share this post Link to post Short link Share on other sites
Andyss 16 #454674 Posted March 24, 2019 had same thing... :) Quote Share this post Link to post Short link Share on other sites