home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 12.3 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 5a c4 01 2f 2f 3d 3d 3d |........|Z..//===|
|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| 54 65 61 6d 53 63 6f 72 | 65 45 76 65 6e 74 28 53 |TeamScor|eEvent(S|
|00001690| 63 6f 72 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |corer.Pl|ayerRepl|
|000016a0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 54 65 61 6d |icationI|nfo.Team|
|000016b0| 2e 54 65 61 6d 49 6e 64 | 65 78 2c 33 2c 22 62 61 |.TeamInd|ex,3,"ba|
|000016c0| 6c 6c 5f 74 6f 73 73 65 | 64 22 29 3b 0d 0a 0d 0a |ll_tosse|d");....|
|000016d0| 09 09 2f 2f 20 49 6e 64 | 69 76 69 64 75 61 6c 20 |..// Ind|ividual |
|000016e0| 70 6f 69 6e 74 73 0d 0a | 0d 0a 09 09 53 63 6f 72 |points..|....Scor|
|000016f0| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00001700| 74 69 6f 6e 49 6e 66 6f | 2e 53 63 6f 72 65 20 2b |tionInfo|.Score +|
|00001710| 3d 20 32 3b 20 2f 2f 20 | 4a 75 73 74 20 66 6f 72 |= 2; // |Just for|
|00001720| 20 73 63 6f 72 69 6e 67 | 0d 0a 09 09 4d 61 78 50 | scoring|....MaxP|
|00001730| 6f 69 6e 74 73 3d 31 30 | 3b 0d 0a 09 09 4d 61 78 |oints=10|;....Max|
|00001740| 50 65 72 3d 32 3b 0d 0a | 09 09 53 63 6f 72 65 45 |Per=2;..|..ScoreE|
|00001750| 76 65 6e 74 28 53 63 6f | 72 65 72 2e 50 6c 61 79 |vent(Sco|rer.Play|
|00001760| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00001770| 6f 2c 35 2c 22 62 61 6c | 6c 5f 74 68 72 6f 77 6e |o,5,"bal|l_thrown|
|00001780| 5f 66 69 6e 61 6c 22 29 | 3b 0d 0a 09 7d 0d 0a 20 |_final")|;...}.. |
|00001790| 20 20 20 65 6c 73 65 0d | 0a 09 7b 0d 0a 20 20 09 | else.|..{.. .|
|000017a0| 09 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 2e 54 65 |plicatio|nInfo.Te|
|000017c0| 61 6d 2e 53 63 6f 72 65 | 20 2b 3d 20 37 2e 30 3b |am.Score| += 7.0;|
|000017d0| 0d 0a 09 09 54 65 61 6d | 53 63 6f 72 65 45 76 65 |....Team|ScoreEve|
|000017e0| 6e 74 28 53 63 6f 72 65 | 72 2e 50 6c 61 79 65 72 |nt(Score|r.Player|
|000017f0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00001800| 54 65 61 6d 2e 54 65 61 | 6d 49 6e 64 65 78 2c 37 |Team.Tea|mIndex,7|
|00001810| 2c 22 62 61 6c 6c 5f 63 | 61 72 72 69 65 64 22 29 |,"ball_c|arried")|
|00001820| 3b 0d 0a 0d 0a 09 09 2f | 2f 20 49 6e 64 69 76 69 |;....../|/ Indivi|
|00001830| 64 75 61 6c 20 70 6f 69 | 6e 74 73 0d 0a 0d 0a 09 |dual poi|nts.....|
|00001840| 09 53 63 6f 72 65 72 2e | 50 6c 61 79 65 72 52 65 |.Scorer.|PlayerRe|
|00001850| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 53 63 |plicatio|nInfo.Sc|
|00001860| 6f 72 65 20 2b 3d 20 35 | 3b 20 2f 2f 20 4a 75 73 |ore += 5|; // Jus|
|00001870| 74 20 66 6f 72 20 73 63 | 6f 72 69 6e 67 0d 0a 09 |t for sc|oring...|
|00001880| 09 4d 61 78 50 6f 69 6e | 74 73 3d 32 30 3b 0d 0a |.MaxPoin|ts=20;..|
|00001890| 09 09 4d 61 78 50 65 72 | 3d 35 3b 0d 0a 09 09 53 |..MaxPer|=5;....S|
|000018a0| 63 6f 72 65 45 76 65 6e | 74 28 53 63 6f 72 65 72 |coreEven|t(Scorer|
|000018b0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|000018c0| 6f 6e 49 6e 66 6f 2c 35 | 2c 22 62 61 6c 6c 5f 63 |onInfo,5|,"ball_c|
|000018d0| 61 70 5f 66 69 6e 61 6c | 22 29 3b 0d 0a 09 7d 0d |ap_final|");...}.|
|000018e0| 0a 09 53 63 6f 72 65 72 | 2e 50 6c 61 79 65 72 52 |..Scorer|.PlayerR|
|000018f0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 4e |eplicati|onInfo.N|
|00001900| 65 74 55 70 64 61 74 65 | 54 69 6d 65 20 3d 20 4c |etUpdate|Time = L|
|00001910| 65 76 65 6c 2e 54 69 6d | 65 53 65 63 6f 6e 64 73 |evel.Tim|eSeconds|
|00001920| 20 2d 20 31 3b 0d 0a 0d | 0a 09 2f 2f 20 45 61 63 | - 1;...|..// Eac|
|00001930| 68 20 70 6c 61 79 65 72 | 20 67 65 74 73 20 4d 61 |h player| gets Ma|
|00001940| 78 50 6f 69 6e 74 73 2f | 78 20 62 75 74 20 69 74 |xPoints/|x but it|
|00001950| 27 73 20 67 75 61 72 65 | 6e 74 65 65 64 20 74 6f |'s guare|nteed to|
|00001960| 20 62 65 20 61 74 20 6c | 65 61 73 74 20 31 20 70 | be at l|east 1 p|
|00001970| 6f 69 6e 74 20 62 75 74 | 20 6e 6f 20 6d 6f 72 65 |oint but| no more|
|00001980| 20 74 68 61 6e 20 4d 61 | 78 50 65 72 20 70 6f 69 | than Ma|xPer poi|
|00001990| 6e 74 73 0d 0a 09 6e 75 | 6d 74 6f 75 63 68 3d 30 |nts...nu|mtouch=0|
|000019a0| 3b 0d 0a 09 66 6f 72 20 | 28 69 3d 30 3b 69 3c 54 |;...for |(i=0;i<T|
|000019b0| 68 65 46 6c 61 67 2e 41 | 73 73 69 73 74 73 2e 6c |heFlag.A|ssists.l|
|000019c0| 65 6e 67 74 68 3b 69 2b | 2b 29 0d 0a 09 7b 0d 0a |ength;i+|+)...{..|
|000019d0| 09 09 69 66 20 28 20 28 | 54 68 65 46 6c 61 67 2e |..if ( (|TheFlag.|
|000019e0| 41 73 73 69 73 74 73 5b | 69 5d 21 3d 4e 6f 6e 65 |Assists[|i]!=None|
|000019f0| 29 20 26 26 20 28 54 68 | 65 46 6c 61 67 2e 41 73 |) && (Th|eFlag.As|
|00001a00| 73 69 73 74 73 5b 69 5d | 2e 50 6c 61 79 65 72 52 |sists[i]|.PlayerR|
|00001a10| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 54 |eplicati|onInfo.T|
|00001a20| 65 61 6d 20 3d 3d 20 53 | 63 6f 72 65 72 2e 50 6c |eam == S|corer.Pl|
|00001a30| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00001a40| 6e 66 6f 2e 54 65 61 6d | 29 20 29 0d 0a 09 09 09 |nfo.Team|) ).....|
|00001a50| 6e 75 6d 74 6f 75 63 68 | 20 3d 20 6e 75 6d 74 6f |numtouch| = numto|
|00001a60| 75 63 68 20 2b 20 31 2e | 30 3b 0d 0a 09 7d 0d 0a |uch + 1.|0;...}..|
|00001a70| 0d 0a 09 70 70 70 20 3d | 20 4d 61 78 50 6f 69 6e |...ppp =| MaxPoin|
|00001a80| 74 73 20 2f 20 6e 75 6d | 74 6f 75 63 68 3b 0d 0a |ts / num|touch;..|
|00001a90| 09 69 66 20 28 70 70 70 | 3c 31 2e 30 29 0d 0a 09 |.if (ppp|<1.0)...|
|00001aa0| 09 70 70 70 20 3d 20 31 | 2e 30 3b 0d 0a 0d 0a 09 |.ppp = 1|.0;.....|
|00001ab0| 69 66 20 28 70 70 70 3e | 4d 61 78 50 65 72 29 0d |if (ppp>|MaxPer).|
|00001ac0| 0a 09 09 70 70 70 20 3d | 20 4d 61 78 50 65 72 3b |...ppp =| MaxPer;|
|00001ad0| 0d 0a 0d 0a 09 66 6f 72 | 20 28 69 3d 30 3b 69 3c |.....for| (i=0;i<|
|00001ae0| 54 68 65 46 6c 61 67 2e | 41 73 73 69 73 74 73 2e |TheFlag.|Assists.|
|00001af0| 6c 65 6e 67 74 68 3b 69 | 2b 2b 29 0d 0a 09 7b 0d |length;i|++)...{.|
|00001b00| 0a 09 09 69 66 20 28 20 | 28 54 68 65 46 6c 61 67 |...if ( |(TheFlag|
|00001b10| 2e 41 73 73 69 73 74 73 | 5b 69 5d 21 3d 4e 6f 6e |.Assists|[i]!=Non|
|00001b20| 65 29 20 26 26 20 28 54 | 68 65 46 6c 61 67 2e 41 |e) && (T|heFlag.A|
|00001b30| 73 73 69 73 74 73 5b 69 | 5d 2e 50 6c 61 79 65 72 |ssists[i|].Player|
|00001b40| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00001b50| 54 65 61 6d 20 3d 3d 20 | 53 63 6f 72 65 72 2e 50 |Team == |Scorer.P|
|00001b60| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00001b70| 49 6e 66 6f 2e 54 65 61 | 6d 29 20 29 0d 0a 09 09 |Info.Tea|m) )....|
|00001b80| 7b 0d 0a 09 09 09 53 63 | 6f 72 65 45 76 65 6e 74 |{.....Sc|oreEvent|
|00001b90| 28 54 68 65 46 6c 61 67 | 2e 41 73 73 69 73 74 73 |(TheFlag|.Assists|
|00001ba0| 5b 69 5d 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |[i].Play|erReplic|
|00001bb0| 61 74 69 6f 6e 49 6e 66 | 6f 2c 70 70 70 2c 22 62 |ationInf|o,ppp,"b|
|00001bc0| 61 6c 6c 5f 73 63 6f 72 | 65 5f 61 73 73 69 73 74 |all_scor|e_assist|
|00001bd0| 22 29 3b 0d 0a 09 09 09 | 54 68 65 46 6c 61 67 2e |");.....|TheFlag.|
|00001be0| 41 73 73 69 73 74 73 5b | 69 5d 2e 50 6c 61 79 65 |Assists[|i].Playe|
|00001bf0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00001c00| 2e 53 63 6f 72 65 20 2b | 3d 20 69 6e 74 28 70 70 |.Score +|= int(pp|
|00001c10| 70 29 3b 0d 0a 09 09 7d | 0d 0a 09 7d 0d 0a 0d 0a |p);....}|...}....|
|00001c20| 20 20 20 20 53 63 6f 72 | 65 72 2e 41 77 61 72 64 | Scor|er.Award|
|00001c30| 41 64 72 65 6e 61 6c 69 | 6e 65 28 41 44 52 5f 47 |Adrenali|ne(ADR_G|
|00001c40| 6f 61 6c 29 3b 0d 0a 09 | 42 72 6f 61 64 63 61 73 |oal);...|Broadcas|
|00001c50| 74 4c 6f 63 61 6c 69 7a | 65 64 4d 65 73 73 61 67 |tLocaliz|edMessag|
|00001c60| 65 28 20 63 6c 61 73 73 | 27 78 42 6f 6d 62 4d 65 |e( class|'xBombMe|
|00001c70| 73 73 61 67 65 27 2c 20 | 30 2c 20 53 63 6f 72 65 |ssage', |0, Score|
|00001c80| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00001c90| 69 6f 6e 49 6e 66 6f 2c | 20 4e 6f 6e 65 2c 20 4e |ionInfo,| None, N|
|00001ca0| 6f 6e 65 20 29 3b 0d 0a | 09 41 6e 6e 6f 75 6e 63 |one );..|.Announc|
|00001cb0| 65 53 63 6f 72 65 28 53 | 63 6f 72 65 72 2e 50 6c |eScore(S|corer.Pl|
|00001cc0| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00001cd0| 6e 66 6f 2e 54 65 61 6d | 2e 54 65 61 6d 49 6e 64 |nfo.Team|.TeamInd|
|00001ce0| 65 78 29 3b 0d 0a 0d 0a | 20 20 20 20 69 66 20 28 |ex);....| if (|
|00001cf0| 20 28 62 4f 76 65 72 54 | 69 6d 65 20 7c 7c 20 28 | (bOverT|ime || (|
|00001d00| 47 6f 61 6c 53 63 6f 72 | 65 20 21 3d 20 30 29 29 |GoalScor|e != 0))|
|00001d10| 20 26 26 20 28 54 65 61 | 6d 73 5b 53 63 6f 72 65 | && (Tea|ms[Score|
|00001d20| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00001d30| 69 6f 6e 49 6e 66 6f 2e | 54 65 61 6d 2e 54 65 61 |ionInfo.|Team.Tea|
|00001d40| 6d 49 6e 64 65 78 5d 2e | 53 63 6f 72 65 20 3e 3d |mIndex].|Score >=|
|00001d50| 20 47 6f 61 6c 53 63 6f | 72 65 29 20 29 0d 0a 09 | GoalSco|re) )...|
|00001d60| 09 45 6e 64 47 61 6d 65 | 28 53 63 6f 72 65 72 2e |.EndGame|(Scorer.|
|00001d70| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00001d80| 6e 49 6e 66 6f 2c 22 74 | 65 61 6d 73 63 6f 72 65 |nInfo,"t|eamscore|
|00001d90| 6c 69 6d 69 74 22 29 3b | 0d 0a 09 65 6c 73 65 20 |limit");|...else |
|00001da0| 69 66 20 28 20 62 4f 76 | 65 72 54 69 6d 65 20 29 |if ( bOv|erTime )|
|00001db0| 0d 0a 09 09 45 6e 64 47 | 61 6d 65 28 53 63 6f 72 |....EndG|ame(Scor|
|00001dc0| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00001dd0| 74 69 6f 6e 49 6e 66 6f | 2c 22 74 69 6d 65 6c 69 |tionInfo|,"timeli|
|00001de0| 6d 69 74 22 29 3b 0d 0a | 0d 0a 20 20 20 20 52 65 |mit");..|.. Re|
|00001df0| 73 65 74 43 6f 75 6e 74 | 44 6f 77 6e 20 3d 20 52 |setCount|Down = R|
|00001e00| 65 73 65 74 54 69 6d 65 | 44 65 6c 61 79 2b 31 3b |esetTime|Delay+1;|
|00001e10| 0d 0a 20 20 20 20 69 66 | 20 28 20 62 47 61 6d 65 |.. if| ( bGame|
|00001e20| 45 6e 64 65 64 20 29 0d | 0a 20 20 20 20 20 20 20 |Ended ).|. |
|00001e30| 20 74 68 65 46 6c 61 67 | 2e 53 63 6f 72 65 28 29 | theFlag|.Score()|
|00001e40| 3b 0d 0a 20 20 20 20 65 | 6c 73 65 0d 0a 20 20 20 |;.. e|lse.. |
|00001e50| 20 20 20 20 20 74 68 65 | 46 6c 61 67 2e 53 65 6e | the|Flag.Sen|
|00001e60| 64 48 6f 6d 65 44 69 73 | 61 62 6c 65 64 28 52 65 |dHomeDis|abled(Re|
|00001e70| 73 65 74 54 69 6d 65 44 | 65 6c 61 79 29 3b 0d 0a |setTimeD|elay);..|
|00001e80| 7d 0d 0a 0d 0a 53 74 61 | 74 65 20 4d 61 74 63 68 |}....Sta|te Match|
|00001e90| 49 6e 50 72 6f 67 72 65 | 73 73 0d 0a 7b 0d 0a 09 |InProgre|ss..{...|
|00001ea0| 66 75 6e 63 74 69 6f 6e | 20 54 69 6d 65 72 28 29 |function| Timer()|
|00001eb0| 0d 0a 09 7b 0d 0a 20 20 | 20 20 20 20 20 20 6c 6f |...{.. | lo|
|00001ec0| 63 61 6c 20 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 43 |cal Cont|roller C|
|00001ed0| 3b 0d 0a 20 20 20 20 20 | 20 20 20 6c 6f 63 61 6c |;.. | local|
|00001ee0| 20 50 72 6f 6a 65 63 74 | 69 6c 65 20 50 72 6f 6a | Project|ile Proj|
|00001ef0| 3b 0d 0a 09 09 6c 6f 63 | 61 6c 20 49 6e 76 65 6e |;....loc|al Inven|
|00001f00| 74 6f 72 79 20 49 6e 76 | 3b 0d 0a 0d 0a 20 20 20 |tory Inv|;.... |
|00001f10| 20 20 20 20 20 53 75 70 | 65 72 2e 54 69 6d 65 72 | Sup|er.Timer|
|00001f20| 28 29 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 69 |();.... | i|
|00001f30| 66 20 28 52 65 73 65 74 | 43 6f 75 6e 74 44 6f 77 |f (Reset|CountDow|
|00001f40| 6e 20 3e 20 30 29 0d 0a | 20 20 20 20 20 20 20 20 |n > 0)..| |
|00001f50| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 52 |{.. | R|
|00001f60| 65 73 65 74 43 6f 75 6e | 74 44 6f 77 6e 2d 2d 3b |esetCoun|tDown--;|
|00001f70| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |.. | if|
|00001f80| 20 28 20 52 65 73 65 74 | 43 6f 75 6e 74 44 6f 77 | ( Reset|CountDow|
|00001f90| 6e 20 3c 20 33 20 29 0d | 0a 20 20 20 20 20 20 20 |n < 3 ).|. |
|00001fa0| 20 20 20 20 20 7b 0d 0a | 09 09 09 09 2f 2f 20 62 | {..|....// b|
|00001fb0| 6c 6f 77 20 75 70 20 61 | 6c 6c 20 72 65 64 65 65 |low up a|ll redee|
|00001fc0| 6d 65 72 20 67 75 69 64 | 65 64 20 77 61 72 68 65 |mer guid|ed warhe|
|00001fd0| 61 64 73 0d 0a 09 09 09 | 09 66 6f 72 20 28 20 43 |ads.....|.for ( C|
|00001fe0| 3d 4c 65 76 65 6c 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |=Level.C|ontrolle|
|00001ff0| 72 4c 69 73 74 3b 20 43 | 21 3d 4e 6f 6e 65 3b 20 |rList; C|!=None; |
|00002000| 43 3d 43 2e 4e 65 78 74 | 43 6f 6e 74 72 6f 6c 6c |C=C.Next|Controll|
|00002010| 65 72 20 29 0d 0a 09 09 | 09 09 09 69 66 20 28 20 |er )....|...if ( |
|00002020| 28 43 2e 50 61 77 6e 20 | 21 3d 20 4e 6f 6e 65 29 |(C.Pawn |!= None)|
|00002030| 20 26 26 20 43 2e 50 61 | 77 6e 2e 49 73 41 28 27 | && C.Pa|wn.IsA('|
|00002040| 52 65 64 65 65 6d 65 72 | 57 61 72 68 65 61 64 27 |Redeemer|Warhead'|
|00002050| 29 20 29 0d 0a 09 09 09 | 09 09 09 43 2e 50 61 77 |) ).....|...C.Paw|
|00002060| 6e 2e 46 69 72 65 28 31 | 29 3b 0d 0a 09 09 09 7d |n.Fire(1|);.....}|
|00002070| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |.. | if|
|00002080| 20 28 20 52 65 73 65 74 | 43 6f 75 6e 74 44 6f 77 | ( Reset|CountDow|
|00002090| 6e 20 3d 3d 20 38 20 29 | 0d 0a 20 20 20 20 20 20 |n == 8 )|.. |
|000020a0| 20 20 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 | {.|. |
|000020b0| 20 20 20 20 20 20 20 20 | 20 66 6f 72 20 28 20 43 | | for ( C|
|000020c0| 20 3d 20 4c 65 76 65 6c | 2e 43 6f 6e 74 72 6f 6c | = Level|.Control|
|000020d0| 6c 65 72 4c 69 73 74 3b | 20 43 20 21 3d 20 4e 6f |lerList;| C != No|
|000020e0| 6e 65 3b 20 43 20 3d 20 | 43 2e 4e 65 78 74 43 6f |ne; C = |C.NextCo|
|000020f0| 6e 74 72 6f 6c 6c 65 72 | 20 29 0d 0a 20 20 20 20 |ntroller| ).. |
|00002100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002110| 69 66 20 28 20 50 6c 61 | 79 65 72 43 6f 6e 74 72 |if ( Pla|yerContr|
|00002120| 6f 6c 6c 65 72 28 43 29 | 20 21 3d 20 4e 6f 6e 65 |oller(C)| != None|
|00002130| 20 29 0d 0a 09 09 09 09 | 09 09 50 6c 61 79 65 72 | )......|..Player|
|00002140| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 43 29 2e 50 6c |Controll|er(C).Pl|
|00002150| 61 79 53 74 61 74 75 73 | 41 6e 6e 6f 75 6e 63 65 |ayStatus|Announce|
|00002160| 6d 65 6e 74 28 27 4e 65 | 77 52 6f 75 6e 64 49 6e |ment('Ne|wRoundIn|
|00002170| 27 2c 31 2c 74 72 75 65 | 29 3b 0d 0a 09 09 09 7d |',1,true|);.....}|
|00002180| 0d 0a 09 20 20 20 20 20 | 20 20 20 65 6c 73 65 20 |... | else |
|00002190| 69 66 20 28 20 28 52 65 | 73 65 74 43 6f 75 6e 74 |if ( (Re|setCount|
|000021a0| 44 6f 77 6e 20 3e 20 31 | 29 20 26 26 20 28 52 65 |Down > 1|) && (Re|
|000021b0| 73 65 74 43 6f 75 6e 74 | 44 6f 77 6e 20 3c 20 37 |setCount|Down < 7|
|000021c0| 29 20 29 0d 0a 09 09 09 | 09 42 72 6f 61 64 63 61 |) ).....|.Broadca|
|000021d0| 73 74 4c 6f 63 61 6c 69 | 7a 65 64 4d 65 73 73 61 |stLocali|zedMessa|
|000021e0| 67 65 28 63 6c 61 73 73 | 27 54 69 6d 65 72 4d 65 |ge(class|'TimerMe|
|000021f0| 73 73 61 67 65 27 2c 20 | 52 65 73 65 74 43 6f 75 |ssage', |ResetCou|
|00002200| 6e 74 44 6f 77 6e 2d 31 | 29 3b 0d 0a 20 20 20 20 |ntDown-1|);.. |
|00002210| 20 20 20 20 20 20 20 20 | 65 6c 73 65 20 69 66 20 | |else if |
|00002220| 28 52 65 73 65 74 43 6f | 75 6e 74 44 6f 77 6e 20 |(ResetCo|untDown |
|00002230| 3d 3d 20 31 29 0d 0a 20 | 20 20 20 20 20 20 20 20 |== 1).. | |
|00002240| 20 20 20 7b 0d 0a 09 09 | 09 09 2f 2f 20 72 65 73 | {....|..// res|
|00002250| 65 74 20 61 6c 6c 20 62 | 6f 74 20 65 6e 65 6d 69 |et all b|ot enemi|
|00002260| 65 73 0d 0a 09 09 09 09 | 54 65 61 6d 73 5b 30 5d |es......|Teams[0]|
|00002270| 2e 41 49 2e 43 6c 65 61 | 72 45 6e 65 6d 69 65 73 |.AI.Clea|rEnemies|
|00002280| 28 29 3b 0d 0a 09 09 09 | 09 54 65 61 6d 73 5b 31 |();.....|.Teams[1|
|00002290| 5d 2e 41 49 2e 43 6c 65 | 61 72 45 6e 65 6d 69 65 |].AI.Cle|arEnemie|
|000022a0| 73 28 29 3b 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |s();....| |
|000022b0| 20 20 20 20 20 20 20 20 | 2f 2f 20 72 65 73 65 74 | |// reset|
|000022c0| 20 61 6c 6c 20 70 6c 61 | 79 65 72 73 20 70 6f 73 | all pla|yers pos|
|000022d0| 69 74 69 6f 6e 20 61 6e | 64 20 72 6f 74 61 74 69 |ition an|d rotati|
|000022e0| 6f 6e 20 6f 6e 20 74 68 | 65 20 66 69 65 6c 64 20 |on on th|e field |
|000022f0| 66 6f 72 20 74 68 65 20 | 6e 65 78 74 20 72 6f 75 |for the |next rou|
|00002300| 6e 64 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |nd.. | |
|00002310| 20 20 20 20 66 6f 72 20 | 28 20 43 20 3d 20 4c 65 | for |( C = Le|
|00002320| 76 65 6c 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 4c 69 |vel.Cont|rollerLi|
|00002330| 73 74 3b 20 43 20 21 3d | 20 4e 6f 6e 65 3b 20 43 |st; C !=| None; C|
|00002340| 20 3d 20 43 2e 4e 65 78 | 74 43 6f 6e 74 72 6f 6c | = C.Nex|tControl|
|00002350| 6c 65 72 20 29 0d 0a 09 | 09 09 09 09 69 66 20 28 |ler )...|....if (|
|00002360| 20 28 43 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 | (C.Play|erReplic|
|00002370| 61 74 69 6f 6e 49 6e 66 | 6f 20 21 3d 20 4e 6f 6e |ationInf|o != Non|
|00002380| 65 29 20 26 26 20 21 43 | 2e 50 6c 61 79 65 72 52 |e) && !C|.PlayerR|
|00002390| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 62 |eplicati|onInfo.b|
|000023a0| 4f 6e 6c 79 53 70 65 63 | 74 61 74 6f 72 20 29 0d |OnlySpec|tator ).|
|000023b0| 0a 20 20 20 20 09 09 09 | 09 7b 0d 0a 20 20 20 09 |. ...|.{.. .|
|000023c0| 09 09 09 09 09 43 2e 53 | 74 61 72 74 53 70 6f 74 |.....C.S|tartSpot|
|000023d0| 20 3d 20 46 69 6e 64 50 | 6c 61 79 65 72 53 74 61 | = FindP|layerSta|
|000023e0| 72 74 28 43 2c 20 43 2e | 50 6c 61 79 65 72 52 65 |rt(C, C.|PlayerRe|
|000023f0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 54 65 |plicatio|nInfo.Te|
|00002400| 61 6d 2e 54 65 61 6d 49 | 6e 64 65 78 29 3b 0d 0a |am.TeamI|ndex);..|
|00002410| 20 20 20 20 09 09 09 09 | 09 69 66 20 28 20 43 2e | ....|.if ( C.|
|00002420| 53 74 61 72 74 53 70 6f | 74 20 21 3d 20 4e 6f 6e |StartSpo|t != Non|
|00002430| 65 20 29 0d 0a 20 20 20 | 20 09 09 09 09 09 7b 0d |e ).. | .....{.|
|00002440| 0a 09 09 09 09 09 09 09 | 43 2e 53 65 74 4c 6f 63 |........|C.SetLoc|
|00002450| 61 74 69 6f 6e 28 43 2e | 53 74 61 72 74 53 70 6f |ation(C.|StartSpo|
|00002460| 74 2e 4c 6f 63 61 74 69 | 6f 6e 29 3b 0d 0a 09 09 |t.Locati|on);....|
|00002470| 09 09 09 09 09 43 2e 53 | 65 74 52 6f 74 61 74 69 |.....C.S|etRotati|
|00002480| 6f 6e 28 43 2e 53 74 61 | 72 74 53 70 6f 74 2e 52 |on(C.Sta|rtSpot.R|
|00002490| 6f 74 61 74 69 6f 6e 29 | 3b 0d 0a 09 09 09 09 09 |otation)|;.......|
|000024a0| 09 7d 0d 0a 09 09 09 09 | 09 09 69 66 20 28 20 43 |.}......|..if ( C|
|000024b0| 2e 50 61 77 6e 20 21 3d | 20 4e 6f 6e 65 20 29 0d |.Pawn !=| None ).|
|000024c0| 0a 09 09 09 09 09 09 7b | 0d 0a 09 09 09 09 09 09 |.......{|........|
|000024d0| 09 69 66 20 28 20 78 50 | 61 77 6e 28 43 2e 50 61 |.if ( xP|awn(C.Pa|
|000024e0| 77 6e 29 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |wn) != N|one )...|
|000024f0| 09 09 09 09 09 09 7b 0d | 0a 09 09 09 09 09 09 09 |......{.|........|
|00002500| 09 69 66 20 28 78 50 61 | 77 6e 28 43 2e 50 61 77 |.if (xPa|wn(C.Paw|
|00002510| 6e 29 2e 43 75 72 72 65 | 6e 74 43 6f 6d 62 6f 20 |n).Curre|ntCombo |
|00002520| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 09 09 09 09 |!= None)|........|
|00002530| 09 09 7b 0d 0a 09 09 09 | 09 09 09 09 09 09 43 2e |..{.....|......C.|
|00002540| 41 64 72 65 6e 61 6c 69 | 6e 65 20 3d 20 30 3b 0d |Adrenali|ne = 0;.|
|00002550| 0a 09 09 09 09 09 09 09 | 09 09 78 50 61 77 6e 28 |........|..xPawn(|
|00002560| 43 2e 50 61 77 6e 29 2e | 43 75 72 72 65 6e 74 43 |C.Pawn).|CurrentC|
|00002570| 6f 6d 62 6f 2e 44 65 73 | 74 72 6f 79 28 29 3b 0d |ombo.Des|troy();.|
|00002580| 0a 09 09 09 09 09 09 09 | 09 7d 0d 0a 09 09 09 09 |........|.}......|
|00002590| 09 09 09 09 69 66 20 28 | 20 78 50 61 77 6e 28 43 |....if (| xPawn(C|
|000025a0| 2e 50 61 77 6e 29 2e 55 | 44 61 6d 61 67 65 54 69 |.Pawn).U|DamageTi|
|000025b0| 6d 65 72 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |mer != N|one )...|
|000025c0| 09 09 09 09 09 09 09 7b | 0d 0a 09 09 09 09 09 09 |.......{|........|
|000025d0| 09 09 09 78 50 61 77 6e | 28 43 2e 50 61 77 6e 29 |...xPawn|(C.Pawn)|
|000025e0| 2e 55 44 61 6d 61 67 65 | 54 69 6d 65 72 2e 44 65 |.UDamage|Timer.De|
|000025f0| 73 74 72 6f 79 28 29 3b | 0d 0a 09 09 09 09 09 09 |stroy();|........|
|00002600| 09 09 09 78 50 61 77 6e | 28 43 2e 50 61 77 6e 29 |...xPawn|(C.Pawn)|
|00002610| 2e 44 69 73 61 62 6c 65 | 55 44 61 6d 61 67 65 28 |.Disable|UDamage(|
|00002620| 29 3b 0d 0a 09 09 09 09 | 09 09 09 09 7d 0d 0a 09 |);......|....}...|
|00002630| 09 09 09 09 09 09 7d 0d | 0a 09 09 09 09 09 09 09 |......}.|........|
|00002640| 43 2e 50 61 77 6e 2e 48 | 65 61 6c 74 68 20 3d 20 |C.Pawn.H|ealth = |
|00002650| 4d 61 78 28 43 2e 50 61 | 77 6e 2e 48 65 61 6c 74 |Max(C.Pa|wn.Healt|
|00002660| 68 2c 43 2e 50 61 77 6e | 2e 48 65 61 6c 74 68 4d |h,C.Pawn|.HealthM|
|00002670| 61 78 29 3b 0d 0a 09 09 | 09 09 09 09 09 53 65 74 |ax);....|.....Set|
|00002680| 50 6c 61 79 65 72 44 65 | 66 61 75 6c 74 73 28 43 |PlayerDe|faults(C|
|00002690| 2e 50 61 77 6e 29 3b 0d | 0a 09 09 09 09 09 09 09 |.Pawn);.|........|
|000026a0| 43 2e 50 61 77 6e 2e 53 | 65 74 4c 6f 63 61 74 69 |C.Pawn.S|etLocati|
|000026b0| 6f 6e 28 43 2e 53 74 61 | 72 74 53 70 6f 74 2e 4c |on(C.Sta|rtSpot.L|
|000026c0| 6f 63 61 74 69 6f 6e 29 | 3b 0d 0a 09 09 09 09 09 |ocation)|;.......|
|000026d0| 09 09 43 2e 50 61 77 6e | 2e 53 65 74 52 6f 74 61 |..C.Pawn|.SetRota|
|000026e0| 74 69 6f 6e 28 43 2e 53 | 74 61 72 74 53 70 6f 74 |tion(C.S|tartSpot|
|000026f0| 2e 52 6f 74 61 74 69 6f | 6e 29 3b 0d 0a 09 09 09 |.Rotatio|n);.....|
|00002700| 09 09 09 09 43 2e 50 61 | 77 6e 2e 56 65 6c 6f 63 |....C.Pa|wn.Veloc|
|00002710| 69 74 79 20 3d 20 76 65 | 63 74 28 30 2c 30 2c 30 |ity = ve|ct(0,0,0|
|00002720| 29 3b 0d 0a 09 09 09 09 | 09 09 09 43 2e 50 61 77 |);......|...C.Paw|
|00002730| 6e 2e 50 6c 61 79 54 65 | 6c 65 70 6f 72 74 45 66 |n.PlayTe|leportEf|
|00002740| 66 65 63 74 28 66 61 6c | 73 65 2c 20 74 72 75 65 |fect(fal|se, true|
|00002750| 29 3b 0d 0a 09 09 09 09 | 09 09 09 66 6f 72 20 28 |);......|...for (|
|00002760| 20 49 6e 76 3d 43 2e 50 | 61 77 6e 2e 49 6e 76 65 | Inv=C.P|awn.Inve|
|00002770| 6e 74 6f 72 79 3b 20 49 | 6e 76 21 3d 4e 6f 6e 65 |ntory; I|nv!=None|
|00002780| 3b 20 49 6e 76 3d 49 6e | 76 2e 49 6e 76 65 6e 74 |; Inv=In|v.Invent|
|00002790| 6f 72 79 20 29 0d 0a 09 | 09 09 09 09 09 09 09 69 |ory )...|.......i|
|000027a0| 66 20 28 20 49 6e 76 2e | 49 73 41 28 27 54 72 61 |f ( Inv.|IsA('Tra|
|000027b0| 6e 73 4c 61 75 6e 63 68 | 65 72 27 29 20 29 0d 0a |nsLaunch|er') )..|
|000027c0| 09 09 09 09 09 09 09 09 | 09 57 65 61 70 6f 6e 28 |........|.Weapon(|
|000027d0| 49 6e 76 29 2e 47 69 76 | 65 41 6d 6d 6f 28 30 2c |Inv).Giv|eAmmo(0,|
|000027e0| 20 4e 6f 6e 65 2c 20 66 | 61 6c 73 65 29 3b 0d 0a | None, f|alse);..|
|000027f0| 09 09 09 09 09 09 7d 0d | 0a 20 20 20 20 09 09 09 |......}.|. ...|
|00002800| 09 09 69 66 20 28 20 43 | 2e 53 74 61 72 74 53 70 |..if ( C|.StartSp|
|00002810| 6f 74 20 21 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |ot != No|ne )....|
|00002820| 09 09 09 09 09 43 2e 43 | 6c 69 65 6e 74 53 65 74 |.....C.C|lientSet|
|00002830| 4c 6f 63 61 74 69 6f 6e | 28 43 2e 53 74 61 72 74 |Location|(C.Start|
|00002840| 53 70 6f 74 2e 4c 6f 63 | 61 74 69 6f 6e 2c 43 2e |Spot.Loc|ation,C.|
|00002850| 53 74 61 72 74 53 70 6f | 74 2e 52 6f 74 61 74 69 |StartSpo|t.Rotati|
|00002860| 6f 6e 29 3b 0d 0a 20 20 | 20 20 20 09 09 09 09 7d |on);.. | ....}|
|00002870| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00002880| 20 20 20 2f 2f 20 64 65 | 73 74 72 6f 79 20 70 72 | // de|stroy pr|
|00002890| 6f 6a 65 63 74 69 6c 65 | 73 0d 0a 20 20 20 20 20 |ojectile|s.. |
|000028a0| 20 20 20 20 20 20 20 20 | 20 20 20 66 6f 72 65 61 | | forea|
|000028b0| 63 68 20 44 79 6e 61 6d | 69 63 41 63 74 6f 72 73 |ch Dynam|icActors|
|000028c0| 28 63 6c 61 73 73 27 50 | 72 6f 6a 65 63 74 69 6c |(class'P|rojectil|
|000028d0| 65 27 2c 20 50 72 6f 6a | 29 0d 0a 20 20 20 20 20 |e', Proj|).. |
|000028e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 50 | | P|
|000028f0| 72 6f 6a 2e 44 65 73 74 | 72 6f 79 28 29 3b 0d 0a |roj.Dest|roy();..|
|00002900| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00002910| 20 20 42 6f 6d 62 2e 53 | 65 6e 64 48 6f 6d 65 28 | Bomb.S|endHome(|
|00002920| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |);.. | |
|00002930| 20 20 20 20 52 65 73 65 | 74 43 6f 75 6e 74 44 6f | Rese|tCountDo|
|00002940| 77 6e 20 3d 20 30 3b 0d | 0a 20 20 20 20 20 20 20 |wn = 0;.|. |
|00002950| 20 20 20 20 7d 0d 0a 20 | 20 20 20 20 20 20 20 7d | }.. | }|
|00002960| 0d 0a 20 20 20 20 20 20 | 20 20 65 6c 73 65 0d 0a |.. | else..|
|00002970| 20 20 20 20 20 20 20 20 | 7b 0d 0a 09 09 09 69 66 | |{.....if|
|00002980| 20 28 20 42 6f 6d 62 20 | 3d 3d 20 4e 6f 6e 65 20 | ( Bomb |== None |
|00002990| 29 0d 0a 09 09 09 09 46 | 6f 72 45 61 63 68 20 44 |)......F|orEach D|
|000029a0| 79 6e 61 6d 69 63 41 63 | 74 6f 72 73 28 63 6c 61 |ynamicAc|tors(cla|
|000029b0| 73 73 27 78 42 6f 6d 62 | 46 6c 61 67 27 2c 42 6f |ss'xBomb|Flag',Bo|
|000029c0| 6d 62 29 0d 0a 09 09 09 | 09 09 62 72 65 61 6b 3b |mb).....|..break;|
|000029d0| 0d 0a 09 09 09 69 66 20 | 28 20 42 6f 6d 62 20 21 |.....if |( Bomb !|
|000029e0| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 09 47 61 |= None )|......Ga|
|000029f0| 6d 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |meReplic|ationInf|
|00002a00| 6f 2e 46 6c 61 67 50 6f | 73 20 3d 20 42 6f 6d 62 |o.FlagPo|s = Bomb|
|00002a10| 2e 50 6f 73 69 74 69 6f | 6e 28 29 2e 4c 6f 63 61 |.Positio|n().Loca|
|00002a20| 74 69 6f 6e 3b 0d 0a 09 | 09 7d 0d 0a 20 20 20 20 |tion;...|.}.. |
|00002a30| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00002a40| 20 41 6e 6e 6f 75 6e 63 | 65 53 63 6f 72 65 28 69 | Announc|eScore(i|
|00002a50| 6e 74 20 53 63 6f 72 69 | 6e 67 54 65 61 6d 29 0d |nt Scori|ngTeam).|
|00002a60| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 43 6f 6e 74 72 |.{...loc|al Contr|
|00002a70| 6f 6c 6c 65 72 20 43 3b | 0d 0a 09 6c 6f 63 61 6c |oller C;|...local|
|00002a80| 20 6e 61 6d 65 20 53 63 | 6f 72 65 53 6f 75 6e 64 | name Sc|oreSound|
|00002a90| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 74 20 4f 74 |;...loca|l int Ot|
|00002aa0| 68 65 72 54 65 61 6d 3b | 0d 0a 0d 0a 09 69 66 20 |herTeam;|.....if |
|00002ab0| 28 20 53 63 6f 72 69 6e | 67 54 65 61 6d 20 3d 3d |( Scorin|gTeam ==|
|00002ac0| 20 31 20 29 0d 0a 09 09 | 4f 74 68 65 72 54 65 61 | 1 )....|OtherTea|
|00002ad0| 6d 20 3d 20 30 3b 0d 0a | 09 65 6c 73 65 0d 0a 09 |m = 0;..|.else...|
|00002ae0| 09 4f 74 68 65 72 54 65 | 61 6d 20 3d 20 31 3b 0d |.OtherTe|am = 1;.|
|00002af0| 0a 0d 0a 09 69 66 20 28 | 20 4f 6c 64 53 63 6f 72 |....if (| OldScor|
|00002b00| 65 20 3c 3d 20 54 65 61 | 6d 73 5b 4f 74 68 65 72 |e <= Tea|ms[Other|
|00002b10| 54 65 61 6d 5d 2e 53 63 | 6f 72 65 20 29 0d 0a 09 |Team].Sc|ore )...|
|00002b20| 7b 0d 0a 09 09 69 66 20 | 28 20 54 65 61 6d 73 5b |{....if |( Teams[|
|00002b30| 53 63 6f 72 69 6e 67 54 | 65 61 6d 5d 2e 53 63 6f |ScoringT|eam].Sco|
|00002b40| 72 65 20 3e 20 54 65 61 | 6d 73 5b 4f 74 68 65 72 |re > Tea|ms[Other|
|00002b50| 54 65 61 6d 5d 2e 53 63 | 6f 72 65 20 29 0d 0a 09 |Team].Sc|ore )...|
|00002b60| 09 09 53 63 6f 72 65 53 | 6f 75 6e 64 20 3d 20 54 |..ScoreS|ound = T|
|00002b70| 61 6b 65 4c 65 61 64 4e | 61 6d 65 5b 53 63 6f 72 |akeLeadN|ame[Scor|
|00002b80| 69 6e 67 54 65 61 6d 5d | 3b 0d 0a 09 09 65 6c 73 |ingTeam]|;....els|
|00002b90| 65 0d 0a 09 09 09 53 63 | 6f 72 65 53 6f 75 6e 64 |e.....Sc|oreSound|
|00002ba0| 20 3d 20 43 61 70 74 75 | 72 65 53 6f 75 6e 64 4e | = Captu|reSoundN|
|00002bb0| 61 6d 65 5b 53 63 6f 72 | 69 6e 67 54 65 61 6d 5d |ame[Scor|ingTeam]|
|00002bc0| 3b 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 0d 0a 09 7b |;...}...|else...{|
|00002bd0| 0d 0a 09 09 69 66 20 28 | 20 4f 6c 64 53 63 6f 72 |....if (| OldScor|
|00002be0| 65 20 3c 3d 20 54 65 61 | 6d 73 5b 4f 74 68 65 72 |e <= Tea|ms[Other|
|00002bf0| 54 65 61 6d 5d 2e 53 63 | 6f 72 65 20 2b 20 33 20 |Team].Sc|ore + 3 |
|00002c00| 29 0d 0a 09 09 09 53 63 | 6f 72 65 53 6f 75 6e 64 |).....Sc|oreSound|
|00002c10| 20 3d 20 49 6e 63 72 65 | 61 73 65 4c 65 61 64 4e | = Incre|aseLeadN|
|00002c20| 61 6d 65 5b 53 63 6f 72 | 69 6e 67 54 65 61 6d 5d |ame[Scor|ingTeam]|
|00002c30| 3b 0d 0a 09 09 65 6c 73 | 65 0d 0a 09 09 09 53 63 |;....els|e.....Sc|
|00002c40| 6f 72 65 53 6f 75 6e 64 | 20 3d 20 43 61 70 74 75 |oreSound| = Captu|
|00002c50| 72 65 53 6f 75 6e 64 4e | 61 6d 65 5b 53 63 6f 72 |reSoundN|ame[Scor|
|00002c60| 69 6e 67 54 65 61 6d 5d | 3b 0d 0a 09 7d 0d 0a 0d |ingTeam]|;...}...|
|00002c70| 0a 09 66 6f 72 20 28 20 | 43 3d 4c 65 76 65 6c 2e |..for ( |C=Level.|
|00002c80| 43 6f 6e 74 72 6f 6c 6c | 65 72 4c 69 73 74 3b 20 |Controll|erList; |
|00002c90| 43 21 3d 4e 6f 6e 65 3b | 20 43 3d 43 2e 4e 65 78 |C!=None;| C=C.Nex|
|00002ca0| 74 43 6f 6e 74 72 6f 6c | 6c 65 72 20 29 0d 0a 09 |tControl|ler )...|
|00002cb0| 7b 0d 0a 09 09 69 66 20 | 28 20 43 2e 49 73 41 28 |{....if |( C.IsA(|
|00002cc0| 27 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 |'PlayerC|ontrolle|
|00002cd0| 72 27 29 20 29 0d 0a 09 | 09 09 50 6c 61 79 65 72 |r') )...|..Player|
|00002ce0| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 43 29 2e 50 6c |Controll|er(C).Pl|
|00002cf0| 61 79 53 74 61 74 75 73 | 41 6e 6e 6f 75 6e 63 65 |ayStatus|Announce|
|00002d00| 6d 65 6e 74 28 53 63 6f | 72 65 53 6f 75 6e 64 2c |ment(Sco|reSound,|
|00002d10| 31 2c 74 72 75 65 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |1,true);|...}..}.|
|00002d20| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 61 63 74 6f |...funct|ion acto|
|00002d30| 72 20 46 69 6e 64 53 70 | 65 63 47 6f 61 6c 46 6f |r FindSp|ecGoalFo|
|00002d40| 72 28 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r(Player|Replicat|
|00002d50| 69 6f 6e 49 6e 66 6f 20 | 50 52 49 2c 20 69 6e 74 |ionInfo |PRI, int|
|00002d60| 20 54 65 61 6d 49 6e 64 | 65 78 29 0d 0a 7b 0d 0a | TeamInd|ex)..{..|
|00002d70| 09 6c 6f 63 61 6c 20 58 | 50 6c 61 79 65 72 20 50 |.local X|Player P|
|00002d80| 43 3b 0d 0a 20 20 20 20 | 6c 6f 63 61 6c 20 43 6f |C;.. |local Co|
|00002d90| 6e 74 72 6f 6c 6c 65 72 | 20 43 3b 0d 0a 20 20 20 |ntroller| C;.. |
|00002da0| 20 6c 6f 63 61 6c 20 78 | 42 6f 6d 62 46 6c 61 67 | local x|BombFlag|
|00002db0| 20 62 3b 0d 0a 0d 0a 20 | 20 20 20 50 43 20 3d 20 | b;.... | PC = |
|00002dc0| 58 50 6c 61 79 65 72 28 | 50 52 49 2e 4f 77 6e 65 |XPlayer(|PRI.Owne|
|00002dd0| 72 29 3b 0d 0a 20 20 20 | 20 69 66 20 28 50 43 3d |r);.. | if (PC=|
|00002de0| 3d 4e 6f 6e 65 29 0d 0a | 20 20 20 20 09 72 65 74 |=None)..| .ret|
|00002df0| 75 72 6e 20 6e 6f 6e 65 | 3b 0d 0a 0d 0a 20 20 20 |urn none|;.... |
|00002e00| 20 2f 2f 20 4c 6f 6f 6b | 20 66 6f 72 20 61 20 50 | // Look| for a P|
|00002e10| 6c 61 79 65 72 20 68 6f | 6c 64 69 6e 67 20 74 68 |layer ho|lding th|
|00002e20| 65 20 66 6c 61 67 0d 0a | 20 20 20 20 66 6f 72 20 |e flag..| for |
|00002e30| 28 43 3d 4c 65 76 65 6c | 2e 43 6f 6e 74 72 6f 6c |(C=Level|.Control|
|00002e40| 6c 65 72 4c 69 73 74 3b | 43 21 3d 4e 6f 6e 65 3b |lerList;|C!=None;|
|00002e50| 43 3d 43 2e 4e 65 78 74 | 43 6f 6e 74 72 6f 6c 6c |C=C.Next|Controll|
|00002e60| 65 72 29 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |er).. | {.. |
|00002e70| 09 69 66 20 28 20 28 43 | 2e 50 6c 61 79 65 72 52 |.if ( (C|.PlayerR|
|00002e80| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 20 21 |eplicati|onInfo !|
|00002e90| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 28 43 2e 50 6c |= None) |&& (C.Pl|
|00002ea0| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00002eb0| 6e 66 6f 2e 48 61 73 46 | 6c 61 67 21 3d 4e 6f 6e |nfo.HasF|lag!=Non|
|00002ec0| 65 29 20 29 0d 0a 20 20 | 20 20 20 20 20 20 09 72 |e) ).. | .r|
|00002ed0| 65 74 75 72 6e 20 43 2e | 50 61 77 6e 3b 0d 0a 20 |eturn C.|Pawn;.. |
|00002ee0| 20 20 20 7d 0d 0a 0d 0a | 09 66 6f 72 65 61 63 68 | }....|.foreach|
|00002ef0| 20 41 6c 6c 41 63 74 6f | 72 73 28 63 6c 61 73 73 | AllActo|rs(class|
|00002f00| 27 78 42 6f 6d 62 46 6c | 61 67 27 2c 62 29 0d 0a |'xBombFl|ag',b)..|
|00002f10| 20 20 20 20 09 72 65 74 | 75 72 6e 20 62 3b 0d 0a | .ret|urn b;..|
|00002f20| 0d 0a 20 20 20 20 72 65 | 74 75 72 6e 20 6e 6f 6e |.. re|turn non|
|00002f30| 65 3b 0d 0a 7d 0d 0a 0d | 0a 73 74 61 74 69 63 20 |e;..}...|.static |
|00002f40| 66 75 6e 63 74 69 6f 6e | 20 46 69 6c 6c 50 6c 61 |function| FillPla|
|00002f50| 79 49 6e 66 6f 28 50 6c | 61 79 49 6e 66 6f 20 50 |yInfo(Pl|ayInfo P|
|00002f60| 49 29 0d 0a 7b 0d 0a 09 | 53 75 70 65 72 2e 46 69 |I)..{...|Super.Fi|
|00002f70| 6c 6c 50 6c 61 79 49 6e | 66 6f 28 50 49 29 3b 0d |llPlayIn|fo(PI);.|
|00002f80| 0a 0d 0a 09 50 49 2e 41 | 64 64 53 65 74 74 69 6e |....PI.A|ddSettin|
|00002f90| 67 28 64 65 66 61 75 6c | 74 2e 52 75 6c 65 73 47 |g(defaul|t.RulesG|
|00002fa0| 72 6f 75 70 2c 20 20 22 | 62 42 61 6c 6c 44 72 61 |roup, "|bBallDra|
|00002fb0| 69 6e 73 54 72 61 6e 73 | 6c 6f 63 22 2c 20 64 65 |insTrans|loc", de|
|00002fc0| 66 61 75 6c 74 2e 42 52 | 50 72 6f 70 54 65 78 74 |fault.BR|PropText|
|00002fd0| 32 2c 20 34 30 2c 20 30 | 2c 20 22 43 68 65 63 6b |2, 40, 0|, "Check|
|00002fe0| 22 2c 2c 2c 2c 54 72 75 | 65 29 3b 0d 0a 7d 0d 0a |",,,,Tru|e);..}..|
|00002ff0| 0d 0a 73 74 61 74 69 63 | 20 65 76 65 6e 74 20 73 |..static| event s|
|00003000| 74 72 69 6e 67 20 47 65 | 74 44 65 73 63 72 69 70 |tring Ge|tDescrip|
|00003010| 74 69 6f 6e 54 65 78 74 | 28 73 74 72 69 6e 67 20 |tionText|(string |
|00003020| 50 72 6f 70 4e 61 6d 65 | 29 0d 0a 7b 0d 0a 09 73 |PropName|)..{...s|
|00003030| 77 69 74 63 68 20 28 50 | 72 6f 70 4e 61 6d 65 29 |witch (P|ropName)|
|00003040| 0d 0a 09 7b 0d 0a 09 09 | 63 61 73 65 20 22 62 42 |...{....|case "bB|
|00003050| 61 6c 6c 44 72 61 69 6e | 73 54 72 61 6e 73 6c 6f |allDrain|sTranslo|
|00003060| 63 22 3a 20 72 65 74 75 | 72 6e 20 64 65 66 61 75 |c": retu|rn defau|
|00003070| 6c 74 2e 42 52 44 65 73 | 63 54 65 78 74 32 3b 0d |lt.BRDes|cText2;.|
|00003080| 0a 09 7d 0d 0a 0d 0a 09 | 72 65 74 75 72 6e 20 53 |..}.....|return S|
|00003090| 75 70 65 72 2e 47 65 74 | 44 65 73 63 72 69 70 74 |uper.Get|Descript|
|000030a0| 69 6f 6e 54 65 78 74 28 | 50 72 6f 70 4e 61 6d 65 |ionText(|PropName|
|000030b0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|000030c0| 6e 20 69 6e 74 20 42 61 | 6c 6c 43 61 72 72 69 65 |n int Ba|llCarrie|
|000030d0| 72 4d 65 73 73 61 67 65 | 28 29 0d 0a 7b 0d 0a 09 |rMessage|()..{...|
|000030e0| 72 65 74 75 72 6e 20 31 | 35 3b 0d 0a 7d 0d 0a 0d |return 1|5;..}...|
|000030f0| 0a 65 76 65 6e 74 20 53 | 65 74 47 72 61 6d 6d 61 |.event S|etGramma|
|00003100| 72 28 29 0d 0a 7b 0d 0a | 09 4c 6f 61 64 53 52 47 |r()..{..|.LoadSRG|
|00003110| 72 61 6d 6d 61 72 28 22 | 42 52 22 29 3b 0d 0a 7d |rammar("|BR");..}|
|00003120| 0d 0a 0d 0a 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+