home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2004 July / My Disc.iso / patch / UT2004 / ut2004-winpatch3236.exe / UT2004-Patch / System / XGame.u / xPawn_xBombingRun_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-06-11  |  12.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 72 c6 01 2f 2f 3d 3d 3d |........|r..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 78 |========|==..// x|
|00000060| 42 6f 6d 62 69 6e 67 52 | 75 6e 2e 0d 0a 2f 2f 3d |BombingR|un...//=|
|00000070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0d 0a 63 6c |========|====..cl|
|000000c0| 61 73 73 20 78 42 6f 6d | 62 69 6e 67 52 75 6e 20 |ass xBom|bingRun |
|000000d0| 65 78 74 65 6e 64 73 20 | 54 65 61 6d 47 61 6d 65 |extends |TeamGame|
|000000e0| 0d 0a 09 63 6f 6e 66 69 | 67 3b 0d 0a 0d 0a 23 65 |...confi|g;....#e|
|000000f0| 78 65 63 20 4f 42 4a 20 | 4c 4f 41 44 20 46 49 4c |xec OBJ |LOAD FIL|
|00000100| 45 3d 45 5f 50 69 63 6b | 75 70 73 2e 75 73 78 0d |E=E_Pick|ups.usx.|
|00000110| 0a 0d 0a 76 61 72 20 67 | 6c 6f 62 61 6c 63 6f 6e |...var g|lobalcon|
|00000120| 66 69 67 20 62 6f 6f 6c | 20 09 62 42 61 6c 6c 44 |fig bool| .bBallD|
|00000130| 72 61 69 6e 73 54 72 61 | 6e 73 6c 6f 63 3b 0d 0a |rainsTra|nsloc;..|
|00000140| 0d 0a 76 61 72 20 6c 6f | 63 61 6c 69 7a 65 64 20 |..var lo|calized |
|00000150| 73 74 72 69 6e 67 20 42 | 52 50 72 6f 70 54 65 78 |string B|RPropTex|
|00000160| 74 2c 42 52 50 72 6f 70 | 54 65 78 74 32 3b 0d 0a |t,BRProp|Text2;..|
|00000170| 76 61 72 20 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var loca|lized st|
|00000180| 72 69 6e 67 20 42 52 44 | 65 73 63 54 65 78 74 2c |ring BRD|escText,|
|00000190| 42 52 44 65 73 63 54 65 | 78 74 32 3b 0d 0a 0d 0a |BRDescTe|xt2;....|
|000001a0| 76 61 72 20 74 72 61 6e | 73 69 65 6e 74 20 69 6e |var tran|sient in|
|000001b0| 74 20 54 65 61 6d 53 70 | 61 77 6e 43 6f 75 6e 74 |t TeamSp|awnCount|
|000001c0| 5b 32 5d 3b 0d 0a 76 61 | 72 20 78 42 6f 6d 62 46 |[2];..va|r xBombF|
|000001d0| 6c 61 67 20 42 6f 6d 62 | 3b 0d 0a 0d 0a 76 61 72 |lag Bomb|;....var|
|000001e0| 20 73 6f 75 6e 64 20 4e | 65 77 52 6f 75 6e 64 53 | sound N|ewRoundS|
|000001f0| 6f 75 6e 64 3b 20 20 2f | 2f 20 4f 42 53 4f 4c 45 |ound; /|/ OBSOLE|
|00000200| 54 45 0d 0a 76 61 72 20 | 66 6c 6f 61 74 20 4f 6c |TE..var |float Ol|
|00000210| 64 53 63 6f 72 65 3b 0d | 0a 0d 0a 76 61 72 28 4c |dScore;.|...var(L|
|00000220| 6f 61 64 69 6e 67 48 69 | 6e 74 73 29 20 70 72 69 |oadingHi|nts) pri|
|00000230| 76 61 74 65 20 6c 6f 63 | 61 6c 69 7a 65 64 20 61 |vate loc|alized a|
|00000240| 72 72 61 79 3c 73 74 72 | 69 6e 67 3e 20 42 52 48 |rray<str|ing> BRH|
|00000250| 69 6e 74 73 3b 0d 0a 0d | 0a 0d 0a 73 74 61 74 69 |ints;...|...stati|
|00000260| 63 20 66 75 6e 63 74 69 | 6f 6e 20 61 72 72 61 79 |c functi|on array|
|00000270| 3c 73 74 72 69 6e 67 3e | 20 47 65 74 41 6c 6c 4c |<string>| GetAllL|
|00000280| 6f 61 64 48 69 6e 74 73 | 28 6f 70 74 69 6f 6e 61 |oadHints|(optiona|
|00000290| 6c 20 62 6f 6f 6c 20 62 | 54 68 69 73 43 6c 61 73 |l bool b|ThisClas|
|000002a0| 73 4f 6e 6c 79 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |sOnly)..|{...loca|
|000002b0| 6c 20 69 6e 74 20 69 3b | 0d 0a 09 6c 6f 63 61 6c |l int i;|...local|
|000002c0| 20 61 72 72 61 79 3c 73 | 74 72 69 6e 67 3e 20 48 | array<s|tring> H|
|000002d0| 69 6e 74 73 3b 0d 0a 0d | 0a 09 69 66 20 28 20 21 |ints;...|..if ( !|
|000002e0| 62 54 68 69 73 43 6c 61 | 73 73 4f 6e 6c 79 20 7c |bThisCla|ssOnly ||
|000002f0| 7c 20 64 65 66 61 75 6c | 74 2e 42 52 48 69 6e 74 || defaul|t.BRHint|
|00000300| 73 2e 4c 65 6e 67 74 68 | 20 3d 3d 20 30 20 29 0d |s.Length| == 0 ).|
|00000310| 0a 09 09 48 69 6e 74 73 | 20 3d 20 53 75 70 65 72 |...Hints| = Super|
|00000320| 2e 47 65 74 41 6c 6c 4c | 6f 61 64 48 69 6e 74 73 |.GetAllL|oadHints|
|00000330| 28 29 3b 0d 0a 0d 0a 09 | 66 6f 72 20 28 20 69 20 |();.....|for ( i |
|00000340| 3d 20 30 3b 20 69 20 3c | 20 64 65 66 61 75 6c 74 |= 0; i <| default|
|00000350| 2e 42 52 48 69 6e 74 73 | 2e 4c 65 6e 67 74 68 3b |.BRHints|.Length;|
|00000360| 20 69 2b 2b 20 29 0d 0a | 09 09 48 69 6e 74 73 5b | i++ )..|..Hints[|
|00000370| 48 69 6e 74 73 2e 4c 65 | 6e 67 74 68 5d 20 3d 20 |Hints.Le|ngth] = |
|00000380| 64 65 66 61 75 6c 74 2e | 42 52 48 69 6e 74 73 5b |default.|BRHints[|
|00000390| 69 5d 3b 0d 0a 0d 0a 09 | 72 65 74 75 72 6e 20 48 |i];.....|return H|
|000003a0| 69 6e 74 73 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |ints;..}|....func|
|000003b0| 74 69 6f 6e 20 50 6f 73 | 74 42 65 67 69 6e 50 6c |tion Pos|tBeginPl|
|000003c0| 61 79 28 29 0d 0a 7b 0d | 0a 09 53 75 70 65 72 2e |ay()..{.|..Super.|
|000003d0| 50 6f 73 74 42 65 67 69 | 6e 50 6c 61 79 28 29 3b |PostBegi|nPlay();|
|000003e0| 0d 0a 0d 0a 09 2f 2f 20 | 61 73 73 6f 63 69 61 74 |.....// |associat|
|000003f0| 65 20 66 6c 61 67 73 20 | 77 69 74 68 20 74 65 61 |e flags |with tea|
|00000400| 6d 73 0d 0a 09 46 6f 72 | 45 61 63 68 20 44 79 6e |ms...For|Each Dyn|
|00000410| 61 6d 69 63 41 63 74 6f | 72 73 28 43 6c 61 73 73 |amicActo|rs(Class|
|00000420| 27 78 42 6f 6d 62 46 6c | 61 67 27 2c 42 6f 6d 62 |'xBombFl|ag',Bomb|
|00000430| 29 0d 0a 09 7b 0d 0a 09 | 09 42 6f 6d 62 69 6e 67 |)...{...|.Bombing|
|00000440| 52 75 6e 54 65 61 6d 41 | 49 28 54 65 61 6d 73 5b |RunTeamA|I(Teams[|
|00000450| 30 5d 2e 41 49 29 2e 42 | 6f 6d 62 20 3d 20 42 6f |0].AI).B|omb = Bo|
|00000460| 6d 62 3b 0d 0a 09 09 42 | 6f 6d 62 69 6e 67 52 75 |mb;....B|ombingRu|
|00000470| 6e 54 65 61 6d 41 49 28 | 54 65 61 6d 73 5b 31 5d |nTeamAI(|Teams[1]|
|00000480| 2e 41 49 29 2e 42 6f 6d | 62 20 3d 20 42 6f 6d 62 |.AI).Bom|b = Bomb|
|00000490| 3b 0d 0a 09 09 42 6f 6d | 62 2e 62 42 61 6c 6c 44 |;....Bom|b.bBallD|
|000004a0| 72 61 69 6e 73 54 72 61 | 6e 73 6c 6f 63 20 3d 20 |rainsTra|nsloc = |
|000004b0| 62 42 61 6c 6c 44 72 61 | 69 6e 73 54 72 61 6e 73 |bBallDra|insTrans|
|000004c0| 6c 6f 63 3b 0d 0a 20 20 | 20 20 7d 0d 0a 09 53 65 |loc;.. | }...Se|
|000004d0| 74 54 65 61 6d 42 61 73 | 65 73 28 29 3b 0d 0a 7d |tTeamBas|es();..}|
|000004e0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 62 6f 6f |....func|tion boo|
|000004f0| 6c 20 4e 65 61 72 47 6f | 61 6c 28 43 6f 6e 74 72 |l NearGo|al(Contr|
|00000500| 6f 6c 6c 65 72 20 43 29 | 0d 0a 7b 0d 0a 09 72 65 |oller C)|..{...re|
|00000510| 74 75 72 6e 20 28 20 28 | 56 53 69 7a 65 28 43 2e |turn ( (|VSize(C.|
|00000520| 50 61 77 6e 2e 4c 6f 63 | 61 74 69 6f 6e 20 2d 20 |Pawn.Loc|ation - |
|00000530| 42 6f 6d 62 69 6e 67 52 | 75 6e 54 65 61 6d 41 49 |BombingR|unTeamAI|
|00000540| 28 54 65 61 6d 73 5b 43 | 2e 50 6c 61 79 65 72 52 |(Teams[C|.PlayerR|
|00000550| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 54 |eplicati|onInfo.T|
|00000560| 65 61 6d 2e 54 65 61 6d | 49 6e 64 65 78 5d 2e 41 |eam.Team|Index].A|
|00000570| 49 29 2e 45 6e 65 6d 79 | 42 61 73 65 2e 4c 6f 63 |I).Enemy|Base.Loc|
|00000580| 61 74 69 6f 6e 29 20 3c | 20 31 30 30 30 29 20 29 |ation) <| 1000) )|
|00000590| 3b 0d 0a 7d 0d 0a 0d 0a | 73 74 61 74 69 63 20 66 |;..}....|static f|
|000005a0| 75 6e 63 74 69 6f 6e 20 | 50 72 65 63 61 63 68 65 |unction |Precache|
|000005b0| 47 61 6d 65 41 6e 6e 6f | 75 6e 63 65 6d 65 6e 74 |GameAnno|uncement|
|000005c0| 73 28 41 6e 6e 6f 75 6e | 63 65 72 56 6f 69 63 65 |s(Announ|cerVoice|
|000005d0| 20 56 2c 20 62 6f 6f 6c | 20 62 52 65 77 61 72 64 | V, bool| bReward|
|000005e0| 53 6f 75 6e 64 73 29 0d | 0a 7b 0d 0a 09 53 75 70 |Sounds).|.{...Sup|
|000005f0| 65 72 2e 50 72 65 63 61 | 63 68 65 47 61 6d 65 41 |er.Preca|cheGameA|
|00000600| 6e 6e 6f 75 6e 63 65 6d | 65 6e 74 73 28 56 2c 62 |nnouncem|ents(V,b|
|00000610| 52 65 77 61 72 64 53 6f | 75 6e 64 73 29 3b 0d 0a |RewardSo|unds);..|
|00000620| 09 69 66 20 28 20 21 62 | 52 65 77 61 72 64 53 6f |.if ( !b|RewardSo|
|00000630| 75 6e 64 73 20 29 0d 0a | 09 7b 0d 0a 09 09 56 2e |unds )..|.{....V.|
|00000640| 50 72 65 63 61 63 68 65 | 53 6f 75 6e 64 28 27 4e |Precache|Sound('N|
|00000650| 65 77 52 6f 75 6e 64 49 | 6e 27 29 3b 0d 0a 09 09 |ewRoundI|n');....|
|00000660| 56 2e 50 72 65 63 61 63 | 68 65 53 6f 75 6e 64 28 |V.Precac|heSound(|
|00000670| 27 42 61 6c 6c 52 65 73 | 65 74 27 29 3b 0d 0a 09 |'BallRes|et');...|
|00000680| 09 56 2e 50 72 65 63 61 | 63 68 65 53 6f 75 6e 64 |.V.Preca|cheSound|
|00000690| 28 27 52 65 64 5f 50 61 | 73 73 5f 46 75 6d 62 6c |('Red_Pa|ss_Fumbl|
|000006a0| 65 64 27 29 3b 0d 0a 09 | 09 56 2e 50 72 65 63 61 |ed');...|.V.Preca|
|000006b0| 63 68 65 53 6f 75 6e 64 | 28 27 42 6c 75 65 5f 50 |cheSound|('Blue_P|
|000006c0| 61 73 73 5f 46 75 6d 62 | 6c 65 64 27 29 3b 0d 0a |ass_Fumb|led');..|
|000006d0| 09 09 56 2e 50 72 65 63 | 61 63 68 65 53 6f 75 6e |..V.Prec|acheSoun|
|000006e0| 64 28 27 52 65 64 5f 54 | 65 61 6d 5f 6f 6e 5f 4f |d('Red_T|eam_on_O|
|000006f0| 66 66 65 6e 63 65 27 29 | 3b 0d 0a 09 09 56 2e 50 |ffence')|;....V.P|
|00000700| 72 65 63 61 63 68 65 53 | 6f 75 6e 64 28 27 42 6c |recacheS|ound('Bl|
|00000710| 75 65 5f 54 65 61 6d 5f | 6f 6e 5f 4f 66 66 65 6e |ue_Team_|on_Offen|
|00000720| 63 65 27 29 3b 0d 0a 09 | 09 56 2e 50 72 65 63 61 |ce');...|.V.Preca|
|00000730| 63 68 65 53 6f 75 6e 64 | 28 27 4c 61 73 74 5f 53 |cheSound|('Last_S|
|00000740| 65 63 6f 6e 64 5f 53 61 | 76 65 27 29 3b 0d 0a 09 |econd_Sa|ve');...|
|00000750| 7d 0d 0a 7d 0d 0a 0d 0a | 2f 2a 20 4f 42 53 4f 4c |}..}....|/* OBSOL|
|00000760| 45 54 45 20 55 70 64 61 | 74 65 41 6e 6e 6f 75 6e |ETE Upda|teAnnoun|
|00000770| 63 65 6d 65 6e 74 73 28 | 29 20 2d 20 70 72 65 6c |cements(|) - prel|
|00000780| 6f 61 64 20 61 6c 6c 20 | 61 6e 6e 6f 75 6e 63 65 |oad all |announce|
|00000790| 72 20 70 68 72 61 73 65 | 73 20 75 73 65 64 20 62 |r phrase|s used b|
|000007a0| 79 20 74 68 69 73 20 61 | 63 74 6f 72 20 2a 2f 0d |y this a|ctor */.|
|000007b0| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|000007c0| 69 6f 6e 20 55 70 64 61 | 74 65 41 6e 6e 6f 75 6e |ion Upda|teAnnoun|
|000007d0| 63 65 6d 65 6e 74 73 28 | 29 20 7b 7d 0d 0a 0d 0a |cements(|) {}....|
|000007e0| 73 74 61 74 69 63 20 66 | 75 6e 63 74 69 6f 6e 20 |static f|unction |
|000007f0| 69 6e 74 20 4f 72 64 65 | 72 54 6f 49 6e 64 65 78 |int Orde|rToIndex|
|00000800| 28 69 6e 74 20 4f 72 64 | 65 72 29 0d 0a 7b 0d 0a |(int Ord|er)..{..|
|00000810| 09 69 66 28 4f 72 64 65 | 72 20 3d 3d 20 32 29 0d |.if(Orde|r == 2).|
|00000820| 0a 09 09 72 65 74 75 72 | 6e 20 31 34 3b 0d 0a 0d |...retur|n 14;...|
|00000830| 0a 09 72 65 74 75 72 6e | 20 4f 72 64 65 72 3b 0d |..return| Order;.|
|00000840| 0a 7d 0d 0a 0d 0a 2f 2f | 2d 2d 2d 2d 2d 2d 2d 2d |.}....//|--------|
|00000850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000880| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000890| 2d 2d 2d 2d 2d 2d 0d 0a | 2f 2f 20 47 61 6d 65 20 |------..|// Game |
|000008a0| 51 75 65 72 79 69 6e 67 | 2e 0d 0a 66 75 6e 63 74 |Querying|...funct|
|000008b0| 69 6f 6e 20 47 65 74 53 | 65 72 76 65 72 44 65 74 |ion GetS|erverDet|
|000008c0| 61 69 6c 73 28 20 6f 75 | 74 20 53 65 72 76 65 72 |ails( ou|t Server|
|000008d0| 52 65 73 70 6f 6e 73 65 | 4c 69 6e 65 20 53 65 72 |Response|Line Ser|
|000008e0| 76 65 72 53 74 61 74 65 | 20 29 0d 0a 7b 0d 0a 09 |verState| )..{...|
|000008f0| 53 75 70 65 72 2e 47 65 | 74 53 65 72 76 65 72 44 |Super.Ge|tServerD|
|00000900| 65 74 61 69 6c 73 28 20 | 53 65 72 76 65 72 53 74 |etails( |ServerSt|
|00000910| 61 74 65 20 29 3b 0d 0a | 09 41 64 64 53 65 72 76 |ate );..|.AddServ|
|00000920| 65 72 44 65 74 61 69 6c | 28 20 53 65 72 76 65 72 |erDetail|( Server|
|00000930| 53 74 61 74 65 2c 20 22 | 42 61 6c 6c 44 72 61 69 |State, "|BallDrai|
|00000940| 6e 73 54 72 61 6e 73 6c | 6f 63 61 74 6f 72 22 2c |nsTransl|ocator",|
|00000950| 20 62 42 61 6c 6c 44 72 | 61 69 6e 73 54 72 61 6e | bBallDr|ainsTran|
|00000960| 73 6c 6f 63 20 29 3b 0d | 0a 7d 0d 0a 0d 0a 73 74 |sloc );.|.}....st|
|00000970| 61 74 69 63 20 66 75 6e | 63 74 69 6f 6e 20 50 72 |atic fun|ction Pr|
|00000980| 65 63 61 63 68 65 47 61 | 6d 65 54 65 78 74 75 72 |ecacheGa|meTextur|
|00000990| 65 73 28 4c 65 76 65 6c | 49 6e 66 6f 20 6d 79 4c |es(Level|Info myL|
|000009a0| 65 76 65 6c 29 0d 0a 7b | 0d 0a 09 63 6c 61 73 73 |evel)..{|...class|
|000009b0| 27 78 54 65 61 6d 47 61 | 6d 65 27 2e 73 74 61 74 |'xTeamGa|me'.stat|
|000009c0| 69 63 2e 50 72 65 63 61 | 63 68 65 47 61 6d 65 54 |ic.Preca|cheGameT|
|000009d0| 65 78 74 75 72 65 73 28 | 6d 79 4c 65 76 65 6c 29 |extures(|myLevel)|
|000009e0| 3b 0d 0a 0d 0a 09 6d 79 | 4c 65 76 65 6c 2e 41 64 |;.....my|Level.Ad|
|000009f0| 64 50 72 65 63 61 63 68 | 65 4d 61 74 65 72 69 61 |dPrecach|eMateria|
|00000a00| 6c 28 4d 61 74 65 72 69 | 61 6c 27 57 65 61 70 6f |l(Materi|al'Weapo|
|00000a10| 6e 53 6b 69 6e 73 2e 42 | 61 6c 6c 4c 61 75 6e 63 |nSkins.B|allLaunc|
|00000a20| 68 65 72 54 65 78 30 27 | 29 3b 0d 0a 09 6d 79 4c |herTex0'|);...myL|
|00000a30| 65 76 65 6c 2e 41 64 64 | 50 72 65 63 61 63 68 65 |evel.Add|Precache|
|00000a40| 4d 61 74 65 72 69 61 6c | 28 4d 61 74 65 72 69 61 |Material|(Materia|
|00000a50| 6c 27 57 65 61 70 6f 6e | 53 6b 69 6e 73 2e 42 61 |l'Weapon|Skins.Ba|
|00000a60| 6c 6c 4c 61 75 6e 63 68 | 65 72 45 6e 65 72 67 79 |llLaunch|erEnergy|
|00000a70| 27 29 3b 0d 0a 09 6d 79 | 4c 65 76 65 6c 2e 41 64 |');...my|Level.Ad|
|00000a80| 64 50 72 65 63 61 63 68 | 65 4d 61 74 65 72 69 61 |dPrecach|eMateria|
|00000a90| 6c 28 4d 61 74 65 72 69 | 61 6c 27 57 65 61 70 6f |l(Materi|al'Weapo|
|00000aa0| 6e 53 6b 69 6e 73 2e 42 | 61 6c 6c 4c 61 75 6e 63 |nSkins.B|allLaunc|
|00000ab0| 68 65 72 4c 69 6e 65 27 | 29 3b 0d 0a 0d 0a 09 6d |herLine'|);.....m|
|00000ac0| 79 4c 65 76 65 6c 2e 41 | 64 64 50 72 65 63 61 63 |yLevel.A|ddPrecac|
|00000ad0| 68 65 4d 61 74 65 72 69 | 61 6c 28 4d 61 74 65 72 |heMateri|al(Mater|
|00000ae0| 69 61 6c 27 58 45 66 66 | 65 63 74 73 2e 52 65 64 |ial'XEff|ects.Red|
|00000af0| 4d 61 72 6b 65 72 5f 54 | 27 29 3b 0d 0a 09 6d 79 |Marker_T|');...my|
|00000b00| 4c 65 76 65 6c 2e 41 64 | 64 50 72 65 63 61 63 68 |Level.Ad|dPrecach|
|00000b10| 65 4d 61 74 65 72 69 61 | 6c 28 4d 61 74 65 72 69 |eMateria|l(Materi|
|00000b20| 61 6c 27 58 45 66 66 65 | 63 74 73 2e 42 6c 75 65 |al'XEffe|cts.Blue|
|00000b30| 4d 61 72 6b 65 72 5f 54 | 27 29 3b 0d 0a 09 6d 79 |Marker_T|');...my|
|00000b40| 4c 65 76 65 6c 2e 41 64 | 64 50 72 65 63 61 63 68 |Level.Ad|dPrecach|
|00000b50| 65 4d 61 74 65 72 69 61 | 6c 28 4d 61 74 65 72 69 |eMateria|l(Materi|
|00000b60| 61 6c 27 58 47 61 6d 65 | 53 68 61 64 65 72 73 2e |al'XGame|Shaders.|
|00000b70| 42 6f 6d 62 49 63 6f 6e | 42 6c 75 65 27 29 3b 0d |BombIcon|Blue');.|
|00000b80| 0a 09 6d 79 4c 65 76 65 | 6c 2e 41 64 64 50 72 65 |..myLeve|l.AddPre|
|00000b90| 63 61 63 68 65 4d 61 74 | 65 72 69 61 6c 28 4d 61 |cacheMat|erial(Ma|
|00000ba0| 74 65 72 69 61 6c 27 58 | 47 61 6d 65 53 68 61 64 |terial'X|GameShad|
|00000bb0| 65 72 73 2e 42 6f 6d 62 | 49 63 6f 6e 52 65 64 27 |ers.Bomb|IconRed'|
|00000bc0| 29 3b 0d 0a 09 6d 79 4c | 65 76 65 6c 2e 41 64 64 |);...myL|evel.Add|
|00000bd0| 50 72 65 63 61 63 68 65 | 4d 61 74 65 72 69 61 6c |Precache|Material|
|00000be0| 28 4d 61 74 65 72 69 61 | 6c 27 58 47 61 6d 65 53 |(Materia|l'XGameS|
|00000bf0| 68 61 64 65 72 73 2e 42 | 6f 6d 62 49 63 6f 6e 59 |haders.B|ombIconY|
|00000c00| 45 4c 4c 4f 57 27 29 3b | 0d 0a 09 6d 79 4c 65 76 |ELLOW');|...myLev|
|00000c10| 65 6c 2e 41 64 64 50 72 | 65 63 61 63 68 65 4d 61 |el.AddPr|ecacheMa|
|00000c20| 74 65 72 69 61 6c 28 4d | 61 74 65 72 69 61 6c 27 |terial(M|aterial'|
|00000c30| 58 47 61 6d 65 53 68 61 | 64 65 72 73 2e 42 52 42 |XGameSha|ders.BRB|
|00000c40| 61 6c 6c 27 29 3b 0d 0a | 09 6d 79 4c 65 76 65 6c |all');..|.myLevel|
|00000c50| 2e 41 64 64 50 72 65 63 | 61 63 68 65 4d 61 74 65 |.AddPrec|acheMate|
|00000c60| 72 69 61 6c 28 4d 61 74 | 65 72 69 61 6c 27 58 47 |rial(Mat|erial'XG|
|00000c70| 61 6d 65 54 65 78 74 75 | 72 65 73 2e 42 6f 6d 62 |ameTextu|res.Bomb|
|00000c80| 44 65 6c 69 76 65 72 79 | 54 65 78 27 29 3b 0d 0a |Delivery|Tex');..|
|00000c90| 7d 0d 0a 0d 0a 73 74 61 | 74 69 63 20 66 75 6e 63 |}....sta|tic func|
|00000ca0| 74 69 6f 6e 20 50 72 65 | 63 61 63 68 65 47 61 6d |tion Pre|cacheGam|
|00000cb0| 65 53 74 61 74 69 63 4d | 65 73 68 65 73 28 4c 65 |eStaticM|eshes(Le|
|00000cc0| 76 65 6c 49 6e 66 6f 20 | 6d 79 4c 65 76 65 6c 29 |velInfo |myLevel)|
|00000cd0| 0d 0a 7b 0d 0a 09 63 6c | 61 73 73 27 78 44 65 61 |..{...cl|ass'xDea|
|00000ce0| 74 68 4d 61 74 63 68 27 | 2e 73 74 61 74 69 63 2e |thMatch'|.static.|
|00000cf0| 50 72 65 63 61 63 68 65 | 47 61 6d 65 53 74 61 74 |Precache|GameStat|
|00000d00| 69 63 4d 65 73 68 65 73 | 28 6d 79 4c 65 76 65 6c |icMeshes|(myLevel|
|00000d10| 29 3b 0d 0a 0d 0a 09 6d | 79 4c 65 76 65 6c 2e 41 |);.....m|yLevel.A|
|00000d20| 64 64 50 72 65 63 61 63 | 68 65 53 74 61 74 69 63 |ddPrecac|heStatic|
|00000d30| 4d 65 73 68 28 53 74 61 | 74 69 63 4d 65 73 68 27 |Mesh(Sta|ticMesh'|
|00000d40| 58 47 61 6d 65 5f 72 63 | 2e 42 6f 6d 62 53 70 61 |XGame_rc|.BombSpa|
|00000d50| 77 6e 4d 65 73 68 27 29 | 3b 0d 0a 09 6d 79 4c 65 |wnMesh')|;...myLe|
|00000d60| 76 65 6c 2e 41 64 64 50 | 72 65 63 61 63 68 65 53 |vel.AddP|recacheS|
|00000d70| 74 61 74 69 63 4d 65 73 | 68 28 53 74 61 74 69 63 |taticMes|h(Static|
|00000d80| 4d 65 73 68 27 58 47 61 | 6d 65 5f 72 63 2e 42 6f |Mesh'XGa|me_rc.Bo|
|00000d90| 6d 62 45 66 66 65 63 74 | 4d 65 73 68 27 29 3b 0d |mbEffect|Mesh');.|
|00000da0| 0a 09 6d 79 4c 65 76 65 | 6c 2e 41 64 64 50 72 65 |..myLeve|l.AddPre|
|00000db0| 63 61 63 68 65 53 74 61 | 74 69 63 4d 65 73 68 28 |cacheSta|ticMesh(|
|00000dc0| 53 74 61 74 69 63 4d 65 | 73 68 27 45 5f 50 69 63 |StaticMe|sh'E_Pic|
|00000dd0| 6b 75 70 73 2e 46 75 6c | 6c 42 6f 6d 62 27 29 3b |kups.Ful|lBomb');|
|00000de0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000df0| 53 65 74 54 65 61 6d 42 | 61 73 65 73 28 29 09 2f |SetTeamB|ases()./|
|00000e00| 2f 20 49 6d 70 6f 72 74 | 61 6e 74 20 66 6f 72 20 |/ Import|ant for |
|00000e10| 74 72 61 63 6b 69 6e 67 | 0d 0a 7b 0d 0a 09 6c 6f |tracking|..{...lo|
|00000e20| 63 61 6c 20 78 42 6f 6d | 62 44 65 6c 69 76 65 72 |cal xBom|bDeliver|
|00000e30| 79 20 42 3b 0d 0a 0d 0a | 09 2f 2f 20 61 73 73 6f |y B;....|.// asso|
|00000e40| 63 69 61 74 65 20 66 6c | 61 67 73 20 77 69 74 68 |ciate fl|ags with|
|00000e50| 20 74 65 61 6d 73 0d 0a | 09 46 6f 72 45 61 63 68 | teams..|.ForEach|
|00000e60| 20 41 6c 6c 41 63 74 6f | 72 73 28 43 6c 61 73 73 | AllActo|rs(Class|
|00000e70| 27 78 42 6f 6d 62 44 65 | 6c 69 76 65 72 79 27 2c |'xBombDe|livery',|
|00000e80| 42 29 0d 0a 09 7b 0d 0a | 09 09 54 65 61 6d 73 5b |B)...{..|..Teams[|
|00000e90| 42 2e 54 65 61 6d 5d 2e | 48 6f 6d 65 42 61 73 65 |B.Team].|HomeBase|
|00000ea0| 20 3d 20 42 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a | = B;...|}..}....|
|00000eb0| 66 75 6e 63 74 69 6f 6e | 20 47 61 6d 65 4f 62 6a |function| GameObj|
|00000ec0| 65 63 74 20 47 65 74 47 | 61 6d 65 4f 62 6a 65 63 |ect GetG|ameObjec|
|00000ed0| 74 28 20 4e 61 6d 65 20 | 47 61 6d 65 4f 62 6a 65 |t( Name |GameObje|
|00000ee0| 63 74 4e 61 6d 65 20 29 | 0d 0a 7b 0d 0a 09 2f 2f |ctName )|..{...//|
|00000ef0| 20 74 65 6d 70 20 2d 20 | 73 61 6e 69 74 79 20 63 | temp - |sanity c|
|00000f00| 68 65 63 6b 0d 0a 09 61 | 73 73 65 72 74 28 62 6f |heck...a|ssert(bo|
|00000f10| 6d 62 20 21 3d 20 4e 6f | 6e 65 20 26 26 20 62 6f |mb != No|ne && bo|
|00000f20| 6d 62 2e 49 73 41 28 47 | 61 6d 65 4f 62 6a 65 63 |mb.IsA(G|ameObjec|
|00000f30| 74 4e 61 6d 65 29 29 3b | 0d 0a 0d 0a 09 69 66 20 |tName));|.....if |
|00000f40| 28 20 42 6f 6d 62 2e 49 | 73 41 28 47 61 6d 65 4f |( Bomb.I|sA(GameO|
|00000f50| 62 6a 65 63 74 4e 61 6d | 65 29 20 29 0d 0a 09 09 |bjectNam|e) )....|
|00000f60| 72 65 74 75 72 6e 20 42 | 6f 6d 62 3b 0d 0a 0d 0a |return B|omb;....|
|00000f70| 09 72 65 74 75 72 6e 20 | 53 75 70 65 72 2e 47 65 |.return |Super.Ge|
|00000f80| 74 47 61 6d 65 4f 62 6a | 65 63 74 28 47 61 6d 65 |tGameObj|ect(Game|
|00000f90| 4f 62 6a 65 63 74 4e 61 | 6d 65 29 3b 0d 0a 7d 0d |ObjectNa|me);..}.|
|00000fa0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 4c 6f 67 6f |...funct|ion Logo|
|00000fb0| 75 74 28 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 45 78 |ut(Contr|oller Ex|
|00000fc0| 69 74 69 6e 67 29 0d 0a | 7b 0d 0a 09 69 66 20 28 |iting)..|{...if (|
|00000fd0| 20 78 42 6f 6d 62 46 6c | 61 67 28 45 78 69 74 69 | xBombFl|ag(Exiti|
|00000fe0| 6e 67 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |ng.Playe|rReplica|
|00000ff0| 74 69 6f 6e 49 6e 66 6f | 2e 48 61 73 46 6c 61 67 |tionInfo|.HasFlag|
|00001000| 29 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 78 |) != Non|e )....x|
|00001010| 42 6f 6d 62 46 6c 61 67 | 28 45 78 69 74 69 6e 67 |BombFlag|(Exiting|
|00001020| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00001030| 6f 6e 49 6e 66 6f 2e 48 | 61 73 46 6c 61 67 29 2e |onInfo.H|asFlag).|
|00001040| 44 72 6f 70 28 76 65 63 | 74 28 30 2c 30 2c 30 29 |Drop(vec|t(0,0,0)|
|00001050| 29 3b 0d 0a 09 53 75 70 | 65 72 2e 4c 6f 67 6f 75 |);...Sup|er.Logou|
|00001060| 74 28 45 78 69 74 69 6e | 67 29 3b 0d 0a 7d 0d 0a |t(Exitin|g);..}..|
|00001070| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 44 69 73 63 61 |..functi|on Disca|
|00001080| 72 64 49 6e 76 65 6e 74 | 6f 72 79 28 20 50 61 77 |rdInvent|ory( Paw|
|00001090| 6e 20 4f 74 68 65 72 20 | 29 0d 0a 7b 0d 0a 09 69 |n Other |)..{...i|
|000010a0| 66 20 28 20 28 4f 74 68 | 65 72 2e 50 6c 61 79 65 |f ( (Oth|er.Playe|
|000010b0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|000010c0| 20 21 3d 20 4e 6f 6e 65 | 29 20 26 26 20 28 4f 74 | != None|) && (Ot|
|000010d0| 68 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |her.Play|erReplic|
|000010e0| 61 74 69 6f 6e 49 6e 66 | 6f 2e 48 61 73 46 6c 61 |ationInf|o.HasFla|
|000010f0| 67 20 21 3d 20 4e 6f 6e | 65 29 20 29 0d 0a 20 20 |g != Non|e) ).. |
|00001100| 20 20 20 20 20 20 78 42 | 6f 6d 62 46 6c 61 67 28 | xB|ombFlag(|
|00001110| 4f 74 68 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |Other.Pl|ayerRepl|
|00001120| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 48 61 73 46 |icationI|nfo.HasF|
|00001130| 6c 61 67 29 2e 44 72 6f | 70 28 30 2e 35 20 2a 20 |lag).Dro|p(0.5 * |
|00001140| 4f 74 68 65 72 2e 56 65 | 6c 6f 63 69 74 79 29 3b |Other.Ve|locity);|
|00001150| 0d 0a 09 53 75 70 65 72 | 2e 44 69 73 63 61 72 64 |...Super|.Discard|
|00001160| 49 6e 76 65 6e 74 6f 72 | 79 28 4f 74 68 65 72 29 |Inventor|y(Other)|
|00001170| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00001180| 20 53 63 6f 72 65 47 61 | 6d 65 4f 62 6a 65 63 74 | ScoreGa|meObject|
|00001190| 28 20 43 6f 6e 74 72 6f | 6c 6c 65 72 20 43 2c 20 |( Contro|ller C, |
|000011a0| 47 61 6d 65 4f 62 6a 65 | 63 74 20 47 4f 20 29 0d |GameObje|ct GO ).|
|000011b0| 0a 7b 0d 0a 09 53 75 70 | 65 72 2e 53 63 6f 72 65 |.{...Sup|er.Score|
|000011c0| 47 61 6d 65 4f 62 6a 65 | 63 74 28 43 2c 47 4f 29 |GameObje|ct(C,GO)|
|000011d0| 3b 0d 0a 09 69 66 20 28 | 20 47 4f 2e 49 73 41 28 |;...if (| GO.IsA(|
|000011e0| 27 78 42 6f 6d 62 46 6c | 61 67 27 29 20 29 0d 0a |'xBombFl|ag') )..|
|000011f0| 09 09 53 63 6f 72 65 42 | 6f 6d 62 28 43 2c 20 78 |..ScoreB|omb(C, x|
|00001200| 42 6f 6d 62 46 6c 61 67 | 28 47 4f 29 29 3b 0d 0a |BombFlag|(GO));..|
|00001210| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 53 63 |}....fun|ction Sc|
|00001220| 6f 72 65 42 6f 6d 62 28 | 43 6f 6e 74 72 6f 6c 6c |oreBomb(|Controll|
|00001230| 65 72 20 53 63 6f 72 65 | 72 2c 20 78 42 6f 6d 62 |er Score|r, xBomb|
|00001240| 46 6c 61 67 20 74 68 65 | 46 6c 61 67 29 0d 0a 7b |Flag the|Flag)..{|
|00001250| 0d 0a 20 20 20 20 6c 6f | 63 61 6c 20 62 6f 6f 6c |.. lo|cal bool|
|00001260| 20 54 68 72 6f 77 69 6e | 67 53 63 6f 72 65 3b 0d | Throwin|gScore;.|
|00001270| 0a 09 6c 6f 63 61 6c 20 | 69 6e 74 20 69 3b 0d 0a |..local |int i;..|
|00001280| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 70 70 70 |.local f|loat ppp|
|00001290| 2c 6e 75 6d 74 6f 75 63 | 68 2c 6d 61 78 70 6f 69 |,numtouc|h,maxpoi|
|000012a0| 6e 74 73 2c 6d 61 78 70 | 65 72 3b 0d 0a 09 6c 6f |nts,maxp|er;...lo|
|000012b0| 63 61 6c 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 20 43 |cal cont|roller C|
|000012c0| 3b 0d 0a 0d 0a 20 20 20 | 20 42 6f 6d 62 20 3d 20 |;.... | Bomb = |
|000012d0| 74 68 65 46 6c 61 67 3b | 0d 0a 0d 0a 20 20 20 20 |theFlag;|.... |
|000012e0| 69 66 28 20 52 65 73 65 | 74 43 6f 75 6e 74 44 6f |if( Rese|tCountDo|
|000012f0| 77 6e 20 3e 20 30 20 29 | 0d 0a 20 20 20 20 7b 0d |wn > 0 )|.. {.|
|00001300| 0a 20 20 20 20 20 20 20 | 20 2f 2f 6c 6f 67 28 22 |. | //log("|
|00001310| 49 67 6e 6f 72 69 6e 67 | 20 73 63 6f 72 65 20 64 |Ignoring| score d|
|00001320| 75 72 69 6e 67 20 72 65 | 73 65 74 20 63 6f 75 6e |uring re|set coun|
|00001330| 74 64 6f 77 6e 2e 22 2c | 27 42 6f 6d 62 69 6e 67 |tdown.",|'Bombing|
|00001340| 52 75 6e 27 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |Run');..| |
|00001350| 74 68 65 46 6c 61 67 2e | 53 65 6e 64 48 6f 6d 65 |theFlag.|SendHome|
|00001360| 28 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 72 65 74 |();.. | ret|
|00001370| 75 72 6e 3b 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 09 |urn;.. | }.....|
|00001380| 2f 2f 20 62 6c 6f 77 20 | 75 70 20 61 6c 6c 20 72 |// blow |up all r|
|00001390| 65 64 65 65 6d 65 72 20 | 67 75 69 64 65 64 20 77 |edeemer |guided w|
|000013a0| 61 72 68 65 61 64 73 0d | 0a 09 66 6f 72 20 28 20 |arheads.|..for ( |
|000013b0| 43 3d 4c 65 76 65 6c 2e | 43 6f 6e 74 72 6f 6c 6c |C=Level.|Controll|
|000013c0| 65 72 4c 69 73 74 3b 20 | 43 21 3d 4e 6f 6e 65 3b |erList; |C!=None;|
|000013d0| 20 43 3d 43 2e 4e 65 78 | 74 43 6f 6e 74 72 6f 6c | C=C.Nex|tControl|
|000013e0| 6c 65 72 20 29 0d 0a 09 | 09 69 66 20 28 20 28 43 |ler )...|.if ( (C|
|000013f0| 2e 50 61 77 6e 20 21 3d | 20 4e 6f 6e 65 29 20 26 |.Pawn !=| None) &|
|00001400| 26 20 43 2e 50 61 77 6e | 2e 49 73 41 28 27 52 65 |& C.Pawn|.IsA('Re|
|00001410| 64 65 65 6d 65 72 57 61 | 72 68 65 61 64 27 29 20 |deemerWa|rhead') |
|00001420| 29 0d 0a 09 09 09 43 2e | 50 61 77 6e 2e 46 69 72 |).....C.|Pawn.Fir|
|00001430| 65 28 30 29 3b 0d 0a 0d | 0a 20 20 20 20 2f 2f 20 |e(0);...|. // |
|00001440| 61 72 65 20 77 65 20 64 | 65 61 6c 69 6e 67 20 77 |are we d|ealing w|
|00001450| 69 74 68 20 61 20 74 68 | 72 6f 77 69 6e 67 20 73 |ith a th|rowing s|
|00001460| 63 6f 72 65 3f 0d 0a 20 | 20 20 20 69 66 20 28 53 |core?.. | if (S|
|00001470| 63 6f 72 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |corer.Pl|ayerRepl|
|00001480| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 48 61 73 46 |icationI|nfo.HasF|
|00001490| 6c 61 67 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 20 20 |lag == N|one).. |
|000014a0| 20 20 20 20 20 20 54 68 | 72 6f 77 69 6e 67 53 63 | Th|rowingSc|
|000014b0| 6f 72 65 20 3d 20 74 72 | 75 65 3b 0d 0a 20 20 20 |ore = tr|ue;.. |
|000014c0| 20 69 66 20 28 20 28 53 | 63 6f 72 65 72 2e 50 61 | if ( (S|corer.Pa|
|000014d0| 77 6e 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 53 |wn != No|ne) && S|
|000014e0| 63 6f 72 65 72 2e 50 61 | 77 6e 2e 57 65 61 70 6f |corer.Pa|wn.Weapo|
|000014f0| 6e 2e 49 73 41 28 27 42 | 61 6c 6c 4c 61 75 6e 63 |n.IsA('B|allLaunc|
|00001500| 68 65 72 27 29 20 29 0d | 0a 09 09 53 63 6f 72 65 |her') ).|...Score|
|00001510| 72 2e 43 6c 69 65 6e 74 | 53 77 69 74 63 68 54 6f |r.Client|SwitchTo|
|00001520| 42 65 73 74 57 65 61 70 | 6f 6e 28 29 3b 0d 0a 0d |BestWeap|on();...|
|00001530| 0a 09 74 68 65 46 6c 61 | 67 2e 49 6e 73 74 69 67 |..theFla|g.Instig|
|00001540| 61 74 6f 72 20 3d 20 6e | 6f 6e 65 3b 09 2f 2f 20 |ator = n|one;.// |
|00001550| 6a 6d 77 20 2d 20 6e 65 | 65 64 20 74 68 69 73 20 |jmw - ne|ed this |
|00001560| 74 6f 20 73 74 6f 70 20 | 74 68 65 20 72 65 65 6e |to stop |the reen|
|00001570| 74 65 72 69 6e 67 20 6f | 66 20 53 63 6f 72 65 42 |tering o|f ScoreB|
|00001580| 6f 6d 62 20 64 75 65 20 | 74 6f 20 74 6f 75 63 68 |omb due |to touch|
|00001590| 20 77 69 74 68 20 74 68 | 65 20 62 61 73 65 0d 0a | with th|e base..|
|000015a0| 0d 0a 20 20 20 20 2f 2f | 20 61 77 61 72 64 73 20 |.. //| awards |
|000015b0| 66 6f 72 20 73 63 6f 72 | 69 6e 67 0d 0a 09 49 6e |for scor|ing...In|
|000015c0| 63 72 65 6d 65 6e 74 47 | 6f 61 6c 73 53 63 6f 72 |crementG|oalsScor|
|000015d0| 65 64 28 53 63 6f 72 65 | 72 2e 50 6c 61 79 65 72 |ed(Score|r.Player|
|000015e0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 29 |Replicat|ionInfo)|
|000015f0| 3b 0d 0a 09 4f 6c 64 53 | 63 6f 72 65 20 3d 20 53 |;...OldS|core = S|
|00001600| 63 6f 72 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |corer.Pl|ayerRepl|
|00001610| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 54 65 61 6d |icationI|nfo.Team|
|00001620| 2e 53 63 6f 72 65 3b 0d | 0a 20 20 20 20 69 66 20 |.Score;.|. if |
|00001630| 28 54 68 72 6f 77 69 6e | 67 53 63 6f 72 65 29 0d |(Throwin|gScore).|
|00001640| 0a 09 7b 0d 0a 20 20 20 | 20 20 20 20 20 53 63 6f |..{.. | Sco|
|00001650| 72 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |rer.Play|erReplic|
|00001660| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 2e 53 |ationInf|o.Team.S|
|00001670| 63 6f 72 65 20 2b 3d 20 | 33 2e 30 3b 0d 0a 09 09 |core += |3.0;....|
|00001680| 53 63 6f 72 65 72 2e 50 | 6c 61 79 65 72 52 65 70 |Scorer.P|layerRep|
|00001690| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 54 65 61 |lication|Info.Tea|
|000016a0| 6d 2e 4e 65 74 55 70 64 | 61 74 65 54 69 6d 65 20 |m.NetUpd|ateTime |
|000016b0| 3d 20 4c 65 76 65 6c 2e | 54 69 6d 65 53 65 63 6f |= Level.|TimeSeco|
|000016c0| 6e 64 73 20 2d 20 31 3b | 0d 0a 09 09 54 65 61 6d |nds - 1;|....Team|
|000016d0| 53 63 6f 72 65 45 76 65 | 6e 74 28 53 63 6f 72 65 |ScoreEve|nt(Score|
|000016e0| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|000016f0| 69 6f 6e 49 6e 66 6f 2e | 54 65 61 6d 2e 54 65 61 |ionInfo.|Team.Tea|
|00001700| 6d 49 6e 64 65 78 2c 33 | 2c 22 62 61 6c 6c 5f 74 |mIndex,3|,"ball_t|
|00001710| 6f 73 73 65 64 22 29 3b | 0d 0a 0d 0a 09 09 2f 2f |ossed");|......//|
|00001720| 20 49 6e 64 69 76 69 64 | 75 61 6c 20 70 6f 69 6e | Individ|ual poin|
|00001730| 74 73 0d 0a 0d 0a 09 09 | 53 63 6f 72 65 72 2e 50 |ts......|Scorer.P|
|00001740| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00001750| 49 6e 66 6f 2e 53 63 6f | 72 65 20 2b 3d 20 32 3b |Info.Sco|re += 2;|
|00001760| 20 2f 2f 20 4a 75 73 74 | 20 66 6f 72 20 73 63 6f | // Just| for sco|
|00001770| 72 69 6e 67 0d 0a 09 09 | 4d 61 78 50 6f 69 6e 74 |ring....|MaxPoint|
|00001780| 73 3d 31 30 3b 0d 0a 09 | 09 4d 61 78 50 65 72 3d |s=10;...|.MaxPer=|
|00001790| 32 3b 0d 0a 09 09 53 63 | 6f 72 65 45 76 65 6e 74 |2;....Sc|oreEvent|
|000017a0| 28 53 63 6f 72 65 72 2e | 50 6c 61 79 65 72 52 65 |(Scorer.|PlayerRe|
|000017b0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2c 35 2c |plicatio|nInfo,5,|
|000017c0| 22 62 61 6c 6c 5f 74 68 | 72 6f 77 6e 5f 66 69 6e |"ball_th|rown_fin|
|000017d0| 61 6c 22 29 3b 0d 0a 09 | 7d 0d 0a 20 20 20 20 65 |al");...|}.. e|
|000017e0| 6c 73 65 0d 0a 09 7b 0d | 0a 20 20 09 09 53 63 6f |lse...{.|. ..Sco|
|000017f0| 72 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |rer.Play|erReplic|
|00001800| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 2e 53 |ationInf|o.Team.S|
|00001810| 63 6f 72 65 20 2b 3d 20 | 37 2e 30 3b 0d 0a 09 09 |core += |7.0;....|
|00001820| 53 63 6f 72 65 72 2e 50 | 6c 61 79 65 72 52 65 70 |Scorer.P|layerRep|
|00001830| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 54 65 61 |lication|Info.Tea|
|00001840| 6d 2e 4e 65 74 55 70 64 | 61 74 65 54 69 6d 65 20 |m.NetUpd|ateTime |
|00001850| 3d 20 4c 65 76 65 6c 2e | 54 69 6d 65 53 65 63 6f |= Level.|TimeSeco|
|00001860| 6e 64 73 20 2d 20 31 3b | 0d 0a 09 09 54 65 61 6d |nds - 1;|....Team|
|00001870| 53 63 6f 72 65 45 76 65 | 6e 74 28 53 63 6f 72 65 |ScoreEve|nt(Score|
|00001880| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00001890| 69 6f 6e 49 6e 66 6f 2e | 54 65 61 6d 2e 54 65 61 |ionInfo.|Team.Tea|
|000018a0| 6d 49 6e 64 65 78 2c 37 | 2c 22 62 61 6c 6c 5f 63 |mIndex,7|,"ball_c|
|000018b0| 61 72 72 69 65 64 22 29 | 3b 0d 0a 0d 0a 09 09 2f |arried")|;....../|
|000018c0| 2f 20 49 6e 64 69 76 69 | 64 75 61 6c 20 70 6f 69 |/ Indivi|dual poi|
|000018d0| 6e 74 73 0d 0a 0d 0a 09 | 09 53 63 6f 72 65 72 2e |nts.....|.Scorer.|
|000018e0| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|000018f0| 6e 49 6e 66 6f 2e 53 63 | 6f 72 65 20 2b 3d 20 35 |nInfo.Sc|ore += 5|
|00001900| 3b 20 2f 2f 20 4a 75 73 | 74 20 66 6f 72 20 73 63 |; // Jus|t for sc|
|00001910| 6f 72 69 6e 67 0d 0a 09 | 09 4d 61 78 50 6f 69 6e |oring...|.MaxPoin|
|00001920| 74 73 3d 32 30 3b 0d 0a | 09 09 4d 61 78 50 65 72 |ts=20;..|..MaxPer|
|00001930| 3d 35 3b 0d 0a 09 09 53 | 63 6f 72 65 45 76 65 6e |=5;....S|coreEven|
|00001940| 74 28 53 63 6f 72 65 72 | 2e 50 6c 61 79 65 72 52 |t(Scorer|.PlayerR|
|00001950| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2c 35 |eplicati|onInfo,5|
|00001960| 2c 22 62 61 6c 6c 5f 63 | 61 70 5f 66 69 6e 61 6c |,"ball_c|ap_final|
|00001970| 22 29 3b 0d 0a 09 7d 0d | 0a 09 53 63 6f 72 65 72 |");...}.|..Scorer|
|00001980| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00001990| 6f 6e 49 6e 66 6f 2e 4e | 65 74 55 70 64 61 74 65 |onInfo.N|etUpdate|
|000019a0| 54 69 6d 65 20 3d 20 4c | 65 76 65 6c 2e 54 69 6d |Time = L|evel.Tim|
|000019b0| 65 53 65 63 6f 6e 64 73 | 20 2d 20 31 3b 0d 0a 0d |eSeconds| - 1;...|
|000019c0| 0a 09 2f 2f 20 45 61 63 | 68 20 70 6c 61 79 65 72 |..// Eac|h player|
|000019d0| 20 67 65 74 73 20 4d 61 | 78 50 6f 69 6e 74 73 2f | gets Ma|xPoints/|
|000019e0| 78 20 62 75 74 20 69 74 | 27 73 20 67 75 61 72 65 |x but it|'s guare|
|000019f0| 6e 74 65 65 64 20 74 6f | 20 62 65 20 61 74 20 6c |nteed to| be at l|
|00001a00| 65 61 73 74 20 31 20 70 | 6f 69 6e 74 20 62 75 74 |east 1 p|oint but|
|00001a10| 20 6e 6f 20 6d 6f 72 65 | 20 74 68 61 6e 20 4d 61 | no more| than Ma|
|00001a20| 78 50 65 72 20 70 6f 69 | 6e 74 73 0d 0a 09 6e 75 |xPer poi|nts...nu|
|00001a30| 6d 74 6f 75 63 68 3d 30 | 3b 0d 0a 09 66 6f 72 20 |mtouch=0|;...for |
|00001a40| 28 69 3d 30 3b 69 3c 54 | 68 65 46 6c 61 67 2e 41 |(i=0;i<T|heFlag.A|
|00001a50| 73 73 69 73 74 73 2e 6c | 65 6e 67 74 68 3b 69 2b |ssists.l|ength;i+|
|00001a60| 2b 29 0d 0a 09 7b 0d 0a | 09 09 69 66 20 28 20 28 |+)...{..|..if ( (|
|00001a70| 54 68 65 46 6c 61 67 2e | 41 73 73 69 73 74 73 5b |TheFlag.|Assists[|
|00001a80| 69 5d 21 3d 4e 6f 6e 65 | 29 20 26 26 20 28 54 68 |i]!=None|) && (Th|
|00001a90| 65 46 6c 61 67 2e 41 73 | 73 69 73 74 73 5b 69 5d |eFlag.As|sists[i]|
|00001aa0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00001ab0| 6f 6e 49 6e 66 6f 2e 54 | 65 61 6d 20 3d 3d 20 53 |onInfo.T|eam == S|
|00001ac0| 63 6f 72 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |corer.Pl|ayerRepl|
|00001ad0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 54 65 61 6d |icationI|nfo.Team|
|00001ae0| 29 20 29 0d 0a 09 09 09 | 6e 75 6d 74 6f 75 63 68 |) ).....|numtouch|
|00001af0| 20 3d 20 6e 75 6d 74 6f | 75 63 68 20 2b 20 31 2e | = numto|uch + 1.|
|00001b00| 30 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 70 70 70 20 3d |0;...}..|...ppp =|
|00001b10| 20 4d 61 78 50 6f 69 6e | 74 73 20 2f 20 6e 75 6d | MaxPoin|ts / num|
|00001b20| 74 6f 75 63 68 3b 0d 0a | 09 69 66 20 28 70 70 70 |touch;..|.if (ppp|
|00001b30| 3c 31 2e 30 29 0d 0a 09 | 09 70 70 70 20 3d 20 31 |<1.0)...|.ppp = 1|
|00001b40| 2e 30 3b 0d 0a 0d 0a 09 | 69 66 20 28 70 70 70 3e |.0;.....|if (ppp>|
|00001b50| 4d 61 78 50 65 72 29 0d | 0a 09 09 70 70 70 20 3d |MaxPer).|...ppp =|
|00001b60| 20 4d 61 78 50 65 72 3b | 0d 0a 0d 0a 09 66 6f 72 | MaxPer;|.....for|
|00001b70| 20 28 69 3d 30 3b 69 3c | 54 68 65 46 6c 61 67 2e | (i=0;i<|TheFlag.|
|00001b80| 41 73 73 69 73 74 73 2e | 6c 65 6e 67 74 68 3b 69 |Assists.|length;i|
|00001b90| 2b 2b 29 0d 0a 09 7b 0d | 0a 09 09 69 66 20 28 20 |++)...{.|...if ( |
|00001ba0| 28 54 68 65 46 6c 61 67 | 2e 41 73 73 69 73 74 73 |(TheFlag|.Assists|
|00001bb0| 5b 69 5d 21 3d 4e 6f 6e | 65 29 20 26 26 20 28 54 |[i]!=Non|e) && (T|
|00001bc0| 68 65 46 6c 61 67 2e 41 | 73 73 69 73 74 73 5b 69 |heFlag.A|ssists[i|
|00001bd0| 5d 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |].Player|Replicat|
|00001be0| 69 6f 6e 49 6e 66 6f 2e | 54 65 61 6d 20 3d 3d 20 |ionInfo.|Team == |
|00001bf0| 53 63 6f 72 65 72 2e 50 | 6c 61 79 65 72 52 65 70 |Scorer.P|layerRep|
|00001c00| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 54 65 61 |lication|Info.Tea|
|00001c10| 6d 29 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 53 63 |m) )....|{.....Sc|
|00001c20| 6f 72 65 45 76 65 6e 74 | 28 54 68 65 46 6c 61 67 |oreEvent|(TheFlag|
|00001c30| 2e 41 73 73 69 73 74 73 | 5b 69 5d 2e 50 6c 61 79 |.Assists|[i].Play|
|00001c40| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00001c50| 6f 2c 70 70 70 2c 22 62 | 61 6c 6c 5f 73 63 6f 72 |o,ppp,"b|all_scor|
|00001c60| 65 5f 61 73 73 69 73 74 | 22 29 3b 0d 0a 09 09 09 |e_assist|");.....|
|00001c70| 54 68 65 46 6c 61 67 2e | 41 73 73 69 73 74 73 5b |TheFlag.|Assists[|
|00001c80| 69 5d 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |i].Playe|rReplica|
|00001c90| 74 69 6f 6e 49 6e 66 6f | 2e 53 63 6f 72 65 20 2b |tionInfo|.Score +|
|00001ca0| 3d 20 69 6e 74 28 70 70 | 70 29 3b 0d 0a 09 09 7d |= int(pp|p);....}|
|00001cb0| 0d 0a 09 7d 0d 0a 0d 0a | 20 20 20 20 53 63 6f 72 |...}....| Scor|
|00001cc0| 65 72 2e 41 77 61 72 64 | 41 64 72 65 6e 61 6c 69 |er.Award|Adrenali|
|00001cd0| 6e 65 28 41 44 52 5f 47 | 6f 61 6c 29 3b 0d 0a 09 |ne(ADR_G|oal);...|
|00001ce0| 42 72 6f 61 64 63 61 73 | 74 4c 6f 63 61 6c 69 7a |Broadcas|tLocaliz|
|00001cf0| 65 64 4d 65 73 73 61 67 | 65 28 20 63 6c 61 73 73 |edMessag|e( class|
|00001d00| 27 78 42 6f 6d 62 4d 65 | 73 73 61 67 65 27 2c 20 |'xBombMe|ssage', |
|00001d10| 30 2c 20 53 63 6f 72 65 | 72 2e 50 6c 61 79 65 72 |0, Score|r.Player|
|00001d20| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2c |Replicat|ionInfo,|
|00001d30| 20 4e 6f 6e 65 2c 20 4e | 6f 6e 65 20 29 3b 0d 0a | None, N|one );..|
|00001d40| 09 41 6e 6e 6f 75 6e 63 | 65 53 63 6f 72 65 28 53 |.Announc|eScore(S|
|00001d50| 63 6f 72 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |corer.Pl|ayerRepl|
|00001d60| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 54 65 61 6d |icationI|nfo.Team|
|00001d70| 2e 54 65 61 6d 49 6e 64 | 65 78 29 3b 0d 0a 0d 0a |.TeamInd|ex);....|
|00001d80| 20 20 20 20 69 66 20 28 | 20 28 62 4f 76 65 72 54 | if (| (bOverT|
|00001d90| 69 6d 65 20 7c 7c 20 28 | 47 6f 61 6c 53 63 6f 72 |ime || (|GoalScor|
|00001da0| 65 20 21 3d 20 30 29 29 | 20 26 26 20 28 54 65 61 |e != 0))| && (Tea|
|00001db0| 6d 73 5b 53 63 6f 72 65 | 72 2e 50 6c 61 79 65 72 |ms[Score|r.Player|
|00001dc0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00001dd0| 54 65 61 6d 2e 54 65 61 | 6d 49 6e 64 65 78 5d 2e |Team.Tea|mIndex].|
|00001de0| 53 63 6f 72 65 20 3e 3d | 20 47 6f 61 6c 53 63 6f |Score >=| GoalSco|
|00001df0| 72 65 29 20 29 0d 0a 09 | 09 45 6e 64 47 61 6d 65 |re) )...|.EndGame|
|00001e00| 28 53 63 6f 72 65 72 2e | 50 6c 61 79 65 72 52 65 |(Scorer.|PlayerRe|
|00001e10| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2c 22 74 |plicatio|nInfo,"t|
|00001e20| 65 61 6d 73 63 6f 72 65 | 6c 69 6d 69 74 22 29 3b |eamscore|limit");|
|00001e30| 0d 0a 09 65 6c 73 65 20 | 69 66 20 28 20 62 4f 76 |...else |if ( bOv|
|00001e40| 65 72 54 69 6d 65 20 29 | 0d 0a 09 09 45 6e 64 47 |erTime )|....EndG|
|00001e50| 61 6d 65 28 53 63 6f 72 | 65 72 2e 50 6c 61 79 65 |ame(Scor|er.Playe|
|00001e60| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00001e70| 2c 22 74 69 6d 65 6c 69 | 6d 69 74 22 29 3b 0d 0a |,"timeli|mit");..|
|00001e80| 0d 0a 20 20 20 20 52 65 | 73 65 74 43 6f 75 6e 74 |.. Re|setCount|
|00001e90| 44 6f 77 6e 20 3d 20 52 | 65 73 65 74 54 69 6d 65 |Down = R|esetTime|
|00001ea0| 44 65 6c 61 79 2b 31 3b | 0d 0a 20 20 20 20 69 66 |Delay+1;|.. if|
|00001eb0| 20 28 20 62 47 61 6d 65 | 45 6e 64 65 64 20 29 0d | ( bGame|Ended ).|
|00001ec0| 0a 20 20 20 20 20 20 20 | 20 74 68 65 46 6c 61 67 |. | theFlag|
|00001ed0| 2e 53 63 6f 72 65 28 29 | 3b 0d 0a 20 20 20 20 65 |.Score()|;.. e|
|00001ee0| 6c 73 65 0d 0a 20 20 20 | 20 20 20 20 20 74 68 65 |lse.. | the|
|00001ef0| 46 6c 61 67 2e 53 65 6e | 64 48 6f 6d 65 44 69 73 |Flag.Sen|dHomeDis|
|00001f00| 61 62 6c 65 64 28 52 65 | 73 65 74 54 69 6d 65 44 |abled(Re|setTimeD|
|00001f10| 65 6c 61 79 29 3b 0d 0a | 7d 0d 0a 0d 0a 53 74 61 |elay);..|}....Sta|
|00001f20| 74 65 20 4d 61 74 63 68 | 49 6e 50 72 6f 67 72 65 |te Match|InProgre|
|00001f30| 73 73 0d 0a 7b 0d 0a 09 | 66 75 6e 63 74 69 6f 6e |ss..{...|function|
|00001f40| 20 54 69 6d 65 72 28 29 | 0d 0a 09 7b 0d 0a 20 20 | Timer()|...{.. |
|00001f50| 20 20 20 20 20 20 6c 6f | 63 61 6c 20 43 6f 6e 74 | lo|cal Cont|
|00001f60| 72 6f 6c 6c 65 72 20 43 | 3b 0d 0a 20 20 20 20 20 |roller C|;.. |
|00001f70| 20 20 20 6c 6f 63 61 6c | 20 50 72 6f 6a 65 63 74 | local| Project|
|00001f80| 69 6c 65 20 50 72 6f 6a | 3b 0d 0a 09 09 6c 6f 63 |ile Proj|;....loc|
|00001f90| 61 6c 20 49 6e 76 65 6e | 74 6f 72 79 20 49 6e 76 |al Inven|tory Inv|
|00001fa0| 3b 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 53 75 70 |;.... | Sup|
|00001fb0| 65 72 2e 54 69 6d 65 72 | 28 29 3b 0d 0a 0d 0a 20 |er.Timer|();.... |
|00001fc0| 20 20 20 20 20 20 20 69 | 66 20 28 52 65 73 65 74 | i|f (Reset|
|00001fd0| 43 6f 75 6e 74 44 6f 77 | 6e 20 3e 20 30 29 0d 0a |CountDow|n > 0)..|
|00001fe0| 20 20 20 20 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 | |{.. |
|00001ff0| 20 20 20 20 20 20 20 52 | 65 73 65 74 43 6f 75 6e | R|esetCoun|
|00002000| 74 44 6f 77 6e 2d 2d 3b | 0d 0a 20 20 20 20 20 20 |tDown--;|.. |
|00002010| 20 20 20 20 20 20 69 66 | 20 28 20 52 65 73 65 74 | if| ( Reset|
|00002020| 43 6f 75 6e 74 44 6f 77 | 6e 20 3c 20 33 20 29 0d |CountDow|n < 3 ).|
|00002030| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 7b 0d 0a |. | {..|
|00002040| 09 09 09 09 2f 2f 20 62 | 6c 6f 77 20 75 70 20 61 |....// b|low up a|
|00002050| 6c 6c 20 72 65 64 65 65 | 6d 65 72 20 67 75 69 64 |ll redee|mer guid|
|00002060| 65 64 20 77 61 72 68 65 | 61 64 73 0d 0a 09 09 09 |ed warhe|ads.....|
|00002070| 09 66 6f 72 20 28 20 43 | 3d 4c 65 76 65 6c 2e 43 |.for ( C|=Level.C|
|00002080| 6f 6e 74 72 6f 6c 6c 65 | 72 4c 69 73 74 3b 20 43 |ontrolle|rList; C|
|00002090| 21 3d 4e 6f 6e 65 3b 20 | 43 3d 43 2e 4e 65 78 74 |!=None; |C=C.Next|
|000020a0| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 29 0d 0a 09 09 |Controll|er )....|
|000020b0| 09 09 09 69 66 20 28 20 | 28 43 2e 50 61 77 6e 20 |...if ( |(C.Pawn |
|000020c0| 21 3d 20 4e 6f 6e 65 29 | 20 26 26 20 43 2e 50 61 |!= None)| && C.Pa|
|000020d0| 77 6e 2e 49 73 41 28 27 | 52 65 64 65 65 6d 65 72 |wn.IsA('|Redeemer|
|000020e0| 57 61 72 68 65 61 64 27 | 29 20 29 0d 0a 09 09 09 |Warhead'|) ).....|
|000020f0| 09 09 09 43 2e 50 61 77 | 6e 2e 46 69 72 65 28 31 |...C.Paw|n.Fire(1|
|00002100| 29 3b 0d 0a 09 09 09 7d | 0d 0a 20 20 20 20 20 20 |);.....}|.. |
|00002110| 20 20 20 20 20 20 69 66 | 20 28 20 52 65 73 65 74 | if| ( Reset|
|00002120| 43 6f 75 6e 74 44 6f 77 | 6e 20 3d 3d 20 38 20 29 |CountDow|n == 8 )|
|00002130| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 7b 0d |.. | {.|
|00002140| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002150| 20 66 6f 72 20 28 20 43 | 20 3d 20 4c 65 76 65 6c | for ( C| = Level|
|00002160| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 4c 69 73 74 3b |.Control|lerList;|
|00002170| 20 43 20 21 3d 20 4e 6f | 6e 65 3b 20 43 20 3d 20 | C != No|ne; C = |
|00002180| 43 2e 4e 65 78 74 43 6f | 6e 74 72 6f 6c 6c 65 72 |C.NextCo|ntroller|
|00002190| 20 29 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | ).. | |
|000021a0| 20 20 20 20 20 20 20 20 | 69 66 20 28 20 50 6c 61 | |if ( Pla|
|000021b0| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 28 43 29 |yerContr|oller(C)|
|000021c0| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 09 09 09 | != None| )......|
|000021d0| 09 09 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |..Player|Controll|
|000021e0| 65 72 28 43 29 2e 50 6c | 61 79 53 74 61 74 75 73 |er(C).Pl|ayStatus|
|000021f0| 41 6e 6e 6f 75 6e 63 65 | 6d 65 6e 74 28 27 4e 65 |Announce|ment('Ne|
|00002200| 77 52 6f 75 6e 64 49 6e | 27 2c 31 2c 74 72 75 65 |wRoundIn|',1,true|
|00002210| 29 3b 0d 0a 09 09 09 7d | 0d 0a 09 20 20 20 20 20 |);.....}|... |
|00002220| 20 20 20 65 6c 73 65 20 | 69 66 20 28 20 28 52 65 | else |if ( (Re|
|00002230| 73 65 74 43 6f 75 6e 74 | 44 6f 77 6e 20 3e 20 31 |setCount|Down > 1|
|00002240| 29 20 26 26 20 28 52 65 | 73 65 74 43 6f 75 6e 74 |) && (Re|setCount|
|00002250| 44 6f 77 6e 20 3c 20 37 | 29 20 29 0d 0a 09 09 09 |Down < 7|) ).....|
|00002260| 09 42 72 6f 61 64 63 61 | 73 74 4c 6f 63 61 6c 69 |.Broadca|stLocali|
|00002270| 7a 65 64 4d 65 73 73 61 | 67 65 28 63 6c 61 73 73 |zedMessa|ge(class|
|00002280| 27 54 69 6d 65 72 4d 65 | 73 73 61 67 65 27 2c 20 |'TimerMe|ssage', |
|00002290| 52 65 73 65 74 43 6f 75 | 6e 74 44 6f 77 6e 2d 31 |ResetCou|ntDown-1|
|000022a0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |);.. | |
|000022b0| 65 6c 73 65 20 69 66 20 | 28 52 65 73 65 74 43 6f |else if |(ResetCo|
|000022c0| 75 6e 74 44 6f 77 6e 20 | 3d 3d 20 31 29 0d 0a 20 |untDown |== 1).. |
|000022d0| 20 20 20 20 20 20 20 20 | 20 20 20 7b 0d 0a 09 09 | | {....|
|000022e0| 09 09 2f 2f 20 72 65 73 | 65 74 20 61 6c 6c 20 62 |..// res|et all b|
|000022f0| 6f 74 20 65 6e 65 6d 69 | 65 73 0d 0a 09 09 09 09 |ot enemi|es......|
|00002300| 54 65 61 6d 73 5b 30 5d | 2e 41 49 2e 43 6c 65 61 |Teams[0]|.AI.Clea|
|00002310| 72 45 6e 65 6d 69 65 73 | 28 29 3b 0d 0a 09 09 09 |rEnemies|();.....|
|00002320| 09 54 65 61 6d 73 5b 31 | 5d 2e 41 49 2e 43 6c 65 |.Teams[1|].AI.Cle|
|00002330| 61 72 45 6e 65 6d 69 65 | 73 28 29 3b 0d 0a 0d 0a |arEnemie|s();....|
|00002340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002350| 2f 2f 20 72 65 73 65 74 | 20 61 6c 6c 20 70 6c 61 |// reset| all pla|
|00002360| 79 65 72 73 20 70 6f 73 | 69 74 69 6f 6e 20 61 6e |yers pos|ition an|
|00002370| 64 20 72 6f 74 61 74 69 | 6f 6e 20 6f 6e 20 74 68 |d rotati|on on th|
|00002380| 65 20 66 69 65 6c 64 20 | 66 6f 72 20 74 68 65 20 |e field |for the |
|00002390| 6e 65 78 74 20 72 6f 75 | 6e 64 0d 0a 20 20 20 20 |next rou|nd.. |
|000023a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 6f 72 20 | | for |
|000023b0| 28 20 43 20 3d 20 4c 65 | 76 65 6c 2e 43 6f 6e 74 |( C = Le|vel.Cont|
|000023c0| 72 6f 6c 6c 65 72 4c 69 | 73 74 3b 20 43 20 21 3d |rollerLi|st; C !=|
|000023d0| 20 4e 6f 6e 65 3b 20 43 | 20 3d 20 43 2e 4e 65 78 | None; C| = C.Nex|
|000023e0| 74 43 6f 6e 74 72 6f 6c | 6c 65 72 20 29 0d 0a 09 |tControl|ler )...|
|000023f0| 09 09 09 09 69 66 20 28 | 20 28 43 2e 50 6c 61 79 |....if (| (C.Play|
|00002400| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00002410| 6f 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 21 43 |o != Non|e) && !C|
|00002420| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00002430| 6f 6e 49 6e 66 6f 2e 62 | 4f 6e 6c 79 53 70 65 63 |onInfo.b|OnlySpec|
|00002440| 74 61 74 6f 72 20 29 0d | 0a 20 20 20 20 09 09 09 |tator ).|. ...|
|00002450| 09 7b 0d 0a 20 20 20 09 | 09 09 09 09 09 43 2e 53 |.{.. .|.....C.S|
|00002460| 74 61 72 74 53 70 6f 74 | 20 3d 20 46 69 6e 64 50 |tartSpot| = FindP|
|00002470| 6c 61 79 65 72 53 74 61 | 72 74 28 43 2c 20 43 2e |layerSta|rt(C, C.|
|00002480| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00002490| 6e 49 6e 66 6f 2e 54 65 | 61 6d 2e 54 65 61 6d 49 |nInfo.Te|am.TeamI|
|000024a0| 6e 64 65 78 29 3b 0d 0a | 20 20 20 20 09 09 09 09 |ndex);..| ....|
|000024b0| 09 69 66 20 28 20 43 2e | 53 74 61 72 74 53 70 6f |.if ( C.|StartSpo|
|000024c0| 74 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 20 20 20 |t != Non|e ).. |
|000024d0| 20 09 09 09 09 09 7b 0d | 0a 09 09 09 09 09 09 09 | .....{.|........|
|000024e0| 43 2e 53 65 74 4c 6f 63 | 61 74 69 6f 6e 28 43 2e |C.SetLoc|ation(C.|
|000024f0| 53 74 61 72 74 53 70 6f | 74 2e 4c 6f 63 61 74 69 |StartSpo|t.Locati|
|00002500| 6f 6e 29 3b 0d 0a 09 09 | 09 09 09 09 09 43 2e 53 |on);....|.....C.S|
|00002510| 65 74 52 6f 74 61 74 69 | 6f 6e 28 43 2e 53 74 61 |etRotati|on(C.Sta|
|00002520| 72 74 53 70 6f 74 2e 52 | 6f 74 61 74 69 6f 6e 29 |rtSpot.R|otation)|
|00002530| 3b 0d 0a 09 09 09 09 09 | 09 7d 0d 0a 09 09 09 09 |;.......|.}......|
|00002540| 09 09 69 66 20 28 20 43 | 2e 50 61 77 6e 20 21 3d |..if ( C|.Pawn !=|
|00002550| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 09 09 09 09 7b | None ).|.......{|
|00002560| 0d 0a 09 09 09 09 09 09 | 09 69 66 20 28 20 78 50 |........|.if ( xP|
|00002570| 61 77 6e 28 43 2e 50 61 | 77 6e 29 20 21 3d 20 4e |awn(C.Pa|wn) != N|
|00002580| 6f 6e 65 20 29 0d 0a 09 | 09 09 09 09 09 09 7b 0d |one )...|......{.|
|00002590| 0a 09 09 09 09 09 09 09 | 09 69 66 20 28 78 50 61 |........|.if (xPa|
|000025a0| 77 6e 28 43 2e 50 61 77 | 6e 29 2e 43 75 72 72 65 |wn(C.Paw|n).Curre|
|000025b0| 6e 74 43 6f 6d 62 6f 20 | 21 3d 20 4e 6f 6e 65 29 |ntCombo |!= None)|
|000025c0| 0d 0a 09 09 09 09 09 09 | 09 09 7b 0d 0a 09 09 09 |........|..{.....|
|000025d0| 09 09 09 09 09 09 43 2e | 41 64 72 65 6e 61 6c 69 |......C.|Adrenali|
|000025e0| 6e 65 20 3d 20 30 3b 0d | 0a 09 09 09 09 09 09 09 |ne = 0;.|........|
|000025f0| 09 09 78 50 61 77 6e 28 | 43 2e 50 61 77 6e 29 2e |..xPawn(|C.Pawn).|
|00002600| 43 75 72 72 65 6e 74 43 | 6f 6d 62 6f 2e 44 65 73 |CurrentC|ombo.Des|
|00002610| 74 72 6f 79 28 29 3b 0d | 0a 09 09 09 09 09 09 09 |troy();.|........|
|00002620| 09 7d 0d 0a 09 09 09 09 | 09 09 09 09 69 66 20 28 |.}......|....if (|
|00002630| 20 78 50 61 77 6e 28 43 | 2e 50 61 77 6e 29 2e 55 | xPawn(C|.Pawn).U|
|00002640| 44 61 6d 61 67 65 54 69 | 6d 65 72 20 21 3d 20 4e |DamageTi|mer != N|
|00002650| 6f 6e 65 20 29 0d 0a 09 | 09 09 09 09 09 09 09 7b |one )...|.......{|
|00002660| 0d 0a 09 09 09 09 09 09 | 09 09 09 78 50 61 77 6e |........|...xPawn|
|00002670| 28 43 2e 50 61 77 6e 29 | 2e 55 44 61 6d 61 67 65 |(C.Pawn)|.UDamage|
|00002680| 54 69 6d 65 72 2e 44 65 | 73 74 72 6f 79 28 29 3b |Timer.De|stroy();|
|00002690| 0d 0a 09 09 09 09 09 09 | 09 09 09 78 50 61 77 6e |........|...xPawn|
|000026a0| 28 43 2e 50 61 77 6e 29 | 2e 44 69 73 61 62 6c 65 |(C.Pawn)|.Disable|
|000026b0| 55 44 61 6d 61 67 65 28 | 29 3b 0d 0a 09 09 09 09 |UDamage(|);......|
|000026c0| 09 09 09 09 7d 0d 0a 09 | 09 09 09 09 09 09 7d 0d |....}...|......}.|
|000026d0| 0a 09 09 09 09 09 09 09 | 43 2e 50 61 77 6e 2e 48 |........|C.Pawn.H|
|000026e0| 65 61 6c 74 68 20 3d 20 | 4d 61 78 28 43 2e 50 61 |ealth = |Max(C.Pa|
|000026f0| 77 6e 2e 48 65 61 6c 74 | 68 2c 43 2e 50 61 77 6e |wn.Healt|h,C.Pawn|
|00002700| 2e 48 65 61 6c 74 68 4d | 61 78 29 3b 0d 0a 09 09 |.HealthM|ax);....|
|00002710| 09 09 09 09 09 53 65 74 | 50 6c 61 79 65 72 44 65 |.....Set|PlayerDe|
|00002720| 66 61 75 6c 74 73 28 43 | 2e 50 61 77 6e 29 3b 0d |faults(C|.Pawn);.|
|00002730| 0a 09 09 09 09 09 09 09 | 43 2e 50 61 77 6e 2e 53 |........|C.Pawn.S|
|00002740| 65 74 4c 6f 63 61 74 69 | 6f 6e 28 43 2e 53 74 61 |etLocati|on(C.Sta|
|00002750| 72 74 53 70 6f 74 2e 4c | 6f 63 61 74 69 6f 6e 29 |rtSpot.L|ocation)|
|00002760| 3b 0d 0a 09 09 09 09 09 | 09 09 43 2e 50 61 77 6e |;.......|..C.Pawn|
|00002770| 2e 53 65 74 52 6f 74 61 | 74 69 6f 6e 28 43 2e 53 |.SetRota|tion(C.S|
|00002780| 74 61 72 74 53 70 6f 74 | 2e 52 6f 74 61 74 69 6f |tartSpot|.Rotatio|
|00002790| 6e 29 3b 0d 0a 09 09 09 | 09 09 09 09 43 2e 50 61 |n);.....|....C.Pa|
|000027a0| 77 6e 2e 56 65 6c 6f 63 | 69 74 79 20 3d 20 76 65 |wn.Veloc|ity = ve|
|000027b0| 63 74 28 30 2c 30 2c 30 | 29 3b 0d 0a 09 09 09 09 |ct(0,0,0|);......|
|000027c0| 09 09 09 43 2e 50 61 77 | 6e 2e 50 6c 61 79 54 65 |...C.Paw|n.PlayTe|
|000027d0| 6c 65 70 6f 72 74 45 66 | 66 65 63 74 28 66 61 6c |leportEf|fect(fal|
|000027e0| 73 65 2c 20 74 72 75 65 | 29 3b 0d 0a 09 09 09 09 |se, true|);......|
|000027f0| 09 09 09 66 6f 72 20 28 | 20 49 6e 76 3d 43 2e 50 |...for (| Inv=C.P|
|00002800| 61 77 6e 2e 49 6e 76 65 | 6e 74 6f 72 79 3b 20 49 |awn.Inve|ntory; I|
|00002810| 6e 76 21 3d 4e 6f 6e 65 | 3b 20 49 6e 76 3d 49 6e |nv!=None|; Inv=In|
|00002820| 76 2e 49 6e 76 65 6e 74 | 6f 72 79 20 29 0d 0a 09 |v.Invent|ory )...|
|00002830| 09 09 09 09 09 09 09 69 | 66 20 28 20 49 6e 76 2e |.......i|f ( Inv.|
|00002840| 49 73 41 28 27 54 72 61 | 6e 73 4c 61 75 6e 63 68 |IsA('Tra|nsLaunch|
|00002850| 65 72 27 29 20 29 0d 0a | 09 09 09 09 09 09 09 09 |er') )..|........|
|00002860| 09 57 65 61 70 6f 6e 28 | 49 6e 76 29 2e 47 69 76 |.Weapon(|Inv).Giv|
|00002870| 65 41 6d 6d 6f 28 30 2c | 20 4e 6f 6e 65 2c 20 66 |eAmmo(0,| None, f|
|00002880| 61 6c 73 65 29 3b 0d 0a | 09 09 09 09 09 09 7d 0d |alse);..|......}.|
|00002890| 0a 20 20 20 20 09 09 09 | 09 09 69 66 20 28 20 43 |. ...|..if ( C|
|000028a0| 2e 53 74 61 72 74 53 70 | 6f 74 20 21 3d 20 4e 6f |.StartSp|ot != No|
|000028b0| 6e 65 20 29 0d 0a 09 09 | 09 09 09 09 09 43 2e 43 |ne )....|.....C.C|
|000028c0| 6c 69 65 6e 74 53 65 74 | 4c 6f 63 61 74 69 6f 6e |lientSet|Location|
|000028d0| 28 43 2e 53 74 61 72 74 | 53 70 6f 74 2e 4c 6f 63 |(C.Start|Spot.Loc|
|000028e0| 61 74 69 6f 6e 2c 43 2e | 53 74 61 72 74 53 70 6f |ation,C.|StartSpo|
|000028f0| 74 2e 52 6f 74 61 74 69 | 6f 6e 29 3b 0d 0a 20 20 |t.Rotati|on);.. |
|00002900| 20 20 20 09 09 09 09 7d | 0d 0a 0d 0a 20 20 20 20 | ....}|.... |
|00002910| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2f 20 64 65 | | // de|
|00002920| 73 74 72 6f 79 20 70 72 | 6f 6a 65 63 74 69 6c 65 |stroy pr|ojectile|
|00002930| 73 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s.. | |
|00002940| 20 20 20 66 6f 72 65 61 | 63 68 20 44 79 6e 61 6d | forea|ch Dynam|
|00002950| 69 63 41 63 74 6f 72 73 | 28 63 6c 61 73 73 27 50 |icActors|(class'P|
|00002960| 72 6f 6a 65 63 74 69 6c | 65 27 2c 20 50 72 6f 6a |rojectil|e', Proj|
|00002970| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |).. | |
|00002980| 20 20 20 20 20 20 20 50 | 72 6f 6a 2e 44 65 73 74 | P|roj.Dest|
|00002990| 72 6f 79 28 29 3b 0d 0a | 0d 0a 20 20 20 20 20 20 |roy();..|.. |
|000029a0| 20 20 20 20 20 20 20 20 | 20 20 42 6f 6d 62 2e 53 | | Bomb.S|
|000029b0| 65 6e 64 48 6f 6d 65 28 | 29 3b 0d 0a 20 20 20 20 |endHome(|);.. |
|000029c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 52 65 73 65 | | Rese|
|000029d0| 74 43 6f 75 6e 74 44 6f | 77 6e 20 3d 20 30 3b 0d |tCountDo|wn = 0;.|
|000029e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 7d 0d 0a 20 |. | }.. |
|000029f0| 20 20 20 20 20 20 20 7d | 0d 0a 20 20 20 20 20 20 | }|.. |
|00002a00| 20 20 65 6c 73 65 0d 0a | 20 20 20 20 20 20 20 20 | else..| |
|00002a10| 7b 0d 0a 09 09 09 69 66 | 20 28 20 42 6f 6d 62 20 |{.....if| ( Bomb |
|00002a20| 3d 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 09 09 46 |== None |)......F|
|00002a30| 6f 72 45 61 63 68 20 44 | 79 6e 61 6d 69 63 41 63 |orEach D|ynamicAc|
|00002a40| 74 6f 72 73 28 63 6c 61 | 73 73 27 78 42 6f 6d 62 |tors(cla|ss'xBomb|
|00002a50| 46 6c 61 67 27 2c 42 6f | 6d 62 29 0d 0a 09 09 09 |Flag',Bo|mb).....|
|00002a60| 09 09 62 72 65 61 6b 3b | 0d 0a 09 09 09 69 66 20 |..break;|.....if |
|00002a70| 28 20 42 6f 6d 62 20 21 | 3d 20 4e 6f 6e 65 20 29 |( Bomb !|= None )|
|00002a80| 0d 0a 09 09 09 09 47 61 | 6d 65 52 65 70 6c 69 63 |......Ga|meReplic|
|00002a90| 61 74 69 6f 6e 49 6e 66 | 6f 2e 46 6c 61 67 50 6f |ationInf|o.FlagPo|
|00002aa0| 73 20 3d 20 42 6f 6d 62 | 2e 50 6f 73 69 74 69 6f |s = Bomb|.Positio|
|00002ab0| 6e 28 29 2e 4c 6f 63 61 | 74 69 6f 6e 3b 0d 0a 09 |n().Loca|tion;...|
|00002ac0| 09 7d 0d 0a 20 20 20 20 | 7d 0d 0a 7d 0d 0a 0d 0a |.}.. |}..}....|
|00002ad0| 66 75 6e 63 74 69 6f 6e | 20 41 6e 6e 6f 75 6e 63 |function| Announc|
|00002ae0| 65 53 63 6f 72 65 28 69 | 6e 74 20 53 63 6f 72 69 |eScore(i|nt Scori|
|00002af0| 6e 67 54 65 61 6d 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |ngTeam).|.{...loc|
|00002b00| 61 6c 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 43 3b |al Contr|oller C;|
|00002b10| 0d 0a 09 6c 6f 63 61 6c | 20 6e 61 6d 65 20 53 63 |...local| name Sc|
|00002b20| 6f 72 65 53 6f 75 6e 64 | 3b 0d 0a 09 6c 6f 63 61 |oreSound|;...loca|
|00002b30| 6c 20 69 6e 74 20 4f 74 | 68 65 72 54 65 61 6d 3b |l int Ot|herTeam;|
|00002b40| 0d 0a 0d 0a 09 69 66 20 | 28 20 53 63 6f 72 69 6e |.....if |( Scorin|
|00002b50| 67 54 65 61 6d 20 3d 3d | 20 31 20 29 0d 0a 09 09 |gTeam ==| 1 )....|
|00002b60| 4f 74 68 65 72 54 65 61 | 6d 20 3d 20 30 3b 0d 0a |OtherTea|m = 0;..|
|00002b70| 09 65 6c 73 65 0d 0a 09 | 09 4f 74 68 65 72 54 65 |.else...|.OtherTe|
|00002b80| 61 6d 20 3d 20 31 3b 0d | 0a 0d 0a 09 69 66 20 28 |am = 1;.|....if (|
|00002b90| 20 4f 6c 64 53 63 6f 72 | 65 20 3c 3d 20 54 65 61 | OldScor|e <= Tea|
|00002ba0| 6d 73 5b 4f 74 68 65 72 | 54 65 61 6d 5d 2e 53 63 |ms[Other|Team].Sc|
|00002bb0| 6f 72 65 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |ore )...|{....if |
|00002bc0| 28 20 54 65 61 6d 73 5b | 53 63 6f 72 69 6e 67 54 |( Teams[|ScoringT|
|00002bd0| 65 61 6d 5d 2e 53 63 6f | 72 65 20 3e 20 54 65 61 |eam].Sco|re > Tea|
|00002be0| 6d 73 5b 4f 74 68 65 72 | 54 65 61 6d 5d 2e 53 63 |ms[Other|Team].Sc|
|00002bf0| 6f 72 65 20 29 0d 0a 09 | 09 09 53 63 6f 72 65 53 |ore )...|..ScoreS|
|00002c00| 6f 75 6e 64 20 3d 20 54 | 61 6b 65 4c 65 61 64 4e |ound = T|akeLeadN|
|00002c10| 61 6d 65 5b 53 63 6f 72 | 69 6e 67 54 65 61 6d 5d |ame[Scor|ingTeam]|
|00002c20| 3b 0d 0a 09 09 65 6c 73 | 65 0d 0a 09 09 09 53 63 |;....els|e.....Sc|
|00002c30| 6f 72 65 53 6f 75 6e 64 | 20 3d 20 43 61 70 74 75 |oreSound| = Captu|
|00002c40| 72 65 53 6f 75 6e 64 4e | 61 6d 65 5b 53 63 6f 72 |reSoundN|ame[Scor|
|00002c50| 69 6e 67 54 65 61 6d 5d | 3b 0d 0a 09 7d 0d 0a 09 |ingTeam]|;...}...|
|00002c60| 65 6c 73 65 0d 0a 09 7b | 0d 0a 09 09 69 66 20 28 |else...{|....if (|
|00002c70| 20 4f 6c 64 53 63 6f 72 | 65 20 3c 3d 20 54 65 61 | OldScor|e <= Tea|
|00002c80| 6d 73 5b 4f 74 68 65 72 | 54 65 61 6d 5d 2e 53 63 |ms[Other|Team].Sc|
|00002c90| 6f 72 65 20 2b 20 33 20 | 29 0d 0a 09 09 09 53 63 |ore + 3 |).....Sc|
|00002ca0| 6f 72 65 53 6f 75 6e 64 | 20 3d 20 49 6e 63 72 65 |oreSound| = Incre|
|00002cb0| 61 73 65 4c 65 61 64 4e | 61 6d 65 5b 53 63 6f 72 |aseLeadN|ame[Scor|
|00002cc0| 69 6e 67 54 65 61 6d 5d | 3b 0d 0a 09 09 65 6c 73 |ingTeam]|;....els|
|00002cd0| 65 0d 0a 09 09 09 53 63 | 6f 72 65 53 6f 75 6e 64 |e.....Sc|oreSound|
|00002ce0| 20 3d 20 43 61 70 74 75 | 72 65 53 6f 75 6e 64 4e | = Captu|reSoundN|
|00002cf0| 61 6d 65 5b 53 63 6f 72 | 69 6e 67 54 65 61 6d 5d |ame[Scor|ingTeam]|
|00002d00| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 66 6f 72 20 28 20 |;...}...|..for ( |
|00002d10| 43 3d 4c 65 76 65 6c 2e | 43 6f 6e 74 72 6f 6c 6c |C=Level.|Controll|
|00002d20| 65 72 4c 69 73 74 3b 20 | 43 21 3d 4e 6f 6e 65 3b |erList; |C!=None;|
|00002d30| 20 43 3d 43 2e 4e 65 78 | 74 43 6f 6e 74 72 6f 6c | C=C.Nex|tControl|
|00002d40| 6c 65 72 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |ler )...|{....if |
|00002d50| 28 20 43 2e 49 73 41 28 | 27 50 6c 61 79 65 72 43 |( C.IsA(|'PlayerC|
|00002d60| 6f 6e 74 72 6f 6c 6c 65 | 72 27 29 20 29 0d 0a 09 |ontrolle|r') )...|
|00002d70| 09 09 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |..Player|Controll|
|00002d80| 65 72 28 43 29 2e 50 6c | 61 79 53 74 61 74 75 73 |er(C).Pl|ayStatus|
|00002d90| 41 6e 6e 6f 75 6e 63 65 | 6d 65 6e 74 28 53 63 6f |Announce|ment(Sco|
|00002da0| 72 65 53 6f 75 6e 64 2c | 31 2c 74 72 75 65 29 3b |reSound,|1,true);|
|00002db0| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |...}..}.|...funct|
|00002dc0| 69 6f 6e 20 61 63 74 6f | 72 20 46 69 6e 64 53 70 |ion acto|r FindSp|
|00002dd0| 65 63 47 6f 61 6c 46 6f | 72 28 50 6c 61 79 65 72 |ecGoalFo|r(Player|
|00002de0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 20 |Replicat|ionInfo |
|00002df0| 50 52 49 2c 20 69 6e 74 | 20 54 65 61 6d 49 6e 64 |PRI, int| TeamInd|
|00002e00| 65 78 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 58 |ex)..{..|.local X|
|00002e10| 50 6c 61 79 65 72 20 50 | 43 3b 0d 0a 20 20 20 20 |Player P|C;.. |
|00002e20| 6c 6f 63 61 6c 20 43 6f | 6e 74 72 6f 6c 6c 65 72 |local Co|ntroller|
|00002e30| 20 43 3b 0d 0a 20 20 20 | 20 6c 6f 63 61 6c 20 78 | C;.. | local x|
|00002e40| 42 6f 6d 62 46 6c 61 67 | 20 62 3b 0d 0a 0d 0a 20 |BombFlag| b;.... |
|00002e50| 20 20 20 50 43 20 3d 20 | 58 50 6c 61 79 65 72 28 | PC = |XPlayer(|
|00002e60| 50 52 49 2e 4f 77 6e 65 | 72 29 3b 0d 0a 20 20 20 |PRI.Owne|r);.. |
|00002e70| 20 69 66 20 28 50 43 3d | 3d 4e 6f 6e 65 29 0d 0a | if (PC=|=None)..|
|00002e80| 20 20 20 20 09 72 65 74 | 75 72 6e 20 6e 6f 6e 65 | .ret|urn none|
|00002e90| 3b 0d 0a 0d 0a 20 20 20 | 20 2f 2f 20 4c 6f 6f 6b |;.... | // Look|
|00002ea0| 20 66 6f 72 20 61 20 50 | 6c 61 79 65 72 20 68 6f | for a P|layer ho|
|00002eb0| 6c 64 69 6e 67 20 74 68 | 65 20 66 6c 61 67 0d 0a |lding th|e flag..|
|00002ec0| 20 20 20 20 66 6f 72 20 | 28 43 3d 4c 65 76 65 6c | for |(C=Level|
|00002ed0| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 4c 69 73 74 3b |.Control|lerList;|
|00002ee0| 43 21 3d 4e 6f 6e 65 3b | 43 3d 43 2e 4e 65 78 74 |C!=None;|C=C.Next|
|00002ef0| 43 6f 6e 74 72 6f 6c 6c | 65 72 29 0d 0a 20 20 20 |Controll|er).. |
|00002f00| 20 7b 0d 0a 20 20 20 20 | 09 69 66 20 28 20 28 43 | {.. |.if ( (C|
|00002f10| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00002f20| 6f 6e 49 6e 66 6f 20 21 | 3d 20 4e 6f 6e 65 29 20 |onInfo !|= None) |
|00002f30| 26 26 20 28 43 2e 50 6c | 61 79 65 72 52 65 70 6c |&& (C.Pl|ayerRepl|
|00002f40| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 48 61 73 46 |icationI|nfo.HasF|
|00002f50| 6c 61 67 21 3d 4e 6f 6e | 65 29 20 29 0d 0a 20 20 |lag!=Non|e) ).. |
|00002f60| 20 20 20 20 20 20 09 72 | 65 74 75 72 6e 20 43 2e | .r|eturn C.|
|00002f70| 50 61 77 6e 3b 0d 0a 20 | 20 20 20 7d 0d 0a 0d 0a |Pawn;.. | }....|
|00002f80| 09 66 6f 72 65 61 63 68 | 20 41 6c 6c 41 63 74 6f |.foreach| AllActo|
|00002f90| 72 73 28 63 6c 61 73 73 | 27 78 42 6f 6d 62 46 6c |rs(class|'xBombFl|
|00002fa0| 61 67 27 2c 62 29 0d 0a | 20 20 20 20 09 72 65 74 |ag',b)..| .ret|
|00002fb0| 75 72 6e 20 62 3b 0d 0a | 0d 0a 20 20 20 20 72 65 |urn b;..|.. re|
|00002fc0| 74 75 72 6e 20 6e 6f 6e | 65 3b 0d 0a 7d 0d 0a 0d |turn non|e;..}...|
|00002fd0| 0a 73 74 61 74 69 63 20 | 66 75 6e 63 74 69 6f 6e |.static |function|
|00002fe0| 20 46 69 6c 6c 50 6c 61 | 79 49 6e 66 6f 28 50 6c | FillPla|yInfo(Pl|
|00002ff0| 61 79 49 6e 66 6f 20 50 | 49 29 0d 0a 7b 0d 0a 09 |ayInfo P|I)..{...|
|00003000| 53 75 70 65 72 2e 46 69 | 6c 6c 50 6c 61 79 49 6e |Super.Fi|llPlayIn|
|00003010| 66 6f 28 50 49 29 3b 0d | 0a 0d 0a 09 50 49 2e 41 |fo(PI);.|....PI.A|
|00003020| 64 64 53 65 74 74 69 6e | 67 28 64 65 66 61 75 6c |ddSettin|g(defaul|
|00003030| 74 2e 52 75 6c 65 73 47 | 72 6f 75 70 2c 20 20 22 |t.RulesG|roup, "|
|00003040| 62 42 61 6c 6c 44 72 61 | 69 6e 73 54 72 61 6e 73 |bBallDra|insTrans|
|00003050| 6c 6f 63 22 2c 20 64 65 | 66 61 75 6c 74 2e 42 52 |loc", de|fault.BR|
|00003060| 50 72 6f 70 54 65 78 74 | 32 2c 20 34 30 2c 20 30 |PropText|2, 40, 0|
|00003070| 2c 20 22 43 68 65 63 6b | 22 2c 2c 2c 2c 54 72 75 |, "Check|",,,,Tru|
|00003080| 65 29 3b 0d 0a 7d 0d 0a | 0d 0a 73 74 61 74 69 63 |e);..}..|..static|
|00003090| 20 65 76 65 6e 74 20 73 | 74 72 69 6e 67 20 47 65 | event s|tring Ge|
|000030a0| 74 44 65 73 63 72 69 70 | 74 69 6f 6e 54 65 78 74 |tDescrip|tionText|
|000030b0| 28 73 74 72 69 6e 67 20 | 50 72 6f 70 4e 61 6d 65 |(string |PropName|
|000030c0| 29 0d 0a 7b 0d 0a 09 73 | 77 69 74 63 68 20 28 50 |)..{...s|witch (P|
|000030d0| 72 6f 70 4e 61 6d 65 29 | 0d 0a 09 7b 0d 0a 09 09 |ropName)|...{....|
|000030e0| 63 61 73 65 20 22 62 42 | 61 6c 6c 44 72 61 69 6e |case "bB|allDrain|
|000030f0| 73 54 72 61 6e 73 6c 6f | 63 22 3a 20 72 65 74 75 |sTranslo|c": retu|
|00003100| 72 6e 20 64 65 66 61 75 | 6c 74 2e 42 52 44 65 73 |rn defau|lt.BRDes|
|00003110| 63 54 65 78 74 32 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |cText2;.|..}.....|
|00003120| 72 65 74 75 72 6e 20 53 | 75 70 65 72 2e 47 65 74 |return S|uper.Get|
|00003130| 44 65 73 63 72 69 70 74 | 69 6f 6e 54 65 78 74 28 |Descript|ionText(|
|00003140| 50 72 6f 70 4e 61 6d 65 | 29 3b 0d 0a 7d 0d 0a 0d |PropName|);..}...|
|00003150| 0a 66 75 6e 63 74 69 6f | 6e 20 69 6e 74 20 42 61 |.functio|n int Ba|
|00003160| 6c 6c 43 61 72 72 69 65 | 72 4d 65 73 73 61 67 65 |llCarrie|rMessage|
|00003170| 28 29 0d 0a 7b 0d 0a 09 | 72 65 74 75 72 6e 20 31 |()..{...|return 1|
|00003180| 35 3b 0d 0a 7d 0d 0a 0d | 0a 65 76 65 6e 74 20 53 |5;..}...|.event S|
|00003190| 65 74 47 72 61 6d 6d 61 | 72 28 29 0d 0a 7b 0d 0a |etGramma|r()..{..|
|000031a0| 09 4c 6f 61 64 53 52 47 | 72 61 6d 6d 61 72 28 22 |.LoadSRG|rammar("|
|000031b0| 42 52 22 29 3b 0d 0a 7d | 0d 0a 0d 0a 00 |BR");..}|..... |
+--------+-------------------------+-------------------------+--------+--------+