-
Content Count
2 -
Joined
-
Last visited
Community Reputation
0 NoobBasic information
-
Gender
Не определилось ;)
Contacts
-
Nick
LtDrakis
-
Colour scale for t-rating
LtDrakis replied to LtDrakis's topic in XVM: English Support and Discussions
Thanks, I'll keep an eye out to see if that explains the differences. -
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.