• 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.

Color Codes for Water Tinting Trigger

Status
Not open for further replies.
Level 4
Joined
Aug 1, 2007
Messages
66
Does anyone know where I can find the color codes for a water tinting trigger such as

If ((Owner of (Killing unit)) Equal to Player 2 (Blue)) then do (Environment - Change water tinting color to (0.00%, 0.00%, 100.00%) with 0.00% transparency) else do (Do nothing)

I know how to do tooltip color codes, but I haven't been able to find these.

Thanks for your help.
 
Level 3
Joined
Feb 13, 2008
Messages
65
The code is (Red,Green,Blue).

So lets say you put (100%,0%,0%), the text will be red.
(0,100%,0) = Green
(0,0,100%) = Blue

Now, you can mix and match them to find the color you need.

Such as (100%,0%,100%) = A violet color.
 
Level 4
Joined
Aug 1, 2007
Messages
66
Thanks, but it tells me that in the trigger. I was hoping there's a chart somewhere that's a little more specific so I wouldn't have to test so much. I'm just wanting the codes for the regular player colors. The blue seems pretty simple, but what about pink and brown. It also seems kinda weird to me that it's red, green, and blue. Seems like red, yellow, and blue would make a little more sense. I appreciate the attempt thought.
 
Level 3
Joined
Feb 13, 2008
Messages
65
I'm wanting the player colors. Red, Blue, Teal, Yellow, Orange, Purple, Green, Gray, Pink, Dark Green, and Brown. My map has a flag to be captured and I'm wanting to tint the water to the color of the flag carrier.

Knowing that the order is Red/Green/Blue, it was fairly simple to get all of the colors you mentioned through logic.

Red: 100%,0,0
Blue: 0,0,100%
Teal: 0,100%,100%
Yellow: 100%,100%, 0
Orange: 75%,25%, 0%
Purple: 50%,0,50%
Green: 0,100%,0
Gray: 10%,10%,10%
Pink: 100%, 25%, 100%
Dark Green: 0,30%,25%
Brown: 30%,20%,20%

Enjoy
 
Status
Not open for further replies.
Top