Change text colour
#8
(22 Nov 10, 02:05PM)RandumKiwi Wrote:
(22 Nov 10, 07:40AM)Cactus Wrote: Just wondering, is there any way I can change the text colour in-game to another? Example, I'd like to have 'You fragged ______' come up in red instead of the yellow we have now.

Thanks in advance to anyone who can help me out. :)

Yes, this could be changed very easily... in the source code.
Go grab the source, open clientgame.cpp and find these lines:
if(pl==player1) outf("\f2you were %s by teammate %s", death, aname);
if(pl==player1) outf("\f2you were %s by %s", death, aname);

... then change the number of the "\f" part to the appropriate colour you desire (see http://assault.cubers.net/docs/colouredtext.txt for numbers), compile, and viola.
I sincerely hope that your post will not be used as an excuse for using a modified client :)
Thanks given by:


Messages In This Thread
Change text colour - by Cactus - 22 Nov 10, 07:40AM
RE: Change text colour - by BrickSquad - 22 Nov 10, 08:11AM
RE: Change text colour - by snake_eye - 22 Nov 10, 12:14PM
RE: Change text colour - by a_slow_old_man - 22 Nov 10, 01:25PM
RE: Change text colour - by ExodusS - 23 Nov 10, 06:25PM
RE: Change text colour - by Cactus - 22 Nov 10, 08:12AM
RE: Change text colour - by Versace - 22 Nov 10, 01:40PM
RE: Change text colour - by RandumKiwi - 22 Nov 10, 02:05PM
RE: Change text colour - by Drakas - 22 Nov 10, 03:14PM
RE: Change text colour - by snake_eye - 22 Nov 10, 06:00PM
RE: Change text colour - by tempest - 22 Nov 10, 05:58PM
RE: Change text colour - by Ronald_Reagan - 23 Nov 10, 01:41AM
RE: Change text colour - by Cactus - 23 Nov 10, 02:21AM
RE: Change text colour - by Ronald_Reagan - 23 Nov 10, 02:37AM
RE: Change text colour - by JGAN - 23 Nov 10, 03:32AM
RE: Change text colour - by Ronald_Reagan - 23 Nov 10, 07:03AM
RE: Change text colour - by JGAN - 23 Nov 10, 06:00PM
RE: Change text colour - by Alien - 25 Nov 10, 01:32AM
RE: Change text colour - by Bukz - 25 Nov 10, 01:58AM
RE: Change text colour - by V-Man - 25 Nov 10, 01:59AM