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 / XWeapons.u / LinkGun_Translauncher_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  11.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 | 67 b9 01 2f 2f 3d 3d 3d |........|g..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 54 |========|==..// T|
|00000060| 72 61 6e 73 6c 6f 63 61 | 74 6f 72 20 4c 61 75 6e |ransloca|tor Laun|
|00000070| 63 68 65 72 0d 0a 2f 2f | 3d 3d 3d 3d 3d 3d 3d 3d |cher..//|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 0d 0a 63 | 6c 61 73 73 20 54 72 61 |=====..c|lass Tra|
|000000d0| 6e 73 4c 61 75 6e 63 68 | 65 72 20 65 78 74 65 6e |nsLaunch|er exten|
|000000e0| 64 73 20 57 65 61 70 6f | 6e 0d 0a 20 20 20 20 63 |ds Weapo|n.. c|
|000000f0| 6f 6e 66 69 67 28 75 73 | 65 72 29 0d 0a 20 20 20 |onfig(us|er).. |
|00000100| 20 48 69 64 65 44 72 6f | 70 44 6f 77 6e 3b 0d 0a | HideDro|pDown;..|
|00000110| 0d 0a 23 45 58 45 43 20 | 4f 42 4a 20 4c 4f 41 44 |..#EXEC |OBJ LOAD|
|00000120| 20 46 49 4c 45 3d 49 6e | 74 65 72 66 61 63 65 43 | FILE=In|terfaceC|
|00000130| 6f 6e 74 65 6e 74 2e 75 | 74 78 0d 0a 0d 0a 76 61 |ontent.u|tx....va|
|00000140| 72 20 54 72 61 6e 73 42 | 65 61 63 6f 6e 20 54 72 |r TransB|eacon Tr|
|00000150| 61 6e 73 42 65 61 63 6f | 6e 3b 0d 0a 76 61 72 28 |ansBeaco|n;..var(|
|00000160| 29 20 66 6c 6f 61 74 20 | 20 20 20 20 4d 61 78 43 |) float | MaxC|
|00000170| 61 6d 44 69 73 74 3b 0d | 0a 76 61 72 28 29 20 66 |amDist;.|.var() f|
|00000180| 6c 6f 61 74 20 41 6d 6d | 6f 43 68 61 72 67 65 46 |loat Amm|oChargeF|
|00000190| 3b 0d 0a 76 61 72 20 69 | 6e 74 20 52 65 70 41 6d |;..var i|nt RepAm|
|000001a0| 6d 6f 3b 0d 0a 76 61 72 | 28 29 20 66 6c 6f 61 74 |mo;..var|() float|
|000001b0| 20 41 6d 6d 6f 43 68 61 | 72 67 65 4d 61 78 3b 0d | AmmoCha|rgeMax;.|
|000001c0| 0a 76 61 72 28 29 20 66 | 6c 6f 61 74 20 41 6d 6d |.var() f|loat Amm|
|000001d0| 6f 43 68 61 72 67 65 52 | 61 74 65 3b 0d 0a 76 61 |oChargeR|ate;..va|
|000001e0| 72 20 67 6c 6f 62 61 6c | 63 6f 6e 66 69 67 20 62 |r global|config b|
|000001f0| 6f 6f 6c 20 62 50 72 65 | 76 57 65 61 70 6f 6e 53 |ool bPre|vWeaponS|
|00000200| 77 69 74 63 68 3b 0d 0a | 76 61 72 20 78 42 6f 6d |witch;..|var xBom|
|00000210| 62 46 6c 61 67 20 42 6f | 6d 62 3b 0d 0a 76 61 72 |bFlag Bo|mb;..var|
|00000220| 20 62 6f 6f 6c 20 62 44 | 72 61 69 6e 65 64 3b 0d | bool bD|rained;.|
|00000230| 0a 76 61 72 20 62 6f 6f | 6c 20 62 42 65 61 63 6f |.var boo|l bBeaco|
|00000240| 6e 44 65 70 6c 6f 79 65 | 64 3b 20 2f 2f 20 6d 65 |nDeploye|d; // me|
|00000250| 61 6e 69 6e 67 66 75 6c | 20 66 6f 72 20 63 6c 69 |aningful| for cli|
|00000260| 65 6e 74 0d 0a 76 61 72 | 20 62 6f 6f 6c 20 62 54 |ent..var| bool bT|
|00000270| 65 61 6d 53 65 74 3b 0d | 0a 76 61 72 20 62 79 74 |eamSet;.|.var byt|
|00000280| 65 20 56 69 65 77 42 65 | 61 63 6f 6e 56 6f 6c 75 |e ViewBe|aconVolu|
|00000290| 6d 65 3b 0d 0a 76 61 72 | 20 66 6c 6f 61 74 20 50 |me;..var| float P|
|000002a0| 72 65 44 72 61 69 6e 41 | 6d 6d 6f 3b 0d 0a 76 61 |reDrainA|mmo;..va|
|000002b0| 72 20 72 6f 74 61 74 6f | 72 20 54 72 61 6e 73 6c |r rotato|r Transl|
|000002c0| 6f 63 52 6f 74 3b 0d 0a | 76 61 72 20 66 6c 6f 61 |ocRot;..|var floa|
|000002d0| 74 20 54 72 61 6e 73 6c | 6f 63 53 63 61 6c 65 2c |t Transl|ocScale,|
|000002e0| 20 4f 6c 64 54 69 6d 65 | 3b 0d 0a 0d 0a 72 65 70 | OldTime|;....rep|
|000002f0| 6c 69 63 61 74 69 6f 6e | 0d 0a 7b 0d 0a 20 20 20 |lication|..{.. |
|00000300| 20 72 65 6c 69 61 62 6c | 65 20 69 66 20 28 20 62 | reliabl|e if ( b|
|00000310| 4e 65 74 4f 77 6e 65 72 | 20 26 26 20 28 52 4f 4c |NetOwner| && (ROL|
|00000320| 45 3d 3d 52 4f 4c 45 5f | 41 75 74 68 6f 72 69 74 |E==ROLE_|Authorit|
|00000330| 79 29 20 29 0d 0a 20 20 | 20 20 20 20 20 20 54 72 |y) ).. | Tr|
|00000340| 61 6e 73 42 65 61 63 6f | 6e 2c 52 65 70 41 6d 6d |ansBeaco|n,RepAmm|
|00000350| 6f 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |o;..}...|.simulat|
|00000360| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |ed funct|ion bool|
|00000370| 20 48 61 73 41 6d 6d 6f | 28 29 0d 0a 7b 0d 0a 20 | HasAmmo|()..{.. |
|00000380| 20 20 20 72 65 74 75 72 | 6e 20 74 72 75 65 3b 0d | retur|n true;.|
|00000390| 0a 7d 0d 0a 0d 0a 2f 2f | 20 41 49 20 49 6e 74 65 |.}....//| AI Inte|
|000003a0| 72 66 61 63 65 2e 2e 2e | 0d 0a 66 75 6e 63 74 69 |rface...|..functi|
|000003b0| 6f 6e 20 47 69 76 65 54 | 6f 28 50 61 77 6e 20 4f |on GiveT|o(Pawn O|
|000003c0| 74 68 65 72 2c 20 6f 70 | 74 69 6f 6e 61 6c 20 50 |ther, op|tional P|
|000003d0| 69 63 6b 75 70 20 50 69 | 63 6b 75 70 29 0d 0a 7b |ickup Pi|ckup)..{|
|000003e0| 0d 0a 09 53 75 70 65 72 | 2e 47 69 76 65 54 6f 28 |...Super|.GiveTo(|
|000003f0| 4f 74 68 65 72 2c 20 50 | 69 63 6b 75 70 29 3b 0d |Other, P|ickup);.|
|00000400| 0a 0d 0a 09 69 66 20 28 | 20 42 6f 74 28 4f 74 68 |....if (| Bot(Oth|
|00000410| 65 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 29 20 21 |er.Contr|oller) !|
|00000420| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 42 6f 74 28 |= None )|....Bot(|
|00000430| 4f 74 68 65 72 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |Other.Co|ntroller|
|00000440| 29 2e 62 48 61 73 54 72 | 61 6e 73 6c 6f 63 61 74 |).bHasTr|anslocat|
|00000450| 6f 72 20 3d 20 74 72 75 | 65 3b 0d 0a 7d 0d 0a 0d |or = tru|e;..}...|
|00000460| 0a 66 75 6e 63 74 69 6f | 6e 20 62 6f 6f 6c 20 53 |.functio|n bool S|
|00000470| 68 6f 75 6c 64 54 72 61 | 6e 73 6c 6f 63 61 74 6f |houldTra|nslocato|
|00000480| 72 48 6f 70 28 42 6f 74 | 20 42 29 0d 0a 7b 0d 0a |rHop(Bot| B)..{..|
|00000490| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 64 69 73 |.local f|loat dis|
|000004a0| 74 3b 0d 0a 09 6c 6f 63 | 61 6c 20 41 63 74 6f 72 |t;...loc|al Actor|
|000004b0| 20 4e 3b 0d 0a 09 6c 6f | 63 61 6c 20 62 6f 6f 6c | N;...lo|cal bool|
|000004c0| 20 62 48 6f 70 3b 0d 0a | 0d 0a 09 62 48 6f 70 20 | bHop;..|...bHop |
|000004d0| 3d 20 42 2e 62 54 72 61 | 6e 73 6c 6f 63 61 74 6f |= B.bTra|nslocato|
|000004e0| 72 48 6f 70 3b 0d 0a 09 | 42 2e 62 54 72 61 6e 73 |rHop;...|B.bTrans|
|000004f0| 6c 6f 63 61 74 6f 72 48 | 6f 70 20 3d 20 66 61 6c |locatorH|op = fal|
|00000500| 73 65 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 62 48 6f |se;.....|if ( bHo|
|00000510| 70 20 26 26 20 28 42 2e | 46 6f 63 75 73 20 3d 3d |p && (B.|Focus ==|
|00000520| 20 42 2e 54 72 61 6e 73 | 6c 6f 63 61 74 69 6f 6e | B.Trans|location|
|00000530| 54 61 72 67 65 74 29 20 | 26 26 20 28 42 2e 4e 65 |Target) |&& (B.Ne|
|00000540| 78 74 54 72 61 6e 73 6c | 6f 63 54 69 6d 65 20 3c |xtTransl|ocTime <|
|00000550| 20 4c 65 76 65 6c 2e 54 | 69 6d 65 53 65 63 6f 6e | Level.T|imeSecon|
|00000560| 64 73 29 0d 0a 09 09 20 | 26 26 20 42 2e 49 6e 4c |ds).... |&& B.InL|
|00000570| 61 74 65 6e 74 45 78 65 | 63 75 74 69 6f 6e 28 42 |atentExe|cution(B|
|00000580| 2e 4c 41 54 45 4e 54 5f | 4d 4f 56 45 54 4f 57 41 |.LATENT_|MOVETOWA|
|00000590| 52 44 29 20 26 26 20 42 | 2e 53 71 75 61 64 2e 41 |RD) && B|.Squad.A|
|000005a0| 6c 6c 6f 77 54 72 61 6e | 73 6c 6f 63 61 74 69 6f |llowTran|slocatio|
|000005b0| 6e 42 79 28 42 29 20 29 | 0d 0a 09 7b 0d 0a 09 09 |nBy(B) )|...{....|
|000005c0| 69 66 20 28 20 28 54 72 | 61 6e 73 42 65 61 63 6f |if ( (Tr|ansBeaco|
|000005d0| 6e 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 54 72 |n != Non|e) && Tr|
|000005e0| 61 6e 73 42 65 61 63 6f | 6e 2e 49 73 4d 6f 6e 69 |ansBeaco|n.IsMoni|
|000005f0| 74 6f 72 69 6e 67 28 42 | 2e 46 6f 63 75 73 29 20 |toring(B|.Focus) |
|00000600| 29 0d 0a 09 09 09 72 65 | 74 75 72 6e 20 66 61 6c |).....re|turn fal|
|00000610| 73 65 3b 0d 0a 09 09 64 | 69 73 74 20 3d 20 56 53 |se;....d|ist = VS|
|00000620| 69 7a 65 28 42 2e 54 72 | 61 6e 73 6c 6f 63 61 74 |ize(B.Tr|anslocat|
|00000630| 69 6f 6e 54 61 72 67 65 | 74 2e 4c 6f 63 61 74 69 |ionTarge|t.Locati|
|00000640| 6f 6e 20 2d 20 42 2e 50 | 61 77 6e 2e 4c 6f 63 61 |on - B.P|awn.Loca|
|00000650| 74 69 6f 6e 29 3b 0d 0a | 09 09 69 66 20 28 20 64 |tion);..|..if ( d|
|00000660| 69 73 74 20 3c 20 33 30 | 30 20 29 0d 0a 09 09 7b |ist < 30|0 )....{|
|00000670| 0d 0a 09 09 09 2f 2f 20 | 73 65 65 20 69 66 20 6e |.....// |see if n|
|00000680| 65 78 74 20 70 61 74 68 | 20 69 73 20 70 6f 73 73 |ext path| is poss|
|00000690| 69 62 6c 65 0d 0a 09 09 | 09 4e 20 3d 20 42 2e 41 |ible....|.N = B.A|
|000006a0| 6c 74 65 72 6e 61 74 65 | 54 72 61 6e 73 6c 6f 63 |lternate|Transloc|
|000006b0| 44 65 73 74 28 29 3b 0d | 0a 09 09 09 69 66 20 28 |Dest();.|....if (|
|000006c0| 20 28 4e 20 3d 3d 20 4e | 6f 6e 65 29 20 7c 7c 20 | (N == N|one) || |
|000006d0| 28 28 76 65 63 74 6f 72 | 28 42 2e 52 6f 74 61 74 |((vector|(B.Rotat|
|000006e0| 69 6f 6e 29 20 44 6f 74 | 20 4e 6f 72 6d 61 6c 28 |ion) Dot| Normal(|
|000006f0| 4e 2e 4c 6f 63 61 74 69 | 6f 6e 20 2d 20 42 2e 50 |N.Locati|on - B.P|
|00000700| 61 77 6e 2e 4c 6f 63 61 | 74 69 6f 6e 29 29 20 3c |awn.Loca|tion)) <|
|00000710| 20 30 2e 35 29 20 20 29 | 0d 0a 09 09 09 7b 0d 0a | 0.5) )|.....{..|
|00000720| 09 09 09 09 69 66 20 28 | 20 64 69 73 74 20 3c 20 |....if (| dist < |
|00000730| 32 30 30 20 29 0d 0a 09 | 09 09 09 7b 0d 0a 09 09 |200 )...|...{....|
|00000740| 09 09 09 42 2e 54 72 61 | 6e 73 6c 6f 63 61 74 69 |...B.Tra|nslocati|
|00000750| 6f 6e 54 61 72 67 65 74 | 20 3d 20 4e 6f 6e 65 3b |onTarget| = None;|
|00000760| 0d 0a 09 09 09 09 09 42 | 2e 52 65 61 6c 54 72 61 |.......B|.RealTra|
|00000770| 6e 73 6c 6f 63 61 74 69 | 6f 6e 54 61 72 67 65 74 |nslocati|onTarget|
|00000780| 20 3d 20 4e 6f 6e 65 3b | 0d 0a 09 09 09 09 09 72 | = None;|.......r|
|00000790| 65 74 75 72 6e 20 66 61 | 6c 73 65 3b 0d 0a 09 09 |eturn fa|lse;....|
|000007a0| 09 09 7d 0d 0a 09 09 09 | 7d 0d 0a 09 09 09 65 6c |..}.....|}.....el|
|000007b0| 73 65 0d 0a 09 09 09 7b | 0d 0a 09 09 09 09 42 2e |se.....{|......B.|
|000007c0| 54 72 61 6e 73 6c 6f 63 | 61 74 69 6f 6e 54 61 72 |Transloc|ationTar|
|000007d0| 67 65 74 20 3d 20 4e 3b | 0d 0a 09 09 09 09 42 2e |get = N;|......B.|
|000007e0| 52 65 61 6c 54 72 61 6e | 73 6c 6f 63 61 74 69 6f |RealTran|slocatio|
|000007f0| 6e 54 61 72 67 65 74 20 | 3d 20 42 2e 54 72 61 6e |nTarget |= B.Tran|
|00000800| 73 6c 6f 63 61 74 69 6f | 6e 54 61 72 67 65 74 3b |slocatio|nTarget;|
|00000810| 0d 0a 09 09 09 09 42 2e | 46 6f 63 75 73 20 3d 20 |......B.|Focus = |
|00000820| 4e 3b 0d 0a 09 09 09 09 | 72 65 74 75 72 6e 20 74 |N;......|return t|
|00000830| 72 75 65 3b 0d 0a 09 09 | 09 7d 0d 0a 09 09 7d 0d |rue;....|.}....}.|
|00000840| 0a 09 09 69 66 20 28 20 | 28 76 65 63 74 6f 72 28 |...if ( |(vector(|
|00000850| 42 2e 52 6f 74 61 74 69 | 6f 6e 29 20 44 6f 74 20 |B.Rotati|on) Dot |
|00000860| 4e 6f 72 6d 61 6c 28 42 | 2e 54 72 61 6e 73 6c 6f |Normal(B|.Translo|
|00000870| 63 61 74 69 6f 6e 54 61 | 72 67 65 74 2e 4c 6f 63 |cationTa|rget.Loc|
|00000880| 61 74 69 6f 6e 20 2d 20 | 42 2e 50 61 77 6e 2e 4c |ation - |B.Pawn.L|
|00000890| 6f 63 61 74 69 6f 6e 29 | 29 20 3c 20 30 2e 35 20 |ocation)|) < 0.5 |
|000008a0| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 53 65 74 54 69 |)....{..|...SetTi|
|000008b0| 6d 65 72 28 30 2e 31 2c | 66 61 6c 73 65 29 3b 0d |mer(0.1,|false);.|
|000008c0| 0a 09 09 09 72 65 74 75 | 72 6e 20 66 61 6c 73 65 |....retu|rn false|
|000008d0| 3b 0d 0a 09 09 7d 0d 0a | 09 09 72 65 74 75 72 6e |;....}..|..return|
|000008e0| 20 74 72 75 65 3b 0d 0a | 09 7d 0d 0a 09 72 65 74 | true;..|.}...ret|
|000008f0| 75 72 6e 20 66 61 6c 73 | 65 3b 0d 0a 7d 0d 0a 0d |urn fals|e;..}...|
|00000900| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|00000910| 69 6f 6e 20 54 69 6d 65 | 72 28 29 0d 0a 7b 0d 0a |ion Time|r()..{..|
|00000920| 09 6c 6f 63 61 6c 20 42 | 6f 74 20 42 3b 0d 0a 0d |.local B|ot B;...|
|00000930| 0a 09 69 66 20 28 20 49 | 6e 73 74 69 67 61 74 6f |..if ( I|nstigato|
|00000940| 72 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 7b 0d |r != Non|e )...{.|
|00000950| 0a 09 09 42 20 3d 20 42 | 6f 74 28 49 6e 73 74 69 |...B = B|ot(Insti|
|00000960| 67 61 74 6f 72 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |gator.Co|ntroller|
|00000970| 29 3b 0d 0a 09 09 69 66 | 20 28 20 28 42 20 21 3d |);....if| ( (B !=|
|00000980| 20 4e 6f 6e 65 29 20 26 | 26 20 28 42 2e 54 72 61 | None) &|& (B.Tra|
|00000990| 6e 73 6c 6f 63 61 74 69 | 6f 6e 54 61 72 67 65 74 |nslocati|onTarget|
|000009a0| 20 21 3d 20 4e 6f 6e 65 | 29 20 26 26 20 28 42 2e | != None|) && (B.|
|000009b0| 62 50 72 65 70 61 72 69 | 6e 67 4d 6f 76 65 20 7c |bPrepari|ngMove ||
|000009c0| 7c 20 53 68 6f 75 6c 64 | 54 72 61 6e 73 6c 6f 63 || Should|Transloc|
|000009d0| 61 74 6f 72 48 6f 70 28 | 42 29 29 20 29 0d 0a 09 |atorHop(|B)) )...|
|000009e0| 09 09 46 69 72 65 48 61 | 63 6b 28 30 29 3b 0d 0a |..FireHa|ck(0);..|
|000009f0| 09 7d 0d 0a 09 53 75 70 | 65 72 2e 54 69 6d 65 72 |.}...Sup|er.Timer|
|00000a00| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|00000a10| 6f 6e 20 46 69 72 65 48 | 61 63 6b 28 62 79 74 65 |on FireH|ack(byte|
|00000a20| 20 4d 6f 64 65 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 | Mode)..|{...loca|
|00000a30| 6c 20 41 63 74 6f 72 20 | 54 54 61 72 67 65 74 3b |l Actor |TTarget;|
|00000a40| 0d 0a 09 6c 6f 63 61 6c | 20 76 65 63 74 6f 72 20 |...local| vector |
|00000a50| 54 54 61 72 67 65 74 4c | 6f 63 3b 0d 0a 0d 0a 09 |TTargetL|oc;.....|
|00000a60| 69 66 20 28 20 4d 6f 64 | 65 20 3d 3d 20 30 20 29 |if ( Mod|e == 0 )|
|00000a70| 0d 0a 09 7b 0d 0a 09 09 | 69 66 20 28 20 54 72 61 |...{....|if ( Tra|
|00000a80| 6e 73 42 65 61 63 6f 6e | 20 21 3d 20 4e 6f 6e 65 |nsBeacon| != None|
|00000a90| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 2f 2f 20 74 | )....{.|....// t|
|00000aa0| 68 69 73 20 73 68 6f 75 | 6c 64 6e 27 74 20 68 61 |his shou|ldn't ha|
|00000ab0| 70 70 65 6e 0d 0a 09 09 | 09 54 72 61 6e 73 42 65 |ppen....|.TransBe|
|00000ac0| 61 63 6f 6e 2e 62 4e 6f | 41 49 20 3d 20 74 72 75 |acon.bNo|AI = tru|
|00000ad0| 65 3b 0d 0a 09 09 09 54 | 72 61 6e 73 42 65 61 63 |e;.....T|ransBeac|
|00000ae0| 6f 6e 2e 44 65 73 74 72 | 6f 79 28 29 3b 0d 0a 09 |on.Destr|oy();...|
|00000af0| 09 09 54 72 61 6e 73 42 | 65 61 63 6f 6e 20 3d 20 |..TransB|eacon = |
|00000b00| 4e 6f 6e 65 3b 0d 0a 09 | 09 7d 0d 0a 09 09 54 54 |None;...|.}....TT|
|00000b10| 61 72 67 65 74 20 3d 20 | 42 6f 74 28 49 6e 73 74 |arget = |Bot(Inst|
|00000b20| 69 67 61 74 6f 72 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |igator.C|ontrolle|
|00000b30| 72 29 2e 54 72 61 6e 73 | 6c 6f 63 61 74 69 6f 6e |r).Trans|location|
|00000b40| 54 61 72 67 65 74 3b 0d | 0a 09 09 69 66 20 28 20 |Target;.|...if ( |
|00000b50| 54 54 61 72 67 65 74 20 | 3d 3d 20 4e 6f 6e 65 20 |TTarget |== None |
|00000b60| 29 0d 0a 09 09 09 72 65 | 74 75 72 6e 3b 0d 0a 09 |).....re|turn;...|
|00000b70| 09 2f 2f 20 68 61 63 6b | 20 69 6e 20 74 72 61 6e |.// hack| in tran|
|00000b80| 73 6c 6f 63 61 74 6f 72 | 20 66 69 72 69 6e 67 20 |slocator| firing |
|00000b90| 68 65 72 65 0d 0a 20 20 | 20 20 20 20 20 20 46 69 |here.. | Fi|
|00000ba0| 72 65 4d 6f 64 65 5b 30 | 5d 2e 50 6c 61 79 46 69 |reMode[0|].PlayFi|
|00000bb0| 72 69 6e 67 28 29 3b 0d | 0a 20 20 20 20 20 20 20 |ring();.|. |
|00000bc0| 20 46 69 72 65 4d 6f 64 | 65 5b 30 5d 2e 46 6c 61 | FireMod|e[0].Fla|
|00000bd0| 73 68 4d 75 7a 7a 6c 65 | 46 6c 61 73 68 28 29 3b |shMuzzle|Flash();|
|00000be0| 0d 0a 20 20 20 20 20 20 | 20 20 46 69 72 65 4d 6f |.. | FireMo|
|00000bf0| 64 65 5b 30 5d 2e 53 74 | 61 72 74 4d 75 7a 7a 6c |de[0].St|artMuzzl|
|00000c00| 65 53 6d 6f 6b 65 28 29 | 3b 0d 0a 20 20 20 20 20 |eSmoke()|;.. |
|00000c10| 20 20 20 49 6e 63 72 65 | 6d 65 6e 74 46 6c 61 73 | Incre|mentFlas|
|00000c20| 68 43 6f 75 6e 74 28 30 | 29 3b 0d 0a 09 09 50 72 |hCount(0|);....Pr|
|00000c30| 6f 6a 65 63 74 69 6c 65 | 46 69 72 65 28 46 69 72 |ojectile|Fire(Fir|
|00000c40| 65 4d 6f 64 65 5b 30 5d | 29 2e 53 70 61 77 6e 50 |eMode[0]|).SpawnP|
|00000c50| 72 6f 6a 65 63 74 69 6c | 65 28 49 6e 73 74 69 67 |rojectil|e(Instig|
|00000c60| 61 74 6f 72 2e 4c 6f 63 | 61 74 69 6f 6e 2c 52 6f |ator.Loc|ation,Ro|
|00000c70| 74 28 30 2c 30 2c 30 29 | 29 3b 0d 0a 09 09 2f 2f |t(0,0,0)|);....//|
|00000c80| 20 66 69 6e 64 20 63 6f | 72 72 65 63 74 20 69 6e | find co|rrect in|
|00000c90| 69 74 69 61 6c 20 76 65 | 6c 6f 63 69 74 79 0d 0a |itial ve|locity..|
|00000ca0| 09 09 54 54 61 72 67 65 | 74 4c 6f 63 20 3d 20 54 |..TTarge|tLoc = T|
|00000cb0| 54 61 72 67 65 74 2e 4c | 6f 63 61 74 69 6f 6e 3b |Target.L|ocation;|
|00000cc0| 0d 0a 09 09 69 66 20 28 | 20 4a 75 6d 70 53 70 6f |....if (| JumpSpo|
|00000cd0| 74 28 54 54 61 72 67 65 | 74 29 20 21 3d 20 4e 6f |t(TTarge|t) != No|
|00000ce0| 6e 65 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 54 54 |ne )....|{.....TT|
|00000cf0| 61 72 67 65 74 4c 6f 63 | 2e 5a 20 2b 3d 20 4a 75 |argetLoc|.Z += Ju|
|00000d00| 6d 70 53 70 6f 74 28 54 | 54 61 72 67 65 74 29 2e |mpSpot(T|Target).|
|00000d10| 54 72 61 6e 73 6c 6f 63 | 5a 4f 66 66 73 65 74 3b |Transloc|ZOffset;|
|00000d20| 0d 0a 09 09 09 69 66 20 | 28 20 28 49 6e 73 74 69 |.....if |( (Insti|
|00000d30| 67 61 74 6f 72 2e 41 6e | 63 68 6f 72 20 21 3d 20 |gator.An|chor != |
|00000d40| 4e 6f 6e 65 29 20 26 26 | 20 49 6e 73 74 69 67 61 |None) &&| Instiga|
|00000d50| 74 6f 72 2e 52 65 61 63 | 68 65 64 44 65 73 74 69 |tor.Reac|hedDesti|
|00000d60| 6e 61 74 69 6f 6e 28 49 | 6e 73 74 69 67 61 74 6f |nation(I|nstigato|
|00000d70| 72 2e 41 6e 63 68 6f 72 | 29 20 29 0d 0a 09 09 09 |r.Anchor|) ).....|
|00000d80| 7b 0d 0a 09 09 09 09 2f | 2f 20 73 74 61 72 74 20 |{....../|/ start |
|00000d90| 66 72 6f 6d 20 73 61 6d | 65 20 70 6f 69 6e 74 20 |from sam|e point |
|00000da0| 61 73 20 69 6e 20 74 65 | 73 74 0d 0a 09 09 09 09 |as in te|st......|
|00000db0| 54 72 61 6e 73 62 65 61 | 63 6f 6e 2e 53 65 74 4c |Transbea|con.SetL|
|00000dc0| 6f 63 61 74 69 6f 6e 28 | 54 72 61 6e 73 42 65 61 |ocation(|TransBea|
|00000dd0| 63 6f 6e 2e 4c 6f 63 61 | 74 69 6f 6e 20 2b 20 49 |con.Loca|tion + I|
|00000de0| 6e 73 74 69 67 61 74 6f | 72 2e 41 6e 63 68 6f 72 |nstigato|r.Anchor|
|00000df0| 2e 4c 6f 63 61 74 69 6f | 6e 20 2b 20 28 49 6e 73 |.Locatio|n + (Ins|
|00000e00| 74 69 67 61 74 6f 72 2e | 43 6f 6c 6c 69 73 69 6f |tigator.|Collisio|
|00000e10| 6e 48 65 69 67 68 74 20 | 2d 20 49 6e 73 74 69 67 |nHeight |- Instig|
|00000e20| 61 74 6f 72 2e 41 6e 63 | 68 6f 72 2e 43 6f 6c 6c |ator.Anc|hor.Coll|
|00000e30| 69 73 69 6f 6e 48 65 69 | 67 68 74 29 20 2a 20 76 |isionHei|ght) * v|
|00000e40| 65 63 74 28 30 2c 30 2c | 31 29 2d 20 49 6e 73 74 |ect(0,0,|1)- Inst|
|00000e50| 69 67 61 74 6f 72 2e 4c | 6f 63 61 74 69 6f 6e 29 |igator.L|ocation)|
|00000e60| 3b 0d 0a 09 09 09 7d 0d | 0a 09 09 7d 0d 0a 09 09 |;.....}.|...}....|
|00000e70| 65 6c 73 65 20 69 66 20 | 28 20 54 54 61 72 67 65 |else if |( TTarge|
|00000e80| 74 2e 56 65 6c 6f 63 69 | 74 79 20 21 3d 20 76 65 |t.Veloci|ty != ve|
|00000e90| 63 74 28 30 2c 30 2c 30 | 29 20 29 0d 0a 09 09 7b |ct(0,0,0|) )....{|
|00000ea0| 0d 0a 09 09 09 54 54 61 | 72 67 65 74 4c 6f 63 20 |.....TTa|rgetLoc |
|00000eb0| 2b 3d 20 30 2e 33 20 2a | 20 54 54 61 72 67 65 74 |+= 0.3 *| TTarget|
|00000ec0| 2e 56 65 6c 6f 63 69 74 | 79 3b 0d 0a 09 09 09 54 |.Velocit|y;.....T|
|00000ed0| 54 61 72 67 65 74 4c 6f | 63 2e 5a 20 3d 20 30 2e |TargetLo|c.Z = 0.|
|00000ee0| 35 20 2a 20 28 54 54 61 | 72 67 65 74 4c 6f 63 2e |5 * (TTa|rgetLoc.|
|00000ef0| 5a 20 2b 20 54 54 61 72 | 67 65 74 2e 4c 6f 63 61 |Z + TTar|get.Loca|
|00000f00| 74 69 6f 6e 2e 5a 29 3b | 0d 0a 09 09 7d 0d 0a 09 |tion.Z);|....}...|
|00000f10| 09 65 6c 73 65 20 69 66 | 20 28 20 28 49 6e 73 74 |.else if| ( (Inst|
|00000f20| 69 67 61 74 6f 72 2e 50 | 68 79 73 69 63 73 20 3d |igator.P|hysics =|
|00000f30| 3d 20 50 48 59 53 5f 46 | 61 6c 6c 69 6e 67 29 0d |= PHYS_F|alling).|
|00000f40| 0a 09 09 09 09 09 26 26 | 20 28 49 6e 73 74 69 67 |......&&| (Instig|
|00000f50| 61 74 6f 72 2e 4c 6f 63 | 61 74 69 6f 6e 2e 5a 20 |ator.Loc|ation.Z |
|00000f60| 3c 20 54 54 61 72 67 65 | 74 2e 4c 6f 63 61 74 69 |< TTarge|t.Locati|
|00000f70| 6f 6e 2e 5a 29 0d 0a 09 | 09 09 09 09 26 26 20 28 |on.Z)...|....&& (|
|00000f80| 49 6e 73 74 69 67 61 74 | 6f 72 2e 50 68 79 73 69 |Instigat|or.Physi|
|00000f90| 63 73 56 6f 6c 75 6d 65 | 2e 47 72 61 76 69 74 79 |csVolume|.Gravity|
|00000fa0| 2e 5a 20 3e 20 2d 38 30 | 30 29 20 29 0d 0a 09 09 |.Z > -80|0) )....|
|00000fb0| 09 54 54 61 72 67 65 74 | 4c 6f 63 2e 5a 20 2b 3d |.TTarget|Loc.Z +=|
|00000fc0| 20 31 32 38 3b 0d 0a 0d | 0a 09 09 54 72 61 6e 73 | 128;...|...Trans|
|00000fd0| 42 65 61 63 6f 6e 2e 56 | 65 6c 6f 63 69 74 79 20 |Beacon.V|elocity |
|00000fe0| 3d 20 42 6f 74 28 49 6e | 73 74 69 67 61 74 6f 72 |= Bot(In|stigator|
|00000ff0| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 29 2e 41 64 6a |.Control|ler).Adj|
|00001000| 75 73 74 54 6f 73 73 28 | 54 72 61 6e 73 42 65 61 |ustToss(|TransBea|
|00001010| 63 6f 6e 2e 53 70 65 65 | 64 2c 20 54 72 61 6e 73 |con.Spee|d, Trans|
|00001020| 42 65 61 63 6f 6e 2e 4c | 6f 63 61 74 69 6f 6e 2c |Beacon.L|ocation,|
|00001030| 20 54 54 61 72 67 65 74 | 4c 6f 63 2c 66 61 6c 73 | TTarget|Loc,fals|
|00001040| 65 29 3b 0d 0a 09 09 54 | 72 61 6e 73 42 65 61 63 |e);....T|ransBeac|
|00001050| 6f 6e 2e 53 65 74 54 72 | 61 6e 73 6c 6f 63 61 74 |on.SetTr|anslocat|
|00001060| 69 6f 6e 54 61 72 67 65 | 74 28 42 6f 74 28 49 6e |ionTarge|t(Bot(In|
|00001070| 73 74 69 67 61 74 6f 72 | 2e 43 6f 6e 74 72 6f 6c |stigator|.Control|
|00001080| 6c 65 72 29 2e 52 65 61 | 6c 54 72 61 6e 73 6c 6f |ler).Rea|lTranslo|
|00001090| 63 61 74 69 6f 6e 54 61 | 72 67 65 74 29 3b 0d 0a |cationTa|rget);..|
|000010a0| 09 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |.}..}...|.functio|
|000010b0| 6e 20 63 6c 61 73 73 3c | 44 61 6d 61 67 65 54 79 |n class<|DamageTy|
|000010c0| 70 65 3e 20 47 65 74 44 | 61 6d 61 67 65 54 79 70 |pe> GetD|amageTyp|
|000010d0| 65 28 29 0d 0a 7b 0d 0a | 09 72 65 74 75 72 6e 20 |e()..{..|.return |
|000010e0| 63 6c 61 73 73 27 44 61 | 6d 54 79 70 65 54 65 6c |class'Da|mTypeTel|
|000010f0| 65 66 72 61 67 27 3b 0d | 0a 7d 0d 0a 0d 0a 2f 2f |efrag';.|.}....//|
|00001100| 20 73 75 70 65 72 20 64 | 65 73 69 72 65 61 62 6c | super d|esireabl|
|00001110| 65 20 66 6f 72 20 62 6f | 74 20 77 61 69 74 69 6e |e for bo|t waitin|
|00001120| 67 20 74 6f 20 74 72 61 | 6e 73 6c 6f 63 61 74 65 |g to tra|nslocate|
|00001130| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 66 6c 6f 61 74 |..functi|on float|
|00001140| 20 47 65 74 41 49 52 61 | 74 69 6e 67 28 29 0d 0a | GetAIRa|ting()..|
|00001150| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 42 6f 74 20 42 3b |{...loca|l Bot B;|
|00001160| 0d 0a 0d 0a 09 42 20 3d | 20 42 6f 74 28 49 6e 73 |.....B =| Bot(Ins|
|00001170| 74 69 67 61 74 6f 72 2e | 43 6f 6e 74 72 6f 6c 6c |tigator.|Controll|
|00001180| 65 72 29 3b 0d 0a 09 69 | 66 20 28 20 42 20 3d 3d |er);...i|f ( B ==|
|00001190| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 72 65 74 75 72 | None ).|...retur|
|000011a0| 6e 20 41 49 52 61 74 69 | 6e 67 3b 0d 0a 09 69 66 |n AIRati|ng;...if|
|000011b0| 20 28 20 42 2e 62 50 72 | 65 70 61 72 69 6e 67 4d | ( B.bPr|eparingM|
|000011c0| 6f 76 65 20 26 26 20 28 | 42 2e 54 72 61 6e 73 6c |ove && (|B.Transl|
|000011d0| 6f 63 61 74 69 6f 6e 54 | 61 72 67 65 74 20 21 3d |ocationT|arget !=|
|000011e0| 20 4e 6f 6e 65 29 20 29 | 0d 0a 09 09 72 65 74 75 | None) )|....retu|
|000011f0| 72 6e 20 31 30 3b 0d 0a | 09 69 66 20 28 20 42 2e |rn 10;..|.if ( B.|
|00001200| 62 54 72 61 6e 73 6c 6f | 63 61 74 6f 72 48 6f 70 |bTranslo|catorHop|
|00001210| 20 26 26 20 28 28 42 2e | 46 6f 63 75 73 20 3d 3d | && ((B.|Focus ==|
|00001220| 20 42 2e 4d 6f 76 65 54 | 61 72 67 65 74 29 20 7c | B.MoveT|arget) ||
|00001230| 7c 20 28 28 42 2e 54 72 | 61 6e 73 6c 6f 63 61 74 || ((B.Tr|anslocat|
|00001240| 69 6f 6e 54 61 72 67 65 | 74 20 21 3d 20 4e 6f 6e |ionTarge|t != Non|
|00001250| 65 29 20 26 26 20 28 42 | 2e 46 6f 63 75 73 20 3d |e) && (B|.Focus =|
|00001260| 3d 20 42 2e 54 72 61 6e | 73 6c 6f 63 61 74 69 6f |= B.Tran|slocatio|
|00001270| 6e 54 61 72 67 65 74 29 | 29 29 20 26 26 20 42 2e |nTarget)|)) && B.|
|00001280| 53 71 75 61 64 2e 41 6c | 6c 6f 77 54 72 61 6e 73 |Squad.Al|lowTrans|
|00001290| 6c 6f 63 61 74 69 6f 6e | 42 79 28 42 29 20 29 0d |location|By(B) ).|
|000012a0| 0a 09 7b 0d 0a 09 09 69 | 66 20 28 20 28 54 72 61 |..{....i|f ( (Tra|
|000012b0| 6e 73 42 65 61 63 6f 6e | 20 21 3d 20 4e 6f 6e 65 |nsBeacon| != None|
|000012c0| 29 20 26 26 20 54 72 61 | 6e 73 42 65 61 63 6f 6e |) && Tra|nsBeacon|
|000012d0| 2e 49 73 4d 6f 6e 69 74 | 6f 72 69 6e 67 28 54 72 |.IsMonit|oring(Tr|
|000012e0| 61 6e 73 62 65 61 63 6f | 6e 2e 54 72 61 6e 73 6c |ansbeaco|n.Transl|
|000012f0| 6f 63 61 74 69 6f 6e 54 | 61 72 67 65 74 29 20 29 |ocationT|arget) )|
|00001300| 0d 0a 09 09 7b 0d 0a 09 | 09 09 69 66 20 28 20 28 |....{...|..if ( (|
|00001310| 47 61 6d 65 4f 62 6a 65 | 63 74 28 42 2e 46 6f 63 |GameObje|ct(B.Foc|
|00001320| 75 73 29 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |us) != N|one) && |
|00001330| 28 42 2e 46 6f 63 75 73 | 20 21 3d 20 54 72 61 6e |(B.Focus| != Tran|
|00001340| 73 62 65 61 63 6f 6e 2e | 54 72 61 6e 73 6c 6f 63 |sbeacon.|Transloc|
|00001350| 61 74 69 6f 6e 54 61 72 | 67 65 74 29 20 29 0d 0a |ationTar|get) )..|
|00001360| 09 09 09 7b 0d 0a 09 09 | 09 09 69 66 20 28 20 49 |...{....|..if ( I|
|00001370| 6e 73 74 69 67 61 74 6f | 72 2e 57 65 61 70 6f 6e |nstigato|r.Weapon|
|00001380| 20 3d 3d 20 73 65 6c 66 | 20 29 0d 0a 09 09 09 09 | == self| )......|
|00001390| 09 53 65 74 54 69 6d 65 | 72 28 30 2e 32 2c 66 61 |.SetTime|r(0.2,fa|
|000013a0| 6c 73 65 29 3b 0d 0a 09 | 09 09 09 72 65 74 75 72 |lse);...|...retur|
|000013b0| 6e 20 34 3b 0d 0a 09 09 | 09 7d 0d 0a 09 09 09 69 |n 4;....|.}.....i|
|000013c0| 66 20 20 28 20 28 54 72 | 61 6e 73 62 65 61 63 6f |f ( (Tr|ansbeaco|
|000013d0| 6e 2e 54 72 61 6e 73 6c | 6f 63 61 74 69 6f 6e 54 |n.Transl|ocationT|
|000013e0| 61 72 67 65 74 20 3d 3d | 20 49 6e 73 74 69 67 61 |arget ==| Instiga|
|000013f0| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 2e 4d |tor.Cont|roller.M|
|00001400| 6f 76 65 54 61 72 67 65 | 74 29 0d 0a 09 09 09 09 |oveTarge|t)......|
|00001410| 09 7c 7c 20 28 54 72 61 | 6e 73 62 65 61 63 6f 6e |.|| (Tra|nsbeacon|
|00001420| 2e 54 72 61 6e 73 6c 6f | 63 61 74 69 6f 6e 54 61 |.Translo|cationTa|
|00001430| 72 67 65 74 20 3d 3d 20 | 49 6e 73 74 69 67 61 74 |rget == |Instigat|
|00001440| 6f 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 2e 52 6f |or.Contr|oller.Ro|
|00001450| 75 74 65 47 6f 61 6c 29 | 0d 0a 09 09 09 09 09 7c |uteGoal)|.......||
|00001460| 7c 20 28 54 72 61 6e 73 | 62 65 61 63 6f 6e 2e 54 || (Trans|beacon.T|
|00001470| 72 61 6e 73 6c 6f 63 61 | 74 69 6f 6e 54 61 72 67 |ransloca|tionTarg|
|00001480| 65 74 20 3d 3d 20 49 6e | 73 74 69 67 61 74 6f 72 |et == In|stigator|
|00001490| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 2e 52 6f 75 74 |.Control|ler.Rout|
|000014a0| 65 43 61 63 68 65 5b 30 | 5d 29 0d 0a 09 09 09 09 |eCache[0|])......|
|000014b0| 09 7c 7c 20 28 54 72 61 | 6e 73 62 65 61 63 6f 6e |.|| (Tra|nsbeacon|
|000014c0| 2e 54 72 61 6e 73 6c 6f | 63 61 74 69 6f 6e 54 61 |.Translo|cationTa|
|000014d0| 72 67 65 74 20 3d 3d 20 | 49 6e 73 74 69 67 61 74 |rget == |Instigat|
|000014e0| 6f 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 2e 52 6f |or.Contr|oller.Ro|
|000014f0| 75 74 65 43 61 63 68 65 | 5b 31 5d 29 0d 0a 09 09 |uteCache|[1])....|
|00001500| 09 09 09 7c 7c 20 28 54 | 72 61 6e 73 62 65 61 63 |...|| (T|ransbeac|
|00001510| 6f 6e 2e 54 72 61 6e 73 | 6c 6f 63 61 74 69 6f 6e |on.Trans|location|
|00001520| 54 61 72 67 65 74 20 3d | 3d 20 49 6e 73 74 69 67 |Target =|= Instig|
|00001530| 61 74 6f 72 2e 43 6f 6e | 74 72 6f 6c 6c 65 72 2e |ator.Con|troller.|
|00001540| 52 6f 75 74 65 43 61 63 | 68 65 5b 32 5d 29 0d 0a |RouteCac|he[2])..|
|00001550| 09 09 09 09 09 7c 7c 20 | 28 54 72 61 6e 73 62 65 |.....|| |(Transbe|
|00001560| 61 63 6f 6e 2e 54 72 61 | 6e 73 6c 6f 63 61 74 69 |acon.Tra|nslocati|
|00001570| 6f 6e 54 61 72 67 65 74 | 20 3d 3d 20 49 6e 73 74 |onTarget| == Inst|
|00001580| 69 67 61 74 6f 72 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |igator.C|ontrolle|
|00001590| 72 2e 52 6f 75 74 65 43 | 61 63 68 65 5b 33 5d 29 |r.RouteC|ache[3])|
|000015a0| 20 29 0d 0a 09 09 09 09 | 72 65 74 75 72 6e 20 34 | )......|return 4|
|000015b0| 3b 0d 0a 09 09 7d 0d 0a | 0d 0a 09 09 69 66 20 28 |;....}..|....if (|
|000015c0| 20 49 6e 73 74 69 67 61 | 74 6f 72 2e 57 65 61 70 | Instiga|tor.Weap|
|000015d0| 6f 6e 20 3d 3d 20 73 65 | 6c 66 20 29 0d 0a 09 09 |on == se|lf )....|
|000015e0| 09 53 65 74 54 69 6d 65 | 72 28 30 2e 32 2c 66 61 |.SetTime|r(0.2,fa|
|000015f0| 6c 73 65 29 3b 0d 0a 09 | 09 72 65 74 75 72 6e 20 |lse);...|.return |
|00001600| 34 3b 0d 0a 09 7d 0d 0a | 09 69 66 20 28 20 49 6e |4;...}..|.if ( In|
|00001610| 73 74 69 67 61 74 6f 72 | 2e 57 65 61 70 6f 6e 20 |stigator|.Weapon |
|00001620| 3d 3d 20 73 65 6c 66 20 | 29 0d 0a 09 72 65 74 75 |== self |)...retu|
|00001630| 72 6e 20 41 49 52 61 74 | 69 6e 67 3b 0d 0a 7d 0d |rn AIRat|ing;..}.|
|00001640| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |...funct|ion bool|
|00001650| 20 42 6f 74 46 69 72 65 | 28 62 6f 6f 6c 20 62 46 | BotFire|(bool bF|
|00001660| 69 6e 69 73 68 65 64 2c | 20 6f 70 74 69 6f 6e 61 |inished,| optiona|
|00001670| 6c 20 6e 61 6d 65 20 46 | 69 72 69 6e 67 4d 6f 64 |l name F|iringMod|
|00001680| 65 29 0d 0a 7b 0d 0a 09 | 72 65 74 75 72 6e 20 66 |e)..{...|return f|
|00001690| 61 6c 73 65 3b 0d 0a 7d | 0d 0a 0d 0a 2f 2f 20 45 |alse;..}|....// E|
|000016a0| 6e 64 20 41 49 20 69 6e | 74 65 72 66 61 63 65 0d |nd AI in|terface.|
|000016b0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |...funct|ion bool|
|000016c0| 20 43 6f 6e 73 75 6d 65 | 41 6d 6d 6f 28 69 6e 74 | Consume|Ammo(int|
|000016d0| 20 6d 6f 64 65 2c 20 66 | 6c 6f 61 74 20 6c 6f 61 | mode, f|loat loa|
|000016e0| 64 2c 20 6f 70 74 69 6f | 6e 61 6c 20 62 6f 6f 6c |d, optio|nal bool|
|000016f0| 20 62 41 6d 6f 75 6e 74 | 4e 65 65 64 65 64 49 73 | bAmount|NeededIs|
|00001700| 4d 61 78 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |Max)..{.|..return|
|00001710| 20 74 72 75 65 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e | true;..|}....fun|
|00001720| 63 74 69 6f 6e 20 52 65 | 64 75 63 65 41 6d 6d 6f |ction Re|duceAmmo|
|00001730| 28 29 0d 0a 7b 0d 0a 09 | 65 6e 61 62 6c 65 28 27 |()..{...|enable('|
|00001740| 54 69 63 6b 27 29 3b 0d | 0a 09 62 44 72 61 69 6e |Tick');.|..bDrain|
|00001750| 65 64 20 3d 20 66 61 6c | 73 65 3b 0d 0a 20 20 20 |ed = fal|se;.. |
|00001760| 20 41 6d 6d 6f 43 68 61 | 72 67 65 46 20 2d 3d 20 | AmmoCha|rgeF -= |
|00001770| 31 3b 0d 0a 20 20 20 20 | 52 65 70 41 6d 6d 6f 20 |1;.. |RepAmmo |
|00001780| 2d 3d 20 31 3b 0d 0a 20 | 20 20 20 69 66 20 28 20 |-= 1;.. | if ( |
|00001790| 42 6f 74 28 49 6e 73 74 | 69 67 61 74 6f 72 2e 43 |Bot(Inst|igator.C|
|000017a0| 6f 6e 74 72 6f 6c 6c 65 | 72 29 20 21 3d 20 4e 6f |ontrolle|r) != No|
|000017b0| 6e 65 20 29 0d 0a 20 20 | 20 20 09 42 6f 74 28 49 |ne ).. | .Bot(I|
|000017c0| 6e 73 74 69 67 61 74 6f | 72 2e 43 6f 6e 74 72 6f |nstigato|r.Contro|
|000017d0| 6c 6c 65 72 29 2e 54 72 | 61 6e 73 6c 6f 63 46 72 |ller).Tr|anslocFr|
|000017e0| 65 71 20 3d 20 33 20 2b | 20 46 4d 61 78 28 42 6f |eq = 3 +| FMax(Bo|
|000017f0| 74 28 49 6e 73 74 69 67 | 61 74 6f 72 2e 43 6f 6e |t(Instig|ator.Con|
|00001800| 74 72 6f 6c 6c 65 72 29 | 2e 54 72 61 6e 73 6c 6f |troller)|.Translo|
|00001810| 63 46 72 65 71 2c 4c 65 | 76 65 6c 2e 54 69 6d 65 |cFreq,Le|vel.Time|
|00001820| 53 65 63 6f 6e 64 73 29 | 3b 0d 0a 7d 0d 0a 0d 0a |Seconds)|;..}....|
|00001830| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|00001840| 6f 6e 20 47 65 74 41 6d | 6d 6f 43 6f 75 6e 74 28 |on GetAm|moCount(|
|00001850| 6f 75 74 20 66 6c 6f 61 | 74 20 4d 61 78 41 6d 6d |out floa|t MaxAmm|
|00001860| 6f 50 72 69 6d 61 72 79 | 2c 20 6f 75 74 20 66 6c |oPrimary|, out fl|
|00001870| 6f 61 74 20 43 75 72 41 | 6d 6d 6f 50 72 69 6d 61 |oat CurA|mmoPrima|
|00001880| 72 79 29 0d 0a 7b 0d 0a | 09 4d 61 78 41 6d 6d 6f |ry)..{..|.MaxAmmo|
|00001890| 50 72 69 6d 61 72 79 20 | 3d 20 41 6d 6d 6f 43 68 |Primary |= AmmoCh|
|000018a0| 61 72 67 65 4d 61 78 3b | 0d 0a 09 43 75 72 41 6d |argeMax;|...CurAm|
|000018b0| 6d 6f 50 72 69 6d 61 72 | 79 20 3d 20 46 4d 61 78 |moPrimar|y = FMax|
|000018c0| 28 30 2c 41 6d 6d 6f 43 | 68 61 72 67 65 46 29 3b |(0,AmmoC|hargeF);|
|000018d0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000018e0| 47 69 76 65 41 6d 6d 6f | 28 69 6e 74 20 6d 2c 20 |GiveAmmo|(int m, |
|000018f0| 57 65 61 70 6f 6e 50 69 | 63 6b 75 70 20 57 50 2c |WeaponPi|ckup WP,|
|00001900| 20 62 6f 6f 6c 20 62 4a | 75 73 74 53 70 61 77 6e | bool bJ|ustSpawn|
|00001910| 65 64 29 0d 0a 7b 0d 0a | 20 20 20 20 53 75 70 65 |ed)..{..| Supe|
|00001920| 72 2e 47 69 76 65 41 6d | 6d 6f 28 6d 2c 20 57 50 |r.GiveAm|mo(m, WP|
|00001930| 2c 62 4a 75 73 74 53 70 | 61 77 6e 65 64 29 3b 0d |,bJustSp|awned);.|
|00001940| 0a 20 20 20 20 41 6d 6d | 6f 43 68 61 72 67 65 46 |. Amm|oChargeF|
|00001950| 20 3d 20 44 65 66 61 75 | 6c 74 2e 41 6d 6d 6f 43 | = Defau|lt.AmmoC|
|00001960| 68 61 72 67 65 46 3b 0d | 0a 20 20 20 20 52 65 70 |hargeF;.|. Rep|
|00001970| 41 6d 6d 6f 20 3d 20 69 | 6e 74 28 41 6d 6d 6f 43 |Ammo = i|nt(AmmoC|
|00001980| 68 61 72 67 65 46 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |hargeF);|..}....f|
|00001990| 75 6e 63 74 69 6f 6e 20 | 44 72 61 69 6e 43 68 61 |unction |DrainCha|
|000019a0| 72 67 65 73 28 29 0d 0a | 7b 0d 0a 09 65 6e 61 62 |rges()..|{...enab|
|000019b0| 6c 65 28 27 54 69 63 6b | 27 29 3b 0d 0a 09 50 72 |le('Tick|');...Pr|
|000019c0| 65 44 72 61 69 6e 41 6d | 6d 6f 20 3d 20 41 6d 6d |eDrainAm|mo = Amm|
|000019d0| 6f 43 68 61 72 67 65 46 | 3b 0d 0a 09 41 6d 6d 6f |oChargeF|;...Ammo|
|000019e0| 43 68 61 72 67 65 46 20 | 3d 20 2d 31 3b 0d 0a 09 |ChargeF |= -1;...|
|000019f0| 52 65 70 41 6d 6d 6f 20 | 3d 20 2d 31 3b 0d 0a 09 |RepAmmo |= -1;...|
|00001a00| 62 44 72 61 69 6e 65 64 | 20 3d 20 74 72 75 65 3b |bDrained| = true;|
|00001a10| 0d 0a 20 20 20 20 69 66 | 20 28 20 42 6f 74 28 49 |.. if| ( Bot(I|
|00001a20| 6e 73 74 69 67 61 74 6f | 72 2e 43 6f 6e 74 72 6f |nstigato|r.Contro|
|00001a30| 6c 6c 65 72 29 20 21 3d | 20 4e 6f 6e 65 20 29 0d |ller) !=| None ).|
|00001a40| 0a 20 20 20 20 09 42 6f | 74 28 49 6e 73 74 69 67 |. .Bo|t(Instig|
|00001a50| 61 74 6f 72 2e 43 6f 6e | 74 72 6f 6c 6c 65 72 29 |ator.Con|troller)|
|00001a60| 2e 4e 65 78 74 54 72 61 | 6e 73 6c 6f 63 54 69 6d |.NextTra|nslocTim|
|00001a70| 65 20 3d 20 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 |e = Leve|l.TimeSe|
|00001a80| 63 6f 6e 64 73 20 2b 20 | 33 2e 35 3b 0d 0a 7d 0d |conds + |3.5;..}.|
|00001a90| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|00001aa0| 63 74 69 6f 6e 20 62 6f | 6f 6c 20 53 74 61 72 74 |ction bo|ol Start|
|00001ab0| 46 69 72 65 28 69 6e 74 | 20 4d 6f 64 65 29 0d 0a |Fire(int| Mode)..|
|00001ac0| 7b 0d 0a 09 69 66 20 28 | 20 21 62 50 72 65 76 57 |{...if (| !bPrevW|
|00001ad0| 65 61 70 6f 6e 53 77 69 | 74 63 68 20 7c 7c 20 28 |eaponSwi|tch || (|
|00001ae0| 4d 6f 64 65 20 3d 3d 20 | 31 29 20 7c 7c 20 28 49 |Mode == |1) || (I|
|00001af0| 6e 73 74 69 67 61 74 6f | 72 2e 43 6f 6e 74 72 6f |nstigato|r.Contro|
|00001b00| 6c 6c 65 72 2e 62 41 6c | 74 46 69 72 65 20 3d 3d |ller.bAl|tFire ==|
|00001b10| 20 30 29 20 7c 7c 20 28 | 50 6c 61 79 65 72 43 6f | 0) || (|PlayerCo|
|00001b20| 6e 74 72 6f 6c 6c 65 72 | 28 49 6e 73 74 69 67 61 |ntroller|(Instiga|
|00001b30| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 29 20 |tor.Cont|roller) |
|00001b40| 3d 3d 20 4e 6f 6e 65 29 | 20 29 0d 0a 09 09 72 65 |== None)| )....re|
|00001b50| 74 75 72 6e 20 53 75 70 | 65 72 2e 53 74 61 72 74 |turn Sup|er.Start|
|00001b60| 46 69 72 65 28 4d 6f 64 | 65 29 3b 0d 0a 09 69 66 |Fire(Mod|e);...if|
|00001b70| 20 28 20 28 4f 6c 64 57 | 65 61 70 6f 6e 20 21 3d | ( (OldW|eapon !=|
|00001b80| 20 4e 6f 6e 65 29 20 26 | 26 20 4f 6c 64 57 65 61 | None) &|& OldWea|
|00001b90| 70 6f 6e 2e 48 61 73 41 | 6d 6d 6f 28 29 20 29 0d |pon.HasA|mmo() ).|
|00001ba0| 0a 09 20 20 20 20 49 6e | 73 74 69 67 61 74 6f 72 |.. In|stigator|
|00001bb0| 2e 50 65 6e 64 69 6e 67 | 57 65 61 70 6f 6e 20 3d |.Pending|Weapon =|
|00001bc0| 20 4f 6c 64 57 65 61 70 | 6f 6e 3b 0d 0a 09 43 6c | OldWeap|on;...Cl|
|00001bd0| 69 65 6e 74 53 74 6f 70 | 46 69 72 65 28 30 29 3b |ientStop|Fire(0);|
|00001be0| 0d 0a 09 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |...Insti|gator.Co|
|00001bf0| 6e 74 72 6f 6c 6c 65 72 | 2e 53 74 6f 70 46 69 72 |ntroller|.StopFir|
|00001c00| 69 6e 67 28 29 3b 0d 0a | 09 50 75 74 44 6f 77 6e |ing();..|.PutDown|
|00001c10| 28 29 3b 0d 0a 20 20 20 | 20 72 65 74 75 72 6e 20 |();.. | return |
|00001c20| 66 61 6c 73 65 3b 0d 0a | 7d 0d 0a 0d 0a 73 69 6d |false;..|}....sim|
|00001c30| 75 6c 61 74 65 64 20 66 | 75 6e 63 74 69 6f 6e 20 |ulated f|unction |
|00001c40| 54 69 63 6b 28 66 6c 6f | 61 74 20 64 74 29 0d 0a |Tick(flo|at dt)..|
|00001c50| 7b 0d 0a 20 20 20 20 69 | 66 20 28 52 6f 6c 65 20 |{.. i|f (Role |
|00001c60| 3d 3d 20 52 4f 4c 45 5f | 41 75 74 68 6f 72 69 74 |== ROLE_|Authorit|
|00001c70| 79 29 0d 0a 20 20 20 20 | 7b 0d 0a 09 09 69 66 20 |y).. |{....if |
|00001c80| 28 20 41 6d 6d 6f 43 68 | 61 72 67 65 46 20 3e 3d |( AmmoCh|argeF >=|
|00001c90| 20 41 6d 6d 6f 43 68 61 | 72 67 65 4d 61 78 20 29 | AmmoCha|rgeMax )|
|00001ca0| 0d 0a 09 09 7b 0d 0a 09 | 09 09 69 66 20 28 20 52 |....{...|..if ( R|
|00001cb0| 65 70 41 6d 6d 6f 20 21 | 3d 20 69 6e 74 28 41 6d |epAmmo !|= int(Am|
|00001cc0| 6d 6f 43 68 61 72 67 65 | 46 29 20 29 20 2f 2f 20 |moCharge|F) ) // |
|00001cd0| 63 6f 6e 64 69 74 69 6f | 6e 20 74 6f 20 61 76 6f |conditio|n to avo|
|00001ce0| 69 64 20 75 6e 6e 65 63 | 65 73 73 61 72 79 20 62 |id unnec|essary b|
|00001cf0| 4e 65 74 44 69 72 74 79 | 20 6f 66 20 61 6d 6d 6f |NetDirty| of ammo|
|00001d00| 0d 0a 09 09 09 09 52 65 | 70 41 6d 6d 6f 20 3d 20 |......Re|pAmmo = |
|00001d10| 69 6e 74 28 41 6d 6d 6f | 43 68 61 72 67 65 46 29 |int(Ammo|ChargeF)|
|00001d20| 3b 0d 0a 09 09 09 64 69 | 73 61 62 6c 65 28 27 54 |;.....di|sable('T|
|00001d30| 69 63 6b 27 29 3b 0d 0a | 09 09 09 72 65 74 75 72 |ick');..|...retur|
|00001d40| 6e 3b 0d 0a 09 09 7d 0d | 0a 09 09 41 6d 6d 6f 43 |n;....}.|...AmmoC|
|00001d50| 68 61 72 67 65 46 20 2b | 3d 20 64 74 2a 41 6d 6d |hargeF +|= dt*Amm|
|00001d60| 6f 43 68 61 72 67 65 52 | 61 74 65 3b 0d 0a 09 09 |oChargeR|ate;....|
|00001d70| 41 6d 6d 6f 43 68 61 72 | 67 65 46 20 3d 20 46 4d |AmmoChar|geF = FM|
|00001d80| 69 6e 28 41 6d 6d 6f 43 | 68 61 72 67 65 46 2c 20 |in(AmmoC|hargeF, |
|00001d90| 41 6d 6d 6f 43 68 61 72 | 67 65 4d 61 78 29 3b 0d |AmmoChar|geMax);.|
|00001da0| 0a 09 09 69 66 20 28 20 | 41 6d 6d 6f 43 68 61 72 |...if ( |AmmoChar|
|00001db0| 67 65 46 20 3e 3d 20 31 | 2e 35 20 29 0d 0a 09 09 |geF >= 1|.5 )....|
|00001dc0| 09 62 44 72 61 69 6e 65 | 64 20 3d 20 66 61 6c 73 |.bDraine|d = fals|
|00001dd0| 65 3b 0d 0a 09 09 65 6c | 73 65 20 69 66 20 28 20 |e;....el|se if ( |
|00001de0| 62 44 72 61 69 6e 65 64 | 20 29 0d 0a 09 09 7b 0d |bDrained| )....{.|
|00001df0| 0a 09 09 09 69 66 20 28 | 20 28 42 6f 6d 62 20 3d |....if (| (Bomb =|
|00001e00| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 28 20 4c 65 76 |= None) |&& ( Lev|
|00001e10| 65 6c 2e 47 61 6d 65 2e | 49 73 41 28 27 78 42 6f |el.Game.|IsA('xBo|
|00001e20| 6d 62 69 6e 67 52 75 6e | 27 29 20 29 20 29 0d 0a |mbingRun|') ) )..|
|00001e30| 09 09 09 09 42 6f 6d 62 | 20 3d 20 78 42 6f 6d 62 |....Bomb| = xBomb|
|00001e40| 46 6c 61 67 28 55 6e 72 | 65 61 6c 4d 50 47 61 6d |Flag(Unr|ealMPGam|
|00001e50| 65 49 6e 66 6f 28 4c 65 | 76 65 6c 2e 47 61 6d 65 |eInfo(Le|vel.Game|
|00001e60| 29 2e 47 65 74 47 61 6d | 65 4f 62 6a 65 63 74 28 |).GetGam|eObject(|
|00001e70| 27 78 42 6f 6d 62 46 6c | 61 67 27 29 29 3b 0d 0a |'xBombFl|ag'));..|
|00001e80| 09 09 09 69 66 20 28 20 | 28 42 6f 6d 62 20 21 3d |...if ( |(Bomb !=|
|00001e90| 20 4e 6f 6e 65 29 20 26 | 26 20 28 42 6f 6d 62 2e | None) &|& (Bomb.|
|00001ea0| 48 6f 6c 64 65 72 20 21 | 3d 20 4e 6f 6e 65 29 20 |Holder !|= None) |
|00001eb0| 29 0d 0a 09 09 09 7b 0d | 0a 09 09 09 09 62 44 72 |).....{.|.....bDr|
|00001ec0| 61 69 6e 65 64 20 3d 20 | 66 61 6c 73 65 3b 0d 0a |ained = |false;..|
|00001ed0| 09 09 09 09 41 6d 6d 6f | 43 68 61 72 67 65 46 20 |....Ammo|ChargeF |
|00001ee0| 3d 20 31 2e 35 3b 0d 0a | 20 20 20 20 20 20 20 20 |= 1.5;..| |
|00001ef0| 20 20 20 20 20 20 20 20 | 69 66 20 28 20 42 6f 74 | |if ( Bot|
|00001f00| 28 49 6e 73 74 69 67 61 | 74 6f 72 2e 43 6f 6e 74 |(Instiga|tor.Cont|
|00001f10| 72 6f 6c 6c 65 72 29 20 | 21 3d 20 4e 6f 6e 65 20 |roller) |!= None |
|00001f20| 29 0d 0a 20 20 20 20 09 | 20 20 20 20 20 20 20 20 |).. .| |
|00001f30| 20 20 20 20 42 6f 74 28 | 49 6e 73 74 69 67 61 74 | Bot(|Instigat|
|00001f40| 6f 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 29 2e 4e |or.Contr|oller).N|
|00001f50| 65 78 74 54 72 61 6e 73 | 6c 6f 63 54 69 6d 65 20 |extTrans|locTime |
|00001f60| 3d 20 4c 65 76 65 6c 2e | 54 69 6d 65 53 65 63 6f |= Level.|TimeSeco|
|00001f70| 6e 64 73 20 2d 20 31 3b | 0d 0a 09 09 09 7d 0d 0a |nds - 1;|.....}..|
|00001f80| 09 09 7d 0d 0a 20 20 20 | 20 20 20 20 20 69 66 20 |..}.. | if |
|00001f90| 28 20 52 65 70 41 6d 6d | 6f 20 21 3d 20 69 6e 74 |( RepAmm|o != int|
|00001fa0| 28 41 6d 6d 6f 43 68 61 | 72 67 65 46 29 20 29 20 |(AmmoCha|rgeF) ) |
|00001fb0| 2f 2f 20 63 6f 6e 64 69 | 74 69 6f 6e 20 74 6f 20 |// condi|tion to |
|00001fc0| 61 76 6f 69 64 20 75 6e | 6e 65 63 65 73 73 61 72 |avoid un|necessar|
|00001fd0| 79 20 62 4e 65 74 44 69 | 72 74 79 20 6f 66 20 61 |y bNetDi|rty of a|
|00001fe0| 6d 6d 6f 0d 0a 09 09 09 | 52 65 70 41 6d 6d 6f 20 |mmo.....|RepAmmo |
|00001ff0| 3d 20 69 6e 74 28 41 6d | 6d 6f 43 68 61 72 67 65 |= int(Am|moCharge|
|00002000| 46 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 20 20 20 20 |F);.. | }.. |
|00002010| 65 6c 73 65 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |else.. | {.. |
|00002020| 20 20 20 20 20 2f 2f 20 | 63 6c 69 65 6e 74 20 73 | // |client s|
|00002030| 69 6d 75 6c 61 74 69 6f | 6e 20 6f 66 20 74 68 65 |imulatio|n of the|
|00002040| 20 63 68 61 72 67 65 20 | 62 61 72 0d 0a 20 20 20 | charge |bar.. |
|00002050| 20 20 20 20 20 41 6d 6d | 6f 43 68 61 72 67 65 46 | Amm|oChargeF|
|00002060| 20 3d 20 46 4d 69 6e 28 | 52 65 70 41 6d 6d 6f 20 | = FMin(|RepAmmo |
|00002070| 2b 20 41 6d 6d 6f 43 68 | 61 72 67 65 46 20 2d 20 |+ AmmoCh|argeF - |
|00002080| 69 6e 74 28 41 6d 6d 6f | 43 68 61 72 67 65 46 29 |int(Ammo|ChargeF)|
|00002090| 2b 64 74 2a 41 6d 6d 6f | 43 68 61 72 67 65 52 61 |+dt*Ammo|ChargeRa|
|000020a0| 74 65 2c 20 41 6d 6d 6f | 43 68 61 72 67 65 4d 61 |te, Ammo|ChargeMa|
|000020b0| 78 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 7d 0d 0a 0d |x);.. | }..}...|
|000020c0| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|000020d0| 69 6f 6e 20 44 6f 41 75 | 74 6f 53 77 69 74 63 68 |ion DoAu|toSwitch|
|000020e0| 28 29 0d 0a 7b 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 |()..{..}|....simu|
|000020f0| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 56 |lated fu|nction V|
|00002100| 69 65 77 50 6c 61 79 65 | 72 28 29 0d 0a 7b 0d 0a |iewPlaye|r()..{..|
|00002110| 20 20 20 20 69 66 20 28 | 20 28 50 6c 61 79 65 72 | if (| (Player|
|00002120| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 49 6e 73 74 69 |Controll|er(Insti|
|00002130| 67 61 74 6f 72 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |gator.Co|ntroller|
|00002140| 29 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 28 50 |) != Non|e) && (P|
|00002150| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 28 |layerCon|troller(|
|00002160| 49 6e 73 74 69 67 61 74 | 6f 72 2e 43 6f 6e 74 72 |Instigat|or.Contr|
|00002170| 6f 6c 6c 65 72 29 2e 56 | 69 65 77 54 61 72 67 65 |oller).V|iewTarge|
|00002180| 74 20 3d 3d 20 54 72 61 | 6e 73 42 65 61 63 6f 6e |t == Tra|nsBeacon|
|00002190| 29 20 29 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |) ).. | {.. |
|000021a0| 20 20 20 20 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f | Play|erContro|
|000021b0| 6c 6c 65 72 28 49 6e 73 | 74 69 67 61 74 6f 72 2e |ller(Ins|tigator.|
|000021c0| 43 6f 6e 74 72 6f 6c 6c | 65 72 29 2e 43 6c 69 65 |Controll|er).Clie|
|000021d0| 6e 74 53 65 74 56 69 65 | 77 54 61 72 67 65 74 28 |ntSetVie|wTarget(|
|000021e0| 20 49 6e 73 74 69 67 61 | 74 6f 72 20 29 3b 0d 0a | Instiga|tor );..|
|000021f0| 20 20 20 20 20 20 20 20 | 50 6c 61 79 65 72 43 6f | |PlayerCo|
|00002200| 6e 74 72 6f 6c 6c 65 72 | 28 49 6e 73 74 69 67 61 |ntroller|(Instiga|
|00002210| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 29 2e |tor.Cont|roller).|
|00002220| 53 65 74 56 69 65 77 54 | 61 72 67 65 74 28 20 49 |SetViewT|arget( I|
|00002230| 6e 73 74 69 67 61 74 6f | 72 20 29 3b 0d 0a 20 20 |nstigato|r );.. |
|00002240| 20 20 20 20 20 20 69 66 | 20 28 20 54 72 61 6e 73 | if| ( Trans|
|00002250| 42 65 61 63 6f 6e 20 21 | 3d 20 4e 6f 6e 65 20 29 |Beacon !|= None )|
|00002260| 0d 0a 20 20 20 20 20 20 | 20 20 7b 0d 0a 09 09 09 |.. | {.....|
|00002270| 54 72 61 6e 73 62 65 61 | 63 6f 6e 2e 53 65 74 52 |Transbea|con.SetR|
|00002280| 6f 74 61 74 69 6f 6e 28 | 50 6c 61 79 65 72 43 6f |otation(|PlayerCo|
|00002290| 6e 74 72 6f 6c 6c 65 72 | 28 49 6e 73 74 69 67 61 |ntroller|(Instiga|
|000022a0| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 29 2e |tor.Cont|roller).|
|000022b0| 52 6f 74 61 74 69 6f 6e | 29 3b 0d 0a 09 09 09 54 |Rotation|);.....T|
|000022c0| 72 61 6e 73 62 65 61 63 | 6f 6e 2e 53 6f 75 6e 64 |ransbeac|on.Sound|
|000022d0| 56 6f 6c 75 6d 65 20 3d | 20 54 72 61 6e 73 62 65 |Volume =| Transbe|
|000022e0| 61 63 6f 6e 2e 64 65 66 | 61 75 6c 74 2e 53 6f 75 |acon.def|ault.Sou|
|000022f0| 6e 64 56 6f 6c 75 6d 65 | 3b 0d 0a 09 09 7d 0d 0a |ndVolume|;....}..|
|00002300| 20 20 20 20 7d 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 | }..}|....simu|
|00002310| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 56 |lated fu|nction V|
|00002320| 69 65 77 43 61 6d 65 72 | 61 28 29 0d 0a 7b 0d 0a |iewCamer|a()..{..|
|00002330| 20 20 20 20 69 66 20 28 | 20 54 72 61 6e 73 42 65 | if (| TransBe|
|00002340| 61 63 6f 6e 21 3d 4e 6f | 6e 65 20 29 0d 0a 20 20 |acon!=No|ne ).. |
|00002350| 20 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 69 66 20 | {.. | if |
|00002360| 28 20 49 6e 73 74 69 67 | 61 74 6f 72 2e 43 6f 6e |( Instig|ator.Con|
|00002370| 74 72 6f 6c 6c 65 72 2e | 49 73 41 28 27 50 6c 61 |troller.|IsA('Pla|
|00002380| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 27 29 20 |yerContr|oller') |
|00002390| 29 0d 0a 20 20 20 20 20 | 20 20 20 7b 0d 0a 20 20 |).. | {.. |
|000023a0| 20 20 20 20 20 20 20 20 | 20 20 50 6c 61 79 65 72 | | Player|
|000023b0| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 49 6e 73 74 69 |Controll|er(Insti|
|000023c0| 67 61 74 6f 72 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |gator.Co|ntroller|
|000023d0| 29 2e 53 65 74 56 69 65 | 77 54 61 72 67 65 74 28 |).SetVie|wTarget(|
|000023e0| 54 72 61 6e 73 42 65 61 | 63 6f 6e 29 3b 0d 0a 20 |TransBea|con);.. |
|000023f0| 20 20 20 20 20 20 20 20 | 20 20 20 50 6c 61 79 65 | | Playe|
|00002400| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 28 49 6e 73 74 |rControl|ler(Inst|
|00002410| 69 67 61 74 6f 72 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |igator.C|ontrolle|
|00002420| 72 29 2e 43 6c 69 65 6e | 74 53 65 74 56 69 65 77 |r).Clien|tSetView|
|00002430| 54 61 72 67 65 74 28 54 | 72 61 6e 73 42 65 61 63 |Target(T|ransBeac|
|00002440| 6f 6e 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |on);.. | |
|00002450| 20 20 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c | Player|Controll|
|00002460| 65 72 28 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |er(Insti|gator.Co|
|00002470| 6e 74 72 6f 6c 6c 65 72 | 29 2e 53 65 74 52 6f 74 |ntroller|).SetRot|
|00002480| 61 74 69 6f 6e 28 20 54 | 72 61 6e 73 42 65 61 63 |ation( T|ransBeac|
|00002490| 6f 6e 2e 52 6f 74 61 74 | 69 6f 6e 20 29 3b 0d 0a |on.Rotat|ion );..|
|000024a0| 09 09 09 54 72 61 6e 73 | 62 65 61 63 6f 6e 2e 53 |...Trans|beacon.S|
|000024b0| 6f 75 6e 64 56 6f 6c 75 | 6d 65 20 3d 20 56 69 65 |oundVolu|me = Vie|
|000024c0| 77 42 65 61 63 6f 6e 56 | 6f 6c 75 6d 65 3b 0d 0a |wBeaconV|olume;..|
|000024d0| 20 20 20 20 20 20 20 20 | 7d 0d 0a 20 20 20 20 7d | |}.. }|
|000024e0| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|000024f0| 20 66 75 6e 63 74 69 6f | 6e 20 52 65 73 65 6c 65 | functio|n Resele|
|00002500| 63 74 28 29 0d 0a 7b 0d | 0a 09 69 66 20 28 20 28 |ct()..{.|..if ( (|
|00002510| 54 72 61 6e 73 42 65 61 | 63 6f 6e 20 3d 3d 20 4e |TransBea|con == N|
|00002520| 6f 6e 65 29 20 7c 7c 20 | 28 49 6e 73 74 69 67 61 |one) || |(Instiga|
|00002530| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 2e 49 |tor.Cont|roller.I|
|00002540| 73 41 28 27 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f |sA('Play|erContro|
|00002550| 6c 6c 65 72 27 29 20 26 | 26 20 28 50 6c 61 79 65 |ller') &|& (Playe|
|00002560| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 28 49 6e 73 74 |rControl|ler(Inst|
|00002570| 69 67 61 74 6f 72 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |igator.C|ontrolle|
|00002580| 72 29 2e 56 69 65 77 54 | 61 72 67 65 74 20 3d 3d |r).ViewT|arget ==|
|00002590| 20 54 72 61 6e 73 42 65 | 61 63 6f 6e 29 29 20 29 | TransBe|acon)) )|
|000025a0| 0d 0a 20 20 20 20 20 20 | 20 20 56 69 65 77 50 6c |.. | ViewPl|
|000025b0| 61 79 65 72 28 29 3b 0d | 0a 20 20 20 20 65 6c 73 |ayer();.|. els|
|000025c0| 65 0d 0a 20 20 20 20 20 | 20 20 20 56 69 65 77 43 |e.. | ViewC|
|000025d0| 61 6d 65 72 61 28 29 3b | 0d 0a 7d 0d 0a 0d 0a 73 |amera();|..}....s|
|000025e0| 69 6d 75 6c 61 74 65 64 | 20 65 76 65 6e 74 20 52 |imulated| event R|
|000025f0| 65 6e 64 65 72 4f 76 65 | 72 6c 61 79 73 28 20 43 |enderOve|rlays( C|
|00002600| 61 6e 76 61 73 20 43 61 | 6e 76 61 73 20 29 0d 0a |anvas Ca|nvas )..|
|00002610| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |{...loca|l float |
|00002620| 74 69 6c 65 53 63 61 6c | 65 58 2c 20 74 69 6c 65 |tileScal|eX, tile|
|00002630| 53 63 61 6c 65 59 2c 20 | 64 69 73 74 2c 20 63 6c |ScaleY, |dist, cl|
|00002640| 72 3b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |r;...loc|al float|
|00002650| 20 4e 65 77 54 72 61 6e | 73 6c 6f 63 53 63 61 6c | NewTran|slocScal|
|00002660| 65 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 50 6c 61 79 |e;.....i|f ( Play|
|00002670| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 49 6e 73 |erContro|ller(Ins|
|00002680| 74 69 67 61 74 6f 72 2e | 43 6f 6e 74 72 6f 6c 6c |tigator.|Controll|
|00002690| 65 72 29 2e 56 69 65 77 | 54 61 72 67 65 74 20 3d |er).View|Target =|
|000026a0| 3d 20 54 72 61 6e 73 42 | 65 61 63 6f 6e 20 29 0d |= TransB|eacon ).|
|000026b0| 0a 20 20 20 20 7b 0d 0a | 09 09 74 69 6c 65 53 63 |. {..|..tileSc|
|000026c0| 61 6c 65 58 20 3d 20 43 | 61 6e 76 61 73 2e 53 69 |aleX = C|anvas.Si|
|000026d0| 7a 65 58 20 2f 20 36 34 | 30 2e 30 66 3b 0d 0a 09 |zeX / 64|0.0f;...|
|000026e0| 09 74 69 6c 65 53 63 61 | 6c 65 59 20 3d 20 43 61 |.tileSca|leY = Ca|
|000026f0| 6e 76 61 73 2e 53 69 7a | 65 59 20 2f 20 34 38 30 |nvas.Siz|eY / 480|
|00002700| 2e 30 66 3b 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |.0f;....| |
|00002710| 43 61 6e 76 61 73 2e 44 | 72 61 77 43 6f 6c 6f 72 |Canvas.D|rawColor|
|00002720| 2e 52 20 3d 20 32 35 35 | 3b 0d 0a 09 09 43 61 6e |.R = 255|;....Can|
|00002730| 76 61 73 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 47 20 |vas.Draw|Color.G |
|00002740| 3d 20 32 35 35 3b 0d 0a | 09 09 43 61 6e 76 61 73 |= 255;..|..Canvas|
|00002750| 2e 44 72 61 77 43 6f 6c | 6f 72 2e 42 20 3d 20 32 |.DrawCol|or.B = 2|
|00002760| 35 35 3b 0d 0a 09 09 43 | 61 6e 76 61 73 2e 44 72 |55;....C|anvas.Dr|
|00002770| 61 77 43 6f 6c 6f 72 2e | 41 20 3d 20 32 35 35 3b |awColor.|A = 255;|
|00002780| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 43 61 6e 76 |.... | Canv|
|00002790| 61 73 2e 53 74 79 6c 65 | 20 3d 20 32 35 35 3b 0d |as.Style| = 255;.|
|000027a0| 0a 09 09 43 61 6e 76 61 | 73 2e 53 65 74 50 6f 73 |...Canva|s.SetPos|
|000027b0| 28 30 2c 30 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |(0,0);..| |
|000027c0| 43 61 6e 76 61 73 2e 44 | 72 61 77 54 69 6c 65 28 |Canvas.D|rawTile(|
|000027d0| 20 4d 61 74 65 72 69 61 | 6c 27 54 72 61 6e 73 43 | Materia|l'TransC|
|000027e0| 61 6d 46 42 27 2c 20 43 | 61 6e 76 61 73 2e 53 69 |amFB', C|anvas.Si|
|000027f0| 7a 65 58 2c 20 43 61 6e | 76 61 73 2e 53 69 7a 65 |zeX, Can|vas.Size|
|00002800| 59 2c 20 30 2e 30 2c 20 | 30 2e 30 2c 20 35 31 32 |Y, 0.0, |0.0, 512|
|00002810| 2c 20 35 31 32 20 29 3b | 20 2f 2f 20 21 21 20 68 |, 512 );| // !! h|
|00002820| 61 72 64 63 6f 64 65 64 | 20 73 69 7a 65 0d 0a 20 |ardcoded| size.. |
|00002830| 20 20 20 20 20 20 20 43 | 61 6e 76 61 73 2e 53 65 | C|anvas.Se|
|00002840| 74 50 6f 73 28 30 2c 30 | 29 3b 0d 0a 0d 0a 09 09 |tPos(0,0|);......|
|00002850| 69 66 20 28 20 21 4c 65 | 76 65 6c 2e 49 73 53 6f |if ( !Le|vel.IsSo|
|00002860| 66 74 77 61 72 65 52 65 | 6e 64 65 72 69 6e 67 28 |ftwareRe|ndering(|
|00002870| 29 20 29 0d 0a 09 09 7b | 0d 0a 09 09 09 64 69 73 |) )....{|.....dis|
|00002880| 74 20 3d 20 56 53 69 7a | 65 28 54 72 61 6e 73 42 |t = VSiz|e(TransB|
|00002890| 65 61 63 6f 6e 2e 4c 6f | 63 61 74 69 6f 6e 20 2d |eacon.Lo|cation -|
|000028a0| 20 49 6e 73 74 69 67 61 | 74 6f 72 2e 4c 6f 63 61 | Instiga|tor.Loca|
|000028b0| 74 69 6f 6e 29 3b 0d 0a | 09 09 09 69 66 20 28 20 |tion);..|...if ( |
|000028c0| 64 69 73 74 20 3e 20 4d | 61 78 43 61 6d 44 69 73 |dist > M|axCamDis|
|000028d0| 74 20 29 0d 0a 09 09 09 | 7b 0d 0a 09 09 09 09 63 |t ).....|{......c|
|000028e0| 6c 72 20 3d 20 32 35 35 | 2e 30 3b 0d 0a 09 09 09 |lr = 255|.0;.....|
|000028f0| 7d 0d 0a 09 09 09 65 6c | 73 65 0d 0a 09 09 09 7b |}.....el|se.....{|
|00002900| 0d 0a 09 09 09 09 63 6c | 72 20 3d 20 28 64 69 73 |......cl|r = (dis|
|00002910| 74 20 2f 20 4d 61 78 43 | 61 6d 44 69 73 74 29 3b |t / MaxC|amDist);|
|00002920| 0d 0a 09 09 09 09 63 6c | 72 20 2a 3d 20 32 35 35 |......cl|r *= 255|
|00002930| 2e 30 3b 0d 0a 09 09 09 | 7d 0d 0a 09 09 09 63 6c |.0;.....|}.....cl|
|00002940| 72 20 3d 20 43 6c 61 6d | 70 28 20 63 6c 72 2c 20 |r = Clam|p( clr, |
|00002950| 32 30 2e 30 2c 20 32 35 | 35 2e 30 20 29 3b 0d 0a |20.0, 25|5.0 );..|
|00002960| 09 09 09 43 61 6e 76 61 | 73 2e 44 72 61 77 43 6f |...Canva|s.DrawCo|
|00002970| 6c 6f 72 2e 52 20 3d 20 | 63 6c 72 3b 0d 0a 09 09 |lor.R = |clr;....|
|00002980| 09 43 61 6e 76 61 73 2e | 44 72 61 77 43 6f 6c 6f |.Canvas.|DrawColo|
|00002990| 72 2e 47 20 3d 20 63 6c | 72 3b 0d 0a 09 09 09 43 |r.G = cl|r;.....C|
|000029a0| 61 6e 76 61 73 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |anvas.Dr|awColor.|
|000029b0| 42 20 3d 20 63 6c 72 3b | 0d 0a 09 09 09 43 61 6e |B = clr;|.....Can|
|000029c0| 76 61 73 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 41 20 |vas.Draw|Color.A |
|000029d0| 3d 20 32 35 35 3b 0d 0a | 09 09 09 43 61 6e 76 61 |= 255;..|...Canva|
|000029e0| 73 2e 44 72 61 77 54 69 | 6c 65 28 20 4d 61 74 65 |s.DrawTi|le( Mate|
|000029f0| 72 69 61 6c 27 53 63 72 | 65 65 6e 4e 6f 69 73 65 |rial'Scr|eenNoise|
|00002a00| 46 42 27 2c 20 43 61 6e | 76 61 73 2e 53 69 7a 65 |FB', Can|vas.Size|
|00002a10| 58 2c 20 43 61 6e 76 61 | 73 2e 53 69 7a 65 59 2c |X, Canva|s.SizeY,|
|00002a20| 20 30 2e 30 2c 20 30 2e | 30 2c 20 35 31 32 2c 20 | 0.0, 0.|0, 512, |
|00002a30| 35 31 32 20 29 3b 20 2f | 2f 20 21 21 20 68 61 72 |512 ); /|/ !! har|
|00002a40| 64 63 6f 64 65 64 20 73 | 69 7a 65 0d 0a 09 09 7d |dcoded s|ize....}|
|00002a50| 0d 0a 09 7d 0d 0a 20 20 | 20 20 65 6c 73 65 0d 0a |...}.. | else..|
|00002a60| 20 20 20 20 7b 0d 0a 09 | 09 69 66 20 28 20 54 72 | {...|.if ( Tr|
|00002a70| 61 6e 73 42 65 61 63 6f | 6e 20 3d 3d 20 4e 6f 6e |ansBeaco|n == Non|
|00002a80| 65 20 29 0d 0a 09 09 09 | 4e 65 77 54 72 61 6e 73 |e ).....|NewTrans|
|00002a90| 6c 6f 63 53 63 61 6c 65 | 20 3d 20 31 3b 0d 0a 09 |locScale| = 1;...|
|00002aa0| 09 65 6c 73 65 0d 0a 09 | 09 09 4e 65 77 54 72 61 |.else...|..NewTra|
|00002ab0| 6e 73 6c 6f 63 53 63 61 | 6c 65 20 3d 20 30 3b 0d |nslocSca|le = 0;.|
|00002ac0| 0a 0d 0a 09 09 69 66 20 | 28 20 4e 65 77 54 72 61 |.....if |( NewTra|
|00002ad0| 6e 73 6c 6f 63 53 63 61 | 6c 65 20 21 3d 20 54 72 |nslocSca|le != Tr|
|00002ae0| 61 6e 73 6c 6f 63 53 63 | 61 6c 65 20 29 0d 0a 09 |anslocSc|ale )...|
|00002af0| 09 7b 0d 0a 09 09 09 54 | 72 61 6e 73 6c 6f 63 53 |.{.....T|ranslocS|
|00002b00| 63 61 6c 65 20 3d 20 4e | 65 77 54 72 61 6e 73 6c |cale = N|ewTransl|
|00002b10| 6f 63 53 63 61 6c 65 3b | 0d 0a 09 09 09 53 65 74 |ocScale;|.....Set|
|00002b20| 42 6f 6e 65 53 63 61 6c | 65 28 30 2c 54 72 61 6e |BoneScal|e(0,Tran|
|00002b30| 73 6c 6f 63 53 63 61 6c | 65 2c 27 42 65 61 63 6f |slocScal|e,'Beaco|
|00002b40| 6e 27 29 3b 0d 0a 09 09 | 7d 0d 0a 09 09 69 66 20 |n');....|}....if |
|00002b50| 28 20 54 72 61 6e 73 6c | 6f 63 53 63 61 6c 65 20 |( Transl|ocScale |
|00002b60| 21 3d 20 30 20 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |!= 0 )..|..{.....|
|00002b70| 54 72 61 6e 73 6c 6f 63 | 52 6f 74 2e 59 61 77 20 |Transloc|Rot.Yaw |
|00002b80| 2b 3d 20 31 32 30 30 30 | 30 20 2a 20 28 4c 65 76 |+= 12000|0 * (Lev|
|00002b90| 65 6c 2e 54 69 6d 65 53 | 65 63 6f 6e 64 73 20 2d |el.TimeS|econds -|
|00002ba0| 20 4f 6c 64 54 69 6d 65 | 29 3b 0d 0a 09 09 09 4f | OldTime|);.....O|
|00002bb0| 6c 64 54 69 6d 65 20 3d | 20 4c 65 76 65 6c 2e 54 |ldTime =| Level.T|
|00002bc0| 69 6d 65 53 65 63 6f 6e | 64 73 3b 0d 0a 09 09 09 |imeSecon|ds;.....|
|00002bd0| 53 65 74 42 6f 6e 65 52 | 6f 74 61 74 69 6f 6e 28 |SetBoneR|otation(|
|00002be0| 27 42 65 61 63 6f 6e 27 | 2c 54 72 61 6e 73 6c 6f |'Beacon'|,Translo|
|00002bf0| 63 52 6f 74 2c 30 29 3b | 0d 0a 09 09 7d 0d 0a 09 |cRot,0);|....}...|
|00002c00| 09 69 66 20 28 20 21 62 | 54 65 61 6d 53 65 74 20 |.if ( !b|TeamSet |
|00002c10| 26 26 20 28 49 6e 73 74 | 69 67 61 74 6f 72 2e 50 |&& (Inst|igator.P|
|00002c20| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00002c30| 49 6e 66 6f 20 21 3d 20 | 4e 6f 6e 65 29 20 26 26 |Info != |None) &&|
|00002c40| 20 28 49 6e 73 74 69 67 | 61 74 6f 72 2e 50 6c 61 | (Instig|ator.Pla|
|00002c50| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00002c60| 66 6f 2e 54 65 61 6d 20 | 21 3d 20 4e 6f 6e 65 29 |fo.Team |!= None)|
|00002c70| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 62 54 65 61 | )....{.|....bTea|
|00002c80| 6d 53 65 74 20 3d 20 74 | 72 75 65 3b 0d 0a 09 09 |mSet = t|rue;....|
|00002c90| 09 69 66 20 28 20 49 6e | 73 74 69 67 61 74 6f 72 |.if ( In|stigator|
|00002ca0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00002cb0| 6f 6e 49 6e 66 6f 2e 54 | 65 61 6d 2e 54 65 61 6d |onInfo.T|eam.Team|
|00002cc0| 49 6e 64 65 78 20 3d 3d | 20 31 20 29 0d 0a 09 09 |Index ==| 1 )....|
|00002cd0| 09 09 53 6b 69 6e 73 5b | 31 5d 20 3d 20 4d 61 74 |..Skins[|1] = Mat|
|00002ce0| 65 72 69 61 6c 27 57 65 | 61 70 6f 6e 53 6b 69 6e |erial'We|aponSkin|
|00002cf0| 73 2e 4e 45 57 54 72 61 | 6e 73 6c 6f 63 61 74 6f |s.NEWTra|nslocato|
|00002d00| 72 42 6c 75 65 27 3b 0d | 0a 09 09 7d 0d 0a 20 20 |rBlue';.|...}.. |
|00002d10| 20 20 20 20 20 20 53 75 | 70 65 72 2e 52 65 6e 64 | Su|per.Rend|
|00002d20| 65 72 4f 76 65 72 6c 61 | 79 73 28 43 61 6e 76 61 |erOverla|ys(Canva|
|00002d30| 73 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 7d 0d 0a 0d |s);.. | }..}...|
|00002d40| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|00002d50| 69 6f 6e 20 62 6f 6f 6c | 20 50 75 74 44 6f 77 6e |ion bool| PutDown|
|00002d60| 28 29 0d 0a 7b 0d 0a 20 | 20 20 20 56 69 65 77 50 |()..{.. | ViewP|
|00002d70| 6c 61 79 65 72 28 29 3b | 0d 0a 20 20 20 20 72 65 |layer();|.. re|
|00002d80| 74 75 72 6e 20 53 75 70 | 65 72 2e 50 75 74 44 6f |turn Sup|er.PutDo|
|00002d90| 77 6e 28 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 |wn();..}|....simu|
|00002da0| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 44 |lated fu|nction D|
|00002db0| 65 73 74 72 6f 79 65 64 | 28 29 0d 0a 7b 0d 0a 20 |estroyed|()..{.. |
|00002dc0| 20 20 20 69 66 20 28 54 | 72 61 6e 73 42 65 61 63 | if (T|ransBeac|
|00002dd0| 6f 6e 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 20 20 20 |on != No|ne).. |
|00002de0| 20 20 20 20 20 54 72 61 | 6e 73 42 65 61 63 6f 6e | Tra|nsBeacon|
|00002df0| 2e 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 20 20 20 |.Destroy|();.. |
|00002e00| 20 53 75 70 65 72 2e 44 | 65 73 74 72 6f 79 65 64 | Super.D|estroyed|
|00002e10| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 73 69 6d 75 6c 61 |();..}..|..simula|
|00002e20| 74 65 64 20 66 75 6e 63 | 74 69 6f 6e 20 66 6c 6f |ted func|tion flo|
|00002e30| 61 74 20 43 68 61 72 67 | 65 42 61 72 28 29 0d 0a |at Charg|eBar()..|
|00002e40| 7b 0d 0a 09 72 65 74 75 | 72 6e 20 41 6d 6d 6f 43 |{...retu|rn AmmoC|
|00002e50| 68 61 72 67 65 46 20 2d | 20 69 6e 74 28 41 6d 6d |hargeF -| int(Amm|
|00002e60| 6f 43 68 61 72 67 65 46 | 29 3b 0d 0a 7d 0d 0a 0d |oChargeF|);..}...|
|00002e70| 0a 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+