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_SniperRifle_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  8.0 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 | 54 7f 2f 2f 3d 3d 3d 3d |........|T.//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 53 6e |========|=..// Sn|
|00000060| 69 70 65 72 20 52 69 66 | 6c 65 0d 0a 2f 2f 3d 3d |iper Rif|le..//==|
|00000070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0a 63 6c 61 |========|===..cla|
|000000c0| 73 73 20 53 6e 69 70 65 | 72 52 69 66 6c 65 20 65 |ss Snipe|rRifle e|
|000000d0| 78 74 65 6e 64 73 20 57 | 65 61 70 6f 6e 0d 0a 20 |xtends W|eapon.. |
|000000e0| 20 20 20 63 6f 6e 66 69 | 67 28 75 73 65 72 29 3b | confi|g(user);|
|000000f0| 0d 0a 0d 0a 23 45 58 45 | 43 20 4f 42 4a 20 4c 4f |....#EXE|C OBJ LO|
|00000100| 41 44 20 46 49 4c 45 3d | 49 6e 74 65 72 66 61 63 |AD FILE=|Interfac|
|00000110| 65 43 6f 6e 74 65 6e 74 | 2e 75 74 78 0d 0a 23 45 |eContent|.utx..#E|
|00000120| 58 45 43 20 4f 42 4a 20 | 4c 4f 41 44 20 46 49 4c |XEC OBJ |LOAD FIL|
|00000130| 45 3d 48 75 64 43 6f 6e | 74 65 6e 74 2e 75 74 78 |E=HudCon|tent.utx|
|00000140| 0d 0a 23 65 78 65 63 20 | 4f 42 4a 20 4c 4f 41 44 |..#exec |OBJ LOAD|
|00000150| 20 46 49 4c 45 3d 58 47 | 61 6d 65 53 68 61 64 65 | FILE=XG|ameShade|
|00000160| 72 73 2e 75 74 78 0d 0a | 0d 0a 76 61 72 28 47 66 |rs.utx..|..var(Gf|
|00000170| 78 29 20 66 6c 6f 61 74 | 20 74 65 73 74 58 3b 0d |x) float| testX;.|
|00000180| 0a 76 61 72 28 47 66 78 | 29 20 66 6c 6f 61 74 20 |.var(Gfx|) float |
|00000190| 74 65 73 74 59 3b 0d 0a | 0d 0a 76 61 72 28 47 66 |testY;..|..var(Gf|
|000001a0| 78 29 20 66 6c 6f 61 74 | 20 62 6f 72 64 65 72 58 |x) float| borderX|
|000001b0| 3b 0d 0a 76 61 72 28 47 | 66 78 29 20 66 6c 6f 61 |;..var(G|fx) floa|
|000001c0| 74 20 62 6f 72 64 65 72 | 59 3b 0d 0a 0d 0a 76 61 |t border|Y;....va|
|000001d0| 72 28 47 66 78 29 20 66 | 6c 6f 61 74 20 66 6f 63 |r(Gfx) f|loat foc|
|000001e0| 75 73 58 3b 0d 0a 76 61 | 72 28 47 66 78 29 20 66 |usX;..va|r(Gfx) f|
|000001f0| 6c 6f 61 74 20 66 6f 63 | 75 73 59 3b 0d 0a 76 61 |loat foc|usY;..va|
|00000200| 72 28 47 66 78 29 20 66 | 6c 6f 61 74 20 69 6e 6e |r(Gfx) f|loat inn|
|00000210| 65 72 41 72 72 6f 77 73 | 58 3b 0d 0a 76 61 72 28 |erArrows|X;..var(|
|00000220| 47 66 78 29 20 66 6c 6f | 61 74 20 69 6e 6e 65 72 |Gfx) flo|at inner|
|00000230| 41 72 72 6f 77 73 59 3b | 0d 0a 0d 0a 76 61 72 28 |ArrowsY;|....var(|
|00000240| 47 66 78 29 20 43 6f 6c | 6f 72 20 41 72 72 6f 77 |Gfx) Col|or Arrow|
|00000250| 43 6f 6c 6f 72 3b 0d 0a | 76 61 72 28 47 66 78 29 |Color;..|var(Gfx)|
|00000260| 20 43 6f 6c 6f 72 20 54 | 61 72 67 65 74 43 6f 6c | Color T|argetCol|
|00000270| 6f 72 3b 0d 0a 76 61 72 | 28 47 66 78 29 20 43 6f |or;..var|(Gfx) Co|
|00000280| 6c 6f 72 20 4e 6f 54 61 | 72 67 65 74 43 6f 6c 6f |lor NoTa|rgetColo|
|00000290| 72 3b 0d 0a 76 61 72 28 | 47 66 78 29 20 43 6f 6c |r;..var(|Gfx) Col|
|000002a0| 6f 72 20 46 6f 63 75 73 | 43 6f 6c 6f 72 3b 0d 0a |or Focus|Color;..|
|000002b0| 76 61 72 28 47 66 78 29 | 20 43 6f 6c 6f 72 20 43 |var(Gfx)| Color C|
|000002c0| 68 61 72 67 65 43 6f 6c | 6f 72 3b 0d 0a 0d 0a 76 |hargeCol|or;....v|
|000002d0| 61 72 28 47 66 78 29 20 | 76 65 63 74 6f 72 20 52 |ar(Gfx) |vector R|
|000002e0| 65 63 68 61 72 67 65 4f | 72 69 67 69 6e 3b 0d 0a |echargeO|rigin;..|
|000002f0| 76 61 72 28 47 66 78 29 | 20 76 65 63 74 6f 72 20 |var(Gfx)| vector |
|00000300| 52 65 63 68 61 72 67 65 | 53 69 7a 65 3b 0d 0a 0d |Recharge|Size;...|
|00000310| 0a 76 61 72 20 74 72 61 | 6e 73 69 65 6e 74 20 66 |.var tra|nsient f|
|00000320| 6c 6f 61 74 20 4c 61 73 | 74 46 4f 56 3b 0d 0a 76 |loat Las|tFOV;..v|
|00000330| 61 72 28 29 20 62 6f 6f | 6c 20 7a 6f 6f 6d 65 64 |ar() boo|l zoomed|
|00000340| 3b 0d 0a 76 61 72 28 29 | 20 78 45 6d 69 74 74 65 |;..var()| xEmitte|
|00000350| 72 20 20 63 68 61 72 67 | 65 45 6d 69 74 74 65 72 |r charg|eEmitter|
|00000360| 3b 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |;....sim|ulated f|
|00000370| 75 6e 63 74 69 6f 6e 20 | 50 6f 73 74 42 65 67 69 |unction |PostBegi|
|00000380| 6e 50 6c 61 79 28 29 0d | 0a 7b 0d 0a 20 20 20 20 |nPlay().|.{.. |
|00000390| 53 75 70 65 72 2e 50 6f | 73 74 42 65 67 69 6e 50 |Super.Po|stBeginP|
|000003a0| 6c 61 79 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 73 69 6d |lay();..|}....sim|
|000003b0| 75 6c 61 74 65 64 20 66 | 75 6e 63 74 69 6f 6e 20 |ulated f|unction |
|000003c0| 44 65 73 74 72 6f 79 65 | 64 28 29 0d 0a 7b 0d 0a |Destroye|d()..{..|
|000003d0| 20 20 20 20 69 66 20 28 | 63 68 61 72 67 65 45 6d | if (|chargeEm|
|000003e0| 69 74 74 65 72 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |itter !=| None)..|
|000003f0| 20 20 20 20 20 20 20 20 | 63 68 61 72 67 65 45 6d | |chargeEm|
|00000400| 69 74 74 65 72 2e 44 65 | 73 74 72 6f 79 28 29 3b |itter.De|stroy();|
|00000410| 0d 0a 0d 0a 20 20 20 20 | 53 75 70 65 72 2e 44 65 |.... |Super.De|
|00000420| 73 74 72 6f 79 65 64 28 | 29 3b 0d 0a 7d 0d 0a 0d |stroyed(|);..}...|
|00000430| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|00000440| 69 6f 6e 20 43 6c 69 65 | 6e 74 57 65 61 70 6f 6e |ion Clie|ntWeapon|
|00000450| 54 68 72 6f 77 6e 28 29 | 0d 0a 7b 0d 0a 20 20 20 |Thrown()|..{.. |
|00000460| 20 69 66 28 20 28 49 6e | 73 74 69 67 61 74 6f 72 | if( (In|stigator|
|00000470| 20 21 3d 20 4e 6f 6e 65 | 29 20 26 26 20 28 50 6c | != None|) && (Pl|
|00000480| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 49 |ayerCont|roller(I|
|00000490| 6e 73 74 69 67 61 74 6f | 72 2e 43 6f 6e 74 72 6f |nstigato|r.Contro|
|000004a0| 6c 6c 65 72 29 20 21 3d | 20 4e 6f 6e 65 29 20 29 |ller) !=| None) )|
|000004b0| 0d 0a 20 20 20 20 20 20 | 20 20 50 6c 61 79 65 72 |.. | Player|
|000004c0| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 49 6e 73 74 69 |Controll|er(Insti|
|000004d0| 67 61 74 6f 72 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |gator.Co|ntroller|
|000004e0| 29 2e 45 6e 64 5a 6f 6f | 6d 28 29 3b 0d 0a 20 20 |).EndZoo|m();.. |
|000004f0| 20 20 53 75 70 65 72 2e | 43 6c 69 65 6e 74 57 65 | Super.|ClientWe|
|00000500| 61 70 6f 6e 54 68 72 6f | 77 6e 28 29 3b 0d 0a 7d |aponThro|wn();..}|
|00000510| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|00000520| 6e 63 74 69 6f 6e 20 49 | 6e 63 72 65 6d 65 6e 74 |nction I|ncrement|
|00000530| 46 6c 61 73 68 43 6f 75 | 6e 74 28 69 6e 74 20 4d |FlashCou|nt(int M|
|00000540| 6f 64 65 29 0d 0a 7b 0d | 0a 09 69 66 20 28 20 4d |ode)..{.|..if ( M|
|00000550| 6f 64 65 20 3d 3d 20 31 | 20 29 0d 0a 09 09 72 65 |ode == 1| )....re|
|00000560| 74 75 72 6e 3b 0d 0a 09 | 53 75 70 65 72 2e 49 6e |turn;...|Super.In|
|00000570| 63 72 65 6d 65 6e 74 46 | 6c 61 73 68 43 6f 75 6e |crementF|lashCoun|
|00000580| 74 28 4d 6f 64 65 29 3b | 0d 0a 7d 0d 0a 0d 0a 2f |t(Mode);|..}..../|
|00000590| 2f 20 63 6f 6d 70 65 6e | 73 61 74 65 20 66 6f 72 |/ compen|sate for|
|000005a0| 20 62 72 69 67 68 74 20 | 66 6f 67 0d 0a 73 69 6d | bright |fog..sim|
|000005b0| 75 6c 61 74 65 64 20 66 | 75 6e 63 74 69 6f 6e 20 |ulated f|unction |
|000005c0| 53 65 74 5a 6f 6f 6d 42 | 6c 65 6e 64 43 6f 6c 6f |SetZoomB|lendColo|
|000005d0| 72 28 43 61 6e 76 61 73 | 20 63 29 0d 0a 7b 0d 0a |r(Canvas| c)..{..|
|000005e0| 20 20 20 20 6c 6f 63 61 | 6c 20 42 79 74 65 20 20 | loca|l Byte |
|000005f0| 20 20 76 61 6c 3b 0d 0a | 20 20 20 20 6c 6f 63 61 | val;..| loca|
|00000600| 6c 20 43 6f 6c 6f 72 20 | 20 20 63 6c 72 3b 0d 0a |l Color | clr;..|
|00000610| 20 20 20 20 6c 6f 63 61 | 6c 20 43 6f 6c 6f 72 20 | loca|l Color |
|00000620| 20 20 66 6f 67 3b 0d 0a | 0d 0a 20 20 20 20 63 6c | fog;..|.. cl|
|00000630| 72 2e 52 20 3d 20 32 35 | 35 3b 0d 0a 20 20 20 20 |r.R = 25|5;.. |
|00000640| 63 6c 72 2e 47 20 3d 20 | 32 35 35 3b 0d 0a 20 20 |clr.G = |255;.. |
|00000650| 20 20 63 6c 72 2e 42 20 | 3d 20 32 35 35 3b 0d 0a | clr.B |= 255;..|
|00000660| 20 20 20 20 63 6c 72 2e | 41 20 3d 20 32 35 35 3b | clr.|A = 255;|
|00000670| 0d 0a 0d 0a 20 20 20 20 | 69 66 28 20 49 6e 73 74 |.... |if( Inst|
|00000680| 69 67 61 74 6f 72 2e 52 | 65 67 69 6f 6e 2e 5a 6f |igator.R|egion.Zo|
|00000690| 6e 65 2e 62 44 69 73 74 | 61 6e 63 65 46 6f 67 20 |ne.bDist|anceFog |
|000006a0| 29 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |).. {|.. |
|000006b0| 20 20 66 6f 67 20 3d 20 | 49 6e 73 74 69 67 61 74 | fog = |Instigat|
|000006c0| 6f 72 2e 52 65 67 69 6f | 6e 2e 5a 6f 6e 65 2e 44 |or.Regio|n.Zone.D|
|000006d0| 69 73 74 61 6e 63 65 46 | 6f 67 43 6f 6c 6f 72 3b |istanceF|ogColor;|
|000006e0| 0d 0a 20 20 20 20 20 20 | 20 20 76 61 6c 20 3d 20 |.. | val = |
|000006f0| 30 3b 0d 0a 20 20 20 20 | 20 20 20 20 76 61 6c 20 |0;.. | val |
|00000700| 3d 20 4d 61 78 28 20 76 | 61 6c 2c 20 66 6f 67 2e |= Max( v|al, fog.|
|00000710| 52 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 76 61 6c |R);.. | val|
|00000720| 20 3d 20 4d 61 78 28 20 | 76 61 6c 2c 20 66 6f 67 | = Max( |val, fog|
|00000730| 2e 47 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 76 61 |.G);.. | va|
|00000740| 6c 20 3d 20 4d 61 78 28 | 20 76 61 6c 2c 20 66 6f |l = Max(| val, fo|
|00000750| 67 2e 42 29 3b 0d 0a 0d | 0a 20 20 20 20 20 20 20 |g.B);...|. |
|00000760| 20 69 66 28 20 76 61 6c | 20 3e 20 31 32 38 20 29 | if( val| > 128 )|
|00000770| 0d 0a 20 20 20 20 20 20 | 20 20 7b 0d 0a 20 20 20 |.. | {.. |
|00000780| 20 20 20 20 20 20 20 20 | 20 76 61 6c 20 2d 3d 20 | | val -= |
|00000790| 31 32 38 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |128;.. | |
|000007a0| 20 20 63 6c 72 2e 52 20 | 2d 3d 20 76 61 6c 3b 0d | clr.R |-= val;.|
|000007b0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 63 6c 72 |. | clr|
|000007c0| 2e 47 20 2d 3d 20 76 61 | 6c 3b 0d 0a 20 20 20 20 |.G -= va|l;.. |
|000007d0| 20 20 20 20 20 20 20 20 | 63 6c 72 2e 42 20 2d 3d | |clr.B -=|
|000007e0| 20 76 61 6c 3b 0d 0a 20 | 20 20 20 20 20 20 20 7d | val;.. | }|
|000007f0| 0d 0a 20 20 20 20 7d 0d | 0a 20 20 20 20 63 2e 44 |.. }.|. c.D|
|00000800| 72 61 77 43 6f 6c 6f 72 | 20 3d 20 63 6c 72 3b 0d |rawColor| = clr;.|
|00000810| 0a 7d 0d 0a 0d 0a 73 69 | 6d 75 6c 61 74 65 64 20 |.}....si|mulated |
|00000820| 65 76 65 6e 74 20 52 65 | 6e 64 65 72 4f 76 65 72 |event Re|nderOver|
|00000830| 6c 61 79 73 28 20 43 61 | 6e 76 61 73 20 43 61 6e |lays( Ca|nvas Can|
|00000840| 76 61 73 20 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |vas )..{|...local|
|00000850| 20 66 6c 6f 61 74 20 74 | 69 6c 65 53 63 61 6c 65 | float t|ileScale|
|00000860| 58 3b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |X;...loc|al float|
|00000870| 20 74 69 6c 65 53 63 61 | 6c 65 59 3b 0d 0a 09 6c | tileSca|leY;...l|
|00000880| 6f 63 61 6c 20 66 6c 6f | 61 74 20 62 58 3b 0d 0a |ocal flo|at bX;..|
|00000890| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 62 59 3b |.local f|loat bY;|
|000008a0| 0d 0a 09 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 66 |...local| float f|
|000008b0| 58 3b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |X;...loc|al float|
|000008c0| 20 66 59 3b 0d 0a 09 6c | 6f 63 61 6c 20 66 6c 6f | fY;...l|ocal flo|
|000008d0| 61 74 20 43 68 61 72 67 | 65 42 61 72 3b 0d 0a 0d |at Charg|eBar;...|
|000008e0| 0a 09 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 74 58 |..local |float tX|
|000008f0| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |;...loca|l float |
|00000900| 74 59 3b 0d 0a 0d 0a 09 | 6c 6f 63 61 6c 20 66 6c |tY;.....|local fl|
|00000910| 6f 61 74 20 62 61 72 4f | 72 67 58 3b 0d 0a 09 6c |oat barO|rgX;...l|
|00000920| 6f 63 61 6c 20 66 6c 6f | 61 74 20 62 61 72 4f 72 |ocal flo|at barOr|
|00000930| 67 59 3b 0d 0a 09 6c 6f | 63 61 6c 20 66 6c 6f 61 |gY;...lo|cal floa|
|00000940| 74 20 62 61 72 53 69 7a | 65 58 3b 0d 0a 09 6c 6f |t barSiz|eX;...lo|
|00000950| 63 61 6c 20 66 6c 6f 61 | 74 20 62 61 72 53 69 7a |cal floa|t barSiz|
|00000960| 65 59 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 50 6c 61 |eY;.....|if ( Pla|
|00000970| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 28 49 6e |yerContr|oller(In|
|00000980| 73 74 69 67 61 74 6f 72 | 2e 43 6f 6e 74 72 6f 6c |stigator|.Control|
|00000990| 6c 65 72 29 20 3d 3d 20 | 4e 6f 6e 65 20 29 0d 0a |ler) == |None )..|
|000009a0| 09 7b 0d 0a 20 20 20 20 | 20 20 20 20 53 75 70 65 |.{.. | Supe|
|000009b0| 72 2e 52 65 6e 64 65 72 | 4f 76 65 72 6c 61 79 73 |r.Render|Overlays|
|000009c0| 28 43 61 6e 76 61 73 29 | 3b 0d 0a 09 09 7a 6f 6f |(Canvas)|;....zoo|
|000009d0| 6d 65 64 3d 66 61 6c 73 | 65 3b 0d 0a 09 09 72 65 |med=fals|e;....re|
|000009e0| 74 75 72 6e 3b 0d 0a 09 | 7d 0d 0a 0d 0a 20 20 20 |turn;...|}.... |
|000009f0| 20 69 66 20 28 20 4c 61 | 73 74 46 4f 56 20 3e 20 | if ( La|stFOV > |
|00000a00| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|00000a10| 28 49 6e 73 74 69 67 61 | 74 6f 72 2e 43 6f 6e 74 |(Instiga|tor.Cont|
|00000a20| 72 6f 6c 6c 65 72 29 2e | 44 65 73 69 72 65 64 46 |roller).|DesiredF|
|00000a30| 4f 56 20 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |OV ).. | {.. |
|00000a40| 20 20 20 20 20 50 6c 61 | 79 53 6f 75 6e 64 28 53 | Pla|ySound(S|
|00000a50| 6f 75 6e 64 27 57 65 61 | 70 6f 6e 53 6f 75 6e 64 |ound'Wea|ponSound|
|00000a60| 73 2e 4c 69 67 68 74 6e | 69 6e 67 47 75 6e 2e 4c |s.Lightn|ingGun.L|
|00000a70| 69 67 68 74 6e 69 6e 67 | 5a 6f 6f 6d 49 6e 27 2c |ightning|ZoomIn',|
|00000a80| 20 53 4c 4f 54 5f 4d 69 | 73 63 2c 2c 2c 2c 2c 66 | SLOT_Mi|sc,,,,,f|
|00000a90| 61 6c 73 65 29 3b 0d 0a | 20 20 20 20 7d 0d 0a 20 |alse);..| }.. |
|00000aa0| 20 20 20 65 6c 73 65 20 | 69 66 20 28 20 4c 61 73 | else |if ( Las|
|00000ab0| 74 46 4f 56 20 3c 20 50 | 6c 61 79 65 72 43 6f 6e |tFOV < P|layerCon|
|00000ac0| 74 72 6f 6c 6c 65 72 28 | 49 6e 73 74 69 67 61 74 |troller(|Instigat|
|00000ad0| 6f 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 29 2e 44 |or.Contr|oller).D|
|00000ae0| 65 73 69 72 65 64 46 4f | 56 20 29 0d 0a 20 20 20 |esiredFO|V ).. |
|00000af0| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 50 6c 61 79 | {.. | Play|
|00000b00| 53 6f 75 6e 64 28 53 6f | 75 6e 64 27 57 65 61 70 |Sound(So|und'Weap|
|00000b10| 6f 6e 53 6f 75 6e 64 73 | 2e 4c 69 67 68 74 6e 69 |onSounds|.Lightni|
|00000b20| 6e 67 47 75 6e 2e 4c 69 | 67 68 74 6e 69 6e 67 5a |ngGun.Li|ghtningZ|
|00000b30| 6f 6f 6d 4f 75 74 27 2c | 20 53 4c 4f 54 5f 4d 69 |oomOut',| SLOT_Mi|
|00000b40| 73 63 2c 2c 2c 2c 2c 66 | 61 6c 73 65 29 3b 0d 0a |sc,,,,,f|alse);..|
|00000b50| 20 20 20 20 7d 0d 0a 20 | 20 20 20 4c 61 73 74 46 | }.. | LastF|
|00000b60| 4f 56 20 3d 20 50 6c 61 | 79 65 72 43 6f 6e 74 72 |OV = Pla|yerContr|
|00000b70| 6f 6c 6c 65 72 28 49 6e | 73 74 69 67 61 74 6f 72 |oller(In|stigator|
|00000b80| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 29 2e 44 65 73 |.Control|ler).Des|
|00000b90| 69 72 65 64 46 4f 56 3b | 0d 0a 0d 0a 20 20 20 20 |iredFOV;|.... |
|00000ba0| 69 66 20 28 20 50 6c 61 | 79 65 72 43 6f 6e 74 72 |if ( Pla|yerContr|
|00000bb0| 6f 6c 6c 65 72 28 49 6e | 73 74 69 67 61 74 6f 72 |oller(In|stigator|
|00000bc0| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 29 2e 44 65 73 |.Control|ler).Des|
|00000bd0| 69 72 65 64 46 4f 56 20 | 3d 3d 20 50 6c 61 79 65 |iredFOV |== Playe|
|00000be0| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 28 49 6e 73 74 |rControl|ler(Inst|
|00000bf0| 69 67 61 74 6f 72 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |igator.C|ontrolle|
|00000c00| 72 29 2e 44 65 66 61 75 | 6c 74 46 4f 56 20 29 0d |r).Defau|ltFOV ).|
|00000c10| 0a 09 7b 0d 0a 20 20 20 | 20 20 20 20 20 53 75 70 |..{.. | Sup|
|00000c20| 65 72 2e 52 65 6e 64 65 | 72 4f 76 65 72 6c 61 79 |er.Rende|rOverlay|
|00000c30| 73 28 43 61 6e 76 61 73 | 29 3b 0d 0a 09 09 7a 6f |s(Canvas|);....zo|
|00000c40| 6f 6d 65 64 3d 66 61 6c | 73 65 3b 0d 0a 09 7d 0d |omed=fal|se;...}.|
|00000c50| 0a 09 65 6c 73 65 0d 0a | 20 20 20 20 7b 0d 0a 09 |..else..| {...|
|00000c60| 09 69 66 20 28 20 46 69 | 72 65 4d 6f 64 65 5b 30 |.if ( Fi|reMode[0|
|00000c70| 5d 2e 4e 65 78 74 46 69 | 72 65 54 69 6d 65 20 3c |].NextFi|reTime <|
|00000c80| 3d 20 4c 65 76 65 6c 2e | 54 69 6d 65 53 65 63 6f |= Level.|TimeSeco|
|00000c90| 6e 64 73 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 43 |nds )...|.{.....C|
|00000ca0| 68 61 72 67 65 42 61 72 | 20 3d 20 31 2e 30 3b 0d |hargeBar| = 1.0;.|
|00000cb0| 0a 09 09 7d 0d 0a 09 09 | 65 6c 73 65 0d 0a 09 09 |...}....|else....|
|00000cc0| 7b 0d 0a 09 09 09 43 68 | 61 72 67 65 42 61 72 20 |{.....Ch|argeBar |
|00000cd0| 3d 20 31 2e 30 20 2d 20 | 28 28 46 69 72 65 4d 6f |= 1.0 - |((FireMo|
|00000ce0| 64 65 5b 30 5d 2e 4e 65 | 78 74 46 69 72 65 54 69 |de[0].Ne|xtFireTi|
|00000cf0| 6d 65 2d 4c 65 76 65 6c | 2e 54 69 6d 65 53 65 63 |me-Level|.TimeSec|
|00000d00| 6f 6e 64 73 29 20 2f 20 | 46 69 72 65 4d 6f 64 65 |onds) / |FireMode|
|00000d10| 5b 30 5d 2e 46 69 72 65 | 52 61 74 65 29 3b 0d 0a |[0].Fire|Rate);..|
|00000d20| 09 09 7d 0d 0a 0d 0a 09 | 09 74 69 6c 65 53 63 61 |..}.....|.tileSca|
|00000d30| 6c 65 58 20 3d 20 43 61 | 6e 76 61 73 2e 53 69 7a |leX = Ca|nvas.Siz|
|00000d40| 65 58 20 2f 20 36 34 30 | 2e 30 66 3b 0d 0a 09 09 |eX / 640|.0f;....|
|00000d50| 74 69 6c 65 53 63 61 6c | 65 59 20 3d 20 43 61 6e |tileScal|eY = Can|
|00000d60| 76 61 73 2e 53 69 7a 65 | 59 20 2f 20 34 38 30 2e |vas.Size|Y / 480.|
|00000d70| 30 66 3b 0d 0a 0d 0a 09 | 09 62 58 20 3d 20 62 6f |0f;.....|.bX = bo|
|00000d80| 72 64 65 72 58 20 2a 20 | 74 69 6c 65 53 63 61 6c |rderX * |tileScal|
|00000d90| 65 58 3b 0d 0a 09 09 62 | 59 20 3d 20 62 6f 72 64 |eX;....b|Y = bord|
|00000da0| 65 72 59 20 2a 20 74 69 | 6c 65 53 63 61 6c 65 59 |erY * ti|leScaleY|
|00000db0| 3b 0d 0a 09 09 66 58 20 | 3d 20 32 2a 66 6f 63 75 |;....fX |= 2*focu|
|00000dc0| 73 58 20 2a 20 74 69 6c | 65 53 63 61 6c 65 58 3b |sX * til|eScaleX;|
|00000dd0| 0d 0a 09 09 66 59 20 3d | 20 32 2a 66 6f 63 75 73 |....fY =| 2*focus|
|00000de0| 59 20 2a 20 74 69 6c 65 | 53 63 61 6c 65 58 3b 0d |Y * tile|ScaleX;.|
|00000df0| 0a 0d 0a 09 09 74 58 20 | 3d 20 74 65 73 74 58 20 |.....tX |= testX |
|00000e00| 2a 20 74 69 6c 65 53 63 | 61 6c 65 58 3b 0d 0a 09 |* tileSc|aleX;...|
|00000e10| 09 74 59 20 3d 20 74 65 | 73 74 59 20 2a 20 74 69 |.tY = te|stY * ti|
|00000e20| 6c 65 53 63 61 6c 65 58 | 3b 0d 0a 0d 0a 09 09 62 |leScaleX|;......b|
|00000e30| 61 72 4f 72 67 58 20 3d | 20 52 65 63 68 61 72 67 |arOrgX =| Recharg|
|00000e40| 65 4f 72 69 67 69 6e 2e | 58 20 2a 20 74 69 6c 65 |eOrigin.|X * tile|
|00000e50| 53 63 61 6c 65 58 3b 0d | 0a 09 09 62 61 72 4f 72 |ScaleX;.|...barOr|
|00000e60| 67 59 20 3d 20 52 65 63 | 68 61 72 67 65 4f 72 69 |gY = Rec|hargeOri|
|00000e70| 67 69 6e 2e 59 20 2a 20 | 74 69 6c 65 53 63 61 6c |gin.Y * |tileScal|
|00000e80| 65 59 3b 0d 0a 0d 0a 09 | 09 62 61 72 53 69 7a 65 |eY;.....|.barSize|
|00000e90| 58 20 3d 20 52 65 63 68 | 61 72 67 65 53 69 7a 65 |X = Rech|argeSize|
|00000ea0| 2e 58 20 2a 20 74 69 6c | 65 53 63 61 6c 65 58 3b |.X * til|eScaleX;|
|00000eb0| 0d 0a 09 09 62 61 72 53 | 69 7a 65 59 20 3d 20 52 |....barS|izeY = R|
|00000ec0| 65 63 68 61 72 67 65 53 | 69 7a 65 2e 59 20 2a 20 |echargeS|ize.Y * |
|00000ed0| 74 69 6c 65 53 63 61 6c | 65 59 3b 0d 0a 0d 0a 20 |tileScal|eY;.... |
|00000ee0| 20 20 20 20 20 20 20 53 | 65 74 5a 6f 6f 6d 42 6c | S|etZoomBl|
|00000ef0| 65 6e 64 43 6f 6c 6f 72 | 28 43 61 6e 76 61 73 29 |endColor|(Canvas)|
|00000f00| 3b 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 43 61 6e |;.... | Can|
|00000f10| 76 61 73 2e 53 74 79 6c | 65 20 3d 20 32 35 35 3b |vas.Styl|e = 255;|
|00000f20| 0d 0a 09 09 43 61 6e 76 | 61 73 2e 53 65 74 50 6f |....Canv|as.SetPo|
|00000f30| 73 28 30 2c 30 29 3b 0d | 0a 20 20 20 20 20 20 20 |s(0,0);.|. |
|00000f40| 20 43 61 6e 76 61 73 2e | 44 72 61 77 54 69 6c 65 | Canvas.|DrawTile|
|00000f50| 28 20 4d 61 74 65 72 69 | 61 6c 27 5a 6f 6f 6d 46 |( Materi|al'ZoomF|
|00000f60| 42 27 2c 20 43 61 6e 76 | 61 73 2e 53 69 7a 65 58 |B', Canv|as.SizeX|
|00000f70| 2c 20 43 61 6e 76 61 73 | 2e 53 69 7a 65 59 2c 20 |, Canvas|.SizeY, |
|00000f80| 31 32 38 2c 20 31 32 38 | 2c 20 32 35 36 2c 20 32 |128, 128|, 256, 2|
|00000f90| 35 36 20 29 3b 20 2f 2f | 20 21 21 20 68 61 72 64 |56 ); //| !! hard|
|00000fa0| 63 6f 64 65 64 20 73 69 | 7a 65 0d 0a 0d 0a 09 09 |coded si|ze......|
|00000fb0| 43 61 6e 76 61 73 2e 44 | 72 61 77 43 6f 6c 6f 72 |Canvas.D|rawColor|
|00000fc0| 20 3d 20 46 6f 63 75 73 | 43 6f 6c 6f 72 3b 0d 0a | = Focus|Color;..|
|00000fd0| 20 20 20 20 20 20 20 20 | 43 61 6e 76 61 73 2e 44 | |Canvas.D|
|00000fe0| 72 61 77 43 6f 6c 6f 72 | 2e 41 20 3d 20 32 35 35 |rawColor|.A = 255|
|00000ff0| 3b 20 2f 2f 20 32 35 35 | 20 77 61 73 20 74 68 65 |; // 255| was the|
|00001000| 20 6f 72 69 67 69 6e 61 | 6c 20 2d 61 73 70 2e 20 | origina|l -asp. |
|00001010| 57 54 46 3f 3f 21 3f 21 | 3f 21 0d 0a 09 09 43 61 |WTF??!?!|?!....Ca|
|00001020| 6e 76 61 73 2e 53 74 79 | 6c 65 20 3d 20 45 52 65 |nvas.Sty|le = ERe|
|00001030| 6e 64 65 72 53 74 79 6c | 65 2e 53 54 59 5f 41 6c |nderStyl|e.STY_Al|
|00001040| 70 68 61 3b 0d 0a 0d 0a | 09 09 43 61 6e 76 61 73 |pha;....|..Canvas|
|00001050| 2e 53 65 74 50 6f 73 28 | 28 43 61 6e 76 61 73 2e |.SetPos(|(Canvas.|
|00001060| 53 69 7a 65 58 2a 30 2e | 35 29 2d 66 58 2c 28 43 |SizeX*0.|5)-fX,(C|
|00001070| 61 6e 76 61 73 2e 53 69 | 7a 65 59 2a 30 2e 35 29 |anvas.Si|zeY*0.5)|
|00001080| 2d 66 59 29 3b 0d 0a 09 | 09 43 61 6e 76 61 73 2e |-fY);...|.Canvas.|
|00001090| 44 72 61 77 54 69 6c 65 | 28 20 54 65 78 74 75 72 |DrawTile|( Textur|
|000010a0| 65 27 53 6e 69 70 65 72 | 46 6f 63 75 73 27 2c 20 |e'Sniper|Focus', |
|000010b0| 66 58 2a 32 2e 30 2c 20 | 66 59 2a 32 2e 30 2c 20 |fX*2.0, |fY*2.0, |
|000010c0| 30 2e 30 2c 20 30 2e 30 | 2c 20 54 65 78 74 75 72 |0.0, 0.0|, Textur|
|000010d0| 65 27 53 6e 69 70 65 72 | 46 6f 63 75 73 27 2e 55 |e'Sniper|Focus'.U|
|000010e0| 53 69 7a 65 2c 20 54 65 | 78 74 75 72 65 27 53 6e |Size, Te|xture'Sn|
|000010f0| 69 70 65 72 46 6f 63 75 | 73 27 2e 56 53 69 7a 65 |iperFocu|s'.VSize|
|00001100| 20 29 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 66 | );.... | f|
|00001110| 58 20 3d 20 69 6e 6e 65 | 72 41 72 72 6f 77 73 58 |X = inne|rArrowsX|
|00001120| 20 2a 20 74 69 6c 65 53 | 63 61 6c 65 58 3b 0d 0a | * tileS|caleX;..|
|00001130| 09 09 66 59 20 3d 20 69 | 6e 6e 65 72 41 72 72 6f |..fY = i|nnerArro|
|00001140| 77 73 59 20 2a 20 74 69 | 6c 65 53 63 61 6c 65 59 |wsY * ti|leScaleY|
|00001150| 3b 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 43 61 6e |;.... | Can|
|00001160| 76 61 73 2e 44 72 61 77 | 43 6f 6c 6f 72 20 3d 20 |vas.Draw|Color = |
|00001170| 41 72 72 6f 77 43 6f 6c | 6f 72 3b 0d 0a 09 09 43 |ArrowCol|or;....C|
|00001180| 61 6e 76 61 73 2e 53 65 | 74 50 6f 73 28 28 43 61 |anvas.Se|tPos((Ca|
|00001190| 6e 76 61 73 2e 53 69 7a | 65 58 2a 30 2e 35 29 2d |nvas.Siz|eX*0.5)-|
|000011a0| 66 58 2c 28 43 61 6e 76 | 61 73 2e 53 69 7a 65 59 |fX,(Canv|as.SizeY|
|000011b0| 2a 30 2e 35 29 2d 66 59 | 29 3b 0d 0a 09 09 43 61 |*0.5)-fY|);....Ca|
|000011c0| 6e 76 61 73 2e 44 72 61 | 77 54 69 6c 65 28 20 54 |nvas.Dra|wTile( T|
|000011d0| 65 78 74 75 72 65 27 53 | 6e 69 70 65 72 41 72 72 |exture'S|niperArr|
|000011e0| 6f 77 73 27 2c 20 66 58 | 2a 32 2e 30 2c 20 66 59 |ows', fX|*2.0, fY|
|000011f0| 2a 32 2e 30 2c 20 30 2e | 30 2c 20 30 2e 30 2c 20 |*2.0, 0.|0, 0.0, |
|00001200| 54 65 78 74 75 72 65 27 | 53 6e 69 70 65 72 41 72 |Texture'|SniperAr|
|00001210| 72 6f 77 73 27 2e 55 53 | 69 7a 65 2c 20 54 65 78 |rows'.US|ize, Tex|
|00001220| 74 75 72 65 27 53 6e 69 | 70 65 72 41 72 72 6f 77 |ture'Sni|perArrow|
|00001230| 73 27 2e 56 53 69 7a 65 | 20 29 3b 0d 0a 0d 0a 09 |s'.VSize| );.....|
|00001240| 09 2f 2f 20 44 72 61 77 | 20 74 68 65 20 43 68 61 |.// Draw| the Cha|
|00001250| 72 67 69 6e 67 20 6d 65 | 74 65 72 20 20 2d 41 73 |rging me|ter -As|
|00001260| 50 0d 0a 09 09 43 61 6e | 76 61 73 2e 44 72 61 77 |P....Can|vas.Draw|
|00001270| 43 6f 6c 6f 72 20 3d 20 | 43 68 61 72 67 65 43 6f |Color = |ChargeCo|
|00001280| 6c 6f 72 3b 0d 0a 20 20 | 20 20 20 20 20 20 43 61 |lor;.. | Ca|
|00001290| 6e 76 61 73 2e 44 72 61 | 77 43 6f 6c 6f 72 2e 41 |nvas.Dra|wColor.A|
|000012a0| 20 3d 20 32 35 35 3b 0d | 0a 0d 0a 09 09 69 66 28 | = 255;.|.....if(|
|000012b0| 43 68 61 72 67 65 42 61 | 72 20 3c 31 29 0d 0a 09 |ChargeBa|r <1)...|
|000012c0| 09 20 20 20 20 43 61 6e | 76 61 73 2e 44 72 61 77 |. Can|vas.Draw|
|000012d0| 43 6f 6c 6f 72 2e 52 20 | 3d 20 32 35 35 2a 43 68 |Color.R |= 255*Ch|
|000012e0| 61 72 67 65 42 61 72 3b | 0d 0a 09 09 65 6c 73 65 |argeBar;|....else|
|000012f0| 0d 0a 20 20 20 20 20 20 | 20 20 7b 0d 0a 20 20 20 |.. | {.. |
|00001300| 20 20 20 20 20 20 20 20 | 20 43 61 6e 76 61 73 2e | | Canvas.|
|00001310| 44 72 61 77 43 6f 6c 6f | 72 2e 52 20 3d 20 30 3b |DrawColo|r.R = 0;|
|00001320| 0d 0a 09 09 20 20 20 20 | 43 61 6e 76 61 73 2e 44 |.... |Canvas.D|
|00001330| 72 61 77 43 6f 6c 6f 72 | 2e 42 20 3d 20 30 3b 0d |rawColor|.B = 0;.|
|00001340| 0a 20 20 20 20 20 20 20 | 20 7d 0d 0a 0d 0a 09 09 |. | }......|
|00001350| 69 66 28 43 68 61 72 67 | 65 42 61 72 20 3d 3d 20 |if(Charg|eBar == |
|00001360| 31 29 0d 0a 09 09 20 20 | 20 20 43 61 6e 76 61 73 |1).... | Canvas|
|00001370| 2e 44 72 61 77 43 6f 6c | 6f 72 2e 47 20 3d 20 32 |.DrawCol|or.G = 2|
|00001380| 35 35 3b 0d 0a 09 09 65 | 6c 73 65 0d 0a 09 09 20 |55;....e|lse.... |
|00001390| 20 20 20 43 61 6e 76 61 | 73 2e 44 72 61 77 43 6f | Canva|s.DrawCo|
|000013a0| 6c 6f 72 2e 47 20 3d 20 | 30 3b 0d 0a 0d 0a 09 09 |lor.G = |0;......|
|000013b0| 43 61 6e 76 61 73 2e 53 | 74 79 6c 65 20 3d 20 45 |Canvas.S|tyle = E|
|000013c0| 52 65 6e 64 65 72 53 74 | 79 6c 65 2e 53 54 59 5f |RenderSt|yle.STY_|
|000013d0| 41 6c 70 68 61 3b 0d 0a | 09 09 43 61 6e 76 61 73 |Alpha;..|..Canvas|
|000013e0| 2e 53 65 74 50 6f 73 28 | 20 62 61 72 4f 72 67 58 |.SetPos(| barOrgX|
|000013f0| 2c 20 62 61 72 4f 72 67 | 59 20 29 3b 0d 0a 09 09 |, barOrg|Y );....|
|00001400| 43 61 6e 76 61 73 2e 44 | 72 61 77 54 69 6c 65 28 |Canvas.D|rawTile(|
|00001410| 54 65 78 74 75 72 65 27 | 45 6e 67 69 6e 65 2e 57 |Texture'|Engine.W|
|00001420| 68 69 74 65 54 65 78 74 | 75 72 65 27 2c 62 61 72 |hiteText|ure',bar|
|00001430| 53 69 7a 65 58 2c 62 61 | 72 53 69 7a 65 59 2a 43 |SizeX,ba|rSizeY*C|
|00001440| 68 61 72 67 65 42 61 72 | 2c 20 30 2e 30 2c 20 30 |hargeBar|, 0.0, 0|
|00001450| 2e 30 2c 54 65 78 74 75 | 72 65 27 45 6e 67 69 6e |.0,Textu|re'Engin|
|00001460| 65 2e 57 68 69 74 65 54 | 65 78 74 75 72 65 27 2e |e.WhiteT|exture'.|
|00001470| 55 53 69 7a 65 2c 54 65 | 78 74 75 72 65 27 45 6e |USize,Te|xture'En|
|00001480| 67 69 6e 65 2e 57 68 69 | 74 65 54 65 78 74 75 72 |gine.Whi|teTextur|
|00001490| 65 27 2e 56 53 69 7a 65 | 2a 43 68 61 72 67 65 42 |e'.VSize|*ChargeB|
|000014a0| 61 72 29 3b 0d 0a 09 09 | 7a 6f 6f 6d 65 64 20 3d |ar);....|zoomed =|
|000014b0| 20 74 72 75 65 3b 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d | true;..|.}..}...|
|000014c0| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|000014d0| 69 6f 6e 20 43 6c 69 65 | 6e 74 53 74 61 72 74 46 |ion Clie|ntStartF|
|000014e0| 69 72 65 28 69 6e 74 20 | 6d 6f 64 65 29 0d 0a 7b |ire(int |mode)..{|
|000014f0| 0d 0a 20 20 20 20 69 66 | 20 28 6d 6f 64 65 20 3d |.. if| (mode =|
|00001500| 3d 20 31 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |= 1).. | {.. |
|00001510| 20 20 20 20 20 46 69 72 | 65 4d 6f 64 65 5b 6d 6f | Fir|eMode[mo|
|00001520| 64 65 5d 2e 62 49 73 46 | 69 72 69 6e 67 20 3d 20 |de].bIsF|iring = |
|00001530| 74 72 75 65 3b 0d 0a 20 | 20 20 20 20 20 20 20 69 |true;.. | i|
|00001540| 66 28 20 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |f( Insti|gator.Co|
|00001550| 6e 74 72 6f 6c 6c 65 72 | 2e 49 73 41 28 20 27 50 |ntroller|.IsA( 'P|
|00001560| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 27 |layerCon|troller'|
|00001570| 20 29 20 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 | ) ).. | |
|00001580| 20 20 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c | Player|Controll|
|00001590| 65 72 28 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |er(Insti|gator.Co|
|000015a0| 6e 74 72 6f 6c 6c 65 72 | 29 2e 54 6f 67 67 6c 65 |ntroller|).Toggle|
|000015b0| 5a 6f 6f 6d 28 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |Zoom();.|. }..|
|000015c0| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 7b 0d | else|.. {.|
|000015d0| 0a 20 20 20 20 20 20 20 | 20 53 75 70 65 72 2e 43 |. | Super.C|
|000015e0| 6c 69 65 6e 74 53 74 61 | 72 74 46 69 72 65 28 6d |lientSta|rtFire(m|
|000015f0| 6f 64 65 29 3b 0d 0a 20 | 20 20 20 7d 0d 0a 7d 0d |ode);.. | }..}.|
|00001600| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|00001610| 63 74 69 6f 6e 20 43 6c | 69 65 6e 74 53 74 6f 70 |ction Cl|ientStop|
|00001620| 46 69 72 65 28 69 6e 74 | 20 6d 6f 64 65 29 0d 0a |Fire(int| mode)..|
|00001630| 7b 0d 0a 20 20 20 20 69 | 66 20 28 6d 6f 64 65 20 |{.. i|f (mode |
|00001640| 3d 3d 20 31 29 0d 0a 20 | 20 20 20 7b 0d 0a 20 20 |== 1).. | {.. |
|00001650| 20 20 20 20 20 20 46 69 | 72 65 4d 6f 64 65 5b 6d | Fi|reMode[m|
|00001660| 6f 64 65 5d 2e 62 49 73 | 46 69 72 69 6e 67 20 3d |ode].bIs|Firing =|
|00001670| 20 66 61 6c 73 65 3b 0d | 0a 20 20 20 20 20 20 20 | false;.|. |
|00001680| 20 69 66 28 20 50 6c 61 | 79 65 72 43 6f 6e 74 72 | if( Pla|yerContr|
|00001690| 6f 6c 6c 65 72 28 49 6e | 73 74 69 67 61 74 6f 72 |oller(In|stigator|
|000016a0| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 29 20 21 3d 20 |.Control|ler) != |
|000016b0| 4e 6f 6e 65 20 29 0d 0a | 20 20 20 20 20 20 20 20 |None )..| |
|000016c0| 20 20 20 20 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f | Play|erContro|
|000016d0| 6c 6c 65 72 28 49 6e 73 | 74 69 67 61 74 6f 72 2e |ller(Ins|tigator.|
|000016e0| 43 6f 6e 74 72 6f 6c 6c | 65 72 29 2e 53 74 6f 70 |Controll|er).Stop|
|000016f0| 5a 6f 6f 6d 28 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |Zoom();.|. }..|
|00001700| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 7b 0d | else|.. {.|
|00001710| 0a 20 20 20 20 20 20 20 | 20 53 75 70 65 72 2e 43 |. | Super.C|
|00001720| 6c 69 65 6e 74 53 74 6f | 70 46 69 72 65 28 6d 6f |lientSto|pFire(mo|
|00001730| 64 65 29 3b 0d 0a 20 20 | 20 20 7d 0d 0a 7d 0d 0a |de);.. | }..}..|
|00001740| 0d 0a 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|00001750| 74 69 6f 6e 20 42 72 69 | 6e 67 55 70 28 6f 70 74 |tion Bri|ngUp(opt|
|00001760| 69 6f 6e 61 6c 20 57 65 | 61 70 6f 6e 20 50 72 65 |ional We|apon Pre|
|00001770| 76 57 65 61 70 6f 6e 29 | 0d 0a 7b 0d 0a 20 20 20 |vWeapon)|..{.. |
|00001780| 20 69 66 20 28 20 50 6c | 61 79 65 72 43 6f 6e 74 | if ( Pl|ayerCont|
|00001790| 72 6f 6c 6c 65 72 28 49 | 6e 73 74 69 67 61 74 6f |roller(I|nstigato|
|000017a0| 72 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 29 20 21 3d |r.Contro|ller) !=|
|000017b0| 20 4e 6f 6e 65 20 29 0d | 0a 20 20 20 20 7b 0d 0a | None ).|. {..|
|000017c0| 20 20 20 20 20 20 20 20 | 4c 61 73 74 46 4f 56 20 | |LastFOV |
|000017d0| 3d 20 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |= Player|Controll|
|000017e0| 65 72 28 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |er(Insti|gator.Co|
|000017f0| 6e 74 72 6f 6c 6c 65 72 | 29 2e 44 65 73 69 72 65 |ntroller|).Desire|
|00001800| 64 46 4f 56 3b 0d 0a 09 | 09 69 66 20 28 20 49 6e |dFOV;...|.if ( In|
|00001810| 73 74 69 67 61 74 6f 72 | 2e 49 73 4c 6f 63 61 6c |stigator|.IsLocal|
|00001820| 6c 79 43 6f 6e 74 72 6f | 6c 6c 65 64 28 29 20 29 |lyContro|lled() )|
|00001830| 0d 0a 09 09 09 47 6f 74 | 6f 53 74 61 74 65 28 27 |.....Got|oState('|
|00001840| 54 69 63 6b 45 66 66 65 | 63 74 73 27 29 3b 0d 0a |TickEffe|cts');..|
|00001850| 09 7d 0d 0a 20 20 20 20 | 53 75 70 65 72 2e 42 72 |.}.. |Super.Br|
|00001860| 69 6e 67 55 70 28 50 72 | 65 76 57 65 61 70 6f 6e |ingUp(Pr|evWeapon|
|00001870| 29 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |);..}...|.simulat|
|00001880| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |ed funct|ion bool|
|00001890| 20 50 75 74 44 6f 77 6e | 28 29 0d 0a 7b 0d 0a 20 | PutDown|()..{.. |
|000018a0| 20 20 20 69 66 28 20 49 | 6e 73 74 69 67 61 74 6f | if( I|nstigato|
|000018b0| 72 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 2e 49 73 41 |r.Contro|ller.IsA|
|000018c0| 28 20 27 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |( 'Playe|rControl|
|000018d0| 6c 65 72 27 20 29 20 29 | 0d 0a 20 20 20 20 20 20 |ler' ) )|.. |
|000018e0| 20 20 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c | Player|Controll|
|000018f0| 65 72 28 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |er(Insti|gator.Co|
|00001900| 6e 74 72 6f 6c 6c 65 72 | 29 2e 45 6e 64 5a 6f 6f |ntroller|).EndZoo|
|00001910| 6d 28 29 3b 0d 0a 20 20 | 20 20 69 66 20 28 20 53 |m();.. | if ( S|
|00001920| 75 70 65 72 2e 50 75 74 | 44 6f 77 6e 28 29 20 29 |uper.Put|Down() )|
|00001930| 0d 0a 20 20 20 20 7b 0d | 0a 09 09 47 6f 74 6f 53 |.. {.|...GotoS|
|00001940| 74 61 74 65 28 27 27 29 | 3b 0d 0a 09 09 72 65 74 |tate('')|;....ret|
|00001950| 75 72 6e 20 74 72 75 65 | 3b 0d 0a 09 7d 0d 0a 09 |urn true|;...}...|
|00001960| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 3b 0d 0a 7d |return f|alse;..}|
|00001970| 0d 0a 0d 0a 73 74 61 74 | 65 20 54 69 63 6b 45 66 |....stat|e TickEf|
|00001980| 66 65 63 74 73 0d 0a 7b | 0d 0a 20 20 20 20 73 69 |fects..{|.. si|
|00001990| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|000019a0| 20 54 69 63 6b 28 20 66 | 6c 6f 61 74 20 74 20 29 | Tick( f|loat t )|
|000019b0| 0d 0a 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 |.. {.|. |
|000019c0| 20 69 66 20 28 63 68 61 | 72 67 65 45 6d 69 74 74 | if (cha|rgeEmitt|
|000019d0| 65 72 20 3d 3d 20 4e 6f | 6e 65 29 0d 0a 20 20 20 |er == No|ne).. |
|000019e0| 20 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 | {..| |
|000019f0| 20 20 20 20 63 68 61 72 | 67 65 45 6d 69 74 74 65 | char|geEmitte|
|00001a00| 72 20 3d 20 53 70 61 77 | 6e 28 63 6c 61 73 73 27 |r = Spaw|n(class'|
|00001a10| 4c 69 67 68 74 6e 69 6e | 67 43 68 61 72 67 65 27 |Lightnin|gCharge'|
|00001a20| 2c 73 65 6c 66 29 3b 0d | 0a 20 20 20 20 20 20 20 |,self);.|. |
|00001a30| 20 20 20 20 20 41 74 74 | 61 63 68 54 6f 42 6f 6e | Att|achToBon|
|00001a40| 65 28 63 68 61 72 67 65 | 45 6d 69 74 74 65 72 2c |e(charge|Emitter,|
|00001a50| 20 27 74 69 70 27 20 29 | 3b 0d 0a 20 20 20 20 20 | 'tip' )|;.. |
|00001a60| 20 20 20 7d 0d 0a 20 20 | 20 20 20 20 20 20 63 68 | }.. | ch|
|00001a70| 61 72 67 65 45 6d 69 74 | 74 65 72 2e 6d 52 65 67 |argeEmit|ter.mReg|
|00001a80| 65 6e 50 61 75 73 65 20 | 3d 20 28 20 46 69 72 65 |enPause |= ( Fire|
|00001a90| 4d 6f 64 65 5b 30 5d 2e | 4e 65 78 74 46 69 72 65 |Mode[0].|NextFire|
|00001aa0| 54 69 6d 65 20 3e 20 4c | 65 76 65 6c 2e 54 69 6d |Time > L|evel.Tim|
|00001ab0| 65 53 65 63 6f 6e 64 73 | 20 7c 7c 20 41 6d 6d 6f |eSeconds| || Ammo|
|00001ac0| 41 6d 6f 75 6e 74 28 30 | 29 20 3d 3d 20 30 20 29 |Amount(0|) == 0 )|
|00001ad0| 3b 0d 0a 20 20 20 20 7d | 0d 0a 7d 0d 0a 0d 0a 2f |;.. }|..}..../|
|00001ae0| 2f 20 41 49 20 49 6e 74 | 65 72 66 61 63 65 0d 0a |/ AI Int|erface..|
|00001af0| 66 75 6e 63 74 69 6f 6e | 20 66 6c 6f 61 74 20 53 |function| float S|
|00001b00| 75 67 67 65 73 74 41 74 | 74 61 63 6b 53 74 79 6c |uggestAt|tackStyl|
|00001b10| 65 28 29 0d 0a 7b 0d 0a | 20 20 20 20 72 65 74 75 |e()..{..| retu|
|00001b20| 72 6e 20 2d 30 2e 34 3b | 0d 0a 7d 0d 0a 0d 0a 66 |rn -0.4;|..}....f|
|00001b30| 75 6e 63 74 69 6f 6e 20 | 66 6c 6f 61 74 20 53 75 |unction |float Su|
|00001b40| 67 67 65 73 74 44 65 66 | 65 6e 73 65 53 74 79 6c |ggestDef|enseStyl|
|00001b50| 65 28 29 0d 0a 7b 0d 0a | 20 20 20 20 72 65 74 75 |e()..{..| retu|
|00001b60| 72 6e 20 30 2e 32 3b 0d | 0a 7d 0d 0a 0d 0a 2f 2a |rn 0.2;.|.}..../*|
|00001b70| 20 42 65 73 74 4d 6f 64 | 65 28 29 0d 0a 63 68 6f | BestMod|e()..cho|
|00001b80| 6f 73 65 20 62 65 74 77 | 65 65 6e 20 72 65 67 75 |ose betw|een regu|
|00001b90| 6c 61 72 20 6f 72 20 61 | 6c 74 2d 66 69 72 65 0d |lar or a|lt-fire.|
|00001ba0| 0a 2a 2f 0d 0a 66 75 6e | 63 74 69 6f 6e 20 62 79 |.*/..fun|ction by|
|00001bb0| 74 65 20 42 65 73 74 4d | 6f 64 65 28 29 0d 0a 7b |te BestM|ode()..{|
|00001bc0| 0d 0a 09 72 65 74 75 72 | 6e 20 30 3b 0d 0a 7d 0d |...retur|n 0;..}.|
|00001bd0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 66 6c 6f 61 |...funct|ion floa|
|00001be0| 74 20 47 65 74 41 49 52 | 61 74 69 6e 67 28 29 0d |t GetAIR|ating().|
|00001bf0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 42 6f 74 20 42 |.{...loc|al Bot B|
|00001c00| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |;...loca|l float |
|00001c10| 5a 44 69 66 66 2c 20 64 | 69 73 74 2c 20 52 65 73 |ZDiff, d|ist, Res|
|00001c20| 75 6c 74 3b 0d 0a 0d 0a | 09 42 20 3d 20 42 6f 74 |ult;....|.B = Bot|
|00001c30| 28 49 6e 73 74 69 67 61 | 74 6f 72 2e 43 6f 6e 74 |(Instiga|tor.Cont|
|00001c40| 72 6f 6c 6c 65 72 29 3b | 0d 0a 09 69 66 20 28 20 |roller);|...if ( |
|00001c50| 42 20 3d 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 72 |B == Non|e )....r|
|00001c60| 65 74 75 72 6e 20 41 49 | 52 61 74 69 6e 67 3b 0d |eturn AI|Rating;.|
|00001c70| 0a 09 69 66 20 28 20 42 | 2e 49 73 53 68 6f 6f 74 |..if ( B|.IsShoot|
|00001c80| 69 6e 67 4f 62 6a 65 63 | 74 69 76 65 28 29 20 29 |ingObjec|tive() )|
|00001c90| 0d 0a 09 09 72 65 74 75 | 72 6e 20 41 49 52 61 74 |....retu|rn AIRat|
|00001ca0| 69 6e 67 20 2d 20 30 2e | 31 35 3b 0d 0a 09 69 66 |ing - 0.|15;...if|
|00001cb0| 20 28 20 42 2e 45 6e 65 | 6d 79 20 3d 3d 20 4e 6f | ( B.Ene|my == No|
|00001cc0| 6e 65 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 41 |ne )....|return A|
|00001cd0| 49 52 61 74 69 6e 67 3b | 0d 0a 0d 0a 09 69 66 20 |IRating;|.....if |
|00001ce0| 28 20 42 2e 53 74 6f 70 | 70 65 64 28 29 20 29 0d |( B.Stop|ped() ).|
|00001cf0| 0a 09 09 72 65 73 75 6c | 74 20 3d 20 41 49 52 61 |...resul|t = AIRa|
|00001d00| 74 69 6e 67 20 2b 20 30 | 2e 31 3b 0d 0a 09 65 6c |ting + 0|.1;...el|
|00001d10| 73 65 0d 0a 09 09 72 65 | 73 75 6c 74 20 3d 20 41 |se....re|sult = A|
|00001d20| 49 52 61 74 69 6e 67 20 | 2d 20 30 2e 31 3b 0d 0a |IRating |- 0.1;..|
|00001d30| 09 69 66 20 28 20 56 65 | 68 69 63 6c 65 28 42 2e |.if ( Ve|hicle(B.|
|00001d40| 45 6e 65 6d 79 29 20 21 | 3d 20 4e 6f 6e 65 20 29 |Enemy) !|= None )|
|00001d50| 0d 0a 09 09 72 65 73 75 | 6c 74 20 2d 3d 20 30 2e |....resu|lt -= 0.|
|00001d60| 32 3b 0d 0a 09 5a 44 69 | 66 66 20 3d 20 49 6e 73 |2;...ZDi|ff = Ins|
|00001d70| 74 69 67 61 74 6f 72 2e | 4c 6f 63 61 74 69 6f 6e |tigator.|Location|
|00001d80| 2e 5a 20 2d 20 42 2e 45 | 6e 65 6d 79 2e 4c 6f 63 |.Z - B.E|nemy.Loc|
|00001d90| 61 74 69 6f 6e 2e 5a 3b | 0d 0a 09 69 66 20 28 20 |ation.Z;|...if ( |
|00001da0| 5a 44 69 66 66 20 3c 20 | 2d 32 30 30 20 29 0d 0a |ZDiff < |-200 )..|
|00001db0| 09 09 72 65 73 75 6c 74 | 20 2b 3d 20 30 2e 31 3b |..result| += 0.1;|
|00001dc0| 0d 0a 09 64 69 73 74 20 | 3d 20 56 53 69 7a 65 28 |...dist |= VSize(|
|00001dd0| 42 2e 45 6e 65 6d 79 2e | 4c 6f 63 61 74 69 6f 6e |B.Enemy.|Location|
|00001de0| 20 2d 20 49 6e 73 74 69 | 67 61 74 6f 72 2e 4c 6f | - Insti|gator.Lo|
|00001df0| 63 61 74 69 6f 6e 29 3b | 0d 0a 09 69 66 20 28 20 |cation);|...if ( |
|00001e00| 64 69 73 74 20 3e 20 32 | 30 30 30 20 29 0d 0a 09 |dist > 2|000 )...|
|00001e10| 7b 0d 0a 09 09 69 66 20 | 28 20 21 42 2e 45 6e 65 |{....if |( !B.Ene|
|00001e20| 6d 79 56 69 73 69 62 6c | 65 28 29 20 29 0d 0a 09 |myVisibl|e() )...|
|00001e30| 09 09 72 65 73 75 6c 74 | 20 3d 20 72 65 73 75 6c |..result| = resul|
|00001e40| 74 20 2d 20 30 2e 31 35 | 3b 0d 0a 09 09 72 65 74 |t - 0.15|;....ret|
|00001e50| 75 72 6e 20 28 20 46 4d | 69 6e 28 32 2e 30 2c 72 |urn ( FM|in(2.0,r|
|00001e60| 65 73 75 6c 74 20 2b 20 | 28 64 69 73 74 20 2d 20 |esult + |(dist - |
|00001e70| 32 30 30 30 29 20 2a 20 | 30 2e 30 30 30 32 29 20 |2000) * |0.0002) |
|00001e80| 29 3b 0d 0a 09 7d 0d 0a | 09 69 66 20 28 20 21 42 |);...}..|.if ( !B|
|00001e90| 2e 45 6e 65 6d 79 56 69 | 73 69 62 6c 65 28 29 20 |.EnemyVi|sible() |
|00001ea0| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 41 49 52 61 |)....ret|urn AIRa|
|00001eb0| 74 69 6e 67 20 2d 20 30 | 2e 31 3b 0d 0a 0d 0a 09 |ting - 0|.1;.....|
|00001ec0| 72 65 74 75 72 6e 20 72 | 65 73 75 6c 74 3b 0d 0a |return r|esult;..|
|00001ed0| 7d 0d 0a 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |}......f|unction |
|00001ee0| 62 6f 6f 6c 20 52 65 63 | 6f 6d 6d 65 6e 64 52 61 |bool Rec|ommendRa|
|00001ef0| 6e 67 65 64 41 74 74 61 | 63 6b 28 29 0d 0a 7b 0d |ngedAtta|ck()..{.|
|00001f00| 0a 09 6c 6f 63 61 6c 20 | 42 6f 74 20 42 3b 0d 0a |..local |Bot B;..|
|00001f10| 0d 0a 09 42 20 3d 20 42 | 6f 74 28 49 6e 73 74 69 |...B = B|ot(Insti|
|00001f20| 67 61 74 6f 72 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |gator.Co|ntroller|
|00001f30| 29 3b 0d 0a 09 69 66 20 | 28 20 28 42 20 3d 3d 20 |);...if |( (B == |
|00001f40| 4e 6f 6e 65 29 20 7c 7c | 20 28 42 2e 45 6e 65 6d |None) ||| (B.Enem|
|00001f50| 79 20 3d 3d 20 4e 6f 6e | 65 29 20 29 0d 0a 09 09 |y == Non|e) )....|
|00001f60| 72 65 74 75 72 6e 20 74 | 72 75 65 3b 0d 0a 0d 0a |return t|rue;....|
|00001f70| 09 72 65 74 75 72 6e 20 | 28 20 56 53 69 7a 65 28 |.return |( VSize(|
|00001f80| 42 2e 45 6e 65 6d 79 2e | 4c 6f 63 61 74 69 6f 6e |B.Enemy.|Location|
|00001f90| 20 2d 20 49 6e 73 74 69 | 67 61 74 6f 72 2e 4c 6f | - Insti|gator.Lo|
|00001fa0| 63 61 74 69 6f 6e 29 20 | 3e 20 32 30 30 30 20 2a |cation) |> 2000 *|
|00001fb0| 20 28 31 20 2b 20 46 52 | 61 6e 64 28 29 29 20 29 | (1 + FR|and()) )|
|00001fc0| 3b 0d 0a 7d 0d 0a 2f 2f | 20 65 6e 64 20 41 49 20 |;..}..//| end AI |
|00001fd0| 49 6e 74 65 72 66 61 63 | 65 0d 0a 0d 0a 00 |Interfac|e..... |
+--------+-------------------------+-------------------------+--------+--------+