Jump to content
Korean Random
Sign in to follow this  
Rodma

WinChance no run

Recommended Posts

Can someone tell me how to make the winchance work?

I see that there are people that work for him


Thank you

Share this post


Link to post

Short link
Share on other sites

you need to download additional py macro (mod_wn8_chance.py)  and  edit configs to get it work

 

 

 

Share this post


Link to post

Short link
Share on other sites

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>"

},

 

 

 

 

 

 

 

 

 

Share this post


Link to post

Short link
Share on other sites

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?&gt;|&lt;}}}} {{py:enemiesAliveRating}}</font>"
       },
 

 

Share this post


Link to post

Short link
Share on other sites

check that you have ${ "battleLabelsTemplates.xc":"def.teamRating"},       in   battleLabels.xc , winchance should work as earlier. nothing really changed

Edited by Andyss

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...