home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 July & August / Gamestar_64_2004-07-08_dvd.iso / Patche / ut2004-winpatch3204.exe / UT2004-Patch / System / Bonuspack.u / C_xMutantGame_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  20.6 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.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 6d c9 02 2f 2f 20 3d 3d |........|m..// ==|
|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 0d 0a 2f 2f 20 20 | 43 6c 61 73 73 3a 20 42 |==..// |Class: B|
|00000060| 6f 6e 75 73 50 61 63 6b | 2e 78 4d 75 74 61 6e 74 |onusPack|.xMutant|
|00000070| 47 61 6d 65 0d 0a 2f 2f | 0d 0a 2f 2f 20 20 4d 61 |Game..//|..// Ma|
|00000080| 69 6e 20 27 4d 75 74 61 | 6e 74 27 20 67 61 6d 65 |in 'Muta|nt' game|
|00000090| 20 74 79 70 65 20 74 61 | 62 2e 20 42 61 73 69 63 | type ta|b. Basic|
|000000a0| 20 69 64 65 61 3a 0d 0a | 2f 2f 20 20 2d 20 57 68 | idea:..|// - Wh|
|000000b0| 65 6e 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 65 |en there| is no e|
|000000c0| 78 69 73 74 69 6e 67 20 | 6d 75 74 61 6e 74 2c 20 |xisting |mutant, |
|000000d0| 66 69 72 73 74 20 62 6c | 6f 6f 64 20 6d 75 74 61 |first bl|ood muta|
|000000e0| 74 65 73 2e 0d 0a 2f 2f | 20 20 2d 20 45 76 65 72 |tes...//| - Ever|
|000000f0| 79 6f 6e 65 20 65 6c 73 | 65 20 6d 75 73 74 20 68 |yone els|e must h|
|00000100| 75 6e 74 20 64 6f 77 6e | 20 74 68 65 20 6d 75 74 |unt down| the mut|
|00000110| 61 6e 74 20 2d 20 79 6f | 75 20 63 61 6e 27 74 20 |ant - yo|u can't |
|00000120| 6b 69 6c 6c 20 65 61 63 | 68 20 6f 74 68 65 72 2e |kill eac|h other.|
|00000130| 20 59 6f 75 20 67 65 74 | 20 61 20 72 61 64 61 72 | You get| a radar|
|00000140| 20 74 6f 20 66 69 6e 64 | 20 74 68 65 6d 2e 0d 0a | to find| them...|
|00000150| 2f 2f 20 20 2d 20 49 66 | 20 79 6f 75 20 6b 69 6c |// - If| you kil|
|00000160| 6c 20 74 68 65 20 6d 75 | 74 61 6e 74 2c 20 79 6f |l the mu|tant, yo|
|00000170| 75 20 6d 75 74 61 74 65 | 2e 0d 0a 2f 2f 20 20 2d |u mutate|...// -|
|00000180| 20 4d 75 74 61 6e 74 20 | 67 65 74 73 20 69 6e 76 | Mutant |gets inv|
|00000190| 69 73 69 62 69 6c 69 74 | 79 2c 20 61 67 69 6c 69 |isibilit|y, agili|
|000001a0| 74 79 20 61 6e 64 20 72 | 65 67 65 6e 20 62 61 73 |ty and r|egen bas|
|000001b0| 65 64 20 6f 6e 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ed on nu|mber of |
|000001c0| 6f 74 68 65 72 20 70 6c | 61 79 65 72 73 2e 0d 0a |other pl|ayers...|
|000001d0| 2f 2f 0d 0a 2f 2f 20 20 | 57 72 69 74 74 65 6e 20 |//..// |Written |
|000001e0| 62 79 20 4a 61 6d 65 73 | 20 47 6f 6c 64 69 6e 67 |by James| Golding|
|000001f0| 0d 0a 2f 2f 20 20 28 63 | 29 20 32 30 30 32 2c 20 |..// (c|) 2002, |
|00000200| 45 70 69 63 20 47 61 6d | 65 73 2c 20 49 6e 63 2e |Epic Gam|es, Inc.|
|00000210| 20 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 | All Ri|ghts Res|
|00000220| 65 72 76 65 64 0d 0a 2f | 2f 20 3d 3d 3d 3d 3d 3d |erved../|/ ======|
|00000230| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000240| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000250| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000260| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0a |========|======..|
|00000270| 0d 0a 23 65 78 65 63 20 | 4f 42 4a 20 4c 4f 41 44 |..#exec |OBJ LOAD|
|00000280| 20 46 49 4c 45 3d 58 47 | 61 6d 65 53 68 61 64 65 | FILE=XG|ameShade|
|00000290| 72 73 2e 75 74 78 0d 0a | 23 65 78 65 63 20 4f 42 |rs.utx..|#exec OB|
|000002a0| 4a 20 4c 4f 41 44 20 46 | 49 4c 45 3d 4d 75 74 61 |J LOAD F|ILE=Muta|
|000002b0| 6e 74 53 6b 69 6e 73 2e | 75 74 78 0d 0a 23 65 78 |ntSkins.|utx..#ex|
|000002c0| 65 63 20 4f 42 4a 20 4c | 4f 41 44 20 46 49 4c 45 |ec OBJ L|OAD FILE|
|000002d0| 3d 49 6e 74 65 72 66 61 | 63 65 43 6f 6e 74 65 6e |=Interfa|ceConten|
|000002e0| 74 2e 75 74 78 0d 0a 0d | 0a 63 6c 61 73 73 20 78 |t.utx...|.class x|
|000002f0| 4d 75 74 61 6e 74 47 61 | 6d 65 20 65 78 74 65 6e |MutantGa|me exten|
|00000300| 64 73 20 78 44 65 61 74 | 68 4d 61 74 63 68 3b 0d |ds xDeat|hMatch;.|
|00000310| 0a 0d 0a 2f 2f 20 53 65 | 74 74 69 6e 67 73 0d 0a |...// Se|ttings..|
|00000320| 76 61 72 28 29 09 4d 61 | 74 65 72 69 61 6c 09 09 |var().Ma|terial..|
|00000330| 09 09 4d 75 74 61 6e 74 | 4d 61 74 65 72 69 61 6c |..Mutant|Material|
|00000340| 3b 0d 0a 0d 0a 2f 2f 20 | 49 6e 74 65 72 6e 61 6c |;....// |Internal|
|00000350| 0d 0a 76 61 72 09 09 43 | 6f 6e 74 72 6f 6c 6c 65 |..var..C|ontrolle|
|00000360| 72 09 09 09 09 43 75 72 | 72 65 6e 74 4d 75 74 61 |r....Cur|rentMuta|
|00000370| 6e 74 3b 0d 0a 76 61 72 | 09 09 43 6f 6e 74 72 6f |nt;..var|..Contro|
|00000380| 6c 6c 65 72 09 09 09 09 | 43 75 72 72 65 6e 74 42 |ller....|CurrentB|
|00000390| 6f 74 74 6f 6d 46 65 65 | 64 65 72 3b 0d 0a 76 61 |ottomFee|der;..va|
|000003a0| 72 09 09 66 6c 6f 61 74 | 09 09 09 09 09 52 65 67 |r..float|.....Reg|
|000003b0| 65 6e 54 69 6d 65 43 61 | 72 72 79 4f 76 65 72 3b |enTimeCa|rryOver;|
|000003c0| 0d 0a 0d 0a 76 61 72 28 | 29 09 66 6c 6f 61 74 09 |....var(|).float.|
|000003d0| 09 09 09 09 44 65 67 65 | 6e 49 6e 74 65 72 76 61 |....Dege|nInterva|
|000003e0| 6c 3b 0d 0a 2f 2f 76 61 | 72 28 29 09 49 6e 74 65 |l;..//va|r().Inte|
|000003f0| 72 70 43 75 72 76 65 09 | 09 09 09 52 65 67 65 6e |rpCurve.|...Regen|
|00000400| 52 61 74 65 3b 20 2f 2f | 20 48 65 61 6c 74 68 20 |Rate; //| Health |
|00000410| 6d 75 74 61 6e 74 20 67 | 65 74 73 20 65 61 63 68 |mutant g|ets each|
|00000420| 20 73 65 63 6f 6e 64 20 | 61 73 20 61 20 66 75 6e | second |as a fun|
|00000430| 63 74 69 6f 6e 20 6f 66 | 20 6f 74 68 65 72 20 70 |ction of| other p|
|00000440| 6c 61 79 65 72 73 0d 0a | 76 61 72 28 29 09 69 6e |layers..|var().in|
|00000450| 74 09 09 09 09 09 09 4d | 75 6c 74 69 4b 69 6c 6c |t......M|ultiKill|
|00000460| 42 6f 6e 75 73 3b 20 2f | 2f 20 41 64 64 69 74 69 |Bonus; /|/ Additi|
|00000470| 6f 6e 61 6c 20 70 6f 69 | 6e 74 73 20 66 6f 72 20 |onal poi|nts for |
|00000480| 65 61 63 68 20 6c 65 76 | 65 6c 20 6f 66 20 6d 75 |each lev|el of mu|
|00000490| 6c 74 69 2d 6b 69 6c 6c | 0d 0a 76 61 72 28 29 09 |lti-kill|..var().|
|000004a0| 69 6e 74 09 09 09 09 09 | 09 42 61 73 65 4b 69 6c |int.....|.BaseKil|
|000004b0| 6c 53 63 6f 72 65 3b 20 | 2f 2f 20 42 61 73 69 63 |lScore; |// Basic|
|000004c0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 6f 69 6e 74 | number |of point|
|000004d0| 73 20 66 6f 72 20 61 20 | 6b 69 6c 6c 0d 0a 76 61 |s for a |kill..va|
|000004e0| 72 28 29 09 69 6e 74 09 | 09 09 09 09 09 4d 75 74 |r().int.|.....Mut|
|000004f0| 61 6e 74 53 75 69 63 69 | 64 65 50 65 6e 61 6c 74 |antSuici|dePenalt|
|00000500| 79 3b 20 2f 2f 20 57 68 | 65 6e 20 74 68 65 20 6d |y; // Wh|en the m|
|00000510| 75 74 61 6e 74 20 73 75 | 69 63 69 64 65 73 2c 20 |utant su|icides, |
|00000520| 6e 75 6d 62 65 72 20 6f | 66 20 70 6f 69 6e 74 73 |number o|f points|
|00000530| 20 74 68 65 79 20 6c 6f | 73 65 0d 0a 76 61 72 28 | they lo|se..var(|
|00000540| 29 09 69 6e 74 09 09 09 | 09 09 09 4d 61 78 4d 75 |).int...|...MaxMu|
|00000550| 6c 74 69 4b 69 6c 6c 53 | 63 6f 72 65 3b 20 2f 2f |ltiKillS|core; //|
|00000560| 20 43 61 70 20 6f 6e 20 | 6d 75 6c 74 69 2d 6b 69 | Cap on |multi-ki|
|00000570| 6c 6c 20 73 63 6f 72 65 | 0d 0a 76 61 72 28 29 09 |ll score|..var().|
|00000580| 69 6e 74 20 09 09 09 09 | 09 4d 75 74 61 6e 74 4b |int ....|.MutantK|
|00000590| 69 6c 6c 48 65 61 6c 74 | 68 42 6f 6e 75 73 3b 20 |illHealt|hBonus; |
|000005a0| 2f 2f 20 48 65 61 6c 74 | 68 20 74 68 65 20 6d 75 |// Healt|h the mu|
|000005b0| 74 61 6e 74 20 67 65 74 | 73 20 66 6f 72 20 6b 69 |tant get|s for ki|
|000005c0| 6c 6c 69 6e 67 20 73 6f | 6d 65 6f 6e 65 0d 0a 76 |lling so|meone..v|
|000005d0| 61 72 28 29 09 69 6e 74 | 09 09 09 09 09 09 42 6f |ar().int|......Bo|
|000005e0| 74 74 6f 6d 46 65 65 64 | 65 72 4b 69 6c 6c 53 63 |ttomFeed|erKillSc|
|000005f0| 6f 72 65 3b 20 2f 2f 20 | 50 6f 69 6e 74 73 20 74 |ore; // |Points t|
|00000600| 68 65 20 6d 75 74 61 6e | 74 20 67 65 74 73 20 66 |he mutan|t gets f|
|00000610| 6f 72 20 6b 69 6c 6c 69 | 6e 67 20 74 68 65 20 62 |or killi|ng the b|
|00000620| 6f 74 74 6f 6d 20 66 65 | 65 64 65 72 0d 0a 0d 0a |ottom fe|eder....|
|00000630| 76 61 72 28 29 09 63 6f | 6e 66 69 67 20 62 6f 6f |var().co|nfig boo|
|00000640| 6c 09 09 09 09 62 45 6e | 61 62 6c 65 42 6f 74 74 |l....bEn|ableBott|
|00000650| 6f 6d 46 65 65 64 65 72 | 3b 0d 0a 0d 0a 76 61 72 |omFeeder|;....var|
|00000660| 20 6c 6f 63 61 6c 69 7a | 65 64 20 73 74 72 69 6e | localiz|ed strin|
|00000670| 67 09 4d 75 74 50 72 6f | 70 54 65 78 74 3b 0d 0a |g.MutPro|pText;..|
|00000680| 76 61 72 20 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var loca|lized st|
|00000690| 72 69 6e 67 09 4d 75 74 | 44 65 73 63 54 65 78 74 |ring.Mut|DescText|
|000006a0| 3b 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 62 6f |;....fun|ction bo|
|000006b0| 6f 6c 20 57 61 6e 74 73 | 50 69 63 6b 75 70 73 28 |ol Wants|Pickups(|
|000006c0| 62 6f 74 20 42 29 0d 0a | 7b 0d 0a 09 72 65 74 75 |bot B)..|{...retu|
|000006d0| 72 6e 20 28 42 20 21 3d | 20 43 75 72 72 65 6e 74 |rn (B !=| Current|
|000006e0| 4d 75 74 61 6e 74 29 3b | 0d 0a 7d 0d 0a 0d 0a 73 |Mutant);|..}....s|
|000006f0| 74 61 74 69 63 20 66 75 | 6e 63 74 69 6f 6e 20 50 |tatic fu|nction P|
|00000700| 72 65 63 61 63 68 65 47 | 61 6d 65 54 65 78 74 75 |recacheG|ameTextu|
|00000710| 72 65 73 28 4c 65 76 65 | 6c 49 6e 66 6f 20 6d 79 |res(Leve|lInfo my|
|00000720| 4c 65 76 65 6c 29 0d 0a | 7b 0d 0a 09 53 75 70 65 |Level)..|{...Supe|
|00000730| 72 2e 50 72 65 63 61 63 | 68 65 47 61 6d 65 54 65 |r.Precac|heGameTe|
|00000740| 78 74 75 72 65 73 28 6d | 79 4c 65 76 65 6c 29 3b |xtures(m|yLevel);|
|00000750| 0d 0a 0d 0a 09 6d 79 4c | 65 76 65 6c 2e 41 64 64 |.....myL|evel.Add|
|00000760| 50 72 65 63 61 63 68 65 | 4d 61 74 65 72 69 61 6c |Precache|Material|
|00000770| 28 63 6c 61 73 73 27 48 | 55 44 4d 75 74 61 6e 74 |(class'H|UDMutant|
|00000780| 27 2e 64 65 66 61 75 6c | 74 2e 42 6f 74 74 6f 6d |'.defaul|t.Bottom|
|00000790| 46 65 65 64 65 72 49 63 | 6f 6e 29 3b 0d 0a 09 6d |FeederIc|on);...m|
|000007a0| 79 4c 65 76 65 6c 2e 41 | 64 64 50 72 65 63 61 63 |yLevel.A|ddPrecac|
|000007b0| 68 65 4d 61 74 65 72 69 | 61 6c 28 4d 61 74 65 72 |heMateri|al(Mater|
|000007c0| 69 61 6c 27 4d 75 74 61 | 6e 74 53 6b 69 6e 73 2e |ial'Muta|ntSkins.|
|000007d0| 43 65 6c 6c 75 6c 61 72 | 5f 30 27 29 3b 0d 0a 09 |Cellular|_0');...|
|000007e0| 6d 79 4c 65 76 65 6c 2e | 41 64 64 50 72 65 63 61 |myLevel.|AddPreca|
|000007f0| 63 68 65 4d 61 74 65 72 | 69 61 6c 28 4d 61 74 65 |cheMater|ial(Mate|
|00000800| 72 69 61 6c 27 54 65 61 | 6d 53 79 6d 62 6f 6c 73 |rial'Tea|mSymbols|
|00000810| 2e 54 65 61 6d 42 65 61 | 63 6f 6e 54 27 29 3b 0d |.TeamBea|conT');.|
|00000820| 0a 09 6d 79 4c 65 76 65 | 6c 2e 41 64 64 50 72 65 |..myLeve|l.AddPre|
|00000830| 63 61 63 68 65 4d 61 74 | 65 72 69 61 6c 28 4d 61 |cacheMat|erial(Ma|
|00000840| 74 65 72 69 61 6c 27 49 | 6e 74 65 72 66 61 63 65 |terial'I|nterface|
|00000850| 43 6f 6e 74 65 6e 74 2e | 42 6f 72 64 65 72 42 6f |Content.|BorderBo|
|00000860| 78 44 27 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 74 61 74 |xD');..}|....stat|
|00000870| 69 63 20 66 75 6e 63 74 | 69 6f 6e 20 50 72 65 63 |ic funct|ion Prec|
|00000880| 61 63 68 65 47 61 6d 65 | 41 6e 6e 6f 75 6e 63 65 |acheGame|Announce|
|00000890| 6d 65 6e 74 73 28 41 6e | 6e 6f 75 6e 63 65 72 56 |ments(An|nouncerV|
|000008a0| 6f 69 63 65 20 56 2c 20 | 62 6f 6f 6c 20 62 52 65 |oice V, |bool bRe|
|000008b0| 77 61 72 64 53 6f 75 6e | 64 73 29 0d 0a 7b 0d 0a |wardSoun|ds)..{..|
|000008c0| 09 53 75 70 65 72 2e 50 | 72 65 63 61 63 68 65 47 |.Super.P|recacheG|
|000008d0| 61 6d 65 41 6e 6e 6f 75 | 6e 63 65 6d 65 6e 74 73 |ameAnnou|ncements|
|000008e0| 28 56 2c 62 52 65 77 61 | 72 64 53 6f 75 6e 64 73 |(V,bRewa|rdSounds|
|000008f0| 29 3b 0d 0a 09 69 66 20 | 28 20 21 62 52 65 77 61 |);...if |( !bRewa|
|00000900| 72 64 53 6f 75 6e 64 73 | 20 29 0d 0a 09 7b 0d 0a |rdSounds| )...{..|
|00000910| 09 09 56 2e 50 72 65 63 | 61 63 68 65 53 6f 75 6e |..V.Prec|acheSoun|
|00000920| 64 28 27 79 6f 75 5f 68 | 61 76 65 5f 6d 75 74 61 |d('you_h|ave_muta|
|00000930| 74 65 64 27 29 3b 0d 0a | 09 09 56 2e 50 72 65 63 |ted');..|..V.Prec|
|00000940| 61 63 68 65 53 6f 75 6e | 64 28 27 6e 65 77 5f 6d |acheSoun|d('new_m|
|00000950| 75 74 61 6e 74 27 29 3b | 0d 0a 09 09 56 2e 50 72 |utant');|....V.Pr|
|00000960| 65 63 61 63 68 65 53 6f | 75 6e 64 28 27 62 6f 74 |ecacheSo|und('bot|
|00000970| 74 6f 6d 5f 66 65 65 64 | 65 72 27 29 3b 0d 0a 09 |tom_feed|er');...|
|00000980| 7d 0d 0a 7d 0d 0a 0d 0a | 2f 2a 20 4f 42 53 4f 4c |}..}....|/* OBSOL|
|00000990| 45 54 45 20 55 70 64 61 | 74 65 41 6e 6e 6f 75 6e |ETE Upda|teAnnoun|
|000009a0| 63 65 6d 65 6e 74 73 28 | 29 20 2d 20 70 72 65 6c |cements(|) - prel|
|000009b0| 6f 61 64 20 61 6c 6c 20 | 61 6e 6e 6f 75 6e 63 65 |oad all |announce|
|000009c0| 72 20 70 68 72 61 73 65 | 73 20 75 73 65 64 20 62 |r phrase|s used b|
|000009d0| 79 20 74 68 69 73 20 61 | 63 74 6f 72 20 2a 2f 0d |y this a|ctor */.|
|000009e0| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|000009f0| 69 6f 6e 20 55 70 64 61 | 74 65 41 6e 6e 6f 75 6e |ion Upda|teAnnoun|
|00000a00| 63 65 6d 65 6e 74 73 28 | 29 20 7b 7d 0d 0a 0d 0a |cements(|) {}....|
|00000a10| 65 76 65 6e 74 20 54 69 | 63 6b 28 66 6c 6f 61 74 |event Ti|ck(float|
|00000a20| 20 64 65 6c 74 61 53 65 | 63 6f 6e 64 73 29 0d 0a | deltaSe|conds)..|
|00000a30| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 78 4d 75 74 61 6e |{...loca|l xMutan|
|00000a40| 74 50 61 77 6e 20 70 3b | 0d 0a 0d 0a 09 53 75 70 |tPawn p;|.....Sup|
|00000a50| 65 72 2e 54 69 63 6b 28 | 64 65 6c 74 61 53 65 63 |er.Tick(|deltaSec|
|00000a60| 6f 6e 64 73 29 3b 0d 0a | 0d 0a 09 69 66 28 43 75 |onds);..|...if(Cu|
|00000a70| 72 72 65 6e 74 4d 75 74 | 61 6e 74 20 3d 3d 20 4e |rrentMut|ant == N|
|00000a80| 6f 6e 65 29 0d 0a 09 09 | 72 65 74 75 72 6e 3b 0d |one)....|return;.|
|00000a90| 0a 0d 0a 09 70 20 3d 20 | 78 4d 75 74 61 6e 74 50 |....p = |xMutantP|
|00000aa0| 61 77 6e 28 43 75 72 72 | 65 6e 74 4d 75 74 61 6e |awn(Curr|entMutan|
|00000ab0| 74 2e 50 61 77 6e 29 3b | 0d 0a 0d 0a 09 2f 2f 20 |t.Pawn);|.....// |
|00000ac0| 52 65 67 65 6e 72 61 74 | 65 20 74 68 65 20 4d 75 |Regenrat|e the Mu|
|00000ad0| 74 61 6e 74 0d 0a 09 52 | 65 67 65 6e 54 69 6d 65 |tant...R|egenTime|
|00000ae0| 43 61 72 72 79 4f 76 65 | 72 20 2b 3d 20 64 65 6c |CarryOve|r += del|
|00000af0| 74 61 53 65 63 6f 6e 64 | 73 3b 0d 0a 09 77 68 69 |taSecond|s;...whi|
|00000b00| 6c 65 28 52 65 67 65 6e | 54 69 6d 65 43 61 72 72 |le(Regen|TimeCarr|
|00000b10| 79 4f 76 65 72 20 3e 20 | 44 65 67 65 6e 49 6e 74 |yOver > |DegenInt|
|00000b20| 65 72 76 61 6c 29 0d 0a | 09 7b 0d 0a 09 09 70 2e |erval)..|.{....p.|
|00000b30| 4d 75 74 61 6e 74 44 61 | 6d 61 67 65 28 29 3b 0d |MutantDa|mage();.|
|00000b40| 0a 0d 0a 09 09 52 65 67 | 65 6e 54 69 6d 65 43 61 |.....Reg|enTimeCa|
|00000b50| 72 72 79 4f 76 65 72 20 | 2d 3d 20 44 65 67 65 6e |rryOver |-= Degen|
|00000b60| 49 6e 74 65 72 76 61 6c | 3b 0d 0a 09 7d 0d 0a 7d |Interval|;...}..}|
|00000b70| 0d 0a 0d 0a 2f 2f 20 50 | 61 72 73 65 20 6f 70 74 |....// P|arse opt|
|00000b80| 69 6f 6e 73 20 66 6f 72 | 20 74 68 69 73 20 67 61 |ions for| this ga|
|00000b90| 6d 65 20 74 79 70 65 0d | 0a 65 76 65 6e 74 20 49 |me type.|.event I|
|00000ba0| 6e 69 74 47 61 6d 65 28 | 20 73 74 72 69 6e 67 20 |nitGame(| string |
|00000bb0| 4f 70 74 69 6f 6e 73 2c | 20 6f 75 74 20 73 74 72 |Options,| out str|
|00000bc0| 69 6e 67 20 45 72 72 6f | 72 20 29 0d 0a 7b 0d 0a |ing Erro|r )..{..|
|00000bd0| 09 6c 6f 63 61 6c 20 73 | 74 72 69 6e 67 20 49 6e |.local s|tring In|
|00000be0| 4f 70 74 3b 0d 0a 0d 0a | 09 53 75 70 65 72 2e 49 |Opt;....|.Super.I|
|00000bf0| 6e 69 74 47 61 6d 65 28 | 4f 70 74 69 6f 6e 73 2c |nitGame(|Options,|
|00000c00| 20 45 72 72 6f 72 29 3b | 0d 0a 0d 0a 09 2f 2f 20 | Error);|.....// |
|00000c10| 53 68 6f 75 6c 64 20 77 | 65 20 65 6e 61 62 6c 65 |Should w|e enable|
|00000c20| 20 62 6f 74 74 6f 6d 20 | 66 65 65 64 65 72 73 0d | bottom |feeders.|
|00000c30| 0a 09 49 6e 4f 70 74 20 | 3d 20 50 61 72 73 65 4f |..InOpt |= ParseO|
|00000c40| 70 74 69 6f 6e 28 20 4f | 70 74 69 6f 6e 73 2c 20 |ption( O|ptions, |
|00000c50| 22 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 22 29 3b |"BottomF|eeder");|
|00000c60| 0d 0a 09 69 66 28 49 6e | 4f 70 74 20 21 3d 20 22 |...if(In|Opt != "|
|00000c70| 22 29 0d 0a 09 7b 0d 0a | 20 20 20 20 20 20 20 20 |")...{..| |
|00000c80| 6c 6f 67 28 22 42 6f 74 | 74 6f 6d 46 65 65 64 65 |log("Bot|tomFeede|
|00000c90| 72 3a 20 22 24 62 6f 6f | 6c 28 49 6e 4f 70 74 29 |r: "$boo|l(InOpt)|
|00000ca0| 29 3b 0d 0a 09 09 62 45 | 6e 61 62 6c 65 42 6f 74 |);....bE|nableBot|
|00000cb0| 74 6f 6d 46 65 65 64 65 | 72 3d 62 6f 6f 6c 28 49 |tomFeede|r=bool(I|
|00000cc0| 6e 4f 70 74 29 3b 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d |nOpt);..|.}..}...|
|00000cd0| 0a 66 75 6e 63 74 69 6f | 6e 20 69 6e 74 20 43 6f |.functio|n int Co|
|00000ce0| 6d 70 61 72 65 50 52 49 | 28 50 6c 61 79 65 72 52 |mparePRI|(PlayerR|
|00000cf0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 20 50 |eplicati|onInfo P|
|00000d00| 52 49 31 2c 20 50 6c 61 | 79 65 72 52 65 70 6c 69 |RI1, Pla|yerRepli|
|00000d10| 63 61 74 69 6f 6e 49 6e | 66 6f 20 50 52 49 32 29 |cationIn|fo PRI2)|
|00000d20| 0d 0a 7b 0d 0a 09 2f 2f | 20 48 69 67 68 65 73 74 |..{...//| Highest|
|00000d30| 20 73 63 6f 72 65 20 69 | 73 20 62 65 73 74 0d 0a | score i|s best..|
|00000d40| 09 69 66 28 50 52 49 31 | 2e 53 63 6f 72 65 20 3e |.if(PRI1|.Score >|
|00000d50| 20 50 52 49 32 2e 53 63 | 6f 72 65 29 0d 0a 09 09 | PRI2.Sc|ore)....|
|00000d60| 72 65 74 75 72 6e 20 31 | 3b 0d 0a 09 65 6c 73 65 |return 1|;...else|
|00000d70| 20 69 66 28 50 52 49 31 | 2e 53 63 6f 72 65 20 3c | if(PRI1|.Score <|
|00000d80| 20 50 52 49 32 2e 53 63 | 6f 72 65 29 0d 0a 09 09 | PRI2.Sc|ore)....|
|00000d90| 72 65 74 75 72 6e 20 2d | 31 3b 0d 0a 0d 0a 09 2f |return -|1;...../|
|00000da0| 2f 20 4c 65 61 73 74 20 | 64 65 61 74 68 73 20 69 |/ Least |deaths i|
|00000db0| 73 20 62 65 73 74 0d 0a | 09 69 66 28 50 52 49 31 |s best..|.if(PRI1|
|00000dc0| 2e 44 65 61 74 68 73 20 | 3e 20 50 52 49 32 2e 44 |.Deaths |> PRI2.D|
|00000dd0| 65 61 74 68 73 29 0d 0a | 09 09 72 65 74 75 72 6e |eaths)..|..return|
|00000de0| 20 2d 31 3b 0d 0a 09 65 | 6c 73 65 20 69 66 28 50 | -1;...e|lse if(P|
|00000df0| 52 49 31 2e 44 65 61 74 | 68 73 20 3c 20 50 52 49 |RI1.Deat|hs < PRI|
|00000e00| 32 2e 44 65 61 74 68 73 | 29 0d 0a 09 09 72 65 74 |2.Deaths|)....ret|
|00000e10| 75 72 6e 20 31 3b 0d 0a | 0d 0a 09 2f 2f 20 4d 6f |urn 1;..|...// Mo|
|00000e20| 73 74 20 72 65 63 65 6e | 74 20 73 74 61 72 74 20 |st recen|t start |
|00000e30| 74 69 6d 65 20 69 73 20 | 62 65 73 74 0d 0a 09 69 |time is |best...i|
|00000e40| 66 28 50 52 49 31 2e 53 | 74 61 72 74 54 69 6d 65 |f(PRI1.S|tartTime|
|00000e50| 20 3e 20 50 52 49 32 2e | 53 74 61 72 74 54 69 6d | > PRI2.|StartTim|
|00000e60| 65 29 0d 0a 09 09 72 65 | 74 75 72 6e 20 31 3b 0d |e)....re|turn 1;.|
|00000e70| 0a 09 65 6c 73 65 20 69 | 66 28 50 52 49 31 2e 53 |..else i|f(PRI1.S|
|00000e80| 74 61 72 74 54 69 6d 65 | 20 3c 20 50 52 49 32 2e |tartTime| < PRI2.|
|00000e90| 53 74 61 72 74 54 69 6d | 65 29 0d 0a 09 09 72 65 |StartTim|e)....re|
|00000ea0| 74 75 72 6e 20 2d 31 3b | 0d 0a 0d 0a 09 2f 2f 20 |turn -1;|.....// |
|00000eb0| 4a 75 73 74 20 63 61 6e | 27 74 20 64 65 63 69 64 |Just can|'t decid|
|00000ec0| 65 2e 2e 2e 0d 0a 09 72 | 65 74 75 72 6e 20 30 3b |e......r|eturn 0;|
|00000ed0| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 20 57 68 65 6e 20 73 |..}..../|/ When s|
|00000ee0| 6f 6d 65 6f 6e 65 20 73 | 63 6f 72 65 73 2c 20 75 |omeone s|cores, u|
|00000ef0| 70 64 61 74 65 20 74 68 | 65 20 6c 69 73 74 20 6f |pdate th|e list o|
|00000f00| 66 20 27 62 6f 74 74 6f | 6d 20 66 65 65 64 65 72 |f 'botto|m feeder|
|00000f10| 73 27 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 55 70 64 |s'..func|tion Upd|
|00000f20| 61 74 65 42 6f 74 74 6f | 6d 46 65 65 64 65 72 28 |ateBotto|mFeeder(|
|00000f30| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00000f40| 20 69 3b 0d 0a 09 6c 6f | 63 61 6c 20 50 6c 61 79 | i;...lo|cal Play|
|00000f50| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00000f60| 6f 20 6d 79 50 52 49 3b | 0d 0a 09 6c 6f 63 61 6c |o myPRI;|...local|
|00000f70| 20 43 6f 6e 74 72 6f 6c | 6c 65 72 20 6f 6c 64 42 | Control|ler oldB|
|00000f80| 46 3b 0d 0a 09 6c 6f 63 | 61 6c 20 50 6c 61 79 65 |F;...loc|al Playe|
|00000f90| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 20 50 6c 61 79 |rControl|ler Play|
|00000fa0| 65 72 3b 0d 0a 0d 0a 09 | 6f 6c 64 42 46 20 3d 20 |er;.....|oldBF = |
|00000fb0| 43 75 72 72 65 6e 74 42 | 6f 74 74 6f 6d 46 65 65 |CurrentB|ottomFee|
|00000fc0| 64 65 72 3b 0d 0a 09 43 | 75 72 72 65 6e 74 42 6f |der;...C|urrentBo|
|00000fd0| 74 74 6f 6d 46 65 65 64 | 65 72 20 3d 20 4e 6f 6e |ttomFeed|er = Non|
|00000fe0| 65 3b 0d 0a 0d 0a 09 69 | 66 28 21 62 45 6e 61 62 |e;.....i|f(!bEnab|
|00000ff0| 6c 65 42 6f 74 74 6f 6d | 46 65 65 64 65 72 29 0d |leBottom|Feeder).|
|00001000| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 66 |...retur|n;.....f|
|00001010| 6f 72 28 69 3d 30 3b 20 | 69 3c 47 61 6d 65 52 65 |or(i=0; |i<GameRe|
|00001020| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 50 52 |plicatio|nInfo.PR|
|00001030| 49 41 72 72 61 79 2e 4c | 65 6e 67 74 68 3b 20 69 |IArray.L|ength; i|
|00001040| 2b 2b 29 0d 0a 09 7b 0d | 0a 09 09 6d 79 50 52 49 |++)...{.|...myPRI|
|00001050| 20 3d 20 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 | = GameR|eplicati|
|00001060| 6f 6e 49 6e 66 6f 2e 50 | 52 49 41 72 72 61 79 5b |onInfo.P|RIArray[|
|00001070| 69 5d 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 53 70 65 63 |i];.....|.// Spec|
|00001080| 74 61 74 6f 72 73 2f 6d | 75 74 61 6e 74 20 63 61 |tators/m|utant ca|
|00001090| 6e 27 74 20 62 65 20 42 | 46 0d 0a 09 09 69 66 28 |n't be B|F....if(|
|000010a0| 20 6d 79 50 52 49 2e 62 | 4f 6e 6c 79 53 70 65 63 | myPRI.b|OnlySpec|
|000010b0| 74 61 74 6f 72 20 7c 7c | 20 28 43 75 72 72 65 6e |tator ||| (Curren|
|000010c0| 74 4d 75 74 61 6e 74 20 | 21 3d 20 4e 6f 6e 65 20 |tMutant |!= None |
|000010d0| 26 26 20 6d 79 50 52 49 | 20 3d 3d 20 43 75 72 72 |&& myPRI| == Curr|
|000010e0| 65 6e 74 4d 75 74 61 6e | 74 2e 50 6c 61 79 65 72 |entMutan|t.Player|
|000010f0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 29 |Replicat|ionInfo)|
|00001100| 20 29 0d 0a 09 09 09 63 | 6f 6e 74 69 6e 75 65 3b | ).....c|ontinue;|
|00001110| 0d 0a 0d 0a 09 09 69 66 | 28 43 75 72 72 65 6e 74 |......if|(Current|
|00001120| 42 6f 74 74 6f 6d 46 65 | 65 64 65 72 20 3d 3d 20 |BottomFe|eder == |
|00001130| 4e 6f 6e 65 29 0d 0a 09 | 09 09 43 75 72 72 65 6e |None)...|..Curren|
|00001140| 74 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 20 3d 20 |tBottomF|eeder = |
|00001150| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 6d 79 50 52 49 |Controll|er(myPRI|
|00001160| 2e 4f 77 6e 65 72 29 3b | 0d 0a 09 09 65 6c 73 65 |.Owner);|....else|
|00001170| 0d 0a 09 09 7b 0d 0a 09 | 09 09 2f 2f 20 43 6f 6d |....{...|..// Com|
|00001180| 70 61 72 65 20 63 75 72 | 72 65 6e 74 20 42 46 20 |pare cur|rent BF |
|00001190| 77 69 74 68 20 74 68 69 | 73 20 50 52 49 2e 20 49 |with thi|s PRI. I|
|000011a0| 66 20 69 74 73 20 77 6f | 72 73 65 2c 20 6d 61 6b |f its wo|rse, mak|
|000011b0| 65 20 69 74 20 74 68 65 | 20 6e 65 77 20 42 46 2e |e it the| new BF.|
|000011c0| 0d 0a 09 09 09 69 66 28 | 20 43 6f 6d 70 61 72 65 |.....if(| Compare|
|000011d0| 50 52 49 28 43 75 72 72 | 65 6e 74 42 6f 74 74 6f |PRI(Curr|entBotto|
|000011e0| 6d 46 65 65 64 65 72 2e | 50 6c 61 79 65 72 52 65 |mFeeder.|PlayerRe|
|000011f0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2c 20 6d |plicatio|nInfo, m|
|00001200| 79 50 52 49 29 20 3e 20 | 30 20 29 0d 0a 09 09 09 |yPRI) > |0 ).....|
|00001210| 09 43 75 72 72 65 6e 74 | 42 6f 74 74 6f 6d 46 65 |.Current|BottomFe|
|00001220| 65 64 65 72 20 3d 20 43 | 6f 6e 74 72 6f 6c 6c 65 |eder = C|ontrolle|
|00001230| 72 28 6d 79 50 52 49 2e | 4f 77 6e 65 72 29 3b 0d |r(myPRI.|Owner);.|
|00001240| 0a 09 09 7d 0d 0a 09 7d | 0d 0a 0d 0a 09 2f 2f 20 |...}...}|.....// |
|00001250| 53 65 74 20 74 68 65 20 | 42 46 20 50 52 49 20 69 |Set the |BF PRI i|
|00001260| 6e 74 6f 20 74 68 65 20 | 4d 75 74 61 6e 74 20 47 |nto the |Mutant G|
|00001270| 52 49 0d 0a 09 69 66 28 | 43 75 72 72 65 6e 74 42 |RI...if(|CurrentB|
|00001280| 6f 74 74 6f 6d 46 65 65 | 64 65 72 20 21 3d 20 4e |ottomFee|der != N|
|00001290| 6f 6e 65 29 0d 0a 09 09 | 4d 75 74 61 6e 74 47 61 |one)....|MutantGa|
|000012a0| 6d 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |meReplic|ationInf|
|000012b0| 6f 28 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |o(GameRe|plicatio|
|000012c0| 6e 49 6e 66 6f 29 2e 42 | 6f 74 74 6f 6d 46 65 65 |nInfo).B|ottomFee|
|000012d0| 64 65 72 50 52 49 20 3d | 20 43 75 72 72 65 6e 74 |derPRI =| Current|
|000012e0| 42 6f 74 74 6f 6d 46 65 | 65 64 65 72 2e 50 6c 61 |BottomFe|eder.Pla|
|000012f0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00001300| 66 6f 3b 0d 0a 09 65 6c | 73 65 0d 0a 09 09 4d 75 |fo;...el|se....Mu|
|00001310| 74 61 6e 74 47 61 6d 65 | 52 65 70 6c 69 63 61 74 |tantGame|Replicat|
|00001320| 69 6f 6e 49 6e 66 6f 28 | 47 61 6d 65 52 65 70 6c |ionInfo(|GameRepl|
|00001330| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 29 2e 42 6f 74 |icationI|nfo).Bot|
|00001340| 74 6f 6d 46 65 65 64 65 | 72 50 52 49 20 3d 20 4e |tomFeede|rPRI = N|
|00001350| 6f 6e 65 3b 0d 0a 0d 0a | 09 2f 2f 20 44 6f 6e 74 |one;....|.// Dont|
|00001360| 20 73 65 6e 64 20 6d 65 | 73 73 61 67 65 73 20 6f | send me|ssages o|
|00001370| 6e 63 65 20 67 61 6d 65 | 20 69 73 20 6f 76 65 72 |nce game| is over|
|00001380| 2e 0d 0a 09 69 66 28 20 | 49 73 49 6e 53 74 61 74 |....if( |IsInStat|
|00001390| 65 28 27 4d 61 74 63 68 | 4f 76 65 72 27 29 20 29 |e('Match|Over') )|
|000013a0| 0d 0a 09 09 72 65 74 75 | 72 6e 3b 0d 0a 0d 0a 09 |....retu|rn;.....|
|000013b0| 2f 2f 20 49 66 20 69 74 | 73 20 61 20 6e 65 77 20 |// If it|s a new |
|000013c0| 62 6f 74 74 6f 6d 20 66 | 65 65 64 65 72 20 2d 20 |bottom f|eeder - |
|000013d0| 73 65 6e 64 20 6d 65 73 | 73 61 67 65 73 20 74 6f |send mes|sages to|
|000013e0| 20 6e 65 77 20 61 6e 64 | 20 6f 6c 64 0d 0a 09 69 | new and| old...i|
|000013f0| 66 28 43 75 72 72 65 6e | 74 42 6f 74 74 6f 6d 46 |f(Curren|tBottomF|
|00001400| 65 65 64 65 72 20 21 3d | 20 6f 6c 64 42 46 29 0d |eeder !=| oldBF).|
|00001410| 0a 09 7b 0d 0a 09 09 2f | 2f 20 27 4e 6f 20 4c 6f |..{..../|/ 'No Lo|
|00001420| 6e 67 65 72 20 42 6f 74 | 74 6f 6d 20 46 65 65 64 |nger Bot|tom Feed|
|00001430| 65 72 27 20 6d 65 73 73 | 61 67 65 0d 0a 09 09 69 |er' mess|age....i|
|00001440| 66 28 6f 6c 64 42 46 20 | 21 3d 20 4e 6f 6e 65 29 |f(oldBF |!= None)|
|00001450| 0d 0a 09 09 7b 0d 0a 09 | 09 09 50 6c 61 79 65 72 |....{...|..Player|
|00001460| 20 3d 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c | = Playe|rControl|
|00001470| 6c 65 72 28 6f 6c 64 42 | 46 29 3b 0d 0a 09 09 09 |ler(oldB|F);.....|
|00001480| 69 66 28 50 6c 61 79 65 | 72 20 21 3d 20 4e 6f 6e |if(Playe|r != Non|
|00001490| 65 29 0d 0a 09 09 09 09 | 50 6c 61 79 65 72 2e 52 |e)......|Player.R|
|000014a0| 65 63 65 69 76 65 4c 6f | 63 61 6c 69 7a 65 64 4d |eceiveLo|calizedM|
|000014b0| 65 73 73 61 67 65 28 63 | 6c 61 73 73 27 42 6f 6e |essage(c|lass'Bon|
|000014c0| 75 73 50 61 63 6b 2e 4d | 75 74 61 6e 74 4d 65 73 |usPack.M|utantMes|
|000014d0| 73 61 67 65 27 2c 20 34 | 29 3b 0d 0a 09 09 7d 0d |sage', 4|);....}.|
|000014e0| 0a 0d 0a 09 09 2f 2f 20 | 27 4e 65 77 20 42 6f 74 |.....// |'New Bot|
|000014f0| 74 6f 6d 20 46 65 65 64 | 65 72 27 20 6d 65 73 73 |tom Feed|er' mess|
|00001500| 61 67 65 0d 0a 09 09 69 | 66 28 43 75 72 72 65 6e |age....i|f(Curren|
|00001510| 74 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 20 21 3d |tBottomF|eeder !=|
|00001520| 20 4e 6f 6e 65 29 0d 0a | 09 09 7b 0d 0a 09 09 09 | None)..|..{.....|
|00001530| 50 6c 61 79 65 72 20 3d | 20 50 6c 61 79 65 72 43 |Player =| PlayerC|
|00001540| 6f 6e 74 72 6f 6c 6c 65 | 72 28 43 75 72 72 65 6e |ontrolle|r(Curren|
|00001550| 74 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 29 3b 0d |tBottomF|eeder);.|
|00001560| 0a 09 09 09 69 66 28 50 | 6c 61 79 65 72 20 21 3d |....if(P|layer !=|
|00001570| 20 4e 6f 6e 65 29 0d 0a | 09 09 09 09 50 6c 61 79 | None)..|....Play|
|00001580| 65 72 2e 52 65 63 65 69 | 76 65 4c 6f 63 61 6c 69 |er.Recei|veLocali|
|00001590| 7a 65 64 4d 65 73 73 61 | 67 65 28 63 6c 61 73 73 |zedMessa|ge(class|
|000015a0| 27 42 6f 6e 75 73 50 61 | 63 6b 2e 4d 75 74 61 6e |'BonusPa|ck.Mutan|
|000015b0| 74 4d 65 73 73 61 67 65 | 27 2c 20 33 29 3b 0d 0a |tMessage|', 3);..|
|000015c0| 09 09 7d 0d 0a 09 7d 0d | 0a 0d 0a 09 2f 2f 4c 6f |..}...}.|....//Lo|
|000015d0| 67 28 20 22 46 45 45 44 | 45 52 3a 20 22 24 43 75 |g( "FEED|ER: "$Cu|
|000015e0| 72 72 65 6e 74 42 6f 74 | 74 6f 6d 46 65 65 64 65 |rrentBot|tomFeede|
|000015f0| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00001600| 69 6f 6e 49 6e 66 6f 2e | 50 6c 61 79 65 72 4e 61 |ionInfo.|PlayerNa|
|00001610| 6d 65 20 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |me );..}|....func|
|00001620| 74 69 6f 6e 20 62 6f 6f | 6c 20 49 73 42 6f 74 74 |tion boo|l IsBott|
|00001630| 6f 6d 46 65 65 64 65 72 | 28 43 6f 6e 74 72 6f 6c |omFeeder|(Control|
|00001640| 6c 65 72 20 43 29 0d 0a | 7b 0d 0a 09 69 66 28 43 |ler C)..|{...if(C|
|00001650| 20 3d 3d 20 4e 6f 6e 65 | 29 0d 0a 09 09 72 65 74 | == None|)....ret|
|00001660| 75 72 6e 20 66 61 6c 73 | 65 3b 0d 0a 0d 0a 09 69 |urn fals|e;.....i|
|00001670| 66 28 43 20 3d 3d 20 43 | 75 72 72 65 6e 74 42 6f |f(C == C|urrentBo|
|00001680| 74 74 6f 6d 46 65 65 64 | 65 72 29 0d 0a 09 09 72 |ttomFeed|er)....r|
|00001690| 65 74 75 72 6e 20 74 72 | 75 65 3b 0d 0a 0d 0a 09 |eturn tr|ue;.....|
|000016a0| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 3b 0d 0a 7d |return f|alse;..}|
|000016b0| 0d 0a 0d 0a 2f 2f 20 53 | 65 6e 64 20 6d 65 73 73 |....// S|end mess|
|000016c0| 61 67 65 20 73 74 61 74 | 69 6e 67 20 63 75 72 72 |age stat|ing curr|
|000016d0| 65 6e 74 20 4d 75 74 61 | 6e 74 20 73 69 74 75 61 |ent Muta|nt situa|
|000016e0| 74 69 6f 6e 20 74 6f 20 | 73 69 6e 67 6c 65 20 63 |tion to |single c|
|000016f0| 6c 69 65 6e 74 2e 0d 0a | 66 75 6e 63 74 69 6f 6e |lient...|function|
|00001700| 20 53 65 6e 64 43 75 72 | 72 65 6e 74 4d 75 74 61 | SendCur|rentMuta|
|00001710| 6e 74 4d 65 73 73 61 67 | 65 28 50 6c 61 79 65 72 |ntMessag|e(Player|
|00001720| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 50 6c 61 79 65 |Controll|er Playe|
|00001730| 72 29 0d 0a 7b 0d 0a 09 | 2f 2f 20 44 6f 6e 74 20 |r)..{...|// Dont |
|00001740| 73 65 6e 64 20 6d 65 73 | 73 61 67 65 73 20 6f 6e |send mes|sages on|
|00001750| 63 65 20 67 61 6d 65 20 | 69 73 20 6f 76 65 72 2e |ce game |is over.|
|00001760| 0d 0a 09 69 66 28 20 49 | 73 49 6e 53 74 61 74 65 |...if( I|sInState|
|00001770| 28 27 4d 61 74 63 68 4f | 76 65 72 27 29 20 29 0d |('MatchO|ver') ).|
|00001780| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 69 |...retur|n;.....i|
|00001790| 66 28 43 75 72 72 65 6e | 74 4d 75 74 61 6e 74 20 |f(Curren|tMutant |
|000017a0| 3d 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 50 6c 61 79 |== None)|....Play|
|000017b0| 65 72 2e 52 65 63 65 69 | 76 65 4c 6f 63 61 6c 69 |er.Recei|veLocali|
|000017c0| 7a 65 64 4d 65 73 73 61 | 67 65 28 63 6c 61 73 73 |zedMessa|ge(class|
|000017d0| 27 42 6f 6e 75 73 50 61 | 63 6b 2e 4d 75 74 61 6e |'BonusPa|ck.Mutan|
|000017e0| 74 4d 65 73 73 61 67 65 | 27 2c 20 32 29 3b 0d 0a |tMessage|', 2);..|
|000017f0| 09 65 6c 73 65 0d 0a 09 | 7b 0d 0a 09 09 69 66 28 |.else...|{....if(|
|00001800| 50 6c 61 79 65 72 20 3d | 3d 20 43 75 72 72 65 6e |Player =|= Curren|
|00001810| 74 4d 75 74 61 6e 74 29 | 0d 0a 09 09 09 50 6c 61 |tMutant)|.....Pla|
|00001820| 79 65 72 2e 52 65 63 65 | 69 76 65 4c 6f 63 61 6c |yer.Rece|iveLocal|
|00001830| 69 7a 65 64 4d 65 73 73 | 61 67 65 28 63 6c 61 73 |izedMess|age(clas|
|00001840| 73 27 42 6f 6e 75 73 50 | 61 63 6b 2e 4d 75 74 61 |s'BonusP|ack.Muta|
|00001850| 6e 74 4d 65 73 73 61 67 | 65 27 2c 20 30 29 3b 0d |ntMessag|e', 0);.|
|00001860| 0a 09 09 65 6c 73 65 0d | 0a 09 09 09 50 6c 61 79 |...else.|....Play|
|00001870| 65 72 2e 52 65 63 65 69 | 76 65 4c 6f 63 61 6c 69 |er.Recei|veLocali|
|00001880| 7a 65 64 4d 65 73 73 61 | 67 65 28 63 6c 61 73 73 |zedMessa|ge(class|
|00001890| 27 42 6f 6e 75 73 50 61 | 63 6b 2e 4d 75 74 61 6e |'BonusPa|ck.Mutan|
|000018a0| 74 4d 65 73 73 61 67 65 | 27 2c 20 31 2c 20 43 75 |tMessage|', 1, Cu|
|000018b0| 72 72 65 6e 74 4d 75 74 | 61 6e 74 2e 50 6c 61 79 |rrentMut|ant.Play|
|000018c0| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|000018d0| 6f 29 3b 0d 0a 09 7d 0d | 0a 7d 0d 0a 0d 0a 2f 2f |o);...}.|.}....//|
|000018e0| 20 53 65 6e 64 20 6d 65 | 73 73 61 67 65 20 73 74 | Send me|ssage st|
|000018f0| 61 74 69 6e 67 20 63 75 | 72 72 65 6e 74 20 4d 75 |ating cu|rrent Mu|
|00001900| 74 61 6e 74 20 73 69 74 | 75 61 74 69 6f 6e 20 74 |tant sit|uation t|
|00001910| 6f 20 61 6c 6c 20 63 6c | 69 65 6e 74 73 2e 0d 0a |o all cl|ients...|
|00001920| 66 75 6e 63 74 69 6f 6e | 20 53 65 6e 64 41 6c 6c |function| SendAll|
|00001930| 43 75 72 72 65 6e 74 4d | 75 74 61 6e 74 4d 65 73 |CurrentM|utantMes|
|00001940| 73 61 67 65 28 29 0d 0a | 7b 0d 0a 20 20 20 20 6c |sage()..|{.. l|
|00001950| 6f 63 61 6c 20 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |ocal Con|troller |
|00001960| 50 3b 0d 0a 09 6c 6f 63 | 61 6c 20 50 6c 61 79 65 |P;...loc|al Playe|
|00001970| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 20 50 6c 61 79 |rControl|ler Play|
|00001980| 65 72 3b 0d 0a 0d 0a 09 | 2f 2f 20 44 6f 6e 74 20 |er;.....|// Dont |
|00001990| 73 65 6e 64 20 6d 65 73 | 73 61 67 65 73 20 6f 6e |send mes|sages on|
|000019a0| 63 65 20 67 61 6d 65 20 | 69 73 20 6f 76 65 72 2e |ce game |is over.|
|000019b0| 0d 0a 09 69 66 28 20 49 | 73 49 6e 53 74 61 74 65 |...if( I|sInState|
|000019c0| 28 27 4d 61 74 63 68 4f | 76 65 72 27 29 20 29 0d |('MatchO|ver') ).|
|000019d0| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 66 |...retur|n;.....f|
|000019e0| 6f 72 28 50 20 3d 20 4c | 65 76 65 6c 2e 43 6f 6e |or(P = L|evel.Con|
|000019f0| 74 72 6f 6c 6c 65 72 4c | 69 73 74 3b 20 50 20 21 |trollerL|ist; P !|
|00001a00| 3d 20 4e 6f 6e 65 3b 20 | 50 20 3d 20 50 2e 6e 65 |= None; |P = P.ne|
|00001a10| 78 74 43 6f 6e 74 72 6f | 6c 6c 65 72 29 0d 0a 09 |xtContro|ller)...|
|00001a20| 7b 0d 0a 09 09 50 6c 61 | 79 65 72 20 3d 20 50 6c |{....Pla|yer = Pl|
|00001a30| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 50 |ayerCont|roller(P|
|00001a40| 29 3b 0d 0a 0d 0a 09 09 | 69 66 20 28 50 6c 61 79 |);......|if (Play|
|00001a50| 65 72 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 7b |er != No|ne)....{|
|00001a60| 0d 0a 09 09 09 53 65 6e | 64 43 75 72 72 65 6e 74 |.....Sen|dCurrent|
|00001a70| 4d 75 74 61 6e 74 4d 65 | 73 73 61 67 65 28 50 6c |MutantMe|ssage(Pl|
|00001a80| 61 79 65 72 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |ayer);..|..}...}.|
|00001a90| 0a 7d 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |.}......|function|
|00001aa0| 20 66 6c 6f 61 74 20 52 | 61 74 65 50 6c 61 79 65 | float R|atePlaye|
|00001ab0| 72 53 74 61 72 74 28 4e | 61 76 69 67 61 74 69 6f |rStart(N|avigatio|
|00001ac0| 6e 50 6f 69 6e 74 20 4e | 2c 20 62 79 74 65 20 54 |nPoint N|, byte T|
|00001ad0| 65 61 6d 2c 20 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |eam, Con|troller |
|00001ae0| 50 6c 61 79 65 72 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |Player).|.{...loc|
|00001af0| 61 6c 20 50 6c 61 79 65 | 72 53 74 61 72 74 20 50 |al Playe|rStart P|
|00001b00| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |;...loca|l float |
|00001b10| 53 63 6f 72 65 3b 0d 0a | 0d 0a 09 53 63 6f 72 65 |Score;..|...Score|
|00001b20| 20 3d 20 53 75 70 65 72 | 2e 52 61 74 65 50 6c 61 | = Super|.RatePla|
|00001b30| 79 65 72 53 74 61 72 74 | 28 4e 2c 54 65 61 6d 2c |yerStart|(N,Team,|
|00001b40| 50 6c 61 79 65 72 29 3b | 0d 0a 0d 0a 09 2f 2f 20 |Player);|.....// |
|00001b50| 49 66 20 74 68 65 72 65 | 20 69 73 20 61 20 4d 75 |If there| is a Mu|
|00001b60| 74 61 6e 74 20 61 72 6f | 75 6e 64 20 2d 20 70 69 |tant aro|und - pi|
|00001b70| 63 6b 20 61 20 73 74 61 | 72 74 20 70 6f 69 6e 74 |ck a sta|rt point|
|00001b80| 20 61 20 64 69 73 74 61 | 6e 63 65 20 61 77 61 79 | a dista|nce away|
|00001b90| 2e 0d 0a 09 69 66 28 50 | 6c 61 79 65 72 20 21 3d |....if(P|layer !=|
|00001ba0| 20 4e 6f 6e 65 20 26 26 | 20 43 75 72 72 65 6e 74 | None &&| Current|
|00001bb0| 4d 75 74 61 6e 74 20 21 | 3d 20 4e 6f 6e 65 29 0d |Mutant !|= None).|
|00001bc0| 0a 09 7b 0d 0a 09 09 50 | 20 3d 20 50 6c 61 79 65 |..{....P| = Playe|
|00001bd0| 72 53 74 61 72 74 28 4e | 29 3b 0d 0a 09 09 69 66 |rStart(N|);....if|
|00001be0| 20 28 20 50 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a | ( P != |None )..|
|00001bf0| 09 09 09 53 63 6f 72 65 | 20 2b 3d 20 31 30 20 2a |...Score| += 10 *|
|00001c00| 20 56 53 69 7a 65 28 50 | 2e 4c 6f 63 61 74 69 6f | VSize(P|.Locatio|
|00001c10| 6e 20 2d 20 43 75 72 72 | 65 6e 74 4d 75 74 61 6e |n - Curr|entMutan|
|00001c20| 74 2e 50 61 77 6e 2e 4c | 6f 63 61 74 69 6f 6e 29 |t.Pawn.L|ocation)|
|00001c30| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 72 65 74 75 72 6e |;...}...|..return|
|00001c40| 20 53 63 6f 72 65 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 | Score;.|.}....fu|
|00001c50| 6e 63 74 69 6f 6e 20 52 | 61 6e 64 6f 6d 54 65 6c |nction R|andomTel|
|00001c60| 65 70 6f 72 74 4d 75 74 | 61 6e 74 28 43 6f 6e 74 |eportMut|ant(Cont|
|00001c70| 72 6f 6c 6c 65 72 20 50 | 72 65 64 2c 20 78 50 61 |roller P|red, xPa|
|00001c80| 77 6e 20 50 72 65 64 50 | 61 77 6e 29 0d 0a 7b 0d |wn PredP|awn)..{.|
|00001c90| 0a 09 6c 6f 63 61 6c 20 | 4e 61 76 69 67 61 74 69 |..local |Navigati|
|00001ca0| 6f 6e 50 6f 69 6e 74 20 | 4e 3b 0d 0a 09 6c 6f 63 |onPoint |N;...loc|
|00001cb0| 61 6c 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |al Playe|rControl|
|00001cc0| 6c 65 72 20 70 63 50 72 | 65 64 3b 0d 0a 0d 0a 09 |ler pcPr|ed;.....|
|00001cd0| 4e 20 3d 20 46 69 6e 64 | 50 6c 61 79 65 72 53 74 |N = Find|PlayerSt|
|00001ce0| 61 72 74 28 50 72 65 64 | 29 3b 0d 0a 0d 0a 09 69 |art(Pred|);.....i|
|00001cf0| 66 28 4e 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 09 7b |f(N == N|one)...{|
|00001d00| 0d 0a 09 09 4c 6f 67 28 | 22 43 6f 75 6c 64 20 6e |....Log(|"Could n|
|00001d10| 6f 74 20 74 65 6c 65 70 | 6f 72 74 20 4d 75 74 61 |ot telep|ort Muta|
|00001d20| 6e 74 22 29 3b 0d 0a 09 | 09 72 65 74 75 72 6e 3b |nt");...|.return;|
|00001d30| 0d 0a 09 7d 0d 0a 0d 0a | 09 50 72 65 64 2e 53 65 |...}....|.Pred.Se|
|00001d40| 74 4c 6f 63 61 74 69 6f | 6e 28 4e 2e 4c 6f 63 61 |tLocatio|n(N.Loca|
|00001d50| 74 69 6f 6e 29 3b 0d 0a | 09 50 72 65 64 2e 53 65 |tion);..|.Pred.Se|
|00001d60| 74 52 6f 74 61 74 69 6f | 6e 28 4e 2e 52 6f 74 61 |tRotatio|n(N.Rota|
|00001d70| 74 69 6f 6e 29 3b 0d 0a | 0d 0a 09 50 72 65 64 50 |tion);..|...PredP|
|00001d80| 61 77 6e 2e 53 65 74 4c | 6f 63 61 74 69 6f 6e 28 |awn.SetL|ocation(|
|00001d90| 4e 2e 4c 6f 63 61 74 69 | 6f 6e 29 3b 0d 0a 09 50 |N.Locati|on);...P|
|00001da0| 72 65 64 50 61 77 6e 2e | 53 65 74 52 6f 74 61 74 |redPawn.|SetRotat|
|00001db0| 69 6f 6e 28 4e 2e 52 6f | 74 61 74 69 6f 6e 29 3b |ion(N.Ro|tation);|
|00001dc0| 0d 0a 09 50 72 65 64 50 | 61 77 6e 2e 56 65 6c 6f |...PredP|awn.Velo|
|00001dd0| 63 69 74 79 20 3d 20 76 | 65 63 74 28 30 2c 30 2c |city = v|ect(0,0,|
|00001de0| 30 29 3b 0d 0a 0d 0a 09 | 50 72 65 64 2e 43 6c 69 |0);.....|Pred.Cli|
|00001df0| 65 6e 74 53 65 74 4c 6f | 63 61 74 69 6f 6e 28 4e |entSetLo|cation(N|
|00001e00| 2e 4c 6f 63 61 74 69 6f | 6e 2c 20 4e 2e 52 6f 74 |.Locatio|n, N.Rot|
|00001e10| 61 74 69 6f 6e 29 3b 0d | 0a 0d 0a 09 2f 2f 20 46 |ation);.|....// F|
|00001e20| 6c 61 73 68 20 63 6c 69 | 65 6e 74 73 20 73 63 72 |lash cli|ents scr|
|00001e30| 65 65 6e 20 70 75 72 70 | 6c 65 0d 0a 09 70 63 50 |een purp|le...pcP|
|00001e40| 72 65 64 20 3d 20 50 6c | 61 79 65 72 43 6f 6e 74 |red = Pl|ayerCont|
|00001e50| 72 6f 6c 6c 65 72 28 50 | 72 65 64 29 3b 0d 0a 09 |roller(P|red);...|
|00001e60| 69 66 28 70 63 50 72 65 | 64 20 21 3d 20 4e 6f 6e |if(pcPre|d != Non|
|00001e70| 65 29 0d 0a 09 09 70 63 | 50 72 65 64 2e 43 6c 69 |e)....pc|Pred.Cli|
|00001e80| 65 6e 74 46 6c 61 73 68 | 28 30 2e 31 2c 20 76 65 |entFlash|(0.1, ve|
|00001e90| 63 74 28 37 30 30 2c 30 | 2c 37 30 30 29 29 3b 0d |ct(700,0|,700));.|
|00001ea0| 0a 7d 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |.}......|function|
|00001eb0| 20 45 71 75 69 70 4d 75 | 74 61 6e 74 28 78 50 61 | EquipMu|tant(xPa|
|00001ec0| 77 6e 20 50 72 65 64 50 | 61 77 6e 29 0d 0a 7b 0d |wn PredP|awn)..{.|
|00001ed0| 0a 09 6c 6f 63 61 6c 20 | 49 6e 76 65 6e 74 6f 72 |..local |Inventor|
|00001ee0| 79 20 49 6e 76 3b 0d 0a | 0d 0a 09 50 72 65 64 50 |y Inv;..|...PredP|
|00001ef0| 61 77 6e 2e 43 72 65 61 | 74 65 49 6e 76 65 6e 74 |awn.Crea|teInvent|
|00001f00| 6f 72 79 28 22 58 57 65 | 61 70 6f 6e 73 2e 42 69 |ory("XWe|apons.Bi|
|00001f10| 6f 52 69 66 6c 65 22 29 | 3b 0d 0a 09 50 72 65 64 |oRifle")|;...Pred|
|00001f20| 50 61 77 6e 2e 43 72 65 | 61 74 65 49 6e 76 65 6e |Pawn.Cre|ateInven|
|00001f30| 74 6f 72 79 28 22 58 57 | 65 61 70 6f 6e 73 2e 46 |tory("XW|eapons.F|
|00001f40| 6c 61 6b 43 61 6e 6e 6f | 6e 22 29 3b 0d 0a 09 50 |lakCanno|n");...P|
|00001f50| 72 65 64 50 61 77 6e 2e | 43 72 65 61 74 65 49 6e |redPawn.|CreateIn|
|00001f60| 76 65 6e 74 6f 72 79 28 | 22 58 57 65 61 70 6f 6e |ventory(|"XWeapon|
|00001f70| 73 2e 4c 69 6e 6b 47 75 | 6e 22 29 3b 0d 0a 09 50 |s.LinkGu|n");...P|
|00001f80| 72 65 64 50 61 77 6e 2e | 43 72 65 61 74 65 49 6e |redPawn.|CreateIn|
|00001f90| 76 65 6e 74 6f 72 79 28 | 22 58 57 65 61 70 6f 6e |ventory(|"XWeapon|
|00001fa0| 73 2e 4d 69 6e 69 67 75 | 6e 22 29 3b 0d 0a 09 50 |s.Minigu|n");...P|
|00001fb0| 72 65 64 50 61 77 6e 2e | 43 72 65 61 74 65 49 6e |redPawn.|CreateIn|
|00001fc0| 76 65 6e 74 6f 72 79 28 | 22 58 57 65 61 70 6f 6e |ventory(|"XWeapon|
|00001fd0| 73 2e 52 6f 63 6b 65 74 | 4c 61 75 6e 63 68 65 72 |s.Rocket|Launcher|
|00001fe0| 22 29 3b 0d 0a 09 50 72 | 65 64 50 61 77 6e 2e 43 |");...Pr|edPawn.C|
|00001ff0| 72 65 61 74 65 49 6e 76 | 65 6e 74 6f 72 79 28 22 |reateInv|entory("|
|00002000| 58 57 65 61 70 6f 6e 73 | 2e 53 68 6f 63 6b 52 69 |XWeapons|.ShockRi|
|00002010| 66 6c 65 22 29 3b 0d 0a | 09 50 72 65 64 50 61 77 |fle");..|.PredPaw|
|00002020| 6e 2e 43 72 65 61 74 65 | 49 6e 76 65 6e 74 6f 72 |n.Create|Inventor|
|00002030| 79 28 22 58 57 65 61 70 | 6f 6e 73 2e 53 6e 69 70 |y("XWeap|ons.Snip|
|00002040| 65 72 52 69 66 6c 65 22 | 29 3b 0d 0a 0d 0a 09 66 |erRifle"|);.....f|
|00002050| 6f 72 28 20 49 6e 76 3d | 50 72 65 64 50 61 77 6e |or( Inv=|PredPawn|
|00002060| 2e 49 6e 76 65 6e 74 6f | 72 79 3b 20 49 6e 76 21 |.Invento|ry; Inv!|
|00002070| 3d 4e 6f 6e 65 3b 20 49 | 6e 76 3d 49 6e 76 2e 49 |=None; I|nv=Inv.I|
|00002080| 6e 76 65 6e 74 6f 72 79 | 20 29 0d 0a 09 09 69 66 |nventory| )....if|
|00002090| 20 28 20 57 65 61 70 6f | 6e 28 49 6e 76 29 20 21 | ( Weapo|n(Inv) !|
|000020a0| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 57 65 61 |= None )|.....Wea|
|000020b0| 70 6f 6e 28 49 6e 76 29 | 2e 53 75 70 65 72 4d 61 |pon(Inv)|.SuperMa|
|000020c0| 78 4f 75 74 41 6d 6d 6f | 28 29 3b 0d 0a 7d 0d 0a |xOutAmmo|();..}..|
|000020d0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 65 74 4d 75 |..functi|on SetMu|
|000020e0| 74 61 6e 74 28 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |tant(Con|troller |
|000020f0| 50 72 65 64 2c 20 78 50 | 61 77 6e 20 50 72 65 64 |Pred, xP|awn Pred|
|00002100| 50 61 77 6e 2c 20 62 6f | 6f 6c 20 69 73 50 72 65 |Pawn, bo|ol isPre|
|00002110| 64 29 0d 0a 7b 0d 0a 20 | 20 20 20 6c 6f 63 61 6c |d)..{.. | local|
|00002120| 20 49 6e 76 65 6e 74 6f | 72 79 20 49 6e 76 3b 0d | Invento|ry Inv;.|
|00002130| 0a 09 6c 6f 63 61 6c 20 | 55 6e 72 65 61 6c 50 6c |..local |UnrealPl|
|00002140| 61 79 65 72 20 75 50 72 | 65 64 3b 0d 0a 0d 0a 09 |ayer uPr|ed;.....|
|00002150| 69 66 28 69 73 50 72 65 | 64 29 0d 0a 09 7b 0d 0a |if(isPre|d)...{..|
|00002160| 09 09 2f 2f 20 49 6e 76 | 69 73 69 62 69 6c 69 74 |..// Inv|isibilit|
|00002170| 79 0d 0a 09 09 50 72 65 | 64 50 61 77 6e 2e 53 65 |y....Pre|dPawn.Se|
|00002180| 74 49 6e 76 69 73 69 62 | 69 6c 69 74 79 28 32 30 |tInvisib|ility(20|
|00002190| 30 30 30 30 30 2e 30 29 | 3b 0d 0a 0d 0a 09 09 69 |00000.0)|;......i|
|000021a0| 66 28 21 50 72 65 64 50 | 61 77 6e 2e 49 73 41 28 |f(!PredP|awn.IsA(|
|000021b0| 27 78 4d 75 74 61 6e 74 | 50 61 77 6e 27 29 29 0d |'xMutant|Pawn')).|
|000021c0| 0a 09 09 09 4c 6f 67 28 | 22 4e 4f 4e 20 4d 55 54 |....Log(|"NON MUT|
|000021d0| 41 4e 54 20 50 41 57 4e | 22 29 3b 0d 0a 0d 0a 09 |ANT PAWN|");.....|
|000021e0| 09 2f 2f 20 54 68 69 73 | 20 77 69 6c 6c 20 74 72 |.// This| will tr|
|000021f0| 69 67 67 65 72 20 67 6c | 6f 77 79 20 65 66 66 65 |igger gl|owy effe|
|00002200| 63 74 0d 0a 09 09 2f 2f | 78 4d 75 74 61 6e 74 50 |ct....//|xMutantP|
|00002210| 61 77 6e 28 50 72 65 64 | 50 61 77 6e 29 2e 62 4d |awn(Pred|Pawn).bM|
|00002220| 75 74 61 6e 74 45 66 66 | 65 63 74 20 3d 20 74 72 |utantEff|ect = tr|
|00002230| 75 65 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 41 67 69 6c |ue;.....|.// Agil|
|00002240| 69 74 79 20 63 6f 6d 62 | 6f 0d 0a 09 09 50 72 65 |ity comb|o....Pre|
|00002250| 64 50 61 77 6e 2e 41 69 | 72 43 6f 6e 74 72 6f 6c |dPawn.Ai|rControl|
|00002260| 20 3d 20 50 72 65 64 50 | 61 77 6e 2e 44 65 66 61 | = PredP|awn.Defa|
|00002270| 75 6c 74 2e 41 69 72 43 | 6f 6e 74 72 6f 6c 20 2a |ult.AirC|ontrol *|
|00002280| 20 31 2e 35 3b 0d 0a 09 | 09 50 72 65 64 50 61 77 | 1.5;...|.PredPaw|
|00002290| 6e 2e 47 72 6f 75 6e 64 | 53 70 65 65 64 20 3d 20 |n.Ground|Speed = |
|000022a0| 50 72 65 64 50 61 77 6e | 2e 44 65 66 61 75 6c 74 |PredPawn|.Default|
|000022b0| 2e 47 72 6f 75 6e 64 53 | 70 65 65 64 20 2a 20 31 |.GroundS|peed * 1|
|000022c0| 2e 35 3b 0d 0a 09 09 50 | 72 65 64 50 61 77 6e 2e |.5;....P|redPawn.|
|000022d0| 57 61 74 65 72 53 70 65 | 65 64 20 3d 20 50 72 65 |WaterSpe|ed = Pre|
|000022e0| 64 50 61 77 6e 2e 44 65 | 66 61 75 6c 74 2e 57 61 |dPawn.De|fault.Wa|
|000022f0| 74 65 72 53 70 65 65 64 | 20 2a 20 31 2e 35 3b 0d |terSpeed| * 1.5;.|
|00002300| 0a 09 09 50 72 65 64 50 | 61 77 6e 2e 41 69 72 53 |...PredP|awn.AirS|
|00002310| 70 65 65 64 20 3d 20 50 | 72 65 64 50 61 77 6e 2e |peed = P|redPawn.|
|00002320| 44 65 66 61 75 6c 74 2e | 41 69 72 53 70 65 65 64 |Default.|AirSpeed|
|00002330| 20 2a 20 31 2e 35 3b 0d | 0a 09 09 50 72 65 64 50 | * 1.5;.|...PredP|
|00002340| 61 77 6e 2e 4a 75 6d 70 | 5a 20 3d 20 50 72 65 64 |awn.Jump|Z = Pred|
|00002350| 50 61 77 6e 2e 44 65 66 | 61 75 6c 74 2e 4a 75 6d |Pawn.Def|ault.Jum|
|00002360| 70 5a 20 2a 20 31 2e 35 | 3b 0d 0a 0d 0a 09 09 2f |pZ * 1.5|;....../|
|00002370| 2f 20 47 69 76 65 20 74 | 68 65 20 6d 75 74 61 6e |/ Give t|he mutan|
|00002380| 74 20 73 6f 6d 65 74 68 | 69 6e 67 20 74 6f 20 73 |t someth|ing to s|
|00002390| 74 61 72 74 20 77 69 74 | 68 2e 0d 0a 09 09 50 72 |tart wit|h.....Pr|
|000023a0| 65 64 50 61 77 6e 2e 47 | 69 76 65 48 65 61 6c 74 |edPawn.G|iveHealt|
|000023b0| 68 28 31 35 30 2c 20 31 | 35 30 29 3b 0d 0a 09 09 |h(150, 1|50);....|
|000023c0| 50 72 65 64 50 61 77 6e | 2e 53 68 69 65 6c 64 53 |PredPawn|.ShieldS|
|000023d0| 74 72 65 6e 67 74 68 20 | 3d 20 31 30 30 3b 0d 0a |trength |= 100;..|
|000023e0| 0d 0a 09 09 2f 2f 20 47 | 69 76 65 20 74 68 65 20 |....// G|ive the |
|000023f0| 6d 75 74 61 6e 74 20 77 | 65 61 70 6f 6e 73 0d 0a |mutant w|eapons..|
|00002400| 09 09 45 71 75 69 70 4d | 75 74 61 6e 74 28 50 72 |..EquipM|utant(Pr|
|00002410| 65 64 50 61 77 6e 29 3b | 0d 0a 0d 0a 09 09 2f 2f |edPawn);|......//|
|00002420| 20 44 6f 6e 74 20 6c 65 | 74 20 4d 75 74 61 6e 74 | Dont le|t Mutant|
|00002430| 20 75 73 65 20 6f 72 20 | 70 69 63 6b 75 70 20 41 | use or |pickup A|
|00002440| 64 72 65 6e 61 6c 69 6e | 65 2e 0d 0a 09 09 2f 2f |drenalin|e.....//|
|00002450| 20 41 6c 73 6f 2c 20 6d | 61 6b 65 20 73 75 72 65 | Also, m|ake sure|
|00002460| 20 74 68 65 79 20 68 61 | 76 65 20 61 74 20 6d 6f | they ha|ve at mo|
|00002470| 73 74 20 39 39 20 61 64 | 72 65 6e 61 6c 69 6e 65 |st 99 ad|renaline|
|00002480| 2c 20 73 6f 20 74 68 65 | 79 20 63 61 6e 27 74 20 |, so the|y can't |
|00002490| 70 65 72 66 6f 72 6d 20 | 63 6f 6d 62 6f 73 2e 0d |perform |combos..|
|000024a0| 0a 09 09 50 72 65 64 2e | 62 41 64 72 65 6e 61 6c |...Pred.|bAdrenal|
|000024b0| 69 6e 65 45 6e 61 62 6c | 65 64 20 3d 20 66 61 6c |ineEnabl|ed = fal|
|000024c0| 73 65 3b 0d 0a 09 09 50 | 72 65 64 2e 41 64 72 65 |se;....P|red.Adre|
|000024d0| 6e 61 6c 69 6e 65 20 3d | 20 46 4d 69 6e 28 39 39 |naline =| FMin(99|
|000024e0| 2c 20 50 72 65 64 2e 41 | 64 72 65 6e 61 6c 69 6e |, Pred.A|drenalin|
|000024f0| 65 29 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 54 65 6c 65 |e);.....|.// Tele|
|00002500| 70 6f 72 74 20 6e 65 77 | 20 4d 75 74 61 6e 74 20 |port new| Mutant |
|00002510| 74 6f 20 73 6f 6d 65 77 | 68 65 72 65 20 69 6e 20 |to somew|here in |
|00002520| 74 68 65 20 6c 65 76 65 | 6c 2e 0d 0a 09 09 52 61 |the leve|l.....Ra|
|00002530| 6e 64 6f 6d 54 65 6c 65 | 70 6f 72 74 4d 75 74 61 |ndomTele|portMuta|
|00002540| 6e 74 28 50 72 65 64 2c | 20 50 72 65 64 50 61 77 |nt(Pred,| PredPaw|
|00002550| 6e 29 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 54 72 69 70 |n);.....|.// Trip|
|00002560| 6c 65 20 6a 75 6d 70 0d | 0a 09 09 2f 2f 50 72 65 |le jump.|...//Pre|
|00002570| 64 50 61 77 6e 2e 4d 61 | 78 4d 75 6c 74 69 4a 75 |dPawn.Ma|xMultiJu|
|00002580| 6d 70 20 3d 20 32 3b 0d | 0a 09 09 2f 2f 50 72 65 |mp = 2;.|...//Pre|
|00002590| 64 50 61 77 6e 2e 4d 75 | 6c 74 69 4a 75 6d 70 42 |dPawn.Mu|ltiJumpB|
|000025a0| 6f 6f 73 74 20 3d 20 35 | 30 3b 0d 0a 0d 0a 09 09 |oost = 5|0;......|
|000025b0| 2f 2f 20 52 65 73 65 74 | 20 72 65 67 65 6e 20 63 |// Reset| regen c|
|000025c0| 6c 6f 63 6b 0d 0a 09 09 | 52 65 67 65 6e 54 69 6d |lock....|RegenTim|
|000025d0| 65 43 61 72 72 79 4f 76 | 65 72 20 3d 20 30 2e 30 |eCarryOv|er = 0.0|
|000025e0| 3b 0d 0a 0d 0a 09 09 2f | 2f 20 53 65 74 20 42 65 |;....../|/ Set Be|
|000025f0| 72 73 65 72 6b 20 6f 6e | 0d 0a 09 09 69 66 20 28 |rserk on|....if (|
|00002600| 50 72 65 64 50 61 77 6e | 2e 57 65 61 70 6f 6e 20 |PredPawn|.Weapon |
|00002610| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 09 50 72 65 |!= None)|.....Pre|
|00002620| 64 50 61 77 6e 2e 57 65 | 61 70 6f 6e 2e 53 74 61 |dPawn.We|apon.Sta|
|00002630| 72 74 42 65 72 73 65 72 | 6b 28 29 3b 0d 0a 0d 0a |rtBerser|k();....|
|00002640| 09 09 50 72 65 64 50 61 | 77 6e 2e 62 42 65 72 73 |..PredPa|wn.bBers|
|00002650| 65 72 6b 20 3d 20 74 72 | 75 65 3b 0d 0a 09 7d 0d |erk = tr|ue;...}.|
|00002660| 0a 09 65 6c 73 65 0d 0a | 09 7b 0d 0a 09 09 2f 2f |..else..|.{....//|
|00002670| 20 54 75 72 6e 20 69 6e | 76 69 73 69 62 6c 65 20 | Turn in|visible |
|00002680| 6f 66 66 0d 0a 09 09 50 | 72 65 64 50 61 77 6e 2e |off....P|redPawn.|
|00002690| 53 65 74 49 6e 76 69 73 | 69 62 69 6c 69 74 79 28 |SetInvis|ibility(|
|000026a0| 30 2e 30 29 3b 0d 0a 0d | 0a 09 09 2f 2f 20 54 75 |0.0);...|...// Tu|
|000026b0| 72 6e 20 6f 66 66 20 67 | 6c 6f 77 79 20 65 66 66 |rn off g|lowy eff|
|000026c0| 65 63 74 0d 0a 09 09 2f | 2f 78 4d 75 74 61 6e 74 |ect..../|/xMutant|
|000026d0| 50 61 77 6e 28 50 72 65 | 64 50 61 77 6e 29 2e 62 |Pawn(Pre|dPawn).b|
|000026e0| 4d 75 74 61 6e 74 45 66 | 66 65 63 74 20 3d 20 66 |MutantEf|fect = f|
|000026f0| 61 6c 73 65 3b 0d 0a 0d | 0a 09 09 2f 2f 50 72 65 |alse;...|...//Pre|
|00002700| 64 50 61 77 6e 2e 49 6e | 76 69 73 4d 61 74 65 72 |dPawn.In|visMater|
|00002710| 69 61 6c 20 3d 20 63 6c | 61 73 73 27 78 70 61 77 |ial = cl|ass'xpaw|
|00002720| 6e 27 2e 64 65 66 61 75 | 6c 74 2e 49 6e 76 69 73 |n'.defau|lt.Invis|
|00002730| 4d 61 74 65 72 69 61 6c | 3b 0d 0a 0d 0a 09 09 2f |Material|;....../|
|00002740| 2f 20 54 75 72 6e 20 6f | 66 66 20 61 67 69 6c 69 |/ Turn o|ff agili|
|00002750| 74 79 0d 0a 09 20 20 20 | 20 4c 65 76 65 6c 2e 47 |ty... | Level.G|
|00002760| 61 6d 65 2e 53 65 74 50 | 6c 61 79 65 72 44 65 66 |ame.SetP|layerDef|
|00002770| 61 75 6c 74 73 28 50 72 | 65 64 50 61 77 6e 29 3b |aults(Pr|edPawn);|
|00002780| 0d 0a 0d 0a 09 09 2f 2f | 20 42 61 63 6b 20 74 6f |......//| Back to|
|00002790| 20 6a 75 73 74 20 64 6f | 75 62 6c 65 20 6a 75 6d | just do|uble jum|
|000027a0| 70 0d 0a 09 09 2f 2f 50 | 72 65 64 50 61 77 6e 2e |p....//P|redPawn.|
|000027b0| 4d 61 78 4d 75 6c 74 69 | 4a 75 6d 70 20 3d 20 31 |MaxMulti|Jump = 1|
|000027c0| 3b 0d 0a 09 09 2f 2f 50 | 72 65 64 50 61 77 6e 2e |;....//P|redPawn.|
|000027d0| 4d 75 6c 74 69 4a 75 6d | 70 42 6f 6f 73 74 20 3d |MultiJum|pBoost =|
|000027e0| 20 32 35 3b 0d 0a 0d 0a | 09 09 2f 2f 20 52 65 2d | 25;....|..// Re-|
|000027f0| 65 6e 61 62 6c 65 20 61 | 64 72 65 6e 61 6c 69 6e |enable a|drenalin|
|00002800| 65 0d 0a 09 09 50 72 65 | 64 2e 62 41 64 72 65 6e |e....Pre|d.bAdren|
|00002810| 61 6c 69 6e 65 45 6e 61 | 62 6c 65 64 20 3d 20 74 |alineEna|bled = t|
|00002820| 72 75 65 3b 0d 0a 0d 0a | 09 09 2f 2f 20 54 75 72 |rue;....|..// Tur|
|00002830| 6e 20 42 65 72 73 65 72 | 6b 20 6f 66 66 0d 0a 09 |n Berser|k off...|
|00002840| 09 66 6f 72 28 20 49 6e | 76 3d 50 72 65 64 50 61 |.for( In|v=PredPa|
|00002850| 77 6e 2e 49 6e 76 65 6e | 74 6f 72 79 3b 20 49 6e |wn.Inven|tory; In|
|00002860| 76 21 3d 4e 6f 6e 65 3b | 20 49 6e 76 3d 49 6e 76 |v!=None;| Inv=Inv|
|00002870| 2e 49 6e 76 65 6e 74 6f | 72 79 20 29 0d 0a 09 09 |.Invento|ry )....|
|00002880| 7b 0d 0a 09 09 09 69 66 | 20 28 49 6e 76 2e 49 73 |{.....if| (Inv.Is|
|00002890| 41 28 27 57 65 61 70 6f | 6e 27 29 29 0d 0a 09 09 |A('Weapo|n'))....|
|000028a0| 09 09 57 65 61 70 6f 6e | 28 49 6e 76 29 2e 53 74 |..Weapon|(Inv).St|
|000028b0| 6f 70 42 65 72 73 65 72 | 6b 28 29 3b 0d 0a 09 09 |opBerser|k();....|
|000028c0| 7d 0d 0a 0d 0a 09 09 50 | 72 65 64 50 61 77 6e 2e |}......P|redPawn.|
|000028d0| 62 42 65 72 73 65 72 6b | 20 3d 20 66 61 6c 73 65 |bBerserk| = false|
|000028e0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 2f 2f 20 52 65 2d |;...}...|..// Re-|
|000028f0| 7a 65 72 6f 20 6d 75 6c | 74 69 20 6b 69 6c 6c 20 |zero mul|ti kill |
|00002900| 6c 65 76 65 6c 20 77 68 | 65 6e 65 76 65 72 20 79 |level wh|enever y|
|00002910| 6f 75 20 74 72 61 6e 73 | 66 6f 72 6d 0d 0a 09 75 |ou trans|form...u|
|00002920| 50 72 65 64 20 3d 20 55 | 6e 72 65 61 6c 50 6c 61 |Pred = U|nrealPla|
|00002930| 79 65 72 28 50 72 65 64 | 29 3b 0d 0a 09 69 66 28 |yer(Pred|);...if(|
|00002940| 75 50 72 65 64 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |uPred !=| None)..|
|00002950| 09 09 75 50 72 65 64 2e | 4d 75 6c 74 69 4b 69 6c |..uPred.|MultiKil|
|00002960| 6c 4c 65 76 65 6c 20 3d | 20 30 3b 0d 0a 7d 0d 0a |lLevel =| 0;..}..|
|00002970| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 4e 6f 74 69 66 |..functi|on Notif|
|00002980| 79 4b 69 6c 6c 65 64 28 | 43 6f 6e 74 72 6f 6c 6c |yKilled(|Controll|
|00002990| 65 72 20 4b 69 6c 6c 65 | 72 2c 20 43 6f 6e 74 72 |er Kille|r, Contr|
|000029a0| 6f 6c 6c 65 72 20 4f 74 | 68 65 72 2c 20 50 61 77 |oller Ot|her, Paw|
|000029b0| 6e 20 4f 74 68 65 72 50 | 61 77 6e 29 0d 0a 7b 0d |n OtherP|awn)..{.|
|000029c0| 0a 09 6c 6f 63 61 6c 20 | 78 50 61 77 6e 20 78 4b |..local |xPawn xK|
|000029d0| 69 6c 6c 65 72 2c 20 78 | 4f 74 68 65 72 3b 0d 0a |iller, x|Other;..|
|000029e0| 0d 0a 09 53 75 70 65 72 | 2e 4e 6f 74 69 66 79 4b |...Super|.NotifyK|
|000029f0| 69 6c 6c 65 64 28 4b 69 | 6c 6c 65 72 2c 20 4f 74 |illed(Ki|ller, Ot|
|00002a00| 68 65 72 2c 20 4f 74 68 | 65 72 50 61 77 6e 29 3b |her, Oth|erPawn);|
|00002a10| 0d 0a 0d 0a 09 2f 2f 20 | 49 66 20 6e 6f 2d 6f 6e |.....// |If no-on|
|00002a20| 65 20 64 69 65 64 20 2d | 20 6e 6f 20 6e 6f 74 68 |e died -| no noth|
|00002a30| 69 6e 67 0d 0a 09 69 66 | 28 4f 74 68 65 72 20 3d |ing...if|(Other =|
|00002a40| 3d 20 4e 6f 6e 65 29 0d | 0a 09 09 72 65 74 75 72 |= None).|...retur|
|00002a50| 6e 3b 0d 0a 0d 0a 09 2f | 2f 20 47 65 74 20 78 50 |n;...../|/ Get xP|
|00002a60| 61 77 6e 73 20 69 6e 76 | 6f 6c 76 65 64 0d 0a 09 |awns inv|olved...|
|00002a70| 69 66 28 4f 74 68 65 72 | 2e 50 61 77 6e 20 21 3d |if(Other|.Pawn !=|
|00002a80| 20 4e 6f 6e 65 29 0d 0a | 09 09 78 4f 74 68 65 72 | None)..|..xOther|
|00002a90| 20 3d 20 78 50 61 77 6e | 28 4f 74 68 65 72 2e 50 | = xPawn|(Other.P|
|00002aa0| 61 77 6e 29 3b 0d 0a 0d | 0a 09 69 66 28 4b 69 6c |awn);...|..if(Kil|
|00002ab0| 6c 65 72 20 21 3d 20 4e | 6f 6e 65 20 26 26 20 4b |ler != N|one && K|
|00002ac0| 69 6c 6c 65 72 2e 50 61 | 77 6e 20 21 3d 20 4e 6f |iller.Pa|wn != No|
|00002ad0| 6e 65 29 0d 0a 09 09 78 | 4b 69 6c 6c 65 72 20 3d |ne)....x|Killer =|
|00002ae0| 20 78 50 61 77 6e 28 4b | 69 6c 6c 65 72 2e 50 61 | xPawn(K|iller.Pa|
|00002af0| 77 6e 29 3b 0d 0a 0d 0a | 09 2f 2f 20 49 66 20 74 |wn);....|.// If t|
|00002b00| 68 65 72 65 20 77 61 73 | 20 6e 6f 20 4d 75 74 61 |here was| no Muta|
|00002b10| 6e 74 20 28 69 65 20 77 | 65 72 65 20 69 6e 20 46 |nt (ie w|ere in F|
|00002b20| 46 41 29 0d 0a 09 69 66 | 28 20 43 75 72 72 65 6e |FA)...if|( Curren|
|00002b30| 74 4d 75 74 61 6e 74 20 | 3d 3d 20 4e 6f 6e 65 20 |tMutant |== None |
|00002b40| 29 0d 0a 09 7b 0d 0a 09 | 09 2f 2f 20 41 73 20 6c |)...{...|.// As l|
|00002b50| 6f 6e 67 20 61 73 20 74 | 68 69 73 20 77 61 73 6e |ong as t|his wasn|
|00002b60| 27 74 20 61 20 73 75 69 | 63 69 64 65 2c 20 61 6e |'t a sui|cide, an|
|00002b70| 64 20 74 68 65 20 6b 69 | 6c 6c 65 72 20 69 73 20 |d the ki|ller is |
|00002b80| 73 74 69 6c 6c 20 61 6c | 69 76 65 2c 20 6d 61 6b |still al|ive, mak|
|00002b90| 65 20 74 68 65 20 6b 69 | 6c 6c 65 72 20 74 68 65 |e the ki|ller the|
|00002ba0| 20 4d 75 74 61 6e 74 2e | 0d 0a 09 09 69 66 28 4b | Mutant.|....if(K|
|00002bb0| 69 6c 6c 65 72 20 21 3d | 20 4e 6f 6e 65 20 26 26 |iller !=| None &&|
|00002bc0| 20 4b 69 6c 6c 65 72 20 | 21 3d 20 4f 74 68 65 72 | Killer |!= Other|
|00002bd0| 20 26 26 20 78 4b 69 6c | 6c 65 72 20 21 3d 20 4e | && xKil|ler != N|
|00002be0| 6f 6e 65 20 26 26 20 78 | 4b 69 6c 6c 65 72 2e 48 |one && x|Killer.H|
|00002bf0| 65 61 6c 74 68 20 3e 20 | 30 29 0d 0a 09 09 7b 0d |ealth > |0)....{.|
|00002c00| 0a 09 09 09 43 75 72 72 | 65 6e 74 4d 75 74 61 6e |....Curr|entMutan|
|00002c10| 74 20 3d 20 4b 69 6c 6c | 65 72 3b 0d 0a 09 09 09 |t = Kill|er;.....|
|00002c20| 4d 75 74 61 6e 74 47 61 | 6d 65 52 65 70 6c 69 63 |MutantGa|meReplic|
|00002c30| 61 74 69 6f 6e 49 6e 66 | 6f 28 47 61 6d 65 52 65 |ationInf|o(GameRe|
|00002c40| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 2e 4d |plicatio|nInfo).M|
|00002c50| 75 74 61 6e 74 50 52 49 | 20 3d 20 43 75 72 72 65 |utantPRI| = Curre|
|00002c60| 6e 74 4d 75 74 61 6e 74 | 2e 50 6c 61 79 65 72 52 |ntMutant|.PlayerR|
|00002c70| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 3b 0d |eplicati|onInfo;.|
|00002c80| 0a 09 09 09 53 65 74 4d | 75 74 61 6e 74 28 4b 69 |....SetM|utant(Ki|
|00002c90| 6c 6c 65 72 2c 20 78 4b | 69 6c 6c 65 72 2c 20 74 |ller, xK|iller, t|
|00002ca0| 72 75 65 29 3b 0d 0a 0d | 0a 09 09 09 53 65 6e 64 |rue);...|....Send|
|00002cb0| 41 6c 6c 43 75 72 72 65 | 6e 74 4d 75 74 61 6e 74 |AllCurre|ntMutant|
|00002cc0| 4d 65 73 73 61 67 65 28 | 29 3b 0d 0a 09 09 7d 0d |Message(|);....}.|
|00002cd0| 0a 09 7d 0d 0a 09 2f 2f | 20 49 66 20 69 74 20 77 |..}...//| If it w|
|00002ce0| 61 73 20 74 68 65 20 4d | 75 74 61 6e 74 20 74 68 |as the M|utant th|
|00002cf0| 61 74 20 77 61 73 20 6b | 69 6c 6c 65 64 2c 20 64 |at was k|illed, d|
|00002d00| 65 63 69 64 65 20 77 68 | 61 74 20 74 6f 20 64 6f |ecide wh|at to do|
|00002d10| 2e 0d 0a 09 65 6c 73 65 | 20 69 66 28 20 4f 74 68 |....else| if( Oth|
|00002d20| 65 72 20 3d 3d 20 43 75 | 72 72 65 6e 74 4d 75 74 |er == Cu|rrentMut|
|00002d30| 61 6e 74 20 29 0d 0a 09 | 7b 0d 0a 09 09 2f 2f 20 |ant )...|{....// |
|00002d40| 49 66 20 74 68 65 20 4d | 75 74 61 6e 74 20 6b 69 |If the M|utant ki|
|00002d50| 6c 6c 65 64 20 74 68 65 | 6d 73 65 6c 76 65 73 20 |lled the|mselves |
|00002d60| 6f 72 20 73 75 69 63 69 | 64 65 64 2c 20 65 6e 74 |or suici|ded, ent|
|00002d70| 65 72 20 46 46 41 20 61 | 67 61 69 6e 0d 0a 09 09 |er FFA a|gain....|
|00002d80| 69 66 28 20 4b 69 6c 6c | 65 72 20 3d 3d 20 4e 6f |if( Kill|er == No|
|00002d90| 6e 65 20 7c 7c 20 4b 69 | 6c 6c 65 72 20 3d 3d 20 |ne || Ki|ller == |
|00002da0| 4f 74 68 65 72 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |Other ).|...{....|
|00002db0| 09 43 75 72 72 65 6e 74 | 4d 75 74 61 6e 74 20 3d |.Current|Mutant =|
|00002dc0| 20 4e 6f 6e 65 3b 0d 0a | 09 09 09 4d 75 74 61 6e | None;..|...Mutan|
|00002dd0| 74 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e |tGameRep|lication|
|00002de0| 49 6e 66 6f 28 47 61 6d | 65 52 65 70 6c 69 63 61 |Info(Gam|eReplica|
|00002df0| 74 69 6f 6e 49 6e 66 6f | 29 2e 4d 75 74 61 6e 74 |tionInfo|).Mutant|
|00002e00| 50 52 49 20 3d 20 4e 6f | 6e 65 3b 0d 0a 09 09 09 |PRI = No|ne;.....|
|00002e10| 53 65 74 4d 75 74 61 6e | 74 28 4f 74 68 65 72 2c |SetMutan|t(Other,|
|00002e20| 20 78 4f 74 68 65 72 2c | 20 66 61 6c 73 65 29 3b | xOther,| false);|
|00002e30| 0d 0a 0d 0a 09 09 09 53 | 65 6e 64 41 6c 6c 43 75 |.......S|endAllCu|
|00002e40| 72 72 65 6e 74 4d 75 74 | 61 6e 74 4d 65 73 73 61 |rrentMut|antMessa|
|00002e50| 67 65 28 29 3b 0d 0a 09 | 09 7d 0d 0a 09 09 65 6c |ge();...|.}....el|
|00002e60| 73 65 20 69 66 28 78 4b | 69 6c 6c 65 72 20 21 3d |se if(xK|iller !=|
|00002e70| 20 4e 6f 6e 65 20 26 26 | 20 78 4b 69 6c 6c 65 72 | None &&| xKiller|
|00002e80| 2e 48 65 61 6c 74 68 20 | 3e 20 30 29 20 2f 2f 20 |.Health |> 0) // |
|00002e90| 4d 61 6b 65 20 74 68 65 | 20 6b 69 6c 6c 65 72 20 |Make the| killer |
|00002ea0| 74 68 65 20 6d 75 74 61 | 6e 74 20 2d 20 69 66 20 |the muta|nt - if |
|00002eb0| 74 68 65 79 20 61 72 65 | 20 73 74 69 6c 6c 20 61 |they are| still a|
|00002ec0| 6c 69 76 65 0d 0a 09 09 | 7b 0d 0a 09 09 09 53 65 |live....|{.....Se|
|00002ed0| 74 4d 75 74 61 6e 74 28 | 4f 74 68 65 72 2c 20 78 |tMutant(|Other, x|
|00002ee0| 4f 74 68 65 72 2c 20 66 | 61 6c 73 65 29 3b 0d 0a |Other, f|alse);..|
|00002ef0| 0d 0a 09 09 09 43 75 72 | 72 65 6e 74 4d 75 74 61 |.....Cur|rentMuta|
|00002f00| 6e 74 20 3d 20 4b 69 6c | 6c 65 72 3b 0d 0a 09 09 |nt = Kil|ler;....|
|00002f10| 09 4d 75 74 61 6e 74 47 | 61 6d 65 52 65 70 6c 69 |.MutantG|ameRepli|
|00002f20| 63 61 74 69 6f 6e 49 6e | 66 6f 28 47 61 6d 65 52 |cationIn|fo(GameR|
|00002f30| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 2e |eplicati|onInfo).|
|00002f40| 4d 75 74 61 6e 74 50 52 | 49 20 3d 20 43 75 72 72 |MutantPR|I = Curr|
|00002f50| 65 6e 74 4d 75 74 61 6e | 74 2e 50 6c 61 79 65 72 |entMutan|t.Player|
|00002f60| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 3b |Replicat|ionInfo;|
|00002f70| 0d 0a 09 09 09 53 65 74 | 4d 75 74 61 6e 74 28 4b |.....Set|Mutant(K|
|00002f80| 69 6c 6c 65 72 2c 20 78 | 4b 69 6c 6c 65 72 2c 20 |iller, x|Killer, |
|00002f90| 74 72 75 65 29 3b 0d 0a | 0d 0a 09 09 09 53 65 6e |true);..|.....Sen|
|00002fa0| 64 41 6c 6c 43 75 72 72 | 65 6e 74 4d 75 74 61 6e |dAllCurr|entMutan|
|00002fb0| 74 4d 65 73 73 61 67 65 | 28 29 3b 0d 0a 09 09 7d |tMessage|();....}|
|00002fc0| 0d 0a 09 09 65 6c 73 65 | 20 2f 2f 20 4d 75 74 75 |....else| // Mutu|
|00002fd0| 61 6c 20 6b 69 6c 6c 20 | 2d 20 66 72 65 65 20 66 |al kill |- free f|
|00002fe0| 6f 72 20 61 6c 6c 0d 0a | 09 09 7b 0d 0a 09 09 09 |or all..|..{.....|
|00002ff0| 43 75 72 72 65 6e 74 4d | 75 74 61 6e 74 20 3d 20 |CurrentM|utant = |
|00003000| 4e 6f 6e 65 3b 0d 0a 09 | 09 09 4d 75 74 61 6e 74 |None;...|..Mutant|
|00003010| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|00003020| 6e 66 6f 28 47 61 6d 65 | 52 65 70 6c 69 63 61 74 |nfo(Game|Replicat|
|00003030| 69 6f 6e 49 6e 66 6f 29 | 2e 4d 75 74 61 6e 74 50 |ionInfo)|.MutantP|
|00003040| 52 49 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 09 09 53 |RI = Non|e;.....S|
|00003050| 65 74 4d 75 74 61 6e 74 | 28 4f 74 68 65 72 2c 20 |etMutant|(Other, |
|00003060| 78 4f 74 68 65 72 2c 20 | 66 61 6c 73 65 29 3b 0d |xOther, |false);.|
|00003070| 0a 0d 0a 09 09 09 53 65 | 6e 64 41 6c 6c 43 75 72 |......Se|ndAllCur|
|00003080| 72 65 6e 74 4d 75 74 61 | 6e 74 4d 65 73 73 61 67 |rentMuta|ntMessag|
|00003090| 65 28 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 09 |e();....|}...}...|
|000030a0| 65 6c 73 65 0d 0a 09 7b | 0d 0a 09 09 2f 2f 20 49 |else...{|....// I|
|000030b0| 66 20 74 68 69 73 20 74 | 68 65 20 4d 75 74 61 6e |f this t|he Mutan|
|000030c0| 74 20 6b 69 6c 6c 69 6e | 67 20 61 6e 6f 74 68 65 |t killin|g anothe|
|000030d0| 72 20 70 6c 61 79 65 72 | 2c 20 67 69 76 65 20 74 |r player|, give t|
|000030e0| 68 65 6d 20 62 61 63 6b | 20 73 6f 6d 65 20 68 65 |hem back| some he|
|000030f0| 61 6c 74 68 2e 0d 0a 09 | 09 69 66 28 4b 69 6c 6c |alth....|.if(Kill|
|00003100| 65 72 20 3d 3d 20 43 75 | 72 72 65 6e 74 4d 75 74 |er == Cu|rrentMut|
|00003110| 61 6e 74 20 26 26 20 4f | 74 68 65 72 2e 62 49 73 |ant && O|ther.bIs|
|00003120| 50 6c 61 79 65 72 29 0d | 0a 09 09 7b 0d 0a 09 09 |Player).|...{....|
|00003130| 09 78 4b 69 6c 6c 65 72 | 2e 47 69 76 65 48 65 61 |.xKiller|.GiveHea|
|00003140| 6c 74 68 28 4d 75 74 61 | 6e 74 4b 69 6c 6c 48 65 |lth(Muta|ntKillHe|
|00003150| 61 6c 74 68 42 6f 6e 75 | 73 2c 20 31 35 30 29 3b |althBonu|s, 150);|
|00003160| 0d 0a 09 09 7d 0d 0a 09 | 7d 0d 0a 0d 0a 09 2f 2f |....}...|}.....//|
|00003170| 20 55 70 64 61 74 65 20 | 6c 69 73 74 20 6f 66 20 | Update |list of |
|00003180| 62 6f 74 74 6f 6d 20 70 | 6c 61 79 65 72 73 20 77 |bottom p|layers w|
|00003190| 68 65 6e 20 73 6f 6d 65 | 6f 6e 65 20 73 63 6f 72 |hen some|one scor|
|000031a0| 65 73 0d 0a 09 55 70 64 | 61 74 65 42 6f 74 74 6f |es...Upd|ateBotto|
|000031b0| 6d 46 65 65 64 65 72 28 | 29 3b 0d 0a 7d 0d 0a 0d |mFeeder(|);..}...|
|000031c0| 0a 0d 0a 0d 0a 0d 0a 2f | 2f 20 44 6f 6e 27 74 20 |......./|/ Don't |
|000031d0| 6c 65 74 20 74 68 65 20 | 4d 75 74 61 6e 74 20 70 |let the |Mutant p|
|000031e0| 69 63 6b 20 75 70 20 61 | 64 72 65 6e 61 6c 69 6e |ick up a|drenalin|
|000031f0| 65 2c 20 68 65 61 6c 74 | 68 20 6f 72 20 61 72 6d |e, healt|h or arm|
|00003200| 6f 72 2e 0d 0a 66 75 6e | 63 74 69 6f 6e 20 62 6f |or...fun|ction bo|
|00003210| 6f 6c 20 50 69 63 6b 75 | 70 51 75 65 72 79 28 20 |ol Picku|pQuery( |
|00003220| 50 61 77 6e 20 4f 74 68 | 65 72 2c 20 50 69 63 6b |Pawn Oth|er, Pick|
|00003230| 75 70 20 69 74 65 6d 20 | 29 0d 0a 7b 0d 0a 20 20 |up item |)..{.. |
|00003240| 20 20 6c 6f 63 61 6c 20 | 62 79 74 65 20 62 41 6c | local |byte bAl|
|00003250| 6c 6f 77 50 69 63 6b 75 | 70 3b 0d 0a 0d 0a 09 69 |lowPicku|p;.....i|
|00003260| 66 28 4f 74 68 65 72 2e | 43 6f 6e 74 72 6f 6c 6c |f(Other.|Controll|
|00003270| 65 72 20 3d 3d 20 43 75 | 72 72 65 6e 74 4d 75 74 |er == Cu|rrentMut|
|00003280| 61 6e 74 29 0d 0a 09 7b | 0d 0a 09 09 2f 2f 69 66 |ant)...{|....//if|
|00003290| 28 20 69 74 65 6d 2e 49 | 73 41 28 27 41 64 72 65 |( item.I|sA('Adre|
|000032a0| 6e 61 6c 69 6e 65 50 69 | 63 6b 75 70 27 29 20 7c |nalinePi|ckup') ||
|000032b0| 7c 20 69 74 65 6d 2e 49 | 73 41 28 27 55 44 61 6d || item.I|sA('UDam|
|000032c0| 61 67 65 50 61 63 6b 27 | 29 20 29 0d 0a 09 09 69 |agePack'|) )....i|
|000032d0| 66 28 20 69 74 65 6d 2e | 49 73 41 28 27 41 64 72 |f( item.|IsA('Adr|
|000032e0| 65 6e 61 6c 69 6e 65 50 | 69 63 6b 75 70 27 29 20 |enalineP|ickup') |
|000032f0| 7c 7c 20 69 74 65 6d 2e | 49 73 41 28 27 55 44 61 ||| item.|IsA('UDa|
|00003300| 6d 61 67 65 50 61 63 6b | 27 29 20 7c 7c 20 69 74 |magePack|') || it|
|00003310| 65 6d 2e 49 73 41 28 27 | 54 6f 75 72 6e 61 6d 65 |em.IsA('|Tourname|
|00003320| 6e 74 48 65 61 6c 74 68 | 27 29 20 7c 7c 20 69 74 |ntHealth|') || it|
|00003330| 65 6d 2e 49 73 41 28 27 | 53 68 69 65 6c 64 50 69 |em.IsA('|ShieldPi|
|00003340| 63 6b 75 70 27 29 20 29 | 0d 0a 09 09 09 72 65 74 |ckup') )|.....ret|
|00003350| 75 72 6e 20 66 61 6c 73 | 65 3b 0d 0a 09 7d 0d 0a |urn fals|e;...}..|
|00003360| 0d 0a 20 20 20 20 69 66 | 20 28 20 28 47 61 6d 65 |.. if| ( (Game|
|00003370| 52 75 6c 65 73 4d 6f 64 | 69 66 69 65 72 73 20 21 |RulesMod|ifiers !|
|00003380| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 47 61 6d 65 52 |= None) |&& GameR|
|00003390| 75 6c 65 73 4d 6f 64 69 | 66 69 65 72 73 2e 4f 76 |ulesModi|fiers.Ov|
|000033a0| 65 72 72 69 64 65 50 69 | 63 6b 75 70 51 75 65 72 |erridePi|ckupQuer|
|000033b0| 79 28 4f 74 68 65 72 2c | 20 69 74 65 6d 2c 20 62 |y(Other,| item, b|
|000033c0| 41 6c 6c 6f 77 50 69 63 | 6b 75 70 29 20 29 0d 0a |AllowPic|kup) )..|
|000033d0| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 20 28 | |return (|
|000033e0| 62 41 6c 6c 6f 77 50 69 | 63 6b 75 70 20 3d 3d 20 |bAllowPi|ckup == |
|000033f0| 31 29 3b 0d 0a 0d 0a 20 | 20 20 20 69 66 20 28 20 |1);.... | if ( |
|00003400| 4f 74 68 65 72 2e 49 6e | 76 65 6e 74 6f 72 79 20 |Other.In|ventory |
|00003410| 3d 3d 20 4e 6f 6e 65 20 | 29 0d 0a 20 20 20 20 20 |== None |).. |
|00003420| 20 20 20 72 65 74 75 72 | 6e 20 74 72 75 65 3b 0d | retur|n true;.|
|00003430| 0a 20 20 20 20 65 6c 73 | 65 0d 0a 20 20 20 20 20 |. els|e.. |
|00003440| 20 20 20 72 65 74 75 72 | 6e 20 21 4f 74 68 65 72 | retur|n !Other|
|00003450| 2e 49 6e 76 65 6e 74 6f | 72 79 2e 48 61 6e 64 6c |.Invento|ry.Handl|
|00003460| 65 50 69 63 6b 75 70 51 | 75 65 72 79 28 49 74 65 |ePickupQ|uery(Ite|
|00003470| 6d 29 3b 0d 0a 7d 0d 0a | 0d 0a 2f 2f 20 73 65 65 |m);..}..|..// see|
|00003480| 20 69 66 20 74 68 69 73 | 20 73 63 6f 72 65 20 6d | if this| score m|
|00003490| 65 61 6e 73 20 74 68 65 | 20 67 61 6d 65 20 65 6e |eans the| game en|
|000034a0| 64 73 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 43 68 65 |ds..func|tion Che|
|000034b0| 63 6b 53 63 6f 72 65 28 | 50 6c 61 79 65 72 52 65 |ckScore(|PlayerRe|
|000034c0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 20 53 63 |plicatio|nInfo Sc|
|000034d0| 6f 72 65 72 29 0d 0a 7b | 0d 0a 09 69 66 20 28 20 |orer)..{|...if ( |
|000034e0| 43 68 65 63 6b 4d 61 78 | 4c 69 76 65 73 28 53 63 |CheckMax|Lives(Sc|
|000034f0| 6f 72 65 72 29 20 29 0d | 0a 09 09 72 65 74 75 72 |orer) ).|...retur|
|00003500| 6e 3b 0d 0a 0d 0a 20 20 | 20 20 69 66 20 28 20 28 |n;.... | if ( (|
|00003510| 47 61 6d 65 52 75 6c 65 | 73 4d 6f 64 69 66 69 65 |GameRule|sModifie|
|00003520| 72 73 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 47 |rs != No|ne) && G|
|00003530| 61 6d 65 52 75 6c 65 73 | 4d 6f 64 69 66 69 65 72 |ameRules|Modifier|
|00003540| 73 2e 43 68 65 63 6b 53 | 63 6f 72 65 28 53 63 6f |s.CheckS|core(Sco|
|00003550| 72 65 72 29 20 29 0d 0a | 20 20 20 20 20 20 20 20 |rer) )..| |
|00003560| 72 65 74 75 72 6e 3b 0d | 0a 0d 0a 20 20 20 20 69 |return;.|... i|
|00003570| 66 20 28 20 28 53 63 6f | 72 65 72 20 21 3d 20 4e |f ( (Sco|rer != N|
|00003580| 6f 6e 65 29 20 26 26 20 | 28 62 4f 76 65 72 54 69 |one) && |(bOverTi|
|00003590| 6d 65 20 7c 7c 20 28 47 | 6f 61 6c 53 63 6f 72 65 |me || (G|oalScore|
|000035a0| 20 3e 20 30 29 29 20 26 | 26 20 28 53 63 6f 72 65 | > 0)) &|& (Score|
|000035b0| 72 2e 53 63 6f 72 65 20 | 3e 3d 20 47 6f 61 6c 53 |r.Score |>= GoalS|
|000035c0| 63 6f 72 65 29 20 29 0d | 0a 20 20 20 20 20 20 20 |core) ).|. |
|000035d0| 20 45 6e 64 47 61 6d 65 | 28 53 63 6f 72 65 72 2c | EndGame|(Scorer,|
|000035e0| 22 66 72 61 67 6c 69 6d | 69 74 22 29 3b 0d 0a 7d |"fraglim|it");..}|
|000035f0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 53 63 6f |....func|tion Sco|
|00003600| 72 65 4b 69 6c 6c 28 43 | 6f 6e 74 72 6f 6c 6c 65 |reKill(C|ontrolle|
|00003610| 72 20 4b 69 6c 6c 65 72 | 2c 20 43 6f 6e 74 72 6f |r Killer|, Contro|
|00003620| 6c 6c 65 72 20 4f 74 68 | 65 72 29 0d 0a 7b 0d 0a |ller Oth|er)..{..|
|00003630| 09 6c 6f 63 61 6c 20 50 | 6c 61 79 65 72 52 65 70 |.local P|layerRep|
|00003640| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 20 4f 74 68 |lication|Info Oth|
|00003650| 65 72 50 52 49 3b 0d 0a | 09 6c 6f 63 61 6c 20 55 |erPRI;..|.local U|
|00003660| 6e 72 65 61 6c 50 6c 61 | 79 65 72 20 75 4b 69 6c |nrealPla|yer uKil|
|00003670| 6c 65 72 3b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |ler;...l|ocal int|
|00003680| 20 4b 69 6c 6c 53 63 6f | 72 65 3b 0d 0a 0d 0a 09 | KillSco|re;.....|
|00003690| 2f 2f 20 43 68 65 63 6b | 20 69 66 20 77 65 20 68 |// Check| if we h|
|000036a0| 61 76 65 20 75 73 65 64 | 20 75 70 20 61 6c 6c 20 |ave used| up all |
|000036b0| 6f 75 72 20 6c 69 76 65 | 73 0d 0a 09 4f 74 68 65 |our live|s...Othe|
|000036c0| 72 50 52 49 20 3d 20 4f | 74 68 65 72 2e 50 6c 61 |rPRI = O|ther.Pla|
|000036d0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|000036e0| 66 6f 3b 0d 0a 20 20 20 | 20 69 66 20 28 20 4f 74 |fo;.. | if ( Ot|
|000036f0| 68 65 72 50 52 49 20 21 | 3d 20 4e 6f 6e 65 20 29 |herPRI !|= None )|
|00003700| 0d 0a 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 |.. {.|. |
|00003710| 20 4f 74 68 65 72 50 52 | 49 2e 4e 75 6d 4c 69 76 | OtherPR|I.NumLiv|
|00003720| 65 73 2b 2b 3b 0d 0a 20 | 20 20 20 20 20 20 20 69 |es++;.. | i|
|00003730| 66 20 28 20 28 4d 61 78 | 4c 69 76 65 73 20 3e 20 |f ( (Max|Lives > |
|00003740| 30 29 20 26 26 20 28 4f | 74 68 65 72 50 52 49 2e |0) && (O|therPRI.|
|00003750| 4e 75 6d 4c 69 76 65 73 | 20 3e 3d 4d 61 78 4c 69 |NumLives| >=MaxLi|
|00003760| 76 65 73 29 20 29 0d 0a | 20 20 20 20 20 20 20 20 |ves) )..| |
|00003770| 20 20 20 20 4f 74 68 65 | 72 50 52 49 2e 62 4f 75 | Othe|rPRI.bOu|
|00003780| 74 4f 66 4c 69 76 65 73 | 20 3d 20 74 72 75 65 3b |tOfLives| = true;|
|00003790| 0d 0a 20 20 20 20 7d 0d | 0a 0d 0a 09 2f 2f 20 44 |.. }.|....// D|
|000037a0| 6f 20 73 75 69 74 61 62 | 6c 65 20 74 61 75 6e 74 |o suitab|le taunt|
|000037b0| 21 0d 0a 09 69 66 20 28 | 20 62 41 6c 6c 6f 77 54 |!...if (| bAllowT|
|000037c0| 61 75 6e 74 73 20 26 26 | 20 28 4b 69 6c 6c 65 72 |aunts &&| (Killer|
|000037d0| 20 21 3d 20 4e 6f 6e 65 | 29 20 26 26 20 28 4b 69 | != None|) && (Ki|
|000037e0| 6c 6c 65 72 20 21 3d 20 | 4f 74 68 65 72 29 20 26 |ller != |Other) &|
|000037f0| 26 20 4b 69 6c 6c 65 72 | 2e 41 75 74 6f 54 61 75 |& Killer|.AutoTau|
|00003800| 6e 74 28 29 0d 0a 09 09 | 26 26 20 28 4b 69 6c 6c |nt()....|&& (Kill|
|00003810| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00003820| 74 69 6f 6e 49 6e 66 6f | 20 21 3d 20 4e 6f 6e 65 |tionInfo| != None|
|00003830| 29 20 26 26 20 28 4b 69 | 6c 6c 65 72 2e 50 6c 61 |) && (Ki|ller.Pla|
|00003840| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00003850| 66 6f 2e 56 6f 69 63 65 | 54 79 70 65 20 21 3d 20 |fo.Voice|Type != |
|00003860| 4e 6f 6e 65 29 20 29 0d | 0a 09 7b 0d 0a 09 09 69 |None) ).|..{....i|
|00003870| 66 28 20 4b 69 6c 6c 65 | 72 2e 49 73 41 28 27 50 |f( Kille|r.IsA('P|
|00003880| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 27 |layerCon|troller'|
|00003890| 29 20 29 0d 0a 09 09 09 | 4b 69 6c 6c 65 72 2e 53 |) ).....|Killer.S|
|000038a0| 65 6e 64 4d 65 73 73 61 | 67 65 28 4f 74 68 65 72 |endMessa|ge(Other|
|000038b0| 50 52 49 2c 20 27 41 55 | 54 4f 54 41 55 4e 54 27 |PRI, 'AU|TOTAUNT'|
|000038c0| 2c 20 4b 69 6c 6c 65 72 | 2e 50 6c 61 79 65 72 52 |, Killer|.PlayerR|
|000038d0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 56 |eplicati|onInfo.V|
|000038e0| 6f 69 63 65 54 79 70 65 | 2e 73 74 61 74 69 63 2e |oiceType|.static.|
|000038f0| 50 69 63 6b 52 61 6e 64 | 6f 6d 54 61 75 6e 74 46 |PickRand|omTauntF|
|00003900| 6f 72 28 4b 69 6c 6c 65 | 72 2c 20 66 61 6c 73 65 |or(Kille|r, false|
|00003910| 2c 20 66 61 6c 73 65 29 | 2c 20 31 30 2c 20 27 47 |, false)|, 10, 'G|
|00003920| 4c 4f 42 41 4c 27 29 3b | 0d 0a 09 09 65 6c 73 65 |LOBAL');|....else|
|00003930| 0d 0a 09 09 09 4b 69 6c | 6c 65 72 2e 53 65 6e 64 |.....Kil|ler.Send|
|00003940| 4d 65 73 73 61 67 65 28 | 4f 74 68 65 72 50 52 49 |Message(|OtherPRI|
|00003950| 2c 20 27 41 55 54 4f 54 | 41 55 4e 54 27 2c 20 4b |, 'AUTOT|AUNT', K|
|00003960| 69 6c 6c 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |iller.Pl|ayerRepl|
|00003970| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 56 6f 69 63 |icationI|nfo.Voic|
|00003980| 65 54 79 70 65 2e 73 74 | 61 74 69 63 2e 50 69 63 |eType.st|atic.Pic|
|00003990| 6b 52 61 6e 64 6f 6d 54 | 61 75 6e 74 46 6f 72 28 |kRandomT|auntFor(|
|000039a0| 4b 69 6c 6c 65 72 2c 20 | 66 61 6c 73 65 2c 20 74 |Killer, |false, t|
|000039b0| 72 75 65 29 2c 20 31 30 | 2c 20 27 47 4c 4f 42 41 |rue), 10|, 'GLOBA|
|000039c0| 4c 27 29 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 2f 2f 20 |L');...}|.....// |
|000039d0| 53 63 6f 72 65 20 6e 65 | 67 61 74 69 76 65 20 66 |Score ne|gative f|
|000039e0| 6f 72 20 73 75 69 63 69 | 64 65 0d 0a 20 20 20 20 |or suici|de.. |
|000039f0| 69 66 28 20 28 6b 69 6c | 6c 65 72 20 3d 3d 20 4f |if( (kil|ler == O|
|00003a00| 74 68 65 72 29 20 7c 7c | 20 28 6b 69 6c 6c 65 72 |ther) ||| (killer|
|00003a10| 20 3d 3d 20 4e 6f 6e 65 | 29 20 29 0d 0a 09 7b 0d | == None|) )...{.|
|00003a20| 0a 09 09 69 66 20 28 20 | 4f 74 68 65 72 50 52 49 |...if ( |OtherPRI|
|00003a30| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 09 7b 0d | != None| )....{.|
|00003a40| 0a 09 09 09 69 66 28 4f | 74 68 65 72 20 3d 3d 20 |....if(O|ther == |
|00003a50| 43 75 72 72 65 6e 74 4d | 75 74 61 6e 74 29 0d 0a |CurrentM|utant)..|
|00003a60| 09 09 09 09 4f 74 68 65 | 72 2e 50 6c 61 79 65 72 |....Othe|r.Player|
|00003a70| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00003a80| 53 63 6f 72 65 20 2d 3d | 20 4d 75 74 61 6e 74 53 |Score -=| MutantS|
|00003a90| 75 69 63 69 64 65 50 65 | 6e 61 6c 74 79 3b 20 2f |uicidePe|nalty; /|
|00003aa0| 2f 20 4d 75 74 61 6e 74 | 20 6c 6f 73 65 73 20 61 |/ Mutant| loses a|
|00003ab0| 20 74 68 69 72 64 20 6f | 66 20 74 68 65 69 72 20 | third o|f their |
|00003ac0| 73 63 6f 72 65 20 69 66 | 20 74 68 65 79 20 73 75 |score if| they su|
|00003ad0| 69 63 69 64 65 0d 0a 09 | 09 09 65 6c 73 65 0d 0a |icide...|..else..|
|00003ae0| 09 09 09 09 4f 74 68 65 | 72 2e 50 6c 61 79 65 72 |....Othe|r.Player|
|00003af0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00003b00| 53 63 6f 72 65 20 2d 3d | 20 42 61 73 65 4b 69 6c |Score -=| BaseKil|
|00003b10| 6c 53 63 6f 72 65 3b 20 | 2f 2f 20 4f 72 64 69 6e |lScore; |// Ordin|
|00003b20| 61 72 79 20 70 6c 61 79 | 65 72 73 20 6c 6f 73 65 |ary play|ers lose|
|00003b30| 20 6e 6f 72 6d 61 6c 20 | 6b 69 6c 6c 20 61 6d 6f | normal |kill amo|
|00003b40| 75 6e 74 0d 0a 09 09 09 | 4f 74 68 65 72 2e 50 6c |unt.....|Other.Pl|
|00003b50| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00003b60| 6e 66 6f 2e 4e 65 74 55 | 70 64 61 74 65 54 69 6d |nfo.NetU|pdateTim|
|00003b70| 65 20 3d 20 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 |e = Leve|l.TimeSe|
|00003b80| 63 6f 6e 64 73 20 2d 20 | 31 3b 0d 0a 09 09 09 69 |conds - |1;.....i|
|00003b90| 66 20 28 47 61 6d 65 53 | 74 61 74 73 21 3d 4e 6f |f (GameS|tats!=No|
|00003ba0| 6e 65 29 0d 0a 09 09 09 | 09 47 61 6d 65 53 74 61 |ne).....|.GameSta|
|00003bb0| 74 73 2e 53 63 6f 72 65 | 45 76 65 6e 74 28 4f 74 |ts.Score|Event(Ot|
|00003bc0| 68 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |her.Play|erReplic|
|00003bd0| 61 74 69 6f 6e 49 6e 66 | 6f 2c 2d 31 2c 22 73 65 |ationInf|o,-1,"se|
|00003be0| 6c 66 5f 66 72 61 67 22 | 29 3b 0d 0a 09 09 7d 0d |lf_frag"|);....}.|
|00003bf0| 0a 09 7d 0d 0a 20 20 20 | 20 65 6c 73 65 20 69 66 |..}.. | else if|
|00003c00| 20 28 20 6b 69 6c 6c 65 | 72 2e 50 6c 61 79 65 72 | ( kille|r.Player|
|00003c10| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 20 |Replicat|ionInfo |
|00003c20| 21 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 7b 0d 0a 09 |!= None |)...{...|
|00003c30| 09 4b 69 6c 6c 65 72 2e | 50 6c 61 79 65 72 52 65 |.Killer.|PlayerRe|
|00003c40| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 4e 65 |plicatio|nInfo.Ne|
|00003c50| 74 55 70 64 61 74 65 54 | 69 6d 65 20 3d 20 4c 65 |tUpdateT|ime = Le|
|00003c60| 76 65 6c 2e 54 69 6d 65 | 53 65 63 6f 6e 64 73 20 |vel.Time|Seconds |
|00003c70| 2d 20 31 3b 0d 0a 09 09 | 69 66 28 43 75 72 72 65 |- 1;....|if(Curre|
|00003c80| 6e 74 4d 75 74 61 6e 74 | 20 21 3d 20 4e 6f 6e 65 |ntMutant| != None|
|00003c90| 29 20 2f 2f 20 4d 75 74 | 61 6e 74 20 70 72 65 73 |) // Mut|ant pres|
|00003ca0| 65 6e 74 0d 0a 09 09 7b | 0d 0a 09 09 09 69 66 28 |ent....{|.....if(|
|00003cb0| 4f 74 68 65 72 20 3d 3d | 20 43 75 72 72 65 6e 74 |Other ==| Current|
|00003cc0| 4d 75 74 61 6e 74 29 20 | 2f 2f 20 4d 75 74 61 6e |Mutant) |// Mutan|
|00003cd0| 74 20 77 61 73 20 6b 69 | 6c 6c 65 64 0d 0a 09 09 |t was ki|lled....|
|00003ce0| 09 7b 0d 0a 09 09 09 09 | 69 66 20 28 20 4f 74 68 |.{......|if ( Oth|
|00003cf0| 65 72 50 52 49 20 21 3d | 20 4e 6f 6e 65 20 29 0d |erPRI !=| None ).|
|00003d00| 0a 09 09 09 09 09 4b 69 | 6c 6c 53 63 6f 72 65 20 |......Ki|llScore |
|00003d10| 3d 20 30 2e 35 20 2a 20 | 28 4f 74 68 65 72 50 52 |= 0.5 * |(OtherPR|
|00003d20| 49 2e 53 63 6f 72 65 20 | 2d 20 4b 69 6c 6c 65 72 |I.Score |- Killer|
|00003d30| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00003d40| 6f 6e 49 6e 66 6f 2e 53 | 63 6f 72 65 29 3b 0d 0a |onInfo.S|core);..|
|00003d50| 09 09 09 09 4b 69 6c 6c | 53 63 6f 72 65 20 3d 20 |....Kill|Score = |
|00003d60| 4d 61 78 28 4b 69 6c 6c | 53 63 6f 72 65 2c 20 42 |Max(Kill|Score, B|
|00003d70| 61 73 65 4b 69 6c 6c 53 | 63 6f 72 65 29 3b 0d 0a |aseKillS|core);..|
|00003d80| 0d 0a 09 09 09 09 2f 2f | 4c 6f 67 28 22 4b 49 4c |......//|Log("KIL|
|00003d90| 4c 45 44 20 4d 55 54 41 | 4e 54 3a 20 22 24 4b 69 |LED MUTA|NT: "$Ki|
|00003da0| 6c 6c 53 63 6f 72 65 29 | 3b 0d 0a 0d 0a 09 09 09 |llScore)|;.......|
|00003db0| 09 4b 69 6c 6c 65 72 2e | 50 6c 61 79 65 72 52 65 |.Killer.|PlayerRe|
|00003dc0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 53 63 |plicatio|nInfo.Sc|
|00003dd0| 6f 72 65 20 2b 3d 20 4b | 69 6c 6c 53 63 6f 72 65 |ore += K|illScore|
|00003de0| 3b 0d 0a 0d 0a 09 09 09 | 09 69 66 20 28 47 61 6d |;.......|.if (Gam|
|00003df0| 65 53 74 61 74 73 21 3d | 4e 6f 6e 65 29 0d 0a 09 |eStats!=|None)...|
|00003e00| 09 09 09 09 47 61 6d 65 | 53 74 61 74 73 2e 53 63 |....Game|Stats.Sc|
|00003e10| 6f 72 65 45 76 65 6e 74 | 28 4b 69 6c 6c 65 72 2e |oreEvent|(Killer.|
|00003e20| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00003e30| 6e 49 6e 66 6f 2c 31 2c | 22 66 72 61 67 22 29 3b |nInfo,1,|"frag");|
|00003e40| 0d 0a 09 09 09 7d 0d 0a | 09 09 09 65 6c 73 65 20 |.....}..|...else |
|00003e50| 69 66 28 4b 69 6c 6c 65 | 72 20 3d 3d 20 43 75 72 |if(Kille|r == Cur|
|00003e60| 72 65 6e 74 4d 75 74 61 | 6e 74 29 20 2f 2f 20 4d |rentMuta|nt) // M|
|00003e70| 75 74 61 6e 74 20 6b 69 | 6c 6c 65 64 20 73 6f 6d |utant ki|lled som|
|00003e80| 65 6f 6e 65 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |eone....|.{......|
|00003e90| 75 4b 69 6c 6c 65 72 20 | 3d 20 55 6e 72 65 61 6c |uKiller |= Unreal|
|00003ea0| 50 6c 61 79 65 72 28 4b | 69 6c 6c 65 72 29 3b 0d |Player(K|iller);.|
|00003eb0| 0a 0d 0a 09 09 09 09 69 | 66 28 75 4b 69 6c 6c 65 |.......i|f(uKille|
|00003ec0| 72 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 09 09 |r != Non|e)......|
|00003ed0| 7b 0d 0a 09 09 09 09 09 | 2f 2f 4c 6f 67 28 22 4d |{.......|//Log("M|
|00003ee0| 55 54 41 4e 54 20 4b 49 | 4c 4c 3a 20 22 24 42 61 |UTANT KI|LL: "$Ba|
|00003ef0| 73 65 4b 69 6c 6c 53 63 | 6f 72 65 20 2b 20 28 75 |seKillSc|ore + (u|
|00003f00| 4b 69 6c 6c 65 72 2e 4d | 75 6c 74 69 4b 69 6c 6c |Killer.M|ultiKill|
|00003f10| 4c 65 76 65 6c 20 2a 20 | 4d 75 6c 74 69 4b 69 6c |Level * |MultiKil|
|00003f20| 6c 42 6f 6e 75 73 29 29 | 3b 0d 0a 0d 0a 09 09 09 |lBonus))|;.......|
|00003f30| 09 09 2f 2f 20 49 66 20 | 74 68 65 20 6d 75 74 61 |..// If |the muta|
|00003f40| 6e 74 20 6b 69 6c 6c 65 | 64 20 74 68 65 20 62 6f |nt kille|d the bo|
|00003f50| 74 74 6f 6d 20 66 65 65 | 64 65 72 2c 20 74 68 65 |ttom fee|der, the|
|00003f60| 79 20 67 65 74 20 61 20 | 73 70 65 63 69 61 6c 20 |y get a |special |
|00003f70| 73 63 6f 72 65 0d 0a 09 | 09 09 09 09 2f 2f 20 4f |score...|....// O|
|00003f80| 74 68 65 72 77 69 73 65 | 20 2d 20 73 63 6f 72 65 |therwise| - score|
|00003f90| 20 62 61 73 65 20 6f 6e | 20 6d 75 6c 74 69 2d 6b | base on| multi-k|
|00003fa0| 69 6c 6c 20 6c 65 76 65 | 6c 0d 0a 0d 0a 09 09 09 |ill leve|l.......|
|00003fb0| 09 09 69 66 28 20 49 73 | 42 6f 74 74 6f 6d 46 65 |..if( Is|BottomFe|
|00003fc0| 65 64 65 72 28 4f 74 68 | 65 72 29 20 29 0d 0a 09 |eder(Oth|er) )...|
|00003fd0| 09 09 09 09 09 4b 69 6c | 6c 65 72 2e 50 6c 61 79 |.....Kil|ler.Play|
|00003fe0| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00003ff0| 6f 2e 53 63 6f 72 65 20 | 2b 3d 20 42 6f 74 74 6f |o.Score |+= Botto|
|00004000| 6d 46 65 65 64 65 72 4b | 69 6c 6c 53 63 6f 72 65 |mFeederK|illScore|
|00004010| 3b 0d 0a 09 09 09 09 09 | 65 6c 73 65 0d 0a 09 09 |;.......|else....|
|00004020| 09 09 09 09 4b 69 6c 6c | 65 72 2e 50 6c 61 79 65 |....Kill|er.Playe|
|00004030| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00004040| 2e 53 63 6f 72 65 20 2b | 3d 20 4d 69 6e 28 20 42 |.Score +|= Min( B|
|00004050| 61 73 65 4b 69 6c 6c 53 | 63 6f 72 65 20 2b 20 28 |aseKillS|core + (|
|00004060| 75 4b 69 6c 6c 65 72 2e | 4d 75 6c 74 69 4b 69 6c |uKiller.|MultiKil|
|00004070| 6c 4c 65 76 65 6c 20 2a | 20 4d 75 6c 74 69 4b 69 |lLevel *| MultiKi|
|00004080| 6c 6c 42 6f 6e 75 73 29 | 2c 20 4d 61 78 4d 75 6c |llBonus)|, MaxMul|
|00004090| 74 69 4b 69 6c 6c 53 63 | 6f 72 65 20 29 3b 0d 0a |tiKillSc|ore );..|
|000040a0| 09 09 09 09 7d 0d 0a 09 | 09 09 09 65 6c 73 65 0d |....}...|...else.|
|000040b0| 0a 09 09 09 09 7b 0d 0a | 09 09 09 09 09 2f 2f 4c |.....{..|.....//L|
|000040c0| 6f 67 28 22 4d 55 54 41 | 4e 54 20 4b 49 4c 4c 3a |og("MUTA|NT KILL:|
|000040d0| 20 22 24 42 61 73 65 4b | 69 6c 6c 53 63 6f 72 65 | "$BaseK|illScore|
|000040e0| 29 3b 0d 0a 09 09 09 09 | 09 4b 69 6c 6c 65 72 2e |);......|.Killer.|
|000040f0| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00004100| 6e 49 6e 66 6f 2e 53 63 | 6f 72 65 20 2b 3d 20 42 |nInfo.Sc|ore += B|
|00004110| 61 73 65 4b 69 6c 6c 53 | 63 6f 72 65 3b 20 2f 2f |aseKillS|core; //|
|00004120| 20 46 49 58 4d 45 3a 20 | 47 69 76 65 20 62 6f 74 | FIXME: |Give bot|
|00004130| 73 20 6d 75 6c 74 69 2d | 6b 69 6c 6c 20 62 6f 6e |s multi-|kill bon|
|00004140| 75 73 3f 0d 0a 09 09 09 | 09 7d 0d 0a 0d 0a 09 09 |us?.....|.}......|
|00004150| 09 09 69 66 20 28 47 61 | 6d 65 53 74 61 74 73 21 |..if (Ga|meStats!|
|00004160| 3d 4e 6f 6e 65 29 0d 0a | 09 09 09 09 09 47 61 6d |=None)..|.....Gam|
|00004170| 65 53 74 61 74 73 2e 53 | 63 6f 72 65 45 76 65 6e |eStats.S|coreEven|
|00004180| 74 28 4b 69 6c 6c 65 72 | 2e 50 6c 61 79 65 72 52 |t(Killer|.PlayerR|
|00004190| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2c 31 |eplicati|onInfo,1|
|000041a0| 2c 22 66 72 61 67 22 29 | 3b 0d 0a 09 09 09 7d 0d |,"frag")|;.....}.|
|000041b0| 0a 09 09 09 65 6c 73 65 | 20 69 66 28 20 49 73 42 |....else| if( IsB|
|000041c0| 6f 74 74 6f 6d 46 65 65 | 64 65 72 28 4b 69 6c 6c |ottomFee|der(Kill|
|000041d0| 65 72 29 20 29 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |er) )...|..{.....|
|000041e0| 09 2f 2f 4c 6f 67 28 22 | 42 4f 54 54 4f 4d 20 46 |.//Log("|BOTTOM F|
|000041f0| 45 45 44 45 52 20 4b 49 | 4c 4c 3a 20 22 24 42 61 |EEDER KI|LL: "$Ba|
|00004200| 73 65 4b 69 6c 6c 53 63 | 6f 72 65 29 3b 0d 0a 09 |seKillSc|ore);...|
|00004210| 09 09 09 4b 69 6c 6c 65 | 72 2e 50 6c 61 79 65 72 |...Kille|r.Player|
|00004220| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00004230| 53 63 6f 72 65 20 2b 3d | 20 42 61 73 65 4b 69 6c |Score +=| BaseKil|
|00004240| 6c 53 63 6f 72 65 3b 0d | 0a 0d 0a 09 09 09 09 69 |lScore;.|.......i|
|00004250| 66 20 28 47 61 6d 65 53 | 74 61 74 73 21 3d 4e 6f |f (GameS|tats!=No|
|00004260| 6e 65 29 0d 0a 09 09 09 | 09 09 47 61 6d 65 53 74 |ne).....|..GameSt|
|00004270| 61 74 73 2e 53 63 6f 72 | 65 45 76 65 6e 74 28 4b |ats.Scor|eEvent(K|
|00004280| 69 6c 6c 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |iller.Pl|ayerRepl|
|00004290| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2c 31 2c 22 66 |icationI|nfo,1,"f|
|000042a0| 72 61 67 22 29 3b 0d 0a | 09 09 09 7d 0d 0a 09 09 |rag");..|...}....|
|000042b0| 7d 0d 0a 09 09 65 6c 73 | 65 20 69 66 28 43 75 72 |}....els|e if(Cur|
|000042c0| 72 65 6e 74 4d 75 74 61 | 6e 74 20 3d 3d 20 4e 6f |rentMuta|nt == No|
|000042d0| 6e 65 29 20 2f 2f 20 46 | 46 41 20 4b 69 6c 6c 0d |ne) // F|FA Kill.|
|000042e0| 0a 09 09 7b 0d 0a 09 09 | 09 4b 69 6c 6c 65 72 2e |...{....|.Killer.|
|000042f0| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00004300| 6e 49 6e 66 6f 2e 53 63 | 6f 72 65 20 2b 3d 20 42 |nInfo.Sc|ore += B|
|00004310| 61 73 65 4b 69 6c 6c 53 | 63 6f 72 65 3b 0d 0a 0d |aseKillS|core;...|
|00004320| 0a 09 09 09 69 66 20 28 | 47 61 6d 65 53 74 61 74 |....if (|GameStat|
|00004330| 73 21 3d 4e 6f 6e 65 29 | 0d 0a 09 09 09 09 47 61 |s!=None)|......Ga|
|00004340| 6d 65 53 74 61 74 73 2e | 53 63 6f 72 65 45 76 65 |meStats.|ScoreEve|
|00004350| 6e 74 28 4b 69 6c 6c 65 | 72 2e 50 6c 61 79 65 72 |nt(Kille|r.Player|
|00004360| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2c |Replicat|ionInfo,|
|00004370| 31 2c 22 66 72 61 67 22 | 29 3b 0d 0a 09 09 7d 0d |1,"frag"|);....}.|
|00004380| 0a 09 7d 0d 0a 0d 0a 09 | 2f 2f 20 4c 65 74 20 74 |..}.....|// Let t|
|00004390| 68 65 20 67 61 6d 65 20 | 72 75 6c 65 73 20 6d 6f |he game |rules mo|
|000043a0| 64 69 66 79 20 74 68 65 | 20 73 63 6f 72 65 20 61 |dify the| score a|
|000043b0| 73 20 77 65 6c 6c 0d 0a | 20 20 20 20 69 66 20 28 |s well..| if (|
|000043c0| 20 47 61 6d 65 52 75 6c | 65 73 4d 6f 64 69 66 69 | GameRul|esModifi|
|000043d0| 65 72 73 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 20 |ers != N|one ).. |
|000043e0| 20 20 20 20 20 20 20 47 | 61 6d 65 52 75 6c 65 73 | G|ameRules|
|000043f0| 4d 6f 64 69 66 69 65 72 | 73 2e 53 63 6f 72 65 4b |Modifier|s.ScoreK|
|00004400| 69 6c 6c 28 4b 69 6c 6c | 65 72 2c 20 4f 74 68 65 |ill(Kill|er, Othe|
|00004410| 72 29 3b 0d 0a 0d 0a 09 | 2f 2f 20 43 68 65 63 6b |r);.....|// Check|
|00004420| 20 69 66 20 74 68 69 73 | 20 6d 65 61 6e 73 20 74 | if this| means t|
|00004430| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 6d 61 |he end o|f the ma|
|00004440| 74 63 68 0d 0a 20 20 20 | 20 69 66 20 28 4b 69 6c |tch.. | if (Kil|
|00004450| 6c 65 72 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 20 20 |ler != N|one).. |
|00004460| 20 20 20 20 20 20 43 68 | 65 63 6b 53 63 6f 72 65 | Ch|eckScore|
|00004470| 28 4b 69 6c 6c 65 72 2e | 50 6c 61 79 65 72 52 65 |(Killer.|PlayerRe|
|00004480| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 3b 0d |plicatio|nInfo);.|
|00004490| 0a 0d 0a 20 20 20 20 69 | 66 20 28 20 28 6b 69 6c |... i|f ( (kil|
|000044a0| 6c 65 72 20 3d 3d 20 4e | 6f 6e 65 29 20 7c 7c 20 |ler == N|one) || |
|000044b0| 28 4f 74 68 65 72 20 3d | 3d 20 4e 6f 6e 65 29 20 |(Other =|= None) |
|000044c0| 29 0d 0a 20 20 20 20 20 | 20 20 20 72 65 74 75 72 |).. | retur|
|000044d0| 6e 3b 0d 0a 0d 0a 09 2f | 2f 20 41 64 6a 75 73 74 |n;...../|/ Adjust|
|000044e0| 20 62 6f 74 20 73 6b 69 | 6c 6c 73 20 69 66 20 64 | bot ski|lls if d|
|000044f0| 65 73 69 72 65 64 0d 0a | 20 20 20 20 69 66 20 28 |esired..| if (|
|00004500| 20 62 41 64 6a 75 73 74 | 53 6b 69 6c 6c 20 26 26 | bAdjust|Skill &&|
|00004510| 20 28 6b 69 6c 6c 65 72 | 2e 49 73 41 28 27 50 6c | (killer|.IsA('Pl|
|00004520| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 27 29 |ayerCont|roller')|
|00004530| 20 7c 7c 20 4f 74 68 65 | 72 2e 49 73 41 28 27 50 | || Othe|r.IsA('P|
|00004540| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 27 |layerCon|troller'|
|00004550| 29 29 20 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |)) ).. | {.. |
|00004560| 20 20 20 20 20 69 66 20 | 28 20 6b 69 6c 6c 65 72 | if |( killer|
|00004570| 2e 49 73 41 28 27 41 49 | 43 6f 6e 74 72 6f 6c 6c |.IsA('AI|Controll|
|00004580| 65 72 27 29 20 29 0d 0a | 20 20 20 20 20 20 20 20 |er') )..| |
|00004590| 20 20 20 20 41 64 6a 75 | 73 74 53 6b 69 6c 6c 28 | Adju|stSkill(|
|000045a0| 41 49 43 6f 6e 74 72 6f | 6c 6c 65 72 28 6b 69 6c |AIContro|ller(kil|
|000045b0| 6c 65 72 29 2c 20 50 6c | 61 79 65 72 43 6f 6e 74 |ler), Pl|ayerCont|
|000045c0| 72 6f 6c 6c 65 72 28 4f | 74 68 65 72 29 2c 74 72 |roller(O|ther),tr|
|000045d0| 75 65 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 69 66 |ue);.. | if|
|000045e0| 20 28 20 4f 74 68 65 72 | 2e 49 73 41 28 27 41 49 | ( Other|.IsA('AI|
|000045f0| 43 6f 6e 74 72 6f 6c 6c | 65 72 27 29 20 29 0d 0a |Controll|er') )..|
|00004600| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 64 6a 75 | | Adju|
|00004610| 73 74 53 6b 69 6c 6c 28 | 41 49 43 6f 6e 74 72 6f |stSkill(|AIContro|
|00004620| 6c 6c 65 72 28 4f 74 68 | 65 72 29 2c 20 50 6c 61 |ller(Oth|er), Pla|
|00004630| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 28 4b 69 |yerContr|oller(Ki|
|00004640| 6c 6c 65 72 29 2c 66 61 | 6c 73 65 29 3b 0d 0a 20 |ller),fa|lse);.. |
|00004650| 20 20 20 7d 0d 0a 7d 0d | 0a 0d 0a 2f 2f 0d 0a 66 | }..}.|...//..f|
|00004660| 75 6e 63 74 69 6f 6e 20 | 69 6e 74 20 52 65 64 75 |unction |int Redu|
|00004670| 63 65 44 61 6d 61 67 65 | 28 20 69 6e 74 20 44 61 |ceDamage|( int Da|
|00004680| 6d 61 67 65 2c 20 70 61 | 77 6e 20 69 6e 6a 75 72 |mage, pa|wn injur|
|00004690| 65 64 2c 20 70 61 77 6e | 20 69 6e 73 74 69 67 61 |ed, pawn| instiga|
|000046a0| 74 65 64 42 79 2c 20 76 | 65 63 74 6f 72 20 48 69 |tedBy, v|ector Hi|
|000046b0| 74 4c 6f 63 61 74 69 6f | 6e 2c 20 6f 75 74 20 76 |tLocatio|n, out v|
|000046c0| 65 63 74 6f 72 20 4d 6f | 6d 65 6e 74 75 6d 2c 20 |ector Mo|mentum, |
|000046d0| 63 6c 61 73 73 3c 44 61 | 6d 61 67 65 54 79 70 65 |class<Da|mageType|
|000046e0| 3e 20 44 61 6d 61 67 65 | 54 79 70 65 20 29 0d 0a |> Damage|Type )..|
|000046f0| 7b 0d 0a 09 2f 2f 20 49 | 66 20 74 68 65 72 65 20 |{...// I|f there |
|00004700| 69 73 20 61 20 4d 75 74 | 61 6e 74 20 2d 20 64 69 |is a Mut|ant - di|
|00004710| 73 61 62 6c 65 20 66 72 | 69 65 6e 64 6c 79 20 66 |sable fr|iendly f|
|00004720| 69 72 65 20 28 65 78 63 | 65 70 74 20 66 6f 72 20 |ire (exc|ept for |
|00004730| 62 6f 74 74 6f 6d 20 66 | 65 65 64 65 72 29 2e 0d |bottom f|eeder)..|
|00004740| 0a 09 69 66 28 20 43 75 | 72 72 65 6e 74 4d 75 74 |..if( Cu|rrentMut|
|00004750| 61 6e 74 20 21 3d 20 4e | 6f 6e 65 20 26 26 0d 0a |ant != N|one &&..|
|00004760| 09 09 28 69 6e 6a 75 72 | 65 64 20 21 3d 20 4e 6f |..(injur|ed != No|
|00004770| 6e 65 20 26 26 20 69 6e | 6a 75 72 65 64 2e 43 6f |ne && in|jured.Co|
|00004780| 6e 74 72 6f 6c 6c 65 72 | 20 21 3d 20 43 75 72 72 |ntroller| != Curr|
|00004790| 65 6e 74 4d 75 74 61 6e | 74 29 20 26 26 0d 0a 09 |entMutan|t) &&...|
|000047a0| 09 28 69 6e 73 74 69 67 | 61 74 65 64 42 79 20 21 |.(instig|atedBy !|
|000047b0| 3d 20 4e 6f 6e 65 20 26 | 26 20 69 6e 73 74 69 67 |= None &|& instig|
|000047c0| 61 74 65 64 42 79 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |atedBy.C|ontrolle|
|000047d0| 72 20 21 3d 20 43 75 72 | 72 65 6e 74 4d 75 74 61 |r != Cur|rentMuta|
|000047e0| 6e 74 29 20 26 26 0d 0a | 09 09 21 49 73 42 6f 74 |nt) &&..|..!IsBot|
|000047f0| 74 6f 6d 46 65 65 64 65 | 72 28 69 6e 73 74 69 67 |tomFeede|r(instig|
|00004800| 61 74 65 64 42 79 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |atedBy.C|ontrolle|
|00004810| 72 29 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 30 |r) )....|return 0|
|00004820| 3b 0d 0a 0d 0a 09 2f 2f | 20 52 65 67 75 6c 61 72 |;.....//| Regular|
|00004830| 20 64 61 6d 61 67 65 20 | 65 76 61 6c 75 61 74 69 | damage |evaluati|
|00004840| 6f 6e 0d 0a 09 72 65 74 | 75 72 6e 20 53 75 70 65 |on...ret|urn Supe|
|00004850| 72 2e 52 65 64 75 63 65 | 44 61 6d 61 67 65 28 44 |r.Reduce|Damage(D|
|00004860| 61 6d 61 67 65 2c 20 69 | 6e 6a 75 72 65 64 2c 20 |amage, i|njured, |
|00004870| 69 6e 73 74 69 67 61 74 | 65 64 42 79 2c 20 48 69 |instigat|edBy, Hi|
|00004880| 74 4c 6f 63 61 74 69 6f | 6e 2c 20 4d 6f 6d 65 6e |tLocatio|n, Momen|
|00004890| 74 75 6d 2c 20 44 61 6d | 61 67 65 54 79 70 65 29 |tum, Dam|ageType)|
|000048a0| 3b 0d 0a 7d 0d 0a 0d 0a | 2f 2f 20 43 68 61 6e 67 |;..}....|// Chang|
|000048b0| 65 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 70 61 |e the de|fault pa|
|000048c0| 77 6e 20 63 6c 61 73 73 | 20 74 6f 20 78 4d 75 74 |wn class| to xMut|
|000048d0| 61 6e 74 50 61 77 6e 20 | 6f 6e 20 6c 6f 67 69 6e |antPawn |on login|
|000048e0| 2e 0d 0a 65 76 65 6e 74 | 20 50 6c 61 79 65 72 43 |...event| PlayerC|
|000048f0| 6f 6e 74 72 6f 6c 6c 65 | 72 20 4c 6f 67 69 6e 28 |ontrolle|r Login(|
|00004900| 20 73 74 72 69 6e 67 20 | 50 6f 72 74 61 6c 2c 20 | string |Portal, |
|00004910| 73 74 72 69 6e 67 20 4f | 70 74 69 6f 6e 73 2c 20 |string O|ptions, |
|00004920| 6f 75 74 20 73 74 72 69 | 6e 67 20 45 72 72 6f 72 |out stri|ng Error|
|00004930| 20 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 50 6c | )..{...|local Pl|
|00004940| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 70 |ayerCont|roller p|
|00004950| 63 3b 0d 0a 0d 0a 09 70 | 63 20 3d 20 53 75 70 65 |c;.....p|c = Supe|
|00004960| 72 2e 4c 6f 67 69 6e 28 | 50 6f 72 74 61 6c 2c 20 |r.Login(|Portal, |
|00004970| 4f 70 74 69 6f 6e 73 2c | 20 45 72 72 6f 72 29 3b |Options,| Error);|
|00004980| 0d 0a 0d 0a 09 69 66 28 | 70 63 20 21 3d 20 4e 6f |.....if(|pc != No|
|00004990| 6e 65 29 0d 0a 09 7b 0d | 0a 09 09 70 63 2e 50 61 |ne)...{.|...pc.Pa|
|000049a0| 77 6e 43 6c 61 73 73 20 | 3d 20 63 6c 61 73 73 27 |wnClass |= class'|
|000049b0| 42 6f 6e 75 73 50 61 63 | 6b 2e 78 4d 75 74 61 6e |BonusPac|k.xMutan|
|000049c0| 74 50 61 77 6e 27 3b 0d | 0a 09 09 78 50 6c 61 79 |tPawn';.|...xPlay|
|000049d0| 65 72 28 70 63 29 2e 43 | 6f 6d 62 6f 4e 61 6d 65 |er(pc).C|omboName|
|000049e0| 4c 69 73 74 5b 33 5d 20 | 3d 20 22 22 3b 20 2f 2f |List[3] |= ""; //|
|000049f0| 20 52 65 6d 6f 76 65 20 | 69 6e 76 69 73 20 63 6f | Remove |invis co|
|00004a00| 6d 62 6f 20 66 72 6f 6d | 20 70 6c 61 79 65 72 73 |mbo from| players|
|00004a10| 20 6c 69 73 74 2e 0d 0a | 09 7d 0d 0a 0d 0a 09 72 | list...|.}.....r|
|00004a20| 65 74 75 72 6e 20 70 63 | 3b 0d 0a 7d 0d 0a 0d 0a |eturn pc|;..}....|
|00004a30| 65 76 65 6e 74 20 50 6f | 73 74 4c 6f 67 69 6e 28 |event Po|stLogin(|
|00004a40| 20 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 | PlayerC|ontrolle|
|00004a50| 72 20 4e 65 77 50 6c 61 | 79 65 72 20 29 0d 0a 7b |r NewPla|yer )..{|
|00004a60| 0d 0a 09 53 75 70 65 72 | 2e 50 6f 73 74 4c 6f 67 |...Super|.PostLog|
|00004a70| 69 6e 28 4e 65 77 50 6c | 61 79 65 72 29 3b 0d 0a |in(NewPl|ayer);..|
|00004a80| 0d 0a 09 2f 2f 20 55 70 | 64 61 74 65 20 6c 69 73 |...// Up|date lis|
|00004a90| 74 20 6f 66 20 62 6f 74 | 74 6f 6d 20 70 6c 61 79 |t of bot|tom play|
|00004aa0| 65 72 73 20 77 68 65 6e | 20 73 6f 6d 65 6f 6e 65 |ers when| someone|
|00004ab0| 20 6a 6f 69 6e 73 0d 0a | 09 55 70 64 61 74 65 42 | joins..|.UpdateB|
|00004ac0| 6f 74 74 6f 6d 46 65 65 | 64 65 72 28 29 3b 0d 0a |ottomFee|der();..|
|00004ad0| 7d 0d 0a 0d 0a 2f 2f 20 | 49 66 20 74 68 65 20 4d |}....// |If the M|
|00004ae0| 75 74 61 6e 74 20 6c 65 | 61 76 65 73 20 2d 20 70 |utant le|aves - p|
|00004af0| 75 74 20 74 68 69 6e 67 | 73 20 62 61 63 6b 20 69 |ut thing|s back i|
|00004b00| 6e 74 6f 20 46 46 41 0d | 0a 66 75 6e 63 74 69 6f |nto FFA.|.functio|
|00004b10| 6e 20 4c 6f 67 6f 75 74 | 28 43 6f 6e 74 72 6f 6c |n Logout|(Control|
|00004b20| 6c 65 72 20 45 78 69 74 | 69 6e 67 29 0d 0a 7b 0d |ler Exit|ing)..{.|
|00004b30| 0a 09 6c 6f 63 61 6c 20 | 78 50 61 77 6e 20 78 45 |..local |xPawn xE|
|00004b40| 78 69 74 3b 0d 0a 0d 0a | 09 69 66 20 28 20 45 78 |xit;....|.if ( Ex|
|00004b50| 69 74 69 6e 67 20 3d 3d | 20 43 75 72 72 65 6e 74 |iting ==| Current|
|00004b60| 4d 75 74 61 6e 74 20 29 | 0d 0a 09 7b 0d 0a 09 09 |Mutant )|...{....|
|00004b70| 69 66 28 20 45 78 69 74 | 69 6e 67 2e 50 61 77 6e |if( Exit|ing.Pawn|
|00004b80| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 09 09 78 | != None| ).....x|
|00004b90| 45 78 69 74 20 3d 20 78 | 50 61 77 6e 28 45 78 69 |Exit = x|Pawn(Exi|
|00004ba0| 74 69 6e 67 2e 50 61 77 | 6e 29 3b 0d 0a 0d 0a 09 |ting.Paw|n);.....|
|00004bb0| 09 69 66 28 09 78 45 78 | 69 74 20 21 3d 20 4e 6f |.if(.xEx|it != No|
|00004bc0| 6e 65 20 29 0d 0a 09 09 | 09 53 65 74 4d 75 74 61 |ne )....|.SetMuta|
|00004bd0| 6e 74 28 45 78 69 74 69 | 6e 67 2c 20 78 45 78 69 |nt(Exiti|ng, xExi|
|00004be0| 74 2c 20 66 61 6c 73 65 | 29 3b 0d 0a 0d 0a 09 09 |t, false|);......|
|00004bf0| 43 75 72 72 65 6e 74 4d | 75 74 61 6e 74 20 3d 20 |CurrentM|utant = |
|00004c00| 4e 6f 6e 65 3b 0d 0a 09 | 09 4d 75 74 61 6e 74 47 |None;...|.MutantG|
|00004c10| 61 6d 65 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |ameRepli|cationIn|
|00004c20| 66 6f 28 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |fo(GameR|eplicati|
|00004c30| 6f 6e 49 6e 66 6f 29 2e | 4d 75 74 61 6e 74 50 52 |onInfo).|MutantPR|
|00004c40| 49 20 3d 20 4e 6f 6e 65 | 3b 0d 0a 09 09 53 65 6e |I = None|;....Sen|
|00004c50| 64 41 6c 6c 43 75 72 72 | 65 6e 74 4d 75 74 61 6e |dAllCurr|entMutan|
|00004c60| 74 4d 65 73 73 61 67 65 | 28 29 3b 0d 0a 09 7d 0d |tMessage|();...}.|
|00004c70| 0a 0d 0a 09 2f 2f 20 55 | 70 64 61 74 65 20 6c 69 |....// U|pdate li|
|00004c80| 73 74 20 6f 66 20 62 6f | 74 74 6f 6d 20 70 6c 61 |st of bo|ttom pla|
|00004c90| 79 65 72 73 20 77 68 65 | 6e 20 73 6f 6d 65 6f 6e |yers whe|n someon|
|00004ca0| 65 20 6c 65 61 76 65 73 | 0d 0a 09 55 70 64 61 74 |e leaves|...Updat|
|00004cb0| 65 42 6f 74 74 6f 6d 46 | 65 65 64 65 72 28 29 3b |eBottomF|eeder();|
|00004cc0| 0d 0a 0d 0a 09 53 75 70 | 65 72 2e 4c 6f 67 6f 75 |.....Sup|er.Logou|
|00004cd0| 74 28 45 78 69 74 69 6e | 67 29 3b 0d 0a 7d 0d 0a |t(Exitin|g);..}..|
|00004ce0| 0d 0a 2f 2f 20 53 6f 20 | 62 6f 74 73 20 64 6f 6e |..// So |bots don|
|00004cf0| 74 20 74 72 79 20 61 6e | 64 20 64 6f 20 69 6e 76 |t try an|d do inv|
|00004d00| 69 73 20 63 6f 6d 62 6f | 0d 0a 66 75 6e 63 74 69 |is combo|..functi|
|00004d10| 6f 6e 20 73 74 72 69 6e | 67 20 52 65 63 6f 6d 6d |on strin|g Recomm|
|00004d20| 65 6e 64 43 6f 6d 62 6f | 28 73 74 72 69 6e 67 20 |endCombo|(string |
|00004d30| 43 6f 6d 62 6f 4e 61 6d | 65 29 0d 0a 7b 0d 0a 09 |ComboNam|e)..{...|
|00004d40| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 52 3b 0d 0a |local fl|oat R;..|
|00004d50| 0d 0a 09 2f 2f 20 43 68 | 61 6e 67 65 20 63 6f 6d |...// Ch|ange com|
|00004d60| 62 6f 20 69 66 20 69 74 | 73 20 69 6e 76 69 73 69 |bo if it|s invisi|
|00004d70| 62 69 6c 69 74 79 2e 0d | 0a 09 69 66 28 20 43 6f |bility..|..if( Co|
|00004d80| 6d 62 6f 4e 61 6d 65 20 | 3d 3d 20 22 78 47 61 6d |mboName |== "xGam|
|00004d90| 65 2e 43 6f 6d 62 6f 49 | 6e 76 69 73 22 20 29 0d |e.ComboI|nvis" ).|
|00004da0| 0a 09 7b 0d 0a 09 09 52 | 20 3d 20 46 52 61 6e 64 |..{....R| = FRand|
|00004db0| 28 29 3b 0d 0a 0d 0a 09 | 09 69 66 28 20 52 20 3c |();.....|.if( R <|
|00004dc0| 20 30 2e 33 33 20 29 0d | 0a 09 09 09 43 6f 6d 62 | 0.33 ).|....Comb|
|00004dd0| 6f 4e 61 6d 65 20 3d 20 | 22 78 47 61 6d 65 2e 43 |oName = |"xGame.C|
|00004de0| 6f 6d 62 6f 53 70 65 65 | 64 22 3b 0d 0a 09 09 65 |omboSpee|d";....e|
|00004df0| 6c 73 65 20 69 66 28 20 | 52 20 3e 20 30 2e 36 36 |lse if( |R > 0.66|
|00004e00| 20 29 0d 0a 09 09 09 43 | 6f 6d 62 6f 4e 61 6d 65 | ).....C|omboName|
|00004e10| 20 3d 20 22 78 47 61 6d | 65 2e 43 6f 6d 62 6f 42 | = "xGam|e.ComboB|
|00004e20| 65 72 73 65 72 6b 22 3b | 0d 0a 09 09 65 6c 73 65 |erserk";|....else|
|00004e30| 0d 0a 09 09 09 43 6f 6d | 62 6f 4e 61 6d 65 20 3d |.....Com|boName =|
|00004e40| 20 22 78 47 61 6d 65 2e | 43 6f 6d 62 6f 44 65 66 | "xGame.|ComboDef|
|00004e50| 65 6e 73 65 22 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 72 |ense";..|.}.....r|
|00004e60| 65 74 75 72 6e 20 53 75 | 70 65 72 2e 52 65 63 6f |eturn Su|per.Reco|
|00004e70| 6d 6d 65 6e 64 43 6f 6d | 62 6f 28 43 6f 6d 62 6f |mmendCom|bo(Combo|
|00004e80| 4e 61 6d 65 29 3b 0d 0a | 7d 0d 0a 0d 0a 2f 2f 20 |Name);..|}....// |
|00004e90| 53 65 74 20 62 6f 74 20 | 70 61 77 6e 20 63 6c 61 |Set bot |pawn cla|
|00004ea0| 73 73 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 42 6f 74 |ss..func|tion Bot|
|00004eb0| 20 53 70 61 77 6e 42 6f | 74 28 6f 70 74 69 6f 6e | SpawnBo|t(option|
|00004ec0| 61 6c 20 73 74 72 69 6e | 67 20 62 6f 74 4e 61 6d |al strin|g botNam|
|00004ed0| 65 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 42 6f |e)..{...|local Bo|
|00004ee0| 74 20 42 3b 0d 0a 0d 0a | 09 42 20 3d 20 53 75 70 |t B;....|.B = Sup|
|00004ef0| 65 72 2e 53 70 61 77 6e | 42 6f 74 28 62 6f 74 4e |er.Spawn|Bot(botN|
|00004f00| 61 6d 65 29 3b 0d 0a 0d | 0a 09 69 66 28 42 20 21 |ame);...|..if(B !|
|00004f10| 3d 20 4e 6f 6e 65 29 0d | 0a 09 7b 0d 0a 09 09 42 |= None).|..{....B|
|00004f20| 2e 50 61 77 6e 43 6c 61 | 73 73 20 3d 20 63 6c 61 |.PawnCla|ss = cla|
|00004f30| 73 73 27 42 6f 6e 75 73 | 50 61 63 6b 2e 78 4d 75 |ss'Bonus|Pack.xMu|
|00004f40| 74 61 6e 74 50 61 77 6e | 27 3b 0d 0a 09 7d 0d 0a |tantPawn|';...}..|
|00004f50| 0d 0a 09 2f 2f 20 55 70 | 64 61 74 65 20 6c 69 73 |...// Up|date lis|
|00004f60| 74 20 6f 66 20 62 6f 74 | 74 6f 6d 20 70 6c 61 79 |t of bot|tom play|
|00004f70| 65 72 73 20 77 68 65 6e | 20 61 20 62 6f 74 20 6a |ers when| a bot j|
|00004f80| 6f 69 6e 73 0d 0a 09 55 | 70 64 61 74 65 42 6f 74 |oins...U|pdateBot|
|00004f90| 74 6f 6d 46 65 65 64 65 | 72 28 29 3b 0d 0a 0d 0a |tomFeede|r();....|
|00004fa0| 09 72 65 74 75 72 6e 20 | 42 3b 0d 0a 7d 0d 0a 0d |.return |B;..}...|
|00004fb0| 0a 73 74 61 74 69 63 20 | 66 75 6e 63 74 69 6f 6e |.static |function|
|00004fc0| 20 46 69 6c 6c 50 6c 61 | 79 49 6e 66 6f 28 50 6c | FillPla|yInfo(Pl|
|00004fd0| 61 79 49 6e 66 6f 20 50 | 49 29 0d 0a 7b 0d 0a 09 |ayInfo P|I)..{...|
|00004fe0| 53 75 70 65 72 2e 46 69 | 6c 6c 50 6c 61 79 49 6e |Super.Fi|llPlayIn|
|00004ff0| 66 6f 28 50 49 29 3b 0d | 0a 0d 0a 09 50 49 2e 41 |fo(PI);.|....PI.A|
|00005000| 64 64 53 65 74 74 69 6e | 67 28 64 65 66 61 75 6c |ddSettin|g(defaul|
|00005010| 74 2e 47 61 6d 65 47 72 | 6f 75 70 2c 20 20 22 62 |t.GameGr|oup, "b|
|00005020| 45 6e 61 62 6c 65 42 6f | 74 74 6f 6d 46 65 65 64 |EnableBo|ttomFeed|
|00005030| 65 72 22 2c 20 64 65 66 | 61 75 6c 74 2e 4d 75 74 |er", def|ault.Mut|
|00005040| 50 72 6f 70 54 65 78 74 | 2c 20 34 30 2c 20 31 2c |PropText|, 40, 1,|
|00005050| 20 22 43 68 65 63 6b 22 | 2c 2c 2c 2c 54 72 75 65 | "Check"|,,,,True|
|00005060| 29 3b 0d 0a 7d 0d 0a 0d | 0a 73 74 61 74 69 63 20 |);..}...|.static |
|00005070| 65 76 65 6e 74 20 73 74 | 72 69 6e 67 20 47 65 74 |event st|ring Get|
|00005080| 44 65 73 63 72 69 70 74 | 69 6f 6e 54 65 78 74 28 |Descript|ionText(|
|00005090| 73 74 72 69 6e 67 20 50 | 72 6f 70 4e 61 6d 65 29 |string P|ropName)|
|000050a0| 0d 0a 7b 0d 0a 09 73 77 | 69 74 63 68 20 28 50 72 |..{...sw|itch (Pr|
|000050b0| 6f 70 4e 61 6d 65 29 0d | 0a 09 7b 0d 0a 09 09 63 |opName).|..{....c|
|000050c0| 61 73 65 20 22 62 45 6e | 61 62 6c 65 42 6f 74 74 |ase "bEn|ableBott|
|000050d0| 6f 6d 46 65 65 64 65 72 | 22 3a 09 72 65 74 75 72 |omFeeder|":.retur|
|000050e0| 6e 20 64 65 66 61 75 6c | 74 2e 4d 75 74 44 65 73 |n defaul|t.MutDes|
|000050f0| 63 54 65 78 74 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 72 |cText;..|.}.....r|
|00005100| 65 74 75 72 6e 20 53 75 | 70 65 72 2e 47 65 74 44 |eturn Su|per.GetD|
|00005110| 65 73 63 72 69 70 74 69 | 6f 6e 54 65 78 74 28 50 |escripti|onText(P|
|00005120| 72 6f 70 4e 61 6d 65 29 | 3b 0d 0a 7d 0d 0a 0d 0a |ropName)|;..}....|
|00005130| 66 75 6e 63 74 69 6f 6e | 20 47 65 74 53 65 72 76 |function| GetServ|
|00005140| 65 72 44 65 74 61 69 6c | 73 28 6f 75 74 20 53 65 |erDetail|s(out Se|
|00005150| 72 76 65 72 52 65 73 70 | 6f 6e 73 65 4c 69 6e 65 |rverResp|onseLine|
|00005160| 20 53 65 72 76 65 72 53 | 74 61 74 65 29 0d 0a 7b | ServerS|tate)..{|
|00005170| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 69 3b 0d |...local| int i;.|
|00005180| 0a 0d 0a 09 53 75 70 65 | 72 2e 47 65 74 53 65 72 |....Supe|r.GetSer|
|00005190| 76 65 72 44 65 74 61 69 | 6c 73 28 53 65 72 76 65 |verDetai|ls(Serve|
|000051a0| 72 53 74 61 74 65 29 3b | 0d 0a 0d 0a 09 69 20 3d |rState);|.....i =|
|000051b0| 20 53 65 72 76 65 72 53 | 74 61 74 65 2e 53 65 72 | ServerS|tate.Ser|
|000051c0| 76 65 72 49 6e 66 6f 2e | 4c 65 6e 67 74 68 3b 0d |verInfo.|Length;.|
|000051d0| 0a 09 53 65 72 76 65 72 | 53 74 61 74 65 2e 53 65 |..Server|State.Se|
|000051e0| 72 76 65 72 49 6e 66 6f | 2e 4c 65 6e 67 74 68 20 |rverInfo|.Length |
|000051f0| 3d 20 69 20 2b 20 31 3b | 0d 0a 09 53 65 72 76 65 |= i + 1;|...Serve|
|00005200| 72 53 74 61 74 65 2e 53 | 65 72 76 65 72 49 6e 66 |rState.S|erverInf|
|00005210| 6f 5b 69 5d 2e 4b 65 79 | 20 3d 20 22 62 45 6e 61 |o[i].Key| = "bEna|
|00005220| 62 6c 65 42 6f 74 74 6f | 6d 46 65 65 64 65 72 22 |bleBotto|mFeeder"|
|00005230| 3b 0d 0a 09 53 65 72 76 | 65 72 53 74 61 74 65 2e |;...Serv|erState.|
|00005240| 53 65 72 76 65 72 49 6e | 66 6f 5b 69 5d 2e 56 61 |ServerIn|fo[i].Va|
|00005250| 6c 75 65 20 3d 20 4c 6f | 63 73 28 62 45 6e 61 62 |lue = Lo|cs(bEnab|
|00005260| 6c 65 42 6f 74 74 6f 6d | 46 65 65 64 65 72 29 3b |leBottom|Feeder);|
|00005270| 0d 0a 7d 0d 0a 0d 0a 00 | |..}.....| |
+--------+-------------------------+-------------------------+--------+--------+