• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Coloring items' name and text

Status
Not open for further replies.
Level 3
Joined
Feb 24, 2008
Messages
67
Enclose the letter within a tag, it works like HTML codes if you know how.

For example: I want to make the word MonkIE cReW yellow (not pure yellow).

Thus, |cffffcc00MonkIE cReW|r will make the words appear yellow.

The |c tag means to color the text after the tag with a colour that you choose.

The first two letters after the |c tag lets you control the opacity of the tag but it doesn't work in W3 anyway, for reasons unknown to me, so just put it ff.

The next 6 letters after the opacity and |c tag is what controls the color in RGB color spectrum. The example above means a 100% of red + 80% of green + 0% of green, thus creating the color wanted. I'm sure there are tools in THW to help you to determine the codes of colors you wan to use in game.

The |r tag means to reset the letters after it to the default, white.

Hope it helps. :thumbs_up:
 
Status
Not open for further replies.
Top