Game Development Community

Chat Hud Text Color

by Ronald J Nelson · in Torque Game Engine · 10/09/2007 (10:29 pm) · 3 replies

Where can I find the script that governs the color text will be in the chat hud?

I know that its different colors depending on who sends what, so I would like to make some adjustments for my game.

Thanks in Advance.

#1
10/10/2007 (1:24 am)
Client/ui/defaultGameProfiles.cs

Around line 52, you'll spot it.
#2
10/10/2007 (1:28 am)
One thing that I forgot to mention, when you send text to the chathud you can specify a color.

messageClient(%client, 'MsgYourMessageType' , '\c0Your Message');

The c0 represents color 0 which would obviously be the first one listed in the "ChatHudMessageProfile".