Jump to content
Korean Random
LtDrakis

Colour scale for t-rating

Recommended Posts

After using XVM for some time, I've started to customise it to suit my needs. One thing I've done is to show the player panel with the tank names in a colour scale, based on the win percentage in that tank, by changing lines in playersPanel.xc like so:

 

"formatLeft": "<font color='{{c:t-rating}}' alpha='{{alive?#FF|#80}}'>{{vehicle}}</font>",

 

However, judging from the win rate in my own tanks, the colour scale doesn't seem to follow the definition of "rating" in colors.xc. Subsequently, I've added a "t-rating" definition in colors.xs:

 

"t-rating": [
      { "value": 46.5, "color": ${"def.colorRating.very_bad" } },   //  0   - 46.5  - very bad   (20% of players)
      (...)
      { "value": 101,  "color": ${"def.colorRating.unique"   } }    // 64.5 - 100   - unique     (better then 99.9% of players)
    ],

 

which is basically a copy of the "rating" definition. Unfortunately, that does not change the colour scale in any way. What am I missing?

 

Thanks in advance for any help or pointers.

Share this post


Link to post

Short link
Share on other sites

 

 

What am I missing?
I may guess that you are missing special approximation for first 100 battles on each new tank. 
  • Upvote 1

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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...