Hello
I'm kind of stuck with my code, i managed to create a third person camera I actually like, but i cannot override the HUD
I'm trying to override my HUD in my PlayerController that extends UTPLayerController by overriding
Code:
/* This code comes from UDN, i need to update it later to draw what I want */
function DrawHUD( HUD H )
{
local float CrosshairSize;
super.DrawHUD(H);
H.Canvas.SetDrawColor(0,255,0,255);
CrosshairSize = 4;
H.Canvas.SetPos(H.CenterX - CrosshairSize, H.CenterY);
H.Canvas.DrawRect(2*CrosshairSize + 1, 1);
H.Canvas.SetPos(H.CenterX, H.CenterY - CrosshairSize);
H.Canvas.DrawRect(1, 2*CrosshairSize + 1);
}
It doesn't matters if I remove
But it still draws with the standar one, any ideas?
Thanks in advanced
Bookmarks