## XIIIMP
Class XIIIBirdHud

source: C:\XIII\XIIIMP\Classes\XIIIBirdHud.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.HUD
             |
             +--XIII.XIIIBaseHud
                |
                +--XIIIMP.XIIIMPHud
                   |
                   +--XIIIMP.XIIIBirdHud

Direct Known Subclasses:None

class XIIIBirdHud
extends XIIIMP.XIIIMPHud

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class XIIIBirdHud extends XIIIMPHud;
    00005
    00006	//____________________________________________________________________
    00007
    00008	simulated function LocalizedMessage( class<LocalMessage> Message, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject, optional string CriticalString )
    00009	{
    00010	    if( ( Level.NetMode == NM_StandAlone) && ( ( Level.Game == none ) || ( Level.Game.NumPlayers > 1 ) ) )
    00011	    {
    00012	        if( Message == class'XIIIDeathMessage' )
    00013	            return;
    00014	    }
    00015
    00016	    if ( Message == class'XIIIEndGameMessage' )
    00017	    {
    00018	      AddHudEndMessage( Message, Switch, RelatedPRI_1, RelatedPRI_2, OptionalObject, CriticalString );
    00019	      bHideHud = true;
    00020	    }
    00021	    else if ( ( Message == class'XIIIDeathMessage' ) && ( PawnOwner.bIsDead )  )
    00022	    {
    00023	      AddHudEndMessage( Message, Switch, RelatedPRI_1, RelatedPRI_2, OptionalObject, CriticalString );
    00024	      bHideHud = true;
    00025	    }
    00026	    else if( ( ( ( Message == class'XIIIDeathMessage' ) || ( Message == class'XIIIMPCTFMessage') ) || ( Message == class'XIIIMultiMessage' ) ) || ( Message == class'XIIIMPDuckMessage' ) )
    00027	    {
    00028	      if( OptionalObject == class'DT_KKK' )
    00029	        AddHudMPMessage( Message, 3, RelatedPRI_1, RelatedPRI_2, OptionalObject, CriticalString );
    00030	      else if( switch == 1 )
    00031	        AddHudMPMessage( Message, 2, RelatedPRI_1, RelatedPRI_2, OptionalObject, CriticalString );
    00032	      else
    00033	        AddHudMPMessage( Message, Switch, RelatedPRI_1, RelatedPRI_2, OptionalObject, CriticalString );
    00034	    }
    00035	    else
    00036	      AddHudMessage( Message, Switch, RelatedPRI_1, RelatedPRI_2, OptionalObject, CriticalString );
    00037	}
    00038
    00039
    00040
    00041	defaultproperties
    00042	{
    00043	}

End Source Code