home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 February / Gamestar_81_2006-02_dvd.iso / DVDStar / Akce / UT2004 / UETFTactics.exe / System / UETFTactics.u / ScriptText10.TextBuffer < prev    next >
Unknown  |  2005-12-22  |  7.1 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 | 6e 71 2f 2f 3d 3d 3d 3d |........|nq//====|
|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 0d 0a 2f 2f 20 78 42 |========|=..// xB|
|00000060| 6f 6d 62 69 6e 67 52 75 | 6e 2e 0d 0a 2f 2f 3d 3d |ombingRu|n...//==|
|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 0d 0a 63 6c 61 |========|===..cla|
|000000c0| 73 73 20 55 45 54 46 46 | 61 6c 6c 42 61 63 6b 47 |ss UETFF|allBackG|
|000000d0| 61 6d 65 20 65 78 74 65 | 6e 64 73 20 55 45 54 46 |ame exte|nds UETF|
|000000e0| 42 61 73 65 47 61 6d 65 | 0d 0a 20 20 20 20 20 20 |BaseGame|.. |
|000000f0| 64 65 70 65 6e 64 73 4f | 6e 28 55 45 54 46 52 75 |dependsO|n(UETFRu|
|00000100| 6c 65 73 29 3b 0d 0a 0d | 0a 76 61 72 20 76 65 63 |les);...|.var vec|
|00000110| 74 6f 72 20 4e 65 61 72 | 4c 6f 63 2c 20 46 61 72 |tor Near|Loc, Far|
|00000120| 4c 6f 63 3b 0d 0a 76 61 | 72 20 41 6c 6c 79 47 65 |Loc;..va|r AllyGe|
|00000130| 6e 65 72 61 74 6f 72 20 | 4e 65 61 72 47 65 6e 65 |nerator |NearGene|
|00000140| 72 61 74 6f 72 2c 20 46 | 61 72 47 65 6e 65 72 61 |rator, F|arGenera|
|00000150| 74 6f 72 2c 20 4d 69 64 | 47 65 6e 65 72 61 74 6f |tor, Mid|Generato|
|00000160| 72 3b 0d 0a 76 61 72 20 | 61 72 72 61 79 3c 41 6c |r;..var |array<Al|
|00000170| 6c 79 47 65 6e 65 72 61 | 74 6f 72 3e 20 46 72 69 |lyGenera|tor> Fri|
|00000180| 65 6e 64 47 65 6e 65 72 | 61 74 6f 72 73 3b 0d 0a |endGener|ators;..|
|00000190| 76 61 72 20 45 6e 65 6d | 79 47 65 6e 65 72 61 74 |var Enem|yGenerat|
|000001a0| 6f 72 4d 6b 49 49 20 45 | 6e 65 6d 79 47 65 6e 3b |orMkII E|nemyGen;|
|000001b0| 0d 0a 76 61 72 20 69 6e | 74 20 75 65 74 66 5f 72 |..var in|t uetf_r|
|000001c0| 65 73 65 72 76 65 73 2c | 20 62 6f 74 5f 72 65 73 |eserves,| bot_res|
|000001d0| 65 72 76 65 73 3b 0d 0a | 0d 0a 66 75 6e 63 74 69 |erves;..|..functi|
|000001e0| 6f 6e 20 43 68 65 63 6b | 44 65 70 6c 6f 79 61 62 |on Check|Deployab|
|000001f0| 6c 65 73 28 29 0d 0a 7b | 0d 0a 20 6c 6f 63 61 6c |les()..{|.. local|
|00000200| 20 78 42 6f 6d 62 44 65 | 6c 69 76 65 72 79 20 42 | xBombDe|livery B|
|00000210| 3b 0d 0a 20 6c 6f 63 61 | 6c 20 78 42 6f 6d 62 53 |;.. loca|l xBombS|
|00000220| 70 61 77 6e 20 42 42 6f | 6d 62 3b 0d 0a 20 6c 6f |pawn BBo|mb;.. lo|
|00000230| 63 61 6c 20 76 65 63 74 | 6f 72 20 73 70 61 77 6e |cal vect|or spawn|
|00000240| 6c 6f 63 3b 0d 0a 20 6c | 6f 63 61 6c 20 69 6e 74 |loc;.. l|ocal int|
|00000250| 20 6f 77 6e 65 64 5f 74 | 65 61 6d 3b 0d 0a 20 6c | owned_t|eam;.. l|
|00000260| 6f 63 61 6c 20 78 42 6f | 6d 62 44 65 6c 69 76 65 |ocal xBo|mbDelive|
|00000270| 72 79 48 6f 6c 65 20 42 | 48 6f 6c 65 3b 0d 0a 0d |ryHole B|Hole;...|
|00000280| 0a 20 66 6f 72 65 61 63 | 68 20 41 6c 6c 41 63 74 |. foreac|h AllAct|
|00000290| 6f 72 73 28 63 6c 61 73 | 73 27 78 42 6f 6d 62 44 |ors(clas|s'xBombD|
|000002a0| 65 6c 69 76 65 72 79 48 | 6f 6c 65 27 2c 42 48 6f |eliveryH|ole',BHo|
|000002b0| 6c 65 29 0d 0a 20 7b 0d | 0a 20 20 42 48 6f 6c 65 |le).. {.|. BHole|
|000002c0| 2e 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 20 7d 0d |.Destroy|();.. }.|
|000002d0| 0a 0d 0a 20 66 6f 72 65 | 61 63 68 20 41 6c 6c 41 |... fore|ach AllA|
|000002e0| 63 74 6f 72 73 28 63 6c | 61 73 73 27 78 42 6f 6d |ctors(cl|ass'xBom|
|000002f0| 62 44 65 6c 69 76 65 72 | 79 27 2c 42 29 0d 0a 20 |bDeliver|y',B).. |
|00000300| 7b 0d 0a 20 20 73 70 61 | 77 6e 6c 6f 63 20 3d 20 |{.. spa|wnloc = |
|00000310| 42 2e 4c 6f 63 61 74 69 | 6f 6e 3b 0d 0a 20 20 6f |B.Locati|on;.. o|
|00000320| 77 6e 65 64 5f 74 65 61 | 6d 20 3d 20 42 2e 54 65 |wned_tea|m = B.Te|
|00000330| 61 6d 3b 0d 0a 20 20 42 | 2e 44 65 73 74 72 6f 79 |am;.. B|.Destroy|
|00000340| 28 29 3b 0d 0a 0d 0a 20 | 20 69 66 20 28 6f 77 6e |();.... | if (own|
|00000350| 65 64 5f 74 65 61 6d 20 | 3d 3d 20 31 29 7b 0d 0a |ed_team |== 1){..|
|00000360| 20 20 20 20 20 46 61 72 | 4c 6f 63 20 3d 20 73 70 | Far|Loc = sp|
|00000370| 61 77 6e 6c 6f 63 3b 0d | 0a 20 20 7d 0d 0a 20 20 |awnloc;.|. }.. |
|00000380| 69 66 20 28 6f 77 6e 65 | 64 5f 74 65 61 6d 20 3d |if (owne|d_team =|
|00000390| 3d 20 30 29 7b 0d 0a 20 | 20 20 20 20 4e 65 61 72 |= 0){.. | Near|
|000003a0| 4c 6f 63 20 3d 20 73 70 | 61 77 6e 6c 6f 63 3b 0d |Loc = sp|awnloc;.|
|000003b0| 0a 20 20 7d 0d 0a 20 7d | 0d 0a 0d 0a 20 66 6f 72 |. }.. }|.... for|
|000003c0| 65 61 63 68 20 41 6c 6c | 41 63 74 6f 72 73 28 63 |each All|Actors(c|
|000003d0| 6c 61 73 73 27 78 42 6f | 6d 62 53 70 61 77 6e 27 |lass'xBo|mbSpawn'|
|000003e0| 2c 42 42 6f 6d 62 29 0d | 0a 20 7b 0d 0a 20 20 73 |,BBomb).|. {.. s|
|000003f0| 70 61 77 6e 6c 6f 63 20 | 3d 20 42 42 6f 6d 62 2e |pawnloc |= BBomb.|
|00000400| 4c 6f 63 61 74 69 6f 6e | 3b 0d 0a 20 20 42 42 6f |Location|;.. BBo|
|00000410| 6d 62 2e 44 65 73 74 72 | 6f 79 28 29 3b 0d 0a 20 |mb.Destr|oy();.. |
|00000420| 20 4d 69 64 47 65 6e 65 | 72 61 74 6f 72 20 3d 20 | MidGene|rator = |
|00000430| 53 70 61 77 6e 28 63 6c | 61 73 73 27 41 6c 6c 79 |Spawn(cl|ass'Ally|
|00000440| 47 65 6e 65 72 61 74 6f | 72 27 2c 2c 2c 53 70 61 |Generato|r',,,Spa|
|00000450| 77 6e 4c 6f 63 20 2d 20 | 33 30 20 2a 20 76 65 63 |wnLoc - |30 * vec|
|00000460| 74 28 30 2c 30 2c 31 29 | 2c 29 3b 0d 0a 20 20 46 |t(0,0,1)|,);.. F|
|00000470| 72 69 65 6e 64 47 65 6e | 65 72 61 74 6f 72 73 2e |riendGen|erators.|
|00000480| 49 6e 73 65 72 74 28 30 | 2c 31 29 3b 0d 0a 20 20 |Insert(0|,1);.. |
|00000490| 46 72 69 65 6e 64 47 65 | 6e 65 72 61 74 6f 72 73 |FriendGe|nerators|
|000004a0| 5b 30 5d 20 3d 20 4d 69 | 64 47 65 6e 65 72 61 74 |[0] = Mi|dGenerat|
|000004b0| 6f 72 3b 0d 0a 20 7d 0d | 0a 0d 0a 20 44 65 70 6c |or;.. }.|... Depl|
|000004c0| 6f 79 53 65 6e 74 69 6e | 65 6c 73 28 29 3b 0d 0a |oySentin|els();..|
|000004d0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 44 65 |}....fun|ction De|
|000004e0| 70 6c 6f 79 53 65 6e 74 | 69 6e 65 6c 73 28 29 7b |ploySent|inels(){|
|000004f0| 0d 0a 20 6c 6f 63 61 6c | 20 4e 61 76 69 67 61 74 |.. local| Navigat|
|00000500| 69 6f 6e 50 6f 69 6e 74 | 20 4e 3b 0d 0a 20 6c 6f |ionPoint| N;.. lo|
|00000510| 63 61 6c 20 66 6c 6f 61 | 74 20 64 69 73 74 61 6e |cal floa|t distan|
|00000520| 63 65 31 2c 20 64 69 73 | 74 61 6e 63 65 32 2c 20 |ce1, dis|tance2, |
|00000530| 64 69 73 74 61 6e 63 65 | 33 3b 0d 0a 20 2f 2f 6c |distance|3;.. //l|
|00000540| 6f 63 61 6c 20 50 61 77 | 6e 20 4e 65 77 4d 6f 6e |ocal Paw|n NewMon|
|00000550| 73 74 65 72 3b 0d 0a 20 | 2f 2f 6c 6f 63 61 6c 20 |ster;.. |//local |
|00000560| 61 72 72 61 79 3c 76 65 | 63 74 6f 72 3e 20 45 6e |array<ve|ctor> En|
|00000570| 65 6d 79 47 65 6e 65 72 | 61 74 6f 72 50 6f 69 6e |emyGener|atorPoin|
|00000580| 74 73 3b 0d 0a 20 6c 6f | 63 61 6c 20 61 72 72 61 |ts;.. lo|cal arra|
|00000590| 79 3c 76 65 63 74 6f 72 | 3e 20 54 75 72 72 65 74 |y<vector|> Turret|
|000005a0| 50 6f 69 6e 74 73 31 3b | 0d 0a 20 6c 6f 63 61 6c |Points1;|.. local|
|000005b0| 20 61 72 72 61 79 3c 76 | 65 63 74 6f 72 3e 20 54 | array<v|ector> T|
|000005c0| 75 72 72 65 74 50 6f 69 | 6e 74 73 32 3b 0d 0a 20 |urretPoi|nts2;.. |
|000005d0| 6c 6f 63 61 6c 20 61 72 | 72 61 79 3c 76 65 63 74 |local ar|ray<vect|
|000005e0| 6f 72 3e 20 54 75 72 72 | 65 74 50 6f 69 6e 74 73 |or> Turr|etPoints|
|000005f0| 33 3b 0d 0a 20 6c 6f 63 | 61 6c 20 69 6e 74 20 69 |3;.. loc|al int i|
|00000600| 3b 0d 0a 20 2f 2f 6c 6f | 63 61 6c 20 63 6c 61 73 |;.. //lo|cal clas|
|00000610| 73 3c 4d 6f 6e 73 74 65 | 72 3e 20 4e 65 77 4d 6f |s<Monste|r> NewMo|
|00000620| 6e 73 74 65 72 43 6c 61 | 73 73 3b 0d 0a 20 2f 2f |nsterCla|ss;.. //|
|00000630| 6c 6f 63 61 6c 20 44 65 | 66 65 6e 73 65 50 6f 69 |local De|fensePoi|
|00000640| 6e 74 20 44 3b 0d 0a 0d | 0a 0d 0a 20 66 6f 72 65 |nt D;...|... fore|
|00000650| 61 63 68 20 41 6c 6c 41 | 63 74 6f 72 73 28 63 6c |ach AllA|ctors(cl|
|00000660| 61 73 73 27 4e 61 76 69 | 67 61 74 69 6f 6e 50 6f |ass'Navi|gationPo|
|00000670| 69 6e 74 27 2c 4e 29 0d | 0a 20 7b 0d 0a 20 20 20 |int',N).|. {.. |
|00000680| 20 20 64 69 73 74 61 6e | 63 65 31 3d 56 53 69 7a | distan|ce1=VSiz|
|00000690| 65 28 4e 65 61 72 4c 6f | 63 20 2d 20 4e 2e 4c 6f |e(NearLo|c - N.Lo|
|000006a0| 63 61 74 69 6f 6e 29 3b | 0d 0a 20 20 20 20 20 64 |cation);|.. d|
|000006b0| 69 73 74 61 6e 63 65 32 | 3d 56 53 69 7a 65 28 46 |istance2|=VSize(F|
|000006c0| 61 72 4c 6f 63 20 2d 20 | 4e 2e 4c 6f 63 61 74 69 |arLoc - |N.Locati|
|000006d0| 6f 6e 29 3b 0d 0a 20 20 | 20 20 20 64 69 73 74 61 |on);.. | dista|
|000006e0| 6e 63 65 33 3d 56 53 69 | 7a 65 28 4d 69 64 47 65 |nce3=VSi|ze(MidGe|
|000006f0| 6e 65 72 61 74 6f 72 2e | 4c 6f 63 61 74 69 6f 6e |nerator.|Location|
|00000700| 20 2d 20 4e 2e 4c 6f 63 | 61 74 69 6f 6e 29 3b 0d | - N.Loc|ation);.|
|00000710| 0a 0d 0a 20 20 20 20 20 | 69 66 20 20 28 64 69 73 |... |if (dis|
|00000720| 74 61 6e 63 65 31 20 3c | 20 31 32 35 30 20 26 26 |tance1 <| 1250 &&|
|00000730| 20 64 69 73 74 61 6e 63 | 65 31 20 3e 20 31 30 29 | distanc|e1 > 10)|
|00000740| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 54 75 72 |{.. | Tur|
|00000750| 72 65 74 50 6f 69 6e 74 | 73 31 2e 49 6e 73 65 72 |retPoint|s1.Inser|
|00000760| 74 28 30 2c 31 29 3b 0d | 0a 20 20 20 20 20 20 20 |t(0,1);.|. |
|00000770| 20 20 20 54 75 72 72 65 | 74 50 6f 69 6e 74 73 31 | Turre|tPoints1|
|00000780| 5b 30 5d 20 3d 20 4e 2e | 4c 6f 63 61 74 69 6f 6e |[0] = N.|Location|
|00000790| 3b 0d 0a 20 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 |;.. |}.... |
|000007a0| 20 20 69 66 20 28 64 69 | 73 74 61 6e 63 65 32 20 | if (di|stance2 |
|000007b0| 3c 20 37 35 30 20 26 26 | 20 64 69 73 74 61 6e 63 |< 750 &&| distanc|
|000007c0| 65 32 20 3e 20 31 30 29 | 7b 0d 0a 20 20 20 20 20 |e2 > 10)|{.. |
|000007d0| 20 20 20 20 20 54 75 72 | 72 65 74 50 6f 69 6e 74 | Tur|retPoint|
|000007e0| 73 32 2e 49 6e 73 65 72 | 74 28 30 2c 31 29 3b 0d |s2.Inser|t(0,1);.|
|000007f0| 0a 20 20 20 20 20 20 20 | 20 20 20 54 75 72 72 65 |. | Turre|
|00000800| 74 50 6f 69 6e 74 73 32 | 5b 30 5d 20 3d 20 4e 2e |tPoints2|[0] = N.|
|00000810| 4c 6f 63 61 74 69 6f 6e | 3b 0d 0a 20 20 20 20 20 |Location|;.. |
|00000820| 7d 0d 0a 0d 0a 20 20 20 | 20 20 69 66 20 28 64 69 |}.... | if (di|
|00000830| 73 74 61 6e 63 65 33 20 | 3c 20 31 30 30 30 20 26 |stance3 |< 1000 &|
|00000840| 26 20 64 69 73 74 61 6e | 63 65 33 20 3e 20 31 30 |& distan|ce3 > 10|
|00000850| 29 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 54 75 |){.. | Tu|
|00000860| 72 72 65 74 50 6f 69 6e | 74 73 33 2e 49 6e 73 65 |rretPoin|ts3.Inse|
|00000870| 72 74 28 30 2c 31 29 3b | 0d 0a 20 20 20 20 20 20 |rt(0,1);|.. |
|00000880| 20 20 20 20 54 75 72 72 | 65 74 50 6f 69 6e 74 73 | Turr|etPoints|
|00000890| 33 5b 30 5d 20 3d 20 4e | 2e 4c 6f 63 61 74 69 6f |3[0] = N|.Locatio|
|000008a0| 6e 3b 0d 0a 20 20 20 20 | 20 7d 0d 0a 0d 0a 20 7d |n;.. | }.... }|
|000008b0| 0d 0a 0d 0a 20 2f 2f 53 | 70 61 77 6e 20 4e 65 61 |.... //S|pawn Nea|
|000008c0| 72 20 47 65 6e 65 72 61 | 74 6f 72 0d 0a 20 66 6f |r Genera|tor.. fo|
|000008d0| 72 20 28 69 20 3d 20 30 | 3b 20 69 20 3c 20 54 75 |r (i = 0|; i < Tu|
|000008e0| 72 72 65 74 50 6f 69 6e | 74 73 31 2e 4c 65 6e 67 |rretPoin|ts1.Leng|
|000008f0| 74 68 3b 20 69 2b 2b 29 | 7b 0d 0a 20 20 20 20 20 |th; i++)|{.. |
|00000900| 69 66 20 28 4e 65 61 72 | 47 65 6e 65 72 61 74 6f |if (Near|Generato|
|00000910| 72 20 3d 3d 20 4e 6f 6e | 65 29 0d 0a 20 20 20 20 |r == Non|e).. |
|00000920| 20 20 20 20 4e 65 61 72 | 47 65 6e 65 72 61 74 6f | Near|Generato|
|00000930| 72 20 3d 20 53 70 61 77 | 6e 28 63 6c 61 73 73 27 |r = Spaw|n(class'|
|00000940| 41 6c 6c 79 47 65 6e 65 | 72 61 74 6f 72 27 2c 2c |AllyGene|rator',,|
|00000950| 2c 54 75 72 72 65 74 50 | 6f 69 6e 74 73 31 5b 69 |,TurretP|oints1[i|
|00000960| 5d 2b 28 31 32 30 29 20 | 2a 20 76 65 63 74 28 30 |]+(120) |* vect(0|
|00000970| 2c 30 2c 31 29 2c 29 3b | 0d 0a 20 7d 0d 0a 20 46 |,0,1),);|.. }.. F|
|00000980| 72 69 65 6e 64 47 65 6e | 65 72 61 74 6f 72 73 2e |riendGen|erators.|
|00000990| 49 6e 73 65 72 74 28 30 | 2c 31 29 3b 0d 0a 20 46 |Insert(0|,1);.. F|
|000009a0| 72 69 65 6e 64 47 65 6e | 65 72 61 74 6f 72 73 5b |riendGen|erators[|
|000009b0| 30 5d 20 3d 20 4e 65 61 | 72 47 65 6e 65 72 61 74 |0] = Nea|rGenerat|
|000009c0| 6f 72 3b 0d 0a 0d 0a 20 | 2f 2f 53 70 61 77 6e 20 |or;.... |//Spawn |
|000009d0| 46 61 72 20 47 65 6e 65 | 72 61 74 6f 72 0d 0a 20 |Far Gene|rator.. |
|000009e0| 66 6f 72 20 28 69 20 3d | 20 30 3b 20 69 20 3c 20 |for (i =| 0; i < |
|000009f0| 54 75 72 72 65 74 50 6f | 69 6e 74 73 32 2e 4c 65 |TurretPo|ints2.Le|
|00000a00| 6e 67 74 68 3b 20 69 2b | 2b 29 7b 0d 0a 20 20 20 |ngth; i+|+){.. |
|00000a10| 20 20 69 66 20 28 46 61 | 72 47 65 6e 65 72 61 74 | if (Fa|rGenerat|
|00000a20| 6f 72 20 3d 3d 20 4e 6f | 6e 65 29 0d 0a 20 20 20 |or == No|ne).. |
|00000a30| 20 20 20 20 20 46 61 72 | 47 65 6e 65 72 61 74 6f | Far|Generato|
|00000a40| 72 20 3d 20 53 70 61 77 | 6e 28 63 6c 61 73 73 27 |r = Spaw|n(class'|
|00000a50| 41 6c 6c 79 47 65 6e 65 | 72 61 74 6f 72 27 2c 2c |AllyGene|rator',,|
|00000a60| 2c 54 75 72 72 65 74 50 | 6f 69 6e 74 73 32 5b 69 |,TurretP|oints2[i|
|00000a70| 5d 2b 28 31 32 30 29 20 | 2a 20 76 65 63 74 28 30 |]+(120) |* vect(0|
|00000a80| 2c 30 2c 31 29 2c 29 3b | 0d 0a 20 7d 0d 0a 20 46 |,0,1),);|.. }.. F|
|00000a90| 72 69 65 6e 64 47 65 6e | 65 72 61 74 6f 72 73 2e |riendGen|erators.|
|00000aa0| 49 6e 73 65 72 74 28 30 | 2c 31 29 3b 0d 0a 20 46 |Insert(0|,1);.. F|
|00000ab0| 72 69 65 6e 64 47 65 6e | 65 72 61 74 6f 72 73 5b |riendGen|erators[|
|00000ac0| 30 5d 20 3d 20 46 61 72 | 47 65 6e 65 72 61 74 6f |0] = Far|Generato|
|00000ad0| 72 3b 0d 0a 0d 0a 20 2f | 2f 53 70 61 77 6e 20 54 |r;.... /|/Spawn T|
|00000ae0| 75 72 72 65 74 73 0d 0a | 20 66 6f 72 20 28 69 20 |urrets..| for (i |
|00000af0| 3d 20 30 3b 20 69 20 3c | 20 54 75 72 72 65 74 50 |= 0; i <| TurretP|
|00000b00| 6f 69 6e 74 73 31 2e 4c | 65 6e 67 74 68 3b 20 69 |oints1.L|ength; i|
|00000b10| 2b 2b 29 7b 0d 0a 20 20 | 20 20 20 2f 2f 6c 6f 67 |++){.. | //log|
|00000b20| 28 22 41 74 74 65 6d 70 | 74 65 64 20 74 6f 20 73 |("Attemp|ted to s|
|00000b30| 70 61 77 6e 20 74 75 72 | 72 65 74 21 22 29 3b 0d |pawn tur|ret!");.|
|00000b40| 0a 20 20 20 20 20 53 70 | 61 77 6e 28 63 6c 61 73 |. Sp|awn(clas|
|00000b50| 73 27 44 44 75 6d 6d 79 | 54 75 72 72 65 74 5f 42 |s'DDummy|Turret_B|
|00000b60| 61 73 65 27 2c 2c 2c 54 | 75 72 72 65 74 50 6f 69 |ase',,,T|urretPoi|
|00000b70| 6e 74 73 31 5b 69 5d 2b | 28 31 32 30 29 20 2a 20 |nts1[i]+|(120) * |
|00000b80| 76 65 63 74 28 30 2c 30 | 2c 31 29 2c 29 3b 0d 0a |vect(0,0|,1),);..|
|00000b90| 20 7d 0d 0a 0d 0a 20 2f | 2f 53 70 61 77 6e 20 54 | }.... /|/Spawn T|
|00000ba0| 75 72 72 65 74 73 0d 0a | 20 66 6f 72 20 28 69 20 |urrets..| for (i |
|00000bb0| 3d 20 30 3b 20 69 20 3c | 20 54 75 72 72 65 74 50 |= 0; i <| TurretP|
|00000bc0| 6f 69 6e 74 73 32 2e 4c | 65 6e 67 74 68 3b 20 69 |oints2.L|ength; i|
|00000bd0| 2b 2b 29 7b 0d 0a 20 20 | 20 20 20 2f 2f 6c 6f 67 |++){.. | //log|
|00000be0| 28 22 41 74 74 65 6d 70 | 74 65 64 20 74 6f 20 73 |("Attemp|ted to s|
|00000bf0| 70 61 77 6e 20 74 75 72 | 72 65 74 21 22 29 3b 0d |pawn tur|ret!");.|
|00000c00| 0a 20 20 20 20 20 53 70 | 61 77 6e 28 63 6c 61 73 |. Sp|awn(clas|
|00000c10| 73 27 44 44 75 6d 6d 79 | 54 75 72 72 65 74 5f 42 |s'DDummy|Turret_B|
|00000c20| 61 73 65 27 2c 2c 2c 54 | 75 72 72 65 74 50 6f 69 |ase',,,T|urretPoi|
|00000c30| 6e 74 73 32 5b 69 5d 2b | 28 31 32 30 29 20 2a 20 |nts2[i]+|(120) * |
|00000c40| 76 65 63 74 28 30 2c 30 | 2c 31 29 2c 29 3b 0d 0a |vect(0,0|,1),);..|
|00000c50| 20 7d 0d 0a 0d 0a 20 2f | 2f 53 70 61 77 6e 20 54 | }.... /|/Spawn T|
|00000c60| 75 72 72 65 74 73 0d 0a | 20 66 6f 72 20 28 69 20 |urrets..| for (i |
|00000c70| 3d 20 30 3b 20 69 20 3c | 20 54 75 72 72 65 74 50 |= 0; i <| TurretP|
|00000c80| 6f 69 6e 74 73 33 2e 4c | 65 6e 67 74 68 3b 20 69 |oints3.L|ength; i|
|00000c90| 2b 2b 29 7b 0d 0a 20 20 | 20 20 20 2f 2f 6c 6f 67 |++){.. | //log|
|00000ca0| 28 22 41 74 74 65 6d 70 | 74 65 64 20 74 6f 20 73 |("Attemp|ted to s|
|00000cb0| 70 61 77 6e 20 74 75 72 | 72 65 74 21 22 29 3b 0d |pawn tur|ret!");.|
|00000cc0| 0a 20 20 20 20 20 53 70 | 61 77 6e 28 63 6c 61 73 |. Sp|awn(clas|
|00000cd0| 73 27 44 44 75 6d 6d 79 | 54 75 72 72 65 74 5f 42 |s'DDummy|Turret_B|
|00000ce0| 61 73 65 27 2c 2c 2c 54 | 75 72 72 65 74 50 6f 69 |ase',,,T|urretPoi|
|00000cf0| 6e 74 73 33 5b 69 5d 2b | 28 31 32 30 29 20 2a 20 |nts3[i]+|(120) * |
|00000d00| 76 65 63 74 28 30 2c 30 | 2c 31 29 2c 29 3b 0d 0a |vect(0,0|,1),);..|
|00000d10| 20 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f | }..}...|.functio|
|00000d20| 6e 20 53 63 6f 72 65 4b | 69 6c 6c 28 43 6f 6e 74 |n ScoreK|ill(Cont|
|00000d30| 72 6f 6c 6c 65 72 20 4b | 69 6c 6c 65 72 2c 20 43 |roller K|iller, C|
|00000d40| 6f 6e 74 72 6f 6c 6c 65 | 72 20 4f 74 68 65 72 29 |ontrolle|r Other)|
|00000d50| 2f 2f 4d 6f 64 69 66 69 | 65 64 2d 72 65 73 70 61 |//Modifi|ed-respa|
|00000d60| 77 6e 20 75 73 0d 0a 7b | 0d 0a 20 20 20 20 6c 6f |wn us..{|.. lo|
|00000d70| 63 61 6c 20 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |cal Play|erReplic|
|00000d80| 61 74 69 6f 6e 49 6e 66 | 6f 20 4f 74 68 65 72 50 |ationInf|o OtherP|
|00000d90| 52 49 3b 0d 0a 0d 0a 20 | 20 20 20 4f 74 68 65 72 |RI;.... | Other|
|00000da0| 50 52 49 20 3d 20 4f 74 | 68 65 72 2e 50 6c 61 79 |PRI = Ot|her.Play|
|00000db0| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00000dc0| 6f 3b 0d 0a 0d 0a 20 20 | 20 20 53 75 70 65 72 2e |o;.... | Super.|
|00000dd0| 53 63 6f 72 65 4b 69 6c | 6c 28 4b 69 6c 6c 65 72 |ScoreKil|l(Killer|
|00000de0| 2c 20 4f 74 68 65 72 29 | 3b 0d 0a 0d 0a 20 20 20 |, Other)|;.... |
|00000df0| 20 69 66 28 4f 74 68 65 | 72 2e 49 73 41 28 27 55 | if(Othe|r.IsA('U|
|00000e00| 45 54 46 32 6b 34 50 6c | 61 79 65 72 27 29 20 26 |ETF2k4Pl|ayer') &|
|00000e10| 26 20 75 65 74 66 5f 72 | 65 73 65 72 76 65 73 20 |& uetf_r|eserves |
|00000e20| 3e 20 30 29 7b 0d 0a 20 | 20 20 20 20 20 20 4f 74 |> 0){.. | Ot|
|00000e30| 68 65 72 50 52 49 2e 62 | 4f 75 74 4f 66 4c 69 76 |herPRI.b|OutOfLiv|
|00000e40| 65 73 20 3d 20 66 61 6c | 73 65 3b 0d 0a 20 20 20 |es = fal|se;.. |
|00000e50| 20 20 20 20 69 66 20 28 | 75 65 74 66 5f 72 65 73 | if (|uetf_res|
|00000e60| 65 72 76 65 73 20 3c 3d | 20 30 29 0d 0a 20 20 20 |erves <=| 0).. |
|00000e70| 20 20 20 20 20 20 20 4f | 74 68 65 72 50 52 49 2e | O|therPRI.|
|00000e80| 62 4f 75 74 4f 66 4c 69 | 76 65 73 20 3d 20 74 72 |bOutOfLi|ves = tr|
|00000e90| 75 65 3b 0d 0a 20 20 20 | 20 7d 0d 0a 7d 0d 0a 0d |ue;.. | }..}...|
|00000ea0| 0a 66 75 6e 63 74 69 6f | 6e 20 47 65 6e 65 72 61 |.functio|n Genera|
|00000eb0| 74 6f 72 44 65 73 74 72 | 6f 79 65 64 28 29 0d 0a |torDestr|oyed()..|
|00000ec0| 7b 0d 0a 20 6c 6f 63 61 | 6c 20 69 6e 74 20 69 3b |{.. loca|l int i;|
|00000ed0| 0d 0a 20 6c 6f 63 61 6c | 20 62 6f 6f 6c 20 65 6e |.. local| bool en|
|00000ee0| 64 67 61 6d 65 3b 0d 0a | 0d 0a 20 65 6e 64 67 61 |dgame;..|.. endga|
|00000ef0| 6d 65 20 3d 20 74 72 75 | 65 3b 0d 0a 0d 0a 20 66 |me = tru|e;.... f|
|00000f00| 6f 72 20 28 69 3d 30 3b | 20 69 3c 46 72 69 65 6e |or (i=0;| i<Frien|
|00000f10| 64 47 65 6e 65 72 61 74 | 6f 72 73 2e 4c 65 6e 67 |dGenerat|ors.Leng|
|00000f20| 74 68 3b 20 69 2b 2b 29 | 7b 0d 0a 20 20 20 20 20 |th; i++)|{.. |
|00000f30| 69 66 20 28 46 72 69 65 | 6e 64 47 65 6e 65 72 61 |if (Frie|ndGenera|
|00000f40| 74 6f 72 73 5b 69 5d 21 | 3d 6e 6f 6e 65 29 0d 0a |tors[i]!|=none)..|
|00000f50| 20 20 20 20 20 20 20 20 | 65 6e 64 67 61 6d 65 3d | |endgame=|
|00000f60| 66 61 6c 73 65 3b 0d 0a | 20 7d 0d 0a 0d 0a 20 69 |false;..| }.... i|
|00000f70| 66 20 28 65 6e 64 67 61 | 6d 65 29 7b 0d 0a 20 20 |f (endga|me){.. |
|00000f80| 20 20 54 65 61 6d 73 5b | 30 5d 2e 53 63 6f 72 65 | Teams[|0].Score|
|00000f90| 3d 30 3b 2f 2f 53 65 74 | 20 74 68 65 20 6b 69 6c |=0;//Set| the kil|
|00000fa0| 6c 20 63 6f 75 6e 74 73 | 20 73 6f 20 74 68 61 74 |l counts| so that|
|00000fb0| 20 74 68 65 20 67 61 6d | 65 20 65 6e 64 73 0d 0a | the gam|e ends..|
|00000fc0| 20 20 20 20 54 65 61 6d | 73 5b 31 5d 2e 53 63 6f | Team|s[1].Sco|
|00000fd0| 72 65 3d 31 3b 0d 0a 20 | 20 20 20 45 6e 64 55 45 |re=1;.. | EndUE|
|00000fe0| 54 46 47 61 6d 65 28 4e | 6f 6e 65 2c 22 74 65 61 |TFGame(N|one,"tea|
|00000ff0| 6d 73 63 6f 72 65 6c 69 | 6d 69 74 22 29 3b 0d 0a |mscoreli|mit");..|
|00001000| 20 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f | }..}...|.functio|
|00001010| 6e 20 45 6e 65 6d 79 47 | 65 6e 65 72 61 74 6f 72 |n EnemyG|enerator|
|00001020| 44 65 73 74 72 6f 79 65 | 64 28 29 0d 0a 7b 0d 0a |Destroye|d()..{..|
|00001030| 7d 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |}....sim|ulated f|
|00001040| 75 6e 63 74 69 6f 6e 20 | 54 69 6d 65 72 28 29 0d |unction |Timer().|
|00001050| 0a 7b 0d 0a 20 6c 6f 63 | 61 6c 20 69 6e 74 20 6c |.{.. loc|al int l|
|00001060| 6f 63 61 6c 6e 75 6d 70 | 6c 61 79 65 72 73 2c 20 |ocalnump|layers, |
|00001070| 69 2c 20 72 61 6e 64 6d | 6f 6e 73 74 65 72 3b 0d |i, randm|onster;.|
|00001080| 0a 20 6c 6f 63 61 6c 20 | 55 45 54 46 4d 6f 6e 73 |. local |UETFMons|
|00001090| 74 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 6c 65 |terContr|oller le|
|000010a0| 61 64 65 72 3b 0d 0a 20 | 6c 6f 63 61 6c 20 55 45 |ader;.. |local UE|
|000010b0| 54 46 4d 6f 6e 73 74 65 | 72 43 6f 6e 74 72 6f 6c |TFMonste|rControl|
|000010c0| 6c 65 72 20 66 6f 6c 6c | 6f 77 65 72 3b 0d 0a 0d |ler foll|ower;...|
|000010d0| 0a 20 69 66 20 28 44 69 | 73 70 6c 61 79 65 64 45 |. if (Di|splayedE|
|000010e0| 6e 64 49 6e 66 6f 29 0d | 0a 20 20 20 20 72 65 74 |ndInfo).|. ret|
|000010f0| 75 72 6e 3b 0d 0a 0d 0a | 20 69 66 20 28 62 4c 5a |urn;....| if (bLZ|
|00001100| 69 73 63 6c 65 61 72 3d | 3d 46 61 6c 73 65 29 7b |isclear=|=False){|
|00001110| 0d 0a 20 20 20 20 43 68 | 65 63 6b 44 65 70 6c 6f |.. Ch|eckDeplo|
|00001120| 79 61 62 6c 65 73 28 29 | 3b 0d 0a 20 20 20 20 62 |yables()|;.. b|
|00001130| 4c 5a 69 73 63 6c 65 61 | 72 3d 74 72 75 65 3b 0d |LZisclea|r=true;.|
|00001140| 0a 20 7d 0d 0a 0d 0a 20 | 2f 2f 6d 6f 72 65 20 62 |. }.... |//more b|
|00001150| 61 64 64 69 65 73 21 2d | 61 66 74 65 72 20 74 68 |addies!-|after th|
|00001160| 65 20 68 75 6d 61 6e 20 | 74 65 61 6d 20 68 61 73 |e human |team has|
|00001170| 20 73 70 61 77 6e 65 64 | 20 69 6e 0d 0a 20 69 66 | spawned| in.. if|
|00001180| 20 28 73 70 61 77 6e 5f | 63 6f 75 6e 74 65 72 3d | (spawn_|counter=|
|00001190| 3d 61 64 6a 75 73 74 65 | 64 5f 64 65 6c 61 79 20 |=adjuste|d_delay |
|000011a0| 26 26 20 62 54 65 61 6d | 44 65 70 6c 6f 79 65 64 |&& bTeam|Deployed|
|000011b0| 29 7b 0d 0a 0d 0a 20 20 | 20 20 6c 6f 63 61 6c 6e |){.... | localn|
|000011c0| 75 6d 70 6c 61 79 65 72 | 73 3d 41 64 6a 75 73 74 |umplayer|s=Adjust|
|000011d0| 4e 75 6d 42 6f 74 73 28 | 29 3b 0d 0a 0d 0a 20 20 |NumBots(|);.... |
|000011e0| 20 20 2f 2f 64 69 66 66 | 69 63 75 6c 74 79 0d 0a | //diff|iculty..|
|000011f0| 20 20 20 20 69 66 20 28 | 28 42 6f 74 44 69 66 66 | if (|(BotDiff|
|00001200| 69 63 75 6c 74 79 20 2a | 20 76 69 63 74 6f 72 79 |iculty *| victory|
|00001210| 5f 63 6f 75 6e 74 65 72 | 29 20 3c 20 31 30 29 0d |_counter|) < 10).|
|00001220| 0a 20 20 20 20 20 20 20 | 43 75 72 72 65 6e 74 44 |. |CurrentD|
|00001230| 69 66 66 69 63 75 6c 74 | 79 3d 31 3b 0d 0a 20 20 |ifficult|y=1;.. |
|00001240| 20 20 69 66 20 28 28 42 | 6f 74 44 69 66 66 69 63 | if ((B|otDiffic|
|00001250| 75 6c 74 79 20 2a 20 76 | 69 63 74 6f 72 79 5f 63 |ulty * v|ictory_c|
|00001260| 6f 75 6e 74 65 72 29 20 | 3c 20 32 30 20 26 26 20 |ounter) |< 20 && |
|00001270| 28 42 6f 74 44 69 66 66 | 69 63 75 6c 74 79 20 2a |(BotDiff|iculty *|
|00001280| 20 76 69 63 74 6f 72 79 | 5f 63 6f 75 6e 74 65 72 | victory|_counter|
|00001290| 29 20 3e 3d 20 31 30 29 | 0d 0a 20 20 20 20 20 20 |) >= 10)|.. |
|000012a0| 20 43 75 72 72 65 6e 74 | 44 69 66 66 69 63 75 6c | Current|Difficul|
|000012b0| 74 79 3d 32 3b 0d 0a 20 | 20 20 20 69 66 20 28 28 |ty=2;.. | if ((|
|000012c0| 42 6f 74 44 69 66 66 69 | 63 75 6c 74 79 20 2a 20 |BotDiffi|culty * |
|000012d0| 76 69 63 74 6f 72 79 5f | 63 6f 75 6e 74 65 72 29 |victory_|counter)|
|000012e0| 20 3c 20 33 30 20 26 26 | 20 28 42 6f 74 44 69 66 | < 30 &&| (BotDif|
|000012f0| 66 69 63 75 6c 74 79 20 | 2a 20 76 69 63 74 6f 72 |ficulty |* victor|
|00001300| 79 5f 63 6f 75 6e 74 65 | 72 29 20 3e 3d 20 32 30 |y_counte|r) >= 20|
|00001310| 29 0d 0a 20 20 20 20 20 | 20 20 43 75 72 72 65 6e |).. | Curren|
|00001320| 74 44 69 66 66 69 63 75 | 6c 74 79 3d 33 3b 0d 0a |tDifficu|lty=3;..|
|00001330| 20 20 20 20 69 66 20 28 | 28 42 6f 74 44 69 66 66 | if (|(BotDiff|
|00001340| 69 63 75 6c 74 79 20 2a | 20 76 69 63 74 6f 72 79 |iculty *| victory|
|00001350| 5f 63 6f 75 6e 74 65 72 | 29 20 3e 3d 20 33 30 29 |_counter|) >= 30)|
|00001360| 0d 0a 20 20 20 20 20 20 | 20 43 75 72 72 65 6e 74 |.. | Current|
|00001370| 44 69 66 66 69 63 75 6c | 74 79 3d 34 3b 0d 0a 0d |Difficul|ty=4;...|
|00001380| 0a 20 20 20 20 66 6f 72 | 20 28 69 3d 30 3b 20 69 |. for| (i=0; i|
|00001390| 3c 6c 6f 63 61 6c 6e 75 | 6d 70 6c 61 79 65 72 73 |<localnu|mplayers|
|000013a0| 3b 20 69 2b 2b 29 7b 0d | 0a 20 20 20 20 20 20 20 |; i++){.|. |
|000013b0| 20 20 20 20 20 20 72 61 | 6e 64 6d 6f 6e 73 74 65 | ra|ndmonste|
|000013c0| 72 3d 47 65 74 52 61 6e | 64 4d 6f 6e 73 74 65 72 |r=GetRan|dMonster|
|000013d0| 28 43 75 72 72 65 6e 74 | 44 69 66 66 69 63 75 6c |(Current|Difficul|
|000013e0| 74 79 29 3b 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |ty);....| |
|000013f0| 20 20 20 20 20 6c 65 61 | 64 65 72 20 3d 20 55 45 | lea|der = UE|
|00001400| 54 46 4d 6f 6e 73 74 65 | 72 43 6f 6e 74 72 6f 6c |TFMonste|rControl|
|00001410| 6c 65 72 28 41 64 64 53 | 70 65 63 69 66 69 63 4d |ler(AddS|pecificM|
|00001420| 6f 6e 73 74 65 72 28 72 | 61 6e 64 6d 6f 6e 73 74 |onster(r|andmonst|
|00001430| 65 72 29 29 3b 0d 0a 0d | 0a 20 20 20 20 20 20 20 |er));...|. |
|00001440| 20 20 20 20 20 20 66 6f | 6c 6c 6f 77 65 72 20 3d | fo|llower =|
|00001450| 20 55 45 54 46 4d 6f 6e | 73 74 65 72 43 6f 6e 74 | UETFMon|sterCont|
|00001460| 72 6f 6c 6c 65 72 28 41 | 64 64 53 70 65 63 69 66 |roller(A|ddSpecif|
|00001470| 69 63 4d 6f 6e 73 74 65 | 72 28 72 61 6e 64 6d 6f |icMonste|r(randmo|
|00001480| 6e 73 74 65 72 29 29 3b | 0d 0a 20 20 20 20 20 20 |nster));|.. |
|00001490| 20 20 20 20 20 20 20 69 | 66 20 28 6c 65 61 64 65 | i|f (leade|
|000014a0| 72 21 3d 20 6e 6f 6e 65 | 29 0d 0a 20 20 20 20 20 |r!= none|).. |
|000014b0| 20 20 20 20 20 20 20 20 | 20 20 20 66 6f 6c 6c 6f | | follo|
|000014c0| 77 65 72 2e 46 6f 6c 6c | 6f 77 50 61 77 6e 20 3d |wer.Foll|owPawn =|
|000014d0| 20 6c 65 61 64 65 72 2e | 50 61 77 6e 3b 0d 0a 0d | leader.|Pawn;...|
|000014e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 66 6f |. | fo|
|000014f0| 6c 6c 6f 77 65 72 20 3d | 20 55 45 54 46 4d 6f 6e |llower =| UETFMon|
|00001500| 73 74 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 41 |sterCont|roller(A|
|00001510| 64 64 53 70 65 63 69 66 | 69 63 4d 6f 6e 73 74 65 |ddSpecif|icMonste|
|00001520| 72 28 72 61 6e 64 6d 6f | 6e 73 74 65 72 29 29 3b |r(randmo|nster));|
|00001530| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 |.. | i|
|00001540| 66 20 28 6c 65 61 64 65 | 72 21 3d 20 6e 6f 6e 65 |f (leade|r!= none|
|00001550| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |).. | |
|00001560| 20 20 20 66 6f 6c 6c 6f | 77 65 72 2e 46 6f 6c 6c | follo|wer.Foll|
|00001570| 6f 77 50 61 77 6e 20 3d | 20 6c 65 61 64 65 72 2e |owPawn =| leader.|
|00001580| 50 61 77 6e 3b 0d 0a 0d | 0a 20 20 20 20 20 20 20 |Pawn;...|. |
|00001590| 20 20 20 20 20 20 2f 2f | 54 68 65 20 41 73 73 61 | //|The Assa|
|000015a0| 75 6c 74 20 4d 6f 6e 73 | 74 65 72 73 2d 64 65 66 |ult Mons|ters-def|
|000015b0| 61 75 6c 74 73 20 74 6f | 20 54 61 6e 6b 73 0d 0a |aults to| Tanks..|
|000015c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 41 64 64 | | Add|
|000015d0| 53 70 65 63 69 66 69 63 | 4d 6f 6e 73 74 65 72 28 |Specific|Monster(|
|000015e0| 47 65 74 4d 69 73 73 69 | 6f 6e 4d 6f 6e 73 74 65 |GetMissi|onMonste|
|000015f0| 72 28 29 29 3b 0d 0a 0d | 0a 20 20 20 20 20 20 20 |r());...|. |
|00001600| 20 20 20 20 20 20 2f 2f | 41 6c 77 61 79 73 20 66 | //|Always f|
|00001610| 6c 79 65 72 73 2c 20 69 | 6e 20 63 61 73 65 20 6f |lyers, i|n case o|
|00001620| 66 20 77 69 65 72 64 20 | 64 65 66 65 6e 73 69 76 |f wierd |defensiv|
|00001630| 65 20 70 6f 73 69 74 69 | 6f 6e 73 0d 0a 20 20 20 |e positi|ons.. |
|00001640| 20 20 20 20 20 20 20 20 | 20 20 41 64 64 53 70 65 | | AddSpe|
|00001650| 63 69 66 69 63 4d 6f 6e | 73 74 65 72 28 31 39 29 |cificMon|ster(19)|
|00001660| 3b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;.. | |
|00001670| 41 64 64 53 70 65 63 69 | 66 69 63 4d 6f 6e 73 74 |AddSpeci|ficMonst|
|00001680| 65 72 28 31 39 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |er(19);.|. }..|
|00001690| 0d 0a 20 20 20 20 73 71 | 75 61 64 5f 73 70 61 77 |.. sq|uad_spaw|
|000016a0| 6e 5f 64 65 6c 61 79 2b | 2b 3b 0d 0a 0d 0a 20 20 |n_delay+|+;.... |
|000016b0| 20 20 73 70 61 77 6e 5f | 63 6f 75 6e 74 65 72 3d | spawn_|counter=|
|000016c0| 30 3b 0d 0a 20 7d 0d 0a | 20 2f 2f 73 70 61 77 6e |0;.. }..| //spawn|
|000016d0| 5f 63 6f 75 6e 74 65 72 | 2b 2b 3b 0d 0a 0d 0a 20 |_counter|++;.... |
|000016e0| 2f 2f 70 72 65 2d 65 6d | 70 74 20 74 68 65 20 65 |//pre-em|pt the e|
|000016f0| 6e 64 20 6f 66 20 74 68 | 65 20 72 6f 75 6e 64 0d |nd of th|e round.|
|00001700| 0a 20 69 66 20 28 72 65 | 73 75 70 70 6c 79 5f 63 |. if (re|supply_c|
|00001710| 6f 75 6e 74 65 72 3e 3d | 36 35 29 7b 0d 0a 20 20 |ounter>=|65){.. |
|00001720| 20 20 2f 2f 47 69 76 65 | 20 75 73 20 73 6f 6d 65 | //Give| us some|
|00001730| 20 62 72 65 61 74 68 69 | 6e 67 20 74 69 6d 65 0d | breathi|ng time.|
|00001740| 0a 20 20 20 20 73 70 61 | 77 6e 5f 63 6f 75 6e 74 |. spa|wn_count|
|00001750| 65 72 3d 30 3b 0d 0a 20 | 7d 0d 0a 0d 0a 20 2f 2f |er=0;.. |}.... //|
|00001760| 67 69 76 65 20 75 73 20 | 73 75 70 70 6c 69 65 73 |give us |supplies|
|00001770| 2c 20 75 70 67 72 61 64 | 65 20 67 65 6e 65 72 61 |, upgrad|e genera|
|00001780| 74 6f 72 0d 0a 20 69 66 | 20 28 72 65 73 75 70 70 |tor.. if| (resupp|
|00001790| 6c 79 5f 63 6f 75 6e 74 | 65 72 3d 3d 38 30 29 7b |ly_count|er==80){|
|000017a0| 0d 0a 0d 0a 20 20 20 20 | 42 72 6f 61 64 63 61 73 |.... |Broadcas|
|000017b0| 74 4c 6f 63 61 6c 69 7a | 65 64 4d 65 73 73 61 67 |tLocaliz|edMessag|
|000017c0| 65 28 63 6c 61 73 73 27 | 55 45 54 46 48 55 44 4d |e(class'|UETFHUDM|
|000017d0| 65 73 73 61 67 65 50 6c | 75 73 27 2c 20 30 2c 20 |essagePl|us', 0, |
|000017e0| 4e 6f 6e 65 2c 20 4e 6f | 6e 65 2c 20 4e 6f 6e 65 |None, No|ne, None|
|000017f0| 29 3b 0d 0a 0d 0a 20 20 | 20 20 2f 2f 47 65 6e 65 |);.... | //Gene|
|00001800| 72 61 74 6f 72 20 55 70 | 67 72 61 64 65 0d 0a 20 |rator Up|grade.. |
|00001810| 20 20 20 76 69 63 74 6f | 72 79 5f 63 6f 75 6e 74 | victo|ry_count|
|00001820| 65 72 2b 2b 3b 0d 0a 20 | 20 20 20 55 45 54 46 32 |er++;.. | UETF2|
|00001830| 6b 34 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |k4GameRe|plicatio|
|00001840| 6e 49 6e 66 6f 28 47 61 | 6d 65 52 65 70 6c 69 63 |nInfo(Ga|meReplic|
|00001850| 61 74 69 6f 6e 49 6e 66 | 6f 29 2e 4d 61 73 74 65 |ationInf|o).Maste|
|00001860| 72 57 61 76 65 73 3d 76 | 69 63 74 6f 72 79 5f 63 |rWaves=v|ictory_c|
|00001870| 6f 75 6e 74 65 72 3b 0d | 0a 0d 0a 20 20 20 20 20 |ounter;.|... |
|00001880| 2f 2f 76 69 63 74 6f 72 | 79 21 2d 6f 72 20 6c 6f |//victor|y!-or lo|
|00001890| 73 73 0d 0a 20 20 20 20 | 20 2f 2f 46 49 58 4d 45 |ss.. | //FIXME|
|000018a0| 0d 0a 20 20 20 20 20 69 | 66 20 28 76 69 63 74 6f |.. i|f (victo|
|000018b0| 72 79 5f 63 6f 75 6e 74 | 65 72 20 3e 20 57 61 76 |ry_count|er > Wav|
|000018c0| 65 4c 69 6d 69 74 29 7b | 0d 0a 20 20 20 20 20 20 |eLimit){|.. |
|000018d0| 20 20 20 20 20 54 65 61 | 6d 73 5b 30 5d 2e 53 63 | Tea|ms[0].Sc|
|000018e0| 6f 72 65 3d 31 3b 2f 2f | 53 65 74 20 74 68 65 20 |ore=1;//|Set the |
|000018f0| 6b 69 6c 6c 20 63 6f 75 | 6e 74 73 20 73 6f 20 74 |kill cou|nts so t|
|00001900| 68 61 74 20 74 68 65 20 | 67 61 6d 65 20 65 6e 64 |hat the |game end|
|00001910| 73 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 54 65 |s.. | Te|
|00001920| 61 6d 73 5b 31 5d 2e 53 | 63 6f 72 65 3d 30 3b 0d |ams[1].S|core=0;.|
|00001930| 0a 20 20 20 20 20 20 20 | 20 20 20 20 45 6e 64 55 |. | EndU|
|00001940| 45 54 46 47 61 6d 65 28 | 4e 6f 6e 65 2c 22 74 65 |ETFGame(|None,"te|
|00001950| 61 6d 73 63 6f 72 65 6c | 69 6d 69 74 22 29 3b 0d |amscorel|imit");.|
|00001960| 0a 20 20 20 20 20 7d 0d | 0a 0d 0a 20 20 20 20 2f |. }.|... /|
|00001970| 2f 53 75 70 70 6c 69 65 | 73 0d 0a 20 20 20 20 46 |/Supplie|s.. F|
|00001980| 6c 61 74 4c 69 6e 65 52 | 65 73 65 74 28 29 3b 0d |latLineR|eset();.|
|00001990| 0a 20 20 20 20 72 65 73 | 75 70 70 6c 79 5f 63 6f |. res|upply_co|
|000019a0| 75 6e 74 65 72 3d 30 3b | 0d 0a 20 7d 0d 0a 0d 0a |unter=0;|.. }....|
|000019b0| 20 69 66 20 28 62 54 65 | 61 6d 44 65 70 6c 6f 79 | if (bTe|amDeploy|
|000019c0| 65 64 29 7b 0d 0a 20 20 | 20 20 73 70 61 77 6e 5f |ed){.. | spawn_|
|000019d0| 63 6f 75 6e 74 65 72 2b | 2b 3b 0d 0a 20 20 20 20 |counter+|+;.. |
|000019e0| 55 45 54 46 32 6b 34 47 | 61 6d 65 52 65 70 6c 69 |UETF2k4G|ameRepli|
|000019f0| 63 61 74 69 6f 6e 49 6e | 66 6f 28 47 61 6d 65 52 |cationIn|fo(GameR|
|00001a00| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 2e |eplicati|onInfo).|
|00001a10| 4e 65 78 74 57 61 76 65 | 54 69 6d 65 3d 72 65 73 |NextWave|Time=res|
|00001a20| 75 70 70 6c 79 5f 63 6f | 75 6e 74 65 72 3b 0d 0a |upply_co|unter;..|
|00001a30| 20 20 20 20 72 65 73 75 | 70 70 6c 79 5f 63 6f 75 | resu|pply_cou|
|00001a40| 6e 74 65 72 2b 2b 3b 0d | 0a 20 7d 0d 0a 0d 0a 20 |nter++;.|. }.... |
|00001a50| 55 45 54 46 32 6b 34 47 | 61 6d 65 52 65 70 6c 69 |UETF2k4G|ameRepli|
|00001a60| 63 61 74 69 6f 6e 49 6e | 66 6f 28 47 61 6d 65 52 |cationIn|fo(GameR|
|00001a70| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 2e |eplicati|onInfo).|
|00001a80| 55 45 54 46 52 65 73 65 | 72 76 65 20 3d 20 75 65 |UETFRese|rve = ue|
|00001a90| 74 66 5f 72 65 73 65 72 | 76 65 73 3b 0d 0a 20 55 |tf_reser|ves;.. U|
|00001aa0| 45 54 46 32 6b 34 47 61 | 6d 65 52 65 70 6c 69 63 |ETF2k4Ga|meReplic|
|00001ab0| 61 74 69 6f 6e 49 6e 66 | 6f 28 47 61 6d 65 52 65 |ationInf|o(GameRe|
|00001ac0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 2e 45 |plicatio|nInfo).E|
|00001ad0| 6e 65 6d 79 52 65 73 65 | 72 76 65 20 3d 20 62 6f |nemyRese|rve = bo|
|00001ae0| 74 5f 72 65 73 65 72 76 | 65 73 3b 0d 0a 20 2f 2f |t_reserv|es;.. //|
|00001af0| 55 45 54 46 32 6b 34 47 | 61 6d 65 52 65 70 6c 69 |UETF2k4G|ameRepli|
|00001b00| 63 61 74 69 6f 6e 49 6e | 66 6f 28 47 61 6d 65 52 |cationIn|fo(GameR|
|00001b10| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 2e |eplicati|onInfo).|
|00001b20| 4e 65 78 74 57 61 76 65 | 54 69 6d 65 3d 72 65 73 |NextWave|Time=res|
|00001b30| 75 70 70 6c 79 5f 63 6f | 75 6e 74 65 72 3b 0d 0a |upply_co|unter;..|
|00001b40| 20 2f 2f 72 65 73 75 70 | 70 6c 79 5f 63 6f 75 6e | //resup|ply_coun|
|00001b50| 74 65 72 2b 2b 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |ter++;..|}....fun|
|00001b60| 63 74 69 6f 6e 20 4b 69 | 6c 6c 65 64 28 43 6f 6e |ction Ki|lled(Con|
|00001b70| 74 72 6f 6c 6c 65 72 20 | 4b 69 6c 6c 65 72 2c 20 |troller |Killer, |
|00001b80| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 4b 69 6c 6c 65 |Controll|er Kille|
|00001b90| 64 2c 20 50 61 77 6e 20 | 4b 69 6c 6c 65 64 50 61 |d, Pawn |KilledPa|
|00001ba0| 77 6e 2c 20 63 6c 61 73 | 73 3c 44 61 6d 61 67 65 |wn, clas|s<Damage|
|00001bb0| 54 79 70 65 3e 20 64 61 | 6d 61 67 65 54 79 70 65 |Type> da|mageType|
|00001bc0| 20 29 0d 0a 7b 0d 0a 20 | 20 20 20 69 66 20 28 4b | )..{.. | if (K|
|00001bd0| 69 6c 6c 65 64 2e 49 73 | 41 28 27 55 45 54 46 32 |illed.Is|A('UETF2|
|00001be0| 6b 34 50 6c 61 79 65 72 | 27 29 29 0d 0a 20 20 20 |k4Player|')).. |
|00001bf0| 20 20 20 20 55 45 54 46 | 32 6b 34 50 6c 61 79 65 | UETF|2k4Playe|
|00001c00| 72 28 4b 69 6c 6c 65 64 | 29 2e 50 6c 61 79 65 72 |r(Killed|).Player|
|00001c10| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00001c20| 62 4f 75 74 4f 66 4c 69 | 76 65 73 20 3d 20 74 72 |bOutOfLi|ves = tr|
|00001c30| 75 65 3b 0d 0a 0d 0a 20 | 20 20 20 53 75 70 65 72 |ue;.... | Super|
|00001c40| 2e 4b 69 6c 6c 65 64 28 | 4b 69 6c 6c 65 72 2c 20 |.Killed(|Killer, |
|00001c50| 4b 69 6c 6c 65 64 2c 20 | 4b 69 6c 6c 65 64 50 61 |Killed, |KilledPa|
|00001c60| 77 6e 2c 20 64 61 6d 61 | 67 65 54 79 70 65 29 3b |wn, dama|geType);|
|00001c70| 0d 0a 7d 0d 0a 0d 0a 00 | |..}.....| |
+--------+-------------------------+-------------------------+--------+--------+