View Full Version : mixed colors in PostRender

23rd Nov 2001, 04:39 PM
when I use more than one color in a hud mutator like that

C.DrawColor.R = 255;
C.DrawColor.G = 0;
C.DrawColor.B = 0;
C.DrawColor.R = 0;
C.DrawColor.G = 255;
C.DrawColor.B = 0;
the colors are mixed up, upper half of the text is of the first color and the lower half of the second color. whats wrong ? how to use multiple colors ?

24th Nov 2001, 06:49 AM
I tried out this code, but it works fine over here. What font are you using?
(EDIT) Hang on, I used it in a weapon's postrender function. It might be some bug or exception rule in the Mutator class. I'll check it out in a few hours. (/EDIT)

26th Nov 2001, 09:43 PM
There is no reason for it not to work right, assuming that the text doesn't overlap for some reason (although even then it wouldn't be as you described). It probably has something to do with the font you're using.