Announcement

Collapse
No announcement yet.

[Solved] menu and GFx HUD issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved] menu and GFx HUD issue

    Hi all,

    I have ome trouble with my main menu an my GFxHUD

    my HUD is displayed on the main menu even with display Hud set to false

    I set my HUD type in tha default properties in the GameInfo like that :
    Code:
     HUDType = class'ResistanceGame.ResistanceHUD'
    my HUD class look like that :
    Code:
    class ResistanceHUD extends UDKHUD;
    
    var GFx_ResistanceHUD    HudMovie;
     
    simulated function PostBeginPlay() {
        super.PostBeginPlay();
        HudMovie = new class'GFx_ResistanceHUD';
        HudMovie.SetTimingMode(TM_Real);
        HudMovie.Init(class'Engine'.static.GetEngine().GamePlayers[HudMovie.LocalPlayerOwnerIndex]);
        HudMovie.Start();
        HudMovie.Advance(0);
    }
    what can I do for disable the HUD in my main menu ?

    #2
    You have to go to the file "GFx_ResistanceHUD.uc" and add:

    Code:
    defaultproperties
    {
    	bDisplayWithHudOff=false
    }

    Comment


      #3
      Thanks this work fine

      Comment

      Working...
      X