HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Different Color Text

01-16-2003, 02:48 AM#1
Syphen
:bgrun: Can anyone help me with the changing of the text in the game and on the loading screen? I have seen it done but I do not know how to if anyone knows how can you please email me or reply here ASAP? thankz! :gsmile:
01-16-2003, 03:31 AM#2
Guest
1)How do I color my text?
This one is very simple. First of all, know this formula:

|C xx RR GGBB text |R

|C = Beginning of color-code
xx = Transparency of text. Hexidecimal value.
RR = Amount of red in text. Hexidecimal value.
GG = Amount of green in text. Hexidecimal value.
BB = Amount of blue in text. Hexidecimal value.
text = You colored words
|R = Where the color-code stops

2)What are the hexidecimal values?
The hexidecimal values, from lowest to highest are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f.
You can have 00, F3, and so on. I may be wrong on some values, its been a while.
01-16-2003, 03:34 AM#3
knightking
|c starts, |r ends
after the |c, you need to have 4 2 digit hex numbers, which tell it what color
first one is the alpha transparency. Just use 00.
Second one is amount of red, third amount of green, last blue

the amounts range from 00 to FF, with 00 being 0. For example, |c00FF0000blah|r would result in blah, and |0000AAAAblah|r would give blah

Edited because: grrr.....
01-16-2003, 03:37 AM#4
Guest
lol, sorry! I had what I just posted in a .txt file, and I just copy-paste it whenever this question pops up.
01-16-2003, 03:40 AM#5
knightking
Yeah, thats what I guessed, as I didn't spend very long typing that. You should toss in some examples to that, tho.
01-17-2003, 12:24 AM#6
Undead-Swarm
http://www.war3files.com/cat.php?lv=210

There is a GREAT color editor called "Myrans Color Editor" (I think) I use it and its probebly the best editor for colors I have ever seen!
Just (After you get it ) click on the color sections and choose your color! For one solid color, such as pure blue, yellow, red ect... make both spots BLUE or YELLOW or RED :) Same with others.... but for something REALLY cool, it merges the colors, you gotta see it, make 2 different colors in the 2 areas.
Then after your done choosing colors, type in some TEXT in the big white line, for the text obviously, and press Okay, it will AUTOMATICALLY generate the words and stuff in the color code, even merged color code! Then you just gotta click and drag down untill you reach the end and highlight it all then copy and paste wherever you want!
I know I dragged on about this alot but it's such a good-easy-to-use editor ;)
01-17-2003, 01:19 AM#7
pigchow777
i always used oddly enough the warcraft 3 Xtra editor's advanced options - but i wouldnt recomend using Xtra editor cause for me nothing seemed to work ... at all. but what they said anout everything ealse, but its very odd....the first two #ers of the hex code, what exactly can i do with them....?
01-17-2003, 08:50 PM#8
FM_TertiaryEye
===========================
but its very odd....the first two #ers of the hex code, what exactly can i do with them....?
===========================

Thats the aplha channel, usually used for transparency, as far as displaying text in warcraft, however, it doesnt do anything.

Btw: If you are looking for a way to make easy gradient text (ie text that goes from one color to another) then here ya go ;)

(look for the gradient string builder)
http://www.majeure.westhost.com/wc3/files.sht
01-17-2003, 08:56 PM#9
pigchow777
i know how to do it the hard way... finding and writing each color code this is better. ty