Jump to content
Korean Random

XVM colors


Recommended Posts

I'll use mine as an example (file is attached).

 

In colors.xc there are 2 main sections - "def" and "colors".

 

Under "def" I've defined the color values (under "colorRatingNew") as follows (I flipped my dark and light greens):

 

"colorRatingNew": {
  "below_average": "0xC00B00",    // red1
  "average":  "0xFE0E00",            // red2
  "above_average": "0xF8AF00",   // orange
  "intermediate": "0xF8F400",       // yellow
  "adequate":       "0x44B400",      // green1
  "good":   "0x60FF00",                // green2
  "very_good":  "0x00FFCC",        // blue1
  "great":   "0x00B4FF",               // blue2
  "unicum":   "0xAE42F3",           // purple1
  "super_unicum": "0x9000FF"     // purple2
},

 

Under "colors" the WN8 and winrate values are as follows:

 

// Dynamic color by WN8 rating
"wn8": [
  { "value": 300,  "color": ${"def.colorRatingNew.below_average" } },
  { "value": 450,  "color": ${"def.colorRatingNew.average"   } },
  { "value": 650,  "color": ${"def.colorRatingNew.above_average" } },
  { "value": 900,  "color": ${"def.colorRatingNew.intermediate"  } },
  { "value": 1200, "color": ${"def.colorRatingNew.adequate"   } },
  { "value": 1600, "color": ${"def.colorRatingNew.good"    } },
  { "value": 2000, "color": ${"def.colorRatingNew.very_good"  } },
  { "value": 2450, "color": ${"def.colorRatingNew.great"   } },
  { "value": 2900, "color": ${"def.colorRatingNew.unicum"   } },
  { "value": 99999, "color": ${"def.colorRatingNew.super_unicum" } }
],
// Dynamic color by win percent
"winrate": [
  { "value": 46,  "color": ${"def.colorRatingNew.below_average"  } },
  { "value": 47,  "color": ${"def.colorRatingNew.average"   } },
  { "value": 48,  "color": ${"def.colorRatingNew.above_average"  } },
  { "value": 50,  "color": ${"def.colorRatingNew.intermediate"  } },
  { "value": 52,  "color": ${"def.colorRatingNew.adequate"   } },
  { "value": 54,  "color": ${"def.colorRatingNew.good"    } },
  { "value": 56,  "color": ${"def.colorRatingNew.very_good"   } },
  { "value": 60,  "color": ${"def.colorRatingNew.great"    } },
  { "value": 65,  "color": ${"def.colorRatingNew.unicum"   } },
  { "value": 101, "color": ${"def.colorRatingNew.super_unicum"  } }
],

 

The above affects all {{c:wn8}} and {{c:winrate}} macros.

colors.xc

  • Upvote 1
Link to comment
Short link
Share on other sites

How so? And how do the percentile numbers affect the colors.xc file?

 

Also, I changed my greens to:

- low green 0x99FF5C

- high green 0x00EE00

 

The first question should be addressed to those who made this table, I guess.

The percentile numbers don't affect the color.xc file in any way. Only rating values matter. The percentile numbers are provided for information.

Link to comment
Short link
Share on other sites

Ah ok. I get what you are trying to say. Although since you say it is wrong, you should also be able to explain why it is wrong. But that's a different topic altogether :)

 

It is wrong because the percentile values provided are incorrect for respective rating values apparently.

Link to comment
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...