• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] color codes?

Status
Not open for further replies.
Level 12
Joined
Feb 11, 2008
Messages
809
i have the colors codes for players 1-8:

Actions
Set Player_Colors[1] = |c00ff0000
Set Player_Colors[2] = |c000000ff
Set Player_Colors[3] = |c0000ffff
Set Player_Colors[4] = |c00800080
Set Player_Colors[5] = |c00ffff00
Set Player_Colors[6] = |c00ff8000
Set Player_Colors[7] = |c0000ff00
Set Player_Colors[8] = |c00ff00ff

But i also need players 9-10 what are their color codes?
 
Better than saving bookmarks and junk is understanding how to write color codes yourself.

Colorcodes in wc3 are an 8figure hexidecimal code that represents:

Opacity, Red Hue Level, Green Hue Level, Blue Hue Level, where 00 is none, and FF is maximum.

Read here to understand A through F and their use:
Hexadecimal - Wikipedia, the free encyclopedia

basically hexidecimal is like decimal (base 10), but instead base 16, which means instead of counting:
0123456789
you count:
0123456789ABCDEF

In a normal warcraft 3 color code, the first 2 letters are always FF, because the opacity function is buggy and odd.

So, FF999900 would be a fully opaque dark yellow, while FF00FF00 would be a fully opaque bright green.


Hope this helped...
 
Status
Not open for further replies.
Top