[Setup] Product=CustomCTF Version=100 Archive=CustomCTF.umod SrcPath=. MasterPath=.. Requires=UnrealTournamentRequirement Group=SetupGroup Group=CustomCTFGroup [UnrealTournamentRequirement] Product=UnrealTournament Version= [SetupGroup] Copy=(Src=System\Manifest.ini,Master=System\Manifest.ini,Size=415,Flags=3) Copy=(Src=System\Manifest.int,Master=System\Manifest.int,Size=526,Flags=3) [CustomCTFGroup] File=(Src=System\CustomCTF.u,Size=3414) File=(Src=System\CustomCTF.int,Size=166) File=(Src=System\CustomCTF.txt,Size=793) [Setup] LocalProduct=CustomCTF ReadMe=System\CustomCTF.txt SetupWindowTitle=CustomCTF AutoplayWindowTitle=CustomCTF Options ProductURL=http://www.planetunreal.com/nzone VersionURL=http://www.planetunreal.com/nzone Developer=William "Ntruder" Chenoweth DeveloperURL=http://www.planetunreal.com/nzone [UnrealTournamentRequirement] LocalProduct=UnrealTournament ProductURL=http://www.unrealtournament.com/ VersionURL=http://unreal.epicgames.com/ Developer=Epic Games, Inc. DeveloperURL=http://www.epicgames.com/ Áƒ*žE1@Ž !§ 0ßіěL¤—Ä=Uq)1None ChangeTeam CustomCTF PreBeginPlaySystemEngineCoreMutate StrPropertyObjectProperty Function TextBufferPackageClassObjectTitle LevelTitle PlayerPawnPawnActorLevelPlayerReplicationInfo LevelInfoMutator BoolPropertyBFloatPropertyi IntPropertyF ScriptTextTeam MutateStringbAdminGameNetModeBotSender TimeLimitGoalTeamScoreBotpackDeathMatchPlus TeamGamePlusCTFGameCTFFlagbInitplace ByteProperty CaptureLimit‰@@@ €@@€ˆ˜ /;,—zëBOTSBLUE”„ -”š:†‘:$/a0 ‰“’›:“•&.…†Š &10**zëBOTSRED*„ -”š:†‘:$/a0 ‰)(›:“•%.…†Š %10 Xclass CustomCTF expands Mutator; var bool bInit; var config string LevelTitle[20]; var config int TimeLimit[20]; var config int CaptureLimit[20]; var int Place; function PreBeginPlay() { local int i; if (bInit) return; else bInit=True; if (CTFGame(Level.Game) != None) { place=-1; for(i=0;i<20;i++) { if ((LevelTitle[i] != "") && (LevelTitle[i] == Level.Title)) { place=i; i=20; } } if (place >= 0) { Log("CustomCTF: " $ LevelTitle[place] $ " set to Time: " $ TimeLimit[place] $ " Captures: " $ CaptureLimit[place]); CTFGame(Level.Game).GoalTeamScore = CaptureLimit[place]; CTFGame(Level.Game).TimeLimit = TimeLimit[place]; } } } function Mutate(string MutateString, PlayerPawn Sender) { local Bot B; local CTFFlag F; if (caps(MutateString) == "BOTSBLUE") { if(( Sender.bAdmin || Level.Netmode==NM_Standalone )) { foreach AllActors(class'Bot', B) { if (B.PlayerReplicationInfo.Team != 1) { CTFGame(Level.Game).ChangeTeam(B, 1); } } } } else if (caps(MutateString) == "BOTSRED") { if(( Sender.bAdmin || Level.Netmode==NM_Standalone )) { foreach AllActors(class'Bot', B) { if (B.PlayerReplicationInfo.Team != 0) { CTFGame(Level.Game).ChangeTeam(B, 0); } } } } } Œ ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙ )oŽŒl€¤ăˆýŻéƒ’ÔűR‰I€+\‹.ę;űƒ’ÔűR…:lěˆýŻéƒ’ÔűR‰I€+\‹.ę;űƒ’ÔűR…:lěƒ’ÔűRƒ’ÔűRƒ’ÔűR…:lěƒ’ÔűR…:lěž™ŰS- -'Qw.…†Š*˙˙˙˙%œ–,’‚{z†—,ĽAQ™%çpppppCustomCTF:  set to Time: S Captures: S.…†ŠĄ?.…†Š    ( ˙˙˙˙  ţ˙˙˙+ ů˙˙˙ ˙˙˙˙ ˙˙˙˙ ţ˙˙˙$ ý˙˙˙" ˙˙˙˙ ˙˙˙˙ ü˙˙˙ ü˙˙˙  ü˙˙˙  ˙˙˙˙/ý˙˙˙# ü˙˙˙ đ˙˙˙ř˙˙˙!/ő˙˙˙ ü˙˙˙ ý˙˙˙ ô˙˙˙ ô˙˙˙ ü˙˙˙ ü˙˙˙  ţ˙˙˙) ţ˙˙˙, ü˙˙˙ ţ˙˙˙*ä˙˙˙&á˙˙˙' . j   v Ž  B ’  O  0 [ ’  g  & s š -  Ž % K ˜ kX › 4cCŒwf&™ }]*Ž  Z.[Public] Object=(Name=CustomCTF.CustomCTF,Class=Class,MetaClass=Engine.Mutator,Description="CustomCTF,Set Custom Time Limit and Capture settings for 20 levels!") ----------- CustomCTF ----------- CustomCTF allows you to specify custom "Capture the Flag" settings for up to 20 levels in your UnrealTournament.ini file. Configuration is stored in Unrealtournament.ini to allow server administrators to easily switch between configurations. To use CustomCTF, edit your Unrealtournament.ini file and add these lines: [CustomCTF.CustomCTF] LevelTitle[0]= TimeLimit[0]= CaptureLimit[0]= There are 20 slots (0-19) that can be filled. Simply put in the name of the level you want to modify and then a custom Time Limit and ] Capture Limit setting. The order the maps are played on the server has no relation to the order of the maps listed in configuration for CustomCTF. Enjoy. - William "Ntruder" Chenoweth (ntruder@home.com)System\Manifest.ini)System\Manifest.int)System\CustomCTF.u7V System\CustomCTF.intŚSystem\CustomCTF.txt3ŁĹăŸLh!,š