Hi,
I try to display a HUD for my mod but it doesn't work...
What is wrong in my code ?
My HUD class :
My game class :
Thanks a lot .
C0b0ll
I try to display a HUD for my mod but it doesn't work...
What is wrong in my code ?
My HUD class :
Code:
class k6HUD extends UTHUD;
function DrawLivingHud()
{
super.DrawLivingHud();
DrawK6LivingHud();
}
function DrawK6LivingHud()
{
DrawGlowText("HelloWorld", 10, 100, 60);
}
DefaultProperties
{
}
My game class :
Code:
class k6o extends UTGame;
defaultproperties
{
bScoreDeaths=true
bIgnoreTeamForVoiceChat=true
bGivePhysicsGun=false
bDelayedStart=false
PlayerControllerClass=class'k6online.k6PlayerController'
DefaultPawnClass=class'k6online.k6Pawn'
HUDType=class'k6online.k6HUD'
DefaultInventory(0)=class'UTWeap_ShockRifle'
}
Thanks a lot .
C0b0ll