FANDOM


IntroductionEdit

There are three different color systems avaible in AfterShock: Color names, color tokens and hex color codes. The following sections gives a brief overview of the usage.

Color namesEdit

color name corresponding color token
red 1
green 2
yellow 3
blue 4
cyan 5
magenta 6
white 7
orange 8

These color names can be used for the brightskins. You can colorize your playername with the corresponding color tokens.

Example: ^1Test^2name will result in the name Testname

Color tokensEdit

While the color names from the table above weren't changed in AfterShock, there are new color tokens a-A and z-Z implemented in AfterShock. The following table contains all new tokens and the corresponding hex color code:

color token hex code color token hex code
a #ff0000 A #00baff
b #ff2100 B #009eff
c #ff4500 C #0080ff
d #ff6100 D #0066ff
e #ff8000 E #0045ff
f #ff9c00 F #0026ff
g #ffba00 G #0000ff
h #ffd900 H #2100ff
i #ffff00 I #4500ff
j #deff00 J #6100ff
k #baff00 K #8000ff
l #9eff00 L #9c00ff
m #80ff00 M #ba00ff
n #63ff00 N #d900ff
o #45ff00 O #ff00ff
p #26ff00 P #ff00de
q #00ff00 Q #ff00ba
r #00ff21 R #ff009e
s #00ff45 S #ff0080
t #00ff5e T #ff0063
u #00ff80 U #ff0045
v #00ff9c V #ff0026
w #00ffba W #bfbfbf
x #00ffd9 X #808080
y #00ffff Y #404040
z #00deff Z #ff80ff

These color tokens can be used to colorize your ingame playername or the playermodel brightskins.

Example: ^aT^be^cs^dt^An^Ba^Cm^De will result in Testname

Hex colorsEdit

Hex color codes works in AfterShock as 0xRRGGBBFF, whereas RR stands for red, GG for green, BB for blue and FF for the alpha value of the color.

Example: Use the value 0x00ff45FF to set the hex color #00ff45.

Besides the color names and color tokens, hex color code can be used to colorize your brightskins. Some cvars are working only with hex color codes (revision 108), such as cg_enemyweaponcolor and cg_teamweaponcolor.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.