-
Notifications
You must be signed in to change notification settings - Fork 0
/
alpha.xc
executable file
·165 lines (165 loc) · 10.1 KB
/
alpha.xc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
/**
* Options for dynamic transparency. Values from smallest to largest.
* Настройки динамической прозрачности. Значения от меньшего к большему.
*/
{
// Transparency values for substitutions.
// Значения прозрачности для подстановок.
"def": {
// Dynamic transparency by various statistical parameters.
// Динамическая прозрачность по различным статистическим показателям.
"alphaRating": {
"very_bad": "100", // very bad / очень плохо
"bad": "70", // bad / плохо
"normal": "40", // normal / средне
"good": "10", // good / хорошо
"very_good": "0", // very good / очень хорошо
"unique": "0" // unique / уникально
},
// Dynamic transparency by remaining health points.
// Динамическая прозрачность по оставшемуся запасу прочности.
"alphaHP": {
"very_low": "100", // very low / очень низкий
"low": "75", // low / низкий
"average": "50", // average / средний
"above_average": "0" // above-average / выше среднего
}
},
"alpha": {
// Dynamic transparency by spotted status.
// Динамическая прозрачность по статусу засвета.
"spotted": {
"neverSeen": 100,
"lost": 100,
"spotted": 100,
"dead": 100,
"neverSeen_arty": 100,
"lost_arty": 100,
"spotted_arty": 100,
"dead_arty": 100
},
// Dynamic transparency by remaining health.
// Динамическая прозрачность по оставшемуся здоровью.
"hp": [
{ "value": 200, "alpha": ${"def.alphaHP.very_low" } }, // alpha for HP <= 200
{ "value": 400, "alpha": ${"def.alphaHP.low" } }, // alpha for HP <= 400
{ "value": 1000, "alpha": ${"def.alphaHP.average" } }, // alpha for HP <= 1000
{ "value": 9999, "alpha": ${"def.alphaHP.above_average"} } // alpha for HP > 1000
],
// Dynamic transparency by percentage of remaining health.
// Динамическая прозрачность по проценту оставшегося здоровья.
"hp_ratio": [
{ "value": 10.4, "alpha": ${"def.alphaHP.very_low" } }, // alpha for HP <= 10%
{ "value": 25.4, "alpha": ${"def.alphaHP.low" } }, // alpha for HP <= 25%
{ "value": 50.4, "alpha": ${"def.alphaHP.average" } }, // alpha for HP <= 50%
{ "value": 100, "alpha": ${"def.alphaHP.above_average"} } // alpha for HP > 50%
],
// Dynamic transparency for XVM Scale.
// Динамическая прозрачность по шкале XVM.
"x": [
{ "value": 16.4, "alpha": ${"def.alphaRating.very_bad" } }, // 00 - 16 - very bad (20% of players)
{ "value": 33.4, "alpha": ${"def.alphaRating.bad" } }, // 17 - 33 - bad (better than 20% of players)
{ "value": 52.4, "alpha": ${"def.alphaRating.normal" } }, // 34 - 52 - normal (better than 60% of players)
{ "value": 75.4, "alpha": ${"def.alphaRating.good" } }, // 53 - 75 - good (better than 90% of players)
{ "value": 92.4, "alpha": ${"def.alphaRating.very_good"} }, // 76 - 92 - very good (better than 99% of players)
{ "value": 999, "alpha": ${"def.alphaRating.unique" } } // 93 - XX - unique (better than 99.9% of players)
],
// Current scales values for ratings are listed on this page: https://modxvm.com/en/ratings/xvm-scale/colors/
// Текущие граничные значения для рейтингов указаны на данной странице: https://modxvm.com/ru/ratings/xvm-scale/colors/
//
// Custom dynamic transparency by ratings.
// If you want use your own transparency scales,
// uncomment this block and replace "rating_name" to one of this values: "eff", "wn8", "wtr", "wgr".
// Динамическая прозрачность по указанному рейтингу.
// Если вы хотите использовать свои собственные границы прозрачности вместо стандартных,
// раскомментируйте блок и замените "rating_name" на одно из следующих значений: "eff", "wn8", "wtr", "wgr".
// "rating_name": [
// { "value": 500, "alpha": ${"def.alphaRating.very_bad" } }, // 0 - 500 - very bad
// { "value": 1000, "alpha": ${"def.alphaRating.bad" } }, // 501 - 1000 - bad
// { "value": 2000, "alpha": ${"def.alphaRating.normal" } }, // 1001 - 2000 - normal
// { "value": 3000, "alpha": ${"def.alphaRating.good" } }, // 2001 - 3000 - good
// { "value": 5000, "alpha": ${"def.alphaRating.very_good"} }, // 3001 - 5000 - very good
// { "value": 99999, "alpha": ${"def.alphaRating.unique" } } // 5001 - 99999 - unique
// ],
// Dynamic transparency by win percent.
// Динамическая прозрачность по проценту побед.
"winrate": [
{ "value": 46.49, "alpha": ${"def.alphaRating.very_bad" } },
{ "value": 48.49, "alpha": ${"def.alphaRating.bad" } },
{ "value": 52.49, "alpha": ${"def.alphaRating.normal" } },
{ "value": 57.49, "alpha": ${"def.alphaRating.good" } },
{ "value": 63.49, "alpha": ${"def.alphaRating.very_good"} },
{ "value": 100, "alpha": ${"def.alphaRating.unique" } }
],
// Dynamic transparency by kilo-battles.
// Динамическая прозрачность по количеству кило-боев.
"kb": [
{ "value": 2, "alpha": ${"def.alphaRating.very_bad" } },
{ "value": 6, "alpha": ${"def.alphaRating.bad" } },
{ "value": 16, "alpha": ${"def.alphaRating.normal" } },
{ "value": 30, "alpha": ${"def.alphaRating.good" } },
{ "value": 43, "alpha": ${"def.alphaRating.very_good"} },
{ "value": 999, "alpha": ${"def.alphaRating.unique" } }
],
// Dynamic transparency by average level of player tanks.
// Динамическая прозрачность по среднему уровню танков игрока.
"avglvl": [
{ "value": 1, "alpha": ${"def.alphaRating.very_bad" } },
{ "value": 2, "alpha": ${"def.alphaRating.bad" } },
{ "value": 4, "alpha": ${"def.alphaRating.normal" } },
{ "value": 6, "alpha": ${"def.alphaRating.good" } },
{ "value": 8, "alpha": ${"def.alphaRating.very_good"} },
{ "value": 10, "alpha": ${"def.alphaRating.unique" } }
],
// Dynamic transparency by battles on current tank.
// Динамическая прозрачность по количеству боев на текущем танке.
"t_battles": [
{ "value": 99, "alpha": ${"def.alphaRating.very_bad" } },
{ "value": 249, "alpha": ${"def.alphaRating.bad" } },
{ "value": 499, "alpha": ${"def.alphaRating.normal" } },
{ "value": 999, "alpha": ${"def.alphaRating.good" } },
{ "value": 1799, "alpha": ${"def.alphaRating.very_good"} },
{ "value": 99999, "alpha": ${"def.alphaRating.unique" } }
],
// Dynamic transparency by average damage on current tank.
// Динамическая прозрачность по среднему урону за бой на текущем танке.
"tdb": [
{ "value": 499, "alpha": ${"def.alphaRating.very_bad" } },
{ "value": 749, "alpha": ${"def.alphaRating.bad" } },
{ "value": 999, "alpha": ${"def.alphaRating.normal" } },
{ "value": 1799, "alpha": ${"def.alphaRating.good" } },
{ "value": 2499, "alpha": ${"def.alphaRating.very_good"} },
{ "value": 9999, "alpha": ${"def.alphaRating.unique" } }
],
// Dynamic transparency by average damage efficiency on current tank.
// Динамическая прозрачность по эффективности урона за бой на текущем танке.
"tdv": [
{ "value": 0.5, "alpha": ${"def.alphaRating.very_bad" } },
{ "value": 0.7, "alpha": ${"def.alphaRating.bad" } },
{ "value": 0.9, "alpha": ${"def.alphaRating.normal" } },
{ "value": 1.2, "alpha": ${"def.alphaRating.good" } },
{ "value": 1.9, "alpha": ${"def.alphaRating.very_good"} },
{ "value": 15, "alpha": ${"def.alphaRating.unique" } }
],
// Dynamic transparency by average frags per battle on current tank.
// Динамическая прозрачность по среднему количеству фрагов за бой на текущем танке.
"tfb": [
{ "value": 0.5, "alpha": ${"def.alphaRating.very_bad" } },
{ "value": 0.7, "alpha": ${"def.alphaRating.bad" } },
{ "value": 0.9, "alpha": ${"def.alphaRating.normal" } },
{ "value": 1.2, "alpha": ${"def.alphaRating.good" } },
{ "value": 1.9, "alpha": ${"def.alphaRating.very_good"} },
{ "value": 15, "alpha": ${"def.alphaRating.unique" } }
],
// Dynamic transparency by average number of spotted enemies per battle on current tank.
// Динамическая прозрачность по среднему количеству засвеченных врагов за бой на текущем танке.
"tsb": [
{ "value": 0.5, "alpha": ${"def.alphaRating.very_bad" } },
{ "value": 0.7, "alpha": ${"def.alphaRating.bad" } },
{ "value": 0.9, "alpha": ${"def.alphaRating.normal" } },
{ "value": 1.2, "alpha": ${"def.alphaRating.good" } },
{ "value": 1.9, "alpha": ${"def.alphaRating.very_good"} },
{ "value": 15, "alpha": ${"def.alphaRating.unique" } }
]
}
}