Overiding DrawColor

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Lemoni

The Philosapher
Feb 17, 2001
628
0
0
members.lycos.co.uk
how can i override this to use the colour of the actual image?
color
DrawColor
Canvas.DrawColor.r = REDVALUE;
Canvas.DrawColor.g = GREENVALUE;
Canvas.DrawColor.b = BLUEVALUE;
 

2COOL4-U

New Member
Mar 17, 2001
505
0
0
37
dot NL
2cool.free.fr
Use
Canvas.DrawColor.r = 255;
Canvas.DrawColor.g = 255;
Canvas.DrawColor.b = 255;

This makes the Canvas draw the image without making it look like one colour. Try it it works
 

Lemoni

The Philosapher
Feb 17, 2001
628
0
0
members.lycos.co.uk
so this would work

Canvas.DrawColor.r = 255; Canvas.DrawColor.g = 255;
Canvas.DrawColor.b = 255;


clas my hud expands whatever(cant rember exactly how to spell challenge hud)
 

Lemoni

The Philosapher
Feb 17, 2001
628
0
0
members.lycos.co.uk
Originally posted by 2COOL4-U
Yes it should work, if your hud subclasses ChallengeHud, you can also use
Canvas.DrawColor = WhiteColor;
cool ,does this change the whole hud if so how do i use this on selected areas like weapon icons?