Botpack
Class ChallengeDMP

source: e:\games\UnrealTournament\Botpack\Classes\ChallengeDMP.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Info
         |
         +--Engine.GameInfo
            |
            +--Botpack.TournamentGameInfo
               |
               +--Botpack.DeathMatchPlus
                  |
                  +--Botpack.ChallengeDMP
Direct Known Subclasses:None

class ChallengeDMP
extends Botpack.DeathMatchPlus



Function Summary
 void InitRatedGame(LadderInventory LadderObj, PlayerPawn LadderPlayer)



Source Code


00001	class ChallengeDMP expands DeathMatchPlus;
00002	
00003	event InitGame( string Options, out string Error )
00004	{
00005		bChallengeMode = True;
00006	
00007		Super.InitGame( Options, Error );
00008	
00009		bRatedGame = true;
00010		TimeLimit = 0;
00011		RemainingTime = 0;
00012	}
00013	
00014	function InitRatedGame(LadderInventory LadderObj, PlayerPawn LadderPlayer)
00015	{
00016		local Weapon W;
00017	
00018		Super.InitRatedGame(LadderObj, LadderPlayer);
00019	
00020		bCoopWeaponMode = True;
00021		ForEach AllActors(class'Weapon', W)
00022			W.SetWeaponStay();
00023	}
00024	
00025	defaultproperties
00026	{
00027	     LadderTypeIndex=5
00028	     BeaconName="CTDM"
00029	     GameName="Lightning DeathMatch"
00030	}

End Source Code