HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Colour system

09-24-2007, 03:37 PM#1
cohadar
Does anyone have a color system where I can access player colours in an array?

I need R G B values also.
09-24-2007, 03:51 PM#2
rain9441
My first thought was why you think an array of size 16 should be implemented as a system.

My second thought is http://www.wc3jass.com/viewtopic.php?t=2879
09-24-2007, 03:54 PM#3
cohadar
No no no,
I need RGB integers not strings....
09-24-2007, 03:58 PM#4
rain9441
:s/\(..\)\(..\)\(..\)\(..\)/(0x\1 0x\2 0x\3 0x\4)\r/g

Makes:

(0x00 0xFF 0x03 0x03)
(0x00 0x00 0x42 0xFF)
(0x00 0x1C 0xE6 0xB9)
(0x00 0x54 0x00 0x81)
(0x00 0xFF 0xFC 0x01)
(0x00 0xFE 0x8A 0x0E)
(0x00 0x20 0xC0 0x00)
(0x00 0xE5 0x5B 0xB0)
(0x00 0x95 0x96 0x97)
(0x00 0x7E 0xBF 0xF1)
(0x00 0x10 0x62 0x46)
(0x00 0x4E 0x2A 0x04)
09-24-2007, 04:18 PM#5
Vexorian
something like this: http://www.wc3jass.com/viewtopic.php?t=106

I think I have more accurate values in that lame map I released once.
09-24-2007, 04:23 PM#6
cohadar
Too late I already made one of my own :(
09-24-2007, 05:15 PM#7
MaD[Lion]
i also made my own :(
09-24-2007, 07:16 PM#8
Toadcop
Quote:
i also made my own :(