So the texture shows and everything, but I can not change the color of the texture. I am trying to port the Fallout 3 HUD, which is just white if porting it, so I want to change the color so people don't have to play with a white HUD. My only problem is changing the color, it draws fine, but wont change the color. I have tried surface.SetDrawColor(0,255,0,255) and without the fourth argument, too. Someone please help? :)
[code]surface.SetTexture( hud1 )
surface.SetDrawColor(Color(0,255,0,255))
surface.DrawTexturedRect( 57, ScrH()-134, 512, 128 )[/code]
Edit:
NEVERMIND, after sitting here for 30 minutes waiting for a response and thinking,[I] what the hell is wrong with it[/I], and I was like, [I]maybe it's the texture itself[/I]. So I edited the VMT and it worked. (I had to enable vertexcolor)
Sorry, you need to Log In to post a reply to this thread.