Color values of \c(n)
by Kiyaku · in Torque Game Engine · 09/05/2008 (1:17 am) · 2 replies
Hi,
how can i see the color values of the \c0 - \c9 escape sequence?
And even more important, how can i change them so i can use my own color values?
Thanks in advance!
how can i see the color values of the \c0 - \c9 escape sequence?
And even more important, how can i change them so i can use my own color values?
Thanks in advance!
#2
This works for me. It is located in "scriptsAnsAssets/client/ui/defaultGameProfiles.cs" (for tgea at least).
09/05/2008 (5:24 am)
I thinki found them:new GuiControlProfile ("ChatHudMessageProfile")
{
fontType = "Arial";
fontSize = 16;
fontColor = "44 172 181"; // default color (death msgs, scoring, inventory)
fontColors[1] = "4 235 105"; // client join/drop, tournament mode
fontColors[2] = "219 200 128"; // gameplay, admin/voting, pack/deployable
fontColors[3] = "77 253 95"; // team chat, spam protection message, client tasks
fontColors[4] = "40 231 240"; // global chat
fontColors[5] = "200 200 50 200"; // used in single player game
// WARNING! Colors 6-9 are reserved for name coloring
autoSizeWidth = true;
autoSizeHeight = true;
};This works for me. It is located in "scriptsAnsAssets/client/ui/defaultGameProfiles.cs" (for tgea at least).
Associate Anthony Rosenbaum
But if you are using a MLText control you can use the Torque Markup Language