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_Painter_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  8.1 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 | 59 81 01 63 6c 61 73 73 |........|Y..class|
|00000010| 20 50 61 69 6e 74 65 72 | 20 65 78 74 65 6e 64 73 | Painter| extends|
|00000020| 20 57 65 61 70 6f 6e 0d | 0a 20 20 20 20 63 6f 6e | Weapon.|. con|
|00000030| 66 69 67 28 75 73 65 72 | 29 3b 0d 0a 0d 0a 23 65 |fig(user|);....#e|
|00000040| 78 65 63 20 4f 42 4a 20 | 4c 4f 41 44 20 46 49 4c |xec OBJ |LOAD FIL|
|00000050| 45 3d 58 47 61 6d 65 53 | 68 61 64 65 72 73 2e 75 |E=XGameS|haders.u|
|00000060| 74 78 0d 0a 0d 0a 76 61 | 72 28 47 66 78 29 20 66 |tx....va|r(Gfx) f|
|00000070| 6c 6f 61 74 20 62 6f 72 | 64 65 72 58 3b 0d 0a 76 |loat bor|derX;..v|
|00000080| 61 72 28 47 66 78 29 20 | 66 6c 6f 61 74 20 62 6f |ar(Gfx) |float bo|
|00000090| 72 64 65 72 59 3b 0d 0a | 0d 0a 76 61 72 28 47 66 |rderY;..|..var(Gf|
|000000a0| 78 29 20 66 6c 6f 61 74 | 20 66 6f 63 75 73 58 3b |x) float| focusX;|
|000000b0| 0d 0a 76 61 72 28 47 66 | 78 29 20 66 6c 6f 61 74 |..var(Gf|x) float|
|000000c0| 20 66 6f 63 75 73 59 3b | 0d 0a 76 61 72 28 47 66 | focusY;|..var(Gf|
|000000d0| 78 29 20 66 6c 6f 61 74 | 20 69 6e 6e 65 72 41 72 |x) float| innerAr|
|000000e0| 72 6f 77 73 58 3b 0d 0a | 76 61 72 28 47 66 78 29 |rowsX;..|var(Gfx)|
|000000f0| 20 66 6c 6f 61 74 20 69 | 6e 6e 65 72 41 72 72 6f | float i|nnerArro|
|00000100| 77 73 59 3b 0d 0a 76 61 | 72 28 47 66 78 29 20 43 |wsY;..va|r(Gfx) C|
|00000110| 6f 6c 6f 72 20 41 72 72 | 6f 77 43 6f 6c 6f 72 3b |olor Arr|owColor;|
|00000120| 0d 0a 76 61 72 28 47 66 | 78 29 20 43 6f 6c 6f 72 |..var(Gf|x) Color|
|00000130| 20 46 6f 63 75 73 43 6f | 6c 6f 72 3b 0d 0a 76 61 | FocusCo|lor;..va|
|00000140| 72 28 47 66 78 29 20 43 | 6f 6c 6f 72 20 43 68 61 |r(Gfx) C|olor Cha|
|00000150| 72 67 65 43 6f 6c 6f 72 | 3b 0d 0a 0d 0a 76 61 72 |rgeColor|;....var|
|00000160| 28 47 66 78 29 20 76 65 | 63 74 6f 72 20 52 65 63 |(Gfx) ve|ctor Rec|
|00000170| 68 61 72 67 65 4f 72 69 | 67 69 6e 3b 0d 0a 76 61 |hargeOri|gin;..va|
|00000180| 72 28 47 66 78 29 20 76 | 65 63 74 6f 72 20 52 65 |r(Gfx) v|ector Re|
|00000190| 63 68 61 72 67 65 53 69 | 7a 65 3b 0d 0a 0d 0a 76 |chargeSi|ze;....v|
|000001a0| 61 72 20 74 72 61 6e 73 | 69 65 6e 74 20 66 6c 6f |ar trans|ient flo|
|000001b0| 61 74 20 4c 61 73 74 46 | 4f 56 3b 0d 0a 76 61 72 |at LastF|OV;..var|
|000001c0| 20 62 6f 6f 6c 20 7a 6f | 6f 6d 65 64 3b 0d 0a 0d | bool zo|omed;...|
|000001d0| 0a 76 61 72 20 56 65 63 | 74 6f 72 20 45 6e 64 45 |.var Vec|tor EndE|
|000001e0| 66 66 65 63 74 3b 0d 0a | 76 61 72 20 76 65 63 74 |ffect;..|var vect|
|000001f0| 6f 72 20 4d 61 72 6b 4c | 6f 63 61 74 69 6f 6e 3b |or MarkL|ocation;|
|00000200| 0d 0a 76 61 72 20 49 6f | 6e 43 61 6e 6e 6f 6e 20 |..var Io|nCannon |
|00000210| 46 69 72 73 74 43 61 6e | 6e 6f 6e 3b 0d 0a 0d 0a |FirstCan|non;....|
|00000220| 66 75 6e 63 74 69 6f 6e | 20 62 6f 6f 6c 20 43 6f |function| bool Co|
|00000230| 6e 73 75 6d 65 41 6d 6d | 6f 28 69 6e 74 20 4d 6f |nsumeAmm|o(int Mo|
|00000240| 64 65 2c 20 66 6c 6f 61 | 74 20 6c 6f 61 64 2c 20 |de, floa|t load, |
|00000250| 6f 70 74 69 6f 6e 61 6c | 20 62 6f 6f 6c 20 62 41 |optional| bool bA|
|00000260| 6d 6f 75 6e 74 4e 65 65 | 64 65 64 49 73 4d 61 78 |mountNee|dedIsMax|
|00000270| 29 0d 0a 7b 0d 0a 09 72 | 65 74 75 72 6e 20 74 72 |)..{...r|eturn tr|
|00000280| 75 65 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |ue;..}..|..functi|
|00000290| 6f 6e 20 52 65 61 6c 6c | 79 43 6f 6e 73 75 6d 65 |on Reall|yConsume|
|000002a0| 41 6d 6d 6f 28 69 6e 74 | 20 4d 6f 64 65 2c 20 66 |Ammo(int| Mode, f|
|000002b0| 6c 6f 61 74 20 6c 6f 61 | 64 29 0d 0a 7b 0d 0a 09 |loat loa|d)..{...|
|000002c0| 53 75 70 65 72 2e 43 6f | 6e 73 75 6d 65 41 6d 6d |Super.Co|nsumeAmm|
|000002d0| 6f 28 4d 6f 64 65 2c 6c | 6f 61 64 29 3b 0d 0a 7d |o(Mode,l|oad);..}|
|000002e0| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|000002f0| 6e 63 74 69 6f 6e 20 43 | 6c 69 65 6e 74 57 65 61 |nction C|lientWea|
|00000300| 70 6f 6e 54 68 72 6f 77 | 6e 28 29 0d 0a 7b 0d 0a |ponThrow|n()..{..|
|00000310| 20 20 20 20 69 66 28 20 | 28 49 6e 73 74 69 67 61 | if( |(Instiga|
|00000320| 74 6f 72 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |tor != N|one) && |
|00000330| 28 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 |(PlayerC|ontrolle|
|00000340| 72 28 49 6e 73 74 69 67 | 61 74 6f 72 2e 43 6f 6e |r(Instig|ator.Con|
|00000350| 74 72 6f 6c 6c 65 72 29 | 20 21 3d 20 4e 6f 6e 65 |troller)| != None|
|00000360| 29 20 29 0d 0a 20 20 20 | 20 20 20 20 20 50 6c 61 |) ).. | Pla|
|00000370| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 28 49 6e |yerContr|oller(In|
|00000380| 73 74 69 67 61 74 6f 72 | 2e 43 6f 6e 74 72 6f 6c |stigator|.Control|
|00000390| 6c 65 72 29 2e 45 6e 64 | 5a 6f 6f 6d 28 29 3b 0d |ler).End|Zoom();.|
|000003a0| 0a 20 20 20 20 53 75 70 | 65 72 2e 43 6c 69 65 6e |. Sup|er.Clien|
|000003b0| 74 57 65 61 70 6f 6e 54 | 68 72 6f 77 6e 28 29 3b |tWeaponT|hrown();|
|000003c0| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 20 63 6f 6d 70 65 6e |..}..../|/ compen|
|000003d0| 73 61 74 65 20 66 6f 72 | 20 62 72 69 67 68 74 20 |sate for| bright |
|000003e0| 66 6f 67 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |fog..sim|ulated f|
|000003f0| 75 6e 63 74 69 6f 6e 20 | 53 65 74 5a 6f 6f 6d 42 |unction |SetZoomB|
|00000400| 6c 65 6e 64 43 6f 6c 6f | 72 28 43 61 6e 76 61 73 |lendColo|r(Canvas|
|00000410| 20 63 29 0d 0a 7b 0d 0a | 20 20 20 20 6c 6f 63 61 | c)..{..| loca|
|00000420| 6c 20 42 79 74 65 20 20 | 20 20 76 61 6c 3b 0d 0a |l Byte | val;..|
|00000430| 20 20 20 20 6c 6f 63 61 | 6c 20 43 6f 6c 6f 72 20 | loca|l Color |
|00000440| 20 20 63 6c 72 3b 0d 0a | 20 20 20 20 6c 6f 63 61 | clr;..| loca|
|00000450| 6c 20 43 6f 6c 6f 72 20 | 20 20 66 6f 67 3b 0d 0a |l Color | fog;..|
|00000460| 0d 0a 20 20 20 20 63 6c | 72 2e 52 20 3d 20 32 35 |.. cl|r.R = 25|
|00000470| 35 3b 0d 0a 20 20 20 20 | 63 6c 72 2e 47 20 3d 20 |5;.. |clr.G = |
|00000480| 32 35 35 3b 0d 0a 20 20 | 20 20 63 6c 72 2e 42 20 |255;.. | clr.B |
|00000490| 3d 20 32 35 35 3b 0d 0a | 20 20 20 20 63 6c 72 2e |= 255;..| clr.|
|000004a0| 41 20 3d 20 32 35 35 3b | 0d 0a 0d 0a 20 20 20 20 |A = 255;|.... |
|000004b0| 69 66 28 20 49 6e 73 74 | 69 67 61 74 6f 72 2e 52 |if( Inst|igator.R|
|000004c0| 65 67 69 6f 6e 2e 5a 6f | 6e 65 2e 62 44 69 73 74 |egion.Zo|ne.bDist|
|000004d0| 61 6e 63 65 46 6f 67 20 | 29 0d 0a 20 20 20 20 7b |anceFog |).. {|
|000004e0| 0d 0a 20 20 20 20 20 20 | 20 20 66 6f 67 20 3d 20 |.. | fog = |
|000004f0| 49 6e 73 74 69 67 61 74 | 6f 72 2e 52 65 67 69 6f |Instigat|or.Regio|
|00000500| 6e 2e 5a 6f 6e 65 2e 44 | 69 73 74 61 6e 63 65 46 |n.Zone.D|istanceF|
|00000510| 6f 67 43 6f 6c 6f 72 3b | 0d 0a 20 20 20 20 20 20 |ogColor;|.. |
|00000520| 20 20 76 61 6c 20 3d 20 | 30 3b 0d 0a 20 20 20 20 | val = |0;.. |
|00000530| 20 20 20 20 76 61 6c 20 | 3d 20 4d 61 78 28 20 76 | val |= Max( v|
|00000540| 61 6c 2c 20 66 6f 67 2e | 52 29 3b 0d 0a 20 20 20 |al, fog.|R);.. |
|00000550| 20 20 20 20 20 76 61 6c | 20 3d 20 4d 61 78 28 20 | val| = Max( |
|00000560| 76 61 6c 2c 20 66 6f 67 | 2e 47 29 3b 0d 0a 20 20 |val, fog|.G);.. |
|00000570| 20 20 20 20 20 20 76 61 | 6c 20 3d 20 4d 61 78 28 | va|l = Max(|
|00000580| 20 76 61 6c 2c 20 66 6f | 67 2e 42 29 3b 0d 0a 0d | val, fo|g.B);...|
|00000590| 0a 20 20 20 20 20 20 20 | 20 69 66 28 20 76 61 6c |. | if( val|
|000005a0| 20 3e 20 31 32 38 20 29 | 0d 0a 20 20 20 20 20 20 | > 128 )|.. |
|000005b0| 20 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | {.. | |
|000005c0| 20 76 61 6c 20 2d 3d 20 | 31 32 38 3b 0d 0a 20 20 | val -= |128;.. |
|000005d0| 20 20 20 20 20 20 20 20 | 20 20 63 6c 72 2e 52 20 | | clr.R |
|000005e0| 2d 3d 20 76 61 6c 3b 0d | 0a 20 20 20 20 20 20 20 |-= val;.|. |
|000005f0| 20 20 20 20 20 63 6c 72 | 2e 47 20 2d 3d 20 76 61 | clr|.G -= va|
|00000600| 6c 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |l;.. | |
|00000610| 63 6c 72 2e 42 20 2d 3d | 20 76 61 6c 3b 0d 0a 20 |clr.B -=| val;.. |
|00000620| 20 20 20 20 20 20 20 7d | 0d 0a 20 20 20 20 7d 0d | }|.. }.|
|00000630| 0a 20 20 20 20 63 2e 44 | 72 61 77 43 6f 6c 6f 72 |. c.D|rawColor|
|00000640| 20 3d 20 63 6c 72 3b 0d | 0a 7d 0d 0a 0d 0a 73 69 | = clr;.|.}....si|
|00000650| 6d 75 6c 61 74 65 64 20 | 65 76 65 6e 74 20 52 65 |mulated |event Re|
|00000660| 6e 64 65 72 4f 76 65 72 | 6c 61 79 73 28 20 43 61 |nderOver|lays( Ca|
|00000670| 6e 76 61 73 20 43 61 6e | 76 61 73 20 29 0d 0a 7b |nvas Can|vas )..{|
|00000680| 0d 0a 09 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 74 |...local| float t|
|00000690| 69 6c 65 53 63 61 6c 65 | 58 3b 0d 0a 09 6c 6f 63 |ileScale|X;...loc|
|000006a0| 61 6c 20 66 6c 6f 61 74 | 20 74 69 6c 65 53 63 61 |al float| tileSca|
|000006b0| 6c 65 59 3b 0d 0a 09 6c | 6f 63 61 6c 20 66 6c 6f |leY;...l|ocal flo|
|000006c0| 61 74 20 62 58 3b 0d 0a | 09 6c 6f 63 61 6c 20 66 |at bX;..|.local f|
|000006d0| 6c 6f 61 74 20 62 59 3b | 0d 0a 09 6c 6f 63 61 6c |loat bY;|...local|
|000006e0| 20 66 6c 6f 61 74 20 66 | 58 3b 0d 0a 09 6c 6f 63 | float f|X;...loc|
|000006f0| 61 6c 20 66 6c 6f 61 74 | 20 66 59 3b 0d 0a 09 6c |al float| fY;...l|
|00000700| 6f 63 61 6c 20 66 6c 6f | 61 74 20 43 68 61 72 67 |ocal flo|at Charg|
|00000710| 65 42 61 72 3b 0d 0a 0d | 0a 09 6c 6f 63 61 6c 20 |eBar;...|..local |
|00000720| 66 6c 6f 61 74 20 62 61 | 72 4f 72 67 58 3b 0d 0a |float ba|rOrgX;..|
|00000730| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 62 61 72 |.local f|loat bar|
|00000740| 4f 72 67 59 3b 0d 0a 09 | 6c 6f 63 61 6c 20 66 6c |OrgY;...|local fl|
|00000750| 6f 61 74 20 62 61 72 53 | 69 7a 65 58 3b 0d 0a 09 |oat barS|izeX;...|
|00000760| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 62 61 72 53 |local fl|oat barS|
|00000770| 69 7a 65 59 3b 0d 0a 0d | 0a 20 20 20 20 6c 6f 63 |izeY;...|. loc|
|00000780| 61 6c 20 50 61 69 6e 74 | 65 72 46 69 72 65 20 50 |al Paint|erFire P|
|00000790| 61 69 6e 74 65 72 46 69 | 72 65 3b 0d 0a 0d 0a 09 |ainterFi|re;.....|
|000007a0| 43 68 65 63 6b 4f 75 74 | 4f 66 41 6d 6d 6f 28 29 |CheckOut|OfAmmo()|
|000007b0| 3b 0d 0a 0d 0a 20 20 20 | 20 2f 2f 20 20 20 20 46 |;.... | // F|
|000007c0| 69 72 65 53 6f 75 6e 64 | 3d 53 6f 75 6e 64 27 57 |ireSound|=Sound'W|
|000007d0| 65 61 70 6f 6e 53 6f 75 | 6e 64 73 2e 4c 69 67 68 |eaponSou|nds.Ligh|
|000007e0| 74 6e 69 6e 67 47 75 6e | 2e 4c 69 67 68 74 6e 69 |tningGun|.Lightni|
|000007f0| 6e 67 53 63 6f 70 65 27 | 0d 0a 20 20 20 20 69 66 |ngScope'|.. if|
|00000800| 20 28 20 4c 61 73 74 46 | 4f 56 20 3e 20 50 6c 61 | ( LastF|OV > Pla|
|00000810| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 28 49 6e |yerContr|oller(In|
|00000820| 73 74 69 67 61 74 6f 72 | 2e 43 6f 6e 74 72 6f 6c |stigator|.Control|
|00000830| 6c 65 72 29 2e 44 65 73 | 69 72 65 64 46 4f 56 20 |ler).Des|iredFOV |
|00000840| 29 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |).. {|.. |
|00000850| 20 20 50 6c 61 79 53 6f | 75 6e 64 28 53 6f 75 6e | PlaySo|und(Soun|
|00000860| 64 27 57 65 61 70 6f 6e | 53 6f 75 6e 64 73 2e 4c |d'Weapon|Sounds.L|
|00000870| 69 67 68 74 6e 69 6e 67 | 47 75 6e 2e 4c 69 67 68 |ightning|Gun.Ligh|
|00000880| 74 6e 69 6e 67 5a 6f 6f | 6d 49 6e 27 2c 20 53 4c |tningZoo|mIn', SL|
|00000890| 4f 54 5f 4d 69 73 63 2c | 2c 2c 2c 2c 66 61 6c 73 |OT_Misc,|,,,,fals|
|000008a0| 65 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 20 20 20 20 |e);.. | }.. |
|000008b0| 65 6c 73 65 20 69 66 20 | 28 20 4c 61 73 74 46 4f |else if |( LastFO|
|000008c0| 56 20 3c 20 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f |V < Play|erContro|
|000008d0| 6c 6c 65 72 28 49 6e 73 | 74 69 67 61 74 6f 72 2e |ller(Ins|tigator.|
|000008e0| 43 6f 6e 74 72 6f 6c 6c | 65 72 29 2e 44 65 73 69 |Controll|er).Desi|
|000008f0| 72 65 64 46 4f 56 20 29 | 0d 0a 20 20 20 20 7b 0d |redFOV )|.. {.|
|00000900| 0a 20 20 20 20 20 20 20 | 20 50 6c 61 79 53 6f 75 |. | PlaySou|
|00000910| 6e 64 28 53 6f 75 6e 64 | 27 57 65 61 70 6f 6e 53 |nd(Sound|'WeaponS|
|00000920| 6f 75 6e 64 73 2e 4c 69 | 67 68 74 6e 69 6e 67 47 |ounds.Li|ghtningG|
|00000930| 75 6e 2e 4c 69 67 68 74 | 6e 69 6e 67 5a 6f 6f 6d |un.Light|ningZoom|
|00000940| 4f 75 74 27 2c 20 53 4c | 4f 54 5f 4d 69 73 63 2c |Out', SL|OT_Misc,|
|00000950| 2c 2c 2c 2c 66 61 6c 73 | 65 29 3b 0d 0a 20 20 20 |,,,,fals|e);.. |
|00000960| 20 7d 0d 0a 20 20 20 20 | 4c 61 73 74 46 4f 56 20 | }.. |LastFOV |
|00000970| 3d 20 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |= Player|Controll|
|00000980| 65 72 28 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |er(Insti|gator.Co|
|00000990| 6e 74 72 6f 6c 6c 65 72 | 29 2e 44 65 73 69 72 65 |ntroller|).Desire|
|000009a0| 64 46 4f 56 3b 0d 0a 0d | 0a 20 20 20 20 69 66 20 |dFOV;...|. if |
|000009b0| 28 20 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |( Player|Controll|
|000009c0| 65 72 28 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |er(Insti|gator.Co|
|000009d0| 6e 74 72 6f 6c 6c 65 72 | 29 2e 44 65 73 69 72 65 |ntroller|).Desire|
|000009e0| 64 46 4f 56 20 3d 3d 20 | 50 6c 61 79 65 72 43 6f |dFOV == |PlayerCo|
|000009f0| 6e 74 72 6f 6c 6c 65 72 | 28 49 6e 73 74 69 67 61 |ntroller|(Instiga|
|00000a00| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 29 2e |tor.Cont|roller).|
|00000a10| 44 65 66 61 75 6c 74 46 | 4f 56 20 29 0d 0a 09 7b |DefaultF|OV )...{|
|00000a20| 0d 0a 20 20 20 20 20 20 | 20 20 53 75 70 65 72 2e |.. | Super.|
|00000a30| 52 65 6e 64 65 72 4f 76 | 65 72 6c 61 79 73 28 43 |RenderOv|erlays(C|
|00000a40| 61 6e 76 61 73 29 3b 0d | 0a 09 09 7a 6f 6f 6d 65 |anvas);.|...zoome|
|00000a50| 64 3d 66 61 6c 73 65 3b | 0d 0a 09 7d 0d 0a 09 65 |d=false;|...}...e|
|00000a60| 6c 73 65 0d 0a 20 20 20 | 20 7b 0d 0a 09 09 50 61 |lse.. | {....Pa|
|00000a70| 69 6e 74 65 72 46 69 72 | 65 20 3d 20 50 61 69 6e |interFir|e = Pain|
|00000a80| 74 65 72 46 69 72 65 28 | 46 69 72 65 4d 6f 64 65 |terFire(|FireMode|
|00000a90| 5b 30 5d 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 69 |[0]);.. | i|
|00000aa0| 66 20 28 50 61 69 6e 74 | 65 72 46 69 72 65 2e 62 |f (Paint|erFire.b|
|00000ab0| 49 73 46 69 72 69 6e 67 | 20 26 26 20 50 61 69 6e |IsFiring| && Pain|
|00000ac0| 74 65 72 46 69 72 65 2e | 62 56 61 6c 69 64 4d 61 |terFire.|bValidMa|
|00000ad0| 72 6b 20 26 26 20 4c 65 | 76 65 6c 2e 54 69 6d 65 |rk && Le|vel.Time|
|00000ae0| 53 65 63 6f 6e 64 73 20 | 2d 20 50 61 69 6e 74 65 |Seconds |- Painte|
|00000af0| 72 46 69 72 65 2e 4d 61 | 72 6b 54 69 6d 65 20 3e |rFire.Ma|rkTime >|
|00000b00| 20 30 2e 34 29 0d 0a 20 | 20 20 20 20 20 20 20 7b | 0.4).. | {|
|00000b10| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 43 68 |.. | Ch|
|00000b20| 61 72 67 65 42 61 72 20 | 3d 20 46 4d 69 6e 28 31 |argeBar |= FMin(1|
|00000b30| 2e 30 2c 20 28 28 4c 65 | 76 65 6c 2e 54 69 6d 65 |.0, ((Le|vel.Time|
|00000b40| 53 65 63 6f 6e 64 73 20 | 2d 20 50 61 69 6e 74 65 |Seconds |- Painte|
|00000b50| 72 46 69 72 65 2e 4d 61 | 72 6b 54 69 6d 65 29 20 |rFire.Ma|rkTime) |
|00000b60| 2f 20 50 61 69 6e 74 65 | 72 46 69 72 65 2e 50 61 |/ Painte|rFire.Pa|
|00000b70| 69 6e 74 44 75 72 61 74 | 69 6f 6e 29 29 3b 0d 0a |intDurat|ion));..|
|00000b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|00000b90| 43 68 61 72 67 65 42 61 | 72 20 3e 3d 20 31 2e 30 |ChargeBa|r >= 1.0|
|00000ba0| 29 20 43 68 61 72 67 65 | 42 61 72 20 3d 20 30 2e |) Charge|Bar = 0.|
|00000bb0| 30 3b 0d 0a 20 20 20 20 | 20 20 20 20 7d 0d 0a 20 |0;.. | }.. |
|00000bc0| 20 20 20 20 20 20 20 65 | 6c 73 65 0d 0a 20 20 20 | e|lse.. |
|00000bd0| 20 20 20 20 20 20 20 20 | 20 43 68 61 72 67 65 42 | | ChargeB|
|00000be0| 61 72 20 3d 20 30 2e 30 | 3b 0d 0a 0d 0a 09 09 74 |ar = 0.0|;......t|
|00000bf0| 69 6c 65 53 63 61 6c 65 | 58 20 3d 20 43 61 6e 76 |ileScale|X = Canv|
|00000c00| 61 73 2e 53 69 7a 65 58 | 20 2f 20 36 34 30 2e 30 |as.SizeX| / 640.0|
|00000c10| 66 3b 0d 0a 09 09 74 69 | 6c 65 53 63 61 6c 65 59 |f;....ti|leScaleY|
|00000c20| 20 3d 20 43 61 6e 76 61 | 73 2e 53 69 7a 65 59 20 | = Canva|s.SizeY |
|00000c30| 2f 20 34 38 30 2e 30 66 | 3b 0d 0a 0d 0a 09 09 62 |/ 480.0f|;......b|
|00000c40| 58 20 3d 20 62 6f 72 64 | 65 72 58 20 2a 20 74 69 |X = bord|erX * ti|
|00000c50| 6c 65 53 63 61 6c 65 58 | 3b 0d 0a 09 09 62 59 20 |leScaleX|;....bY |
|00000c60| 3d 20 62 6f 72 64 65 72 | 59 20 2a 20 74 69 6c 65 |= border|Y * tile|
|00000c70| 53 63 61 6c 65 59 3b 0d | 0a 09 09 66 58 20 3d 20 |ScaleY;.|...fX = |
|00000c80| 66 6f 63 75 73 58 20 2a | 20 74 69 6c 65 53 63 61 |focusX *| tileSca|
|00000c90| 6c 65 58 3b 0d 0a 09 09 | 66 59 20 3d 20 66 6f 63 |leX;....|fY = foc|
|00000ca0| 75 73 59 20 2a 20 74 69 | 6c 65 53 63 61 6c 65 58 |usY * ti|leScaleX|
|00000cb0| 3b 0d 0a 0d 0a 09 09 62 | 61 72 4f 72 67 58 20 3d |;......b|arOrgX =|
|00000cc0| 20 52 65 63 68 61 72 67 | 65 4f 72 69 67 69 6e 2e | Recharg|eOrigin.|
|00000cd0| 58 20 2a 20 74 69 6c 65 | 53 63 61 6c 65 58 3b 0d |X * tile|ScaleX;.|
|00000ce0| 0a 09 09 62 61 72 4f 72 | 67 59 20 3d 20 52 65 63 |...barOr|gY = Rec|
|00000cf0| 68 61 72 67 65 4f 72 69 | 67 69 6e 2e 59 20 2a 20 |hargeOri|gin.Y * |
|00000d00| 74 69 6c 65 53 63 61 6c | 65 59 3b 0d 0a 0d 0a 09 |tileScal|eY;.....|
|00000d10| 09 62 61 72 53 69 7a 65 | 58 20 3d 20 52 65 63 68 |.barSize|X = Rech|
|00000d20| 61 72 67 65 53 69 7a 65 | 2e 58 20 2a 20 74 69 6c |argeSize|.X * til|
|00000d30| 65 53 63 61 6c 65 58 3b | 0d 0a 09 09 62 61 72 53 |eScaleX;|....barS|
|00000d40| 69 7a 65 59 20 3d 20 52 | 65 63 68 61 72 67 65 53 |izeY = R|echargeS|
|00000d50| 69 7a 65 2e 59 20 2a 20 | 74 69 6c 65 53 63 61 6c |ize.Y * |tileScal|
|00000d60| 65 59 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 53 |eY;.... | S|
|00000d70| 65 74 5a 6f 6f 6d 42 6c | 65 6e 64 43 6f 6c 6f 72 |etZoomBl|endColor|
|00000d80| 28 43 61 6e 76 61 73 29 | 3b 0d 0a 0d 0a 20 20 20 |(Canvas)|;.... |
|00000d90| 20 20 20 20 20 43 61 6e | 76 61 73 2e 53 74 79 6c | Can|vas.Styl|
|00000da0| 65 20 3d 20 32 35 35 3b | 0d 0a 09 09 43 61 6e 76 |e = 255;|....Canv|
|00000db0| 61 73 2e 53 65 74 50 6f | 73 28 30 2c 30 29 3b 0d |as.SetPo|s(0,0);.|
|00000dc0| 0a 20 20 20 20 20 20 20 | 20 43 61 6e 76 61 73 2e |. | Canvas.|
|00000dd0| 44 72 61 77 54 69 6c 65 | 28 20 4d 61 74 65 72 69 |DrawTile|( Materi|
|00000de0| 61 6c 27 5a 6f 6f 6d 46 | 42 27 2c 20 43 61 6e 76 |al'ZoomF|B', Canv|
|00000df0| 61 73 2e 53 69 7a 65 58 | 2c 20 43 61 6e 76 61 73 |as.SizeX|, Canvas|
|00000e00| 2e 53 69 7a 65 59 2c 20 | 30 2e 30 2c 20 30 2e 30 |.SizeY, |0.0, 0.0|
|00000e10| 2c 20 35 31 32 2c 20 35 | 31 32 20 29 3b 20 2f 2f |, 512, 5|12 ); //|
|00000e20| 20 21 21 20 68 61 72 64 | 63 6f 64 65 64 20 73 69 | !! hard|coded si|
|00000e30| 7a 65 0d 0a 0d 0a 09 09 | 2f 2f 20 64 72 61 77 20 |ze......|// draw |
|00000e40| 62 6f 72 64 65 72 20 63 | 6f 72 6e 65 72 73 0d 0a |border c|orners..|
|00000e50| 20 20 20 20 20 20 20 20 | 43 61 6e 76 61 73 2e 53 | |Canvas.S|
|00000e60| 74 79 6c 65 20 3d 20 45 | 52 65 6e 64 65 72 53 74 |tyle = E|RenderSt|
|00000e70| 79 6c 65 2e 53 54 59 5f | 41 6c 70 68 61 3b 0d 0a |yle.STY_|Alpha;..|
|00000e80| 09 09 43 61 6e 76 61 73 | 2e 53 65 74 50 6f 73 28 |..Canvas|.SetPos(|
|00000e90| 30 2c 30 29 3b 0d 0a 09 | 09 43 61 6e 76 61 73 2e |0,0);...|.Canvas.|
|00000ea0| 44 72 61 77 54 69 6c 65 | 28 20 54 65 78 74 75 72 |DrawTile|( Textur|
|00000eb0| 65 27 53 6e 69 70 65 72 | 42 6f 72 64 65 72 27 2c |e'Sniper|Border',|
|00000ec0| 20 62 58 2c 20 62 59 2c | 20 30 2e 30 2c 20 30 2e | bX, bY,| 0.0, 0.|
|00000ed0| 30 2c 20 54 65 78 74 75 | 72 65 27 53 6e 69 70 65 |0, Textu|re'Snipe|
|00000ee0| 72 42 6f 72 64 65 72 27 | 2e 55 53 69 7a 65 2c 20 |rBorder'|.USize, |
|00000ef0| 54 65 78 74 75 72 65 27 | 53 6e 69 70 65 72 42 6f |Texture'|SniperBo|
|00000f00| 72 64 65 72 27 2e 56 53 | 69 7a 65 20 29 3b 0d 0a |rder'.VS|ize );..|
|00000f10| 0d 0a 09 09 43 61 6e 76 | 61 73 2e 53 65 74 50 6f |....Canv|as.SetPo|
|00000f20| 73 28 43 61 6e 76 61 73 | 2e 53 69 7a 65 58 2d 62 |s(Canvas|.SizeX-b|
|00000f30| 58 2c 30 29 3b 0d 0a 09 | 09 43 61 6e 76 61 73 2e |X,0);...|.Canvas.|
|00000f40| 44 72 61 77 54 69 6c 65 | 28 20 54 65 78 74 75 72 |DrawTile|( Textur|
|00000f50| 65 27 53 6e 69 70 65 72 | 42 6f 72 64 65 72 27 2c |e'Sniper|Border',|
|00000f60| 20 62 58 2c 20 62 59 2c | 20 30 2e 30 2c 20 30 2e | bX, bY,| 0.0, 0.|
|00000f70| 30 2c 20 2d 54 65 78 74 | 75 72 65 27 53 6e 69 70 |0, -Text|ure'Snip|
|00000f80| 65 72 42 6f 72 64 65 72 | 27 2e 55 53 69 7a 65 2c |erBorder|'.USize,|
|00000f90| 20 54 65 78 74 75 72 65 | 27 53 6e 69 70 65 72 42 | Texture|'SniperB|
|00000fa0| 6f 72 64 65 72 27 2e 56 | 53 69 7a 65 20 29 3b 0d |order'.V|Size );.|
|00000fb0| 0a 0d 0a 09 09 43 61 6e | 76 61 73 2e 53 65 74 50 |.....Can|vas.SetP|
|00000fc0| 6f 73 28 43 61 6e 76 61 | 73 2e 53 69 7a 65 58 2d |os(Canva|s.SizeX-|
|00000fd0| 62 58 2c 43 61 6e 76 61 | 73 2e 53 69 7a 65 59 2d |bX,Canva|s.SizeY-|
|00000fe0| 62 59 29 3b 0d 0a 09 09 | 43 61 6e 76 61 73 2e 44 |bY);....|Canvas.D|
|00000ff0| 72 61 77 54 69 6c 65 28 | 20 54 65 78 74 75 72 65 |rawTile(| Texture|
|00001000| 27 53 6e 69 70 65 72 42 | 6f 72 64 65 72 27 2c 20 |'SniperB|order', |
|00001010| 62 58 2c 20 62 59 2c 20 | 30 2e 30 2c 20 30 2e 30 |bX, bY, |0.0, 0.0|
|00001020| 2c 20 2d 54 65 78 74 75 | 72 65 27 53 6e 69 70 65 |, -Textu|re'Snipe|
|00001030| 72 42 6f 72 64 65 72 27 | 2e 55 53 69 7a 65 2c 20 |rBorder'|.USize, |
|00001040| 2d 54 65 78 74 75 72 65 | 27 53 6e 69 70 65 72 42 |-Texture|'SniperB|
|00001050| 6f 72 64 65 72 27 2e 56 | 53 69 7a 65 20 29 3b 0d |order'.V|Size );.|
|00001060| 0a 0d 0a 09 09 43 61 6e | 76 61 73 2e 53 65 74 50 |.....Can|vas.SetP|
|00001070| 6f 73 28 30 2c 43 61 6e | 76 61 73 2e 53 69 7a 65 |os(0,Can|vas.Size|
|00001080| 59 2d 62 59 29 3b 0d 0a | 09 09 43 61 6e 76 61 73 |Y-bY);..|..Canvas|
|00001090| 2e 44 72 61 77 54 69 6c | 65 28 20 54 65 78 74 75 |.DrawTil|e( Textu|
|000010a0| 72 65 27 53 6e 69 70 65 | 72 42 6f 72 64 65 72 27 |re'Snipe|rBorder'|
|000010b0| 2c 20 62 58 2c 20 62 59 | 2c 20 30 2e 30 2c 20 30 |, bX, bY|, 0.0, 0|
|000010c0| 2e 30 2c 20 54 65 78 74 | 75 72 65 27 53 6e 69 70 |.0, Text|ure'Snip|
|000010d0| 65 72 42 6f 72 64 65 72 | 27 2e 55 53 69 7a 65 2c |erBorder|'.USize,|
|000010e0| 20 2d 54 65 78 74 75 72 | 65 27 53 6e 69 70 65 72 | -Textur|e'Sniper|
|000010f0| 42 6f 72 64 65 72 27 2e | 56 53 69 7a 65 20 29 3b |Border'.|VSize );|
|00001100| 0d 0a 0d 0a 0d 0a 09 09 | 43 61 6e 76 61 73 2e 44 |........|Canvas.D|
|00001110| 72 61 77 43 6f 6c 6f 72 | 20 3d 20 46 6f 63 75 73 |rawColor| = Focus|
|00001120| 43 6f 6c 6f 72 3b 0d 0a | 20 20 20 20 20 20 20 20 |Color;..| |
|00001130| 43 61 6e 76 61 73 2e 44 | 72 61 77 43 6f 6c 6f 72 |Canvas.D|rawColor|
|00001140| 2e 41 20 3d 20 32 35 35 | 3b 20 2f 2f 20 32 35 35 |.A = 255|; // 255|
|00001150| 20 77 61 73 20 74 68 65 | 20 6f 72 69 67 69 6e 61 | was the| origina|
|00001160| 6c 20 2d 61 73 70 2e 20 | 57 54 46 3f 3f 21 3f 21 |l -asp. |WTF??!?!|
|00001170| 3f 21 0d 0a 09 09 43 61 | 6e 76 61 73 2e 53 74 79 |?!....Ca|nvas.Sty|
|00001180| 6c 65 20 3d 20 45 52 65 | 6e 64 65 72 53 74 79 6c |le = ERe|nderStyl|
|00001190| 65 2e 53 54 59 5f 41 6c | 70 68 61 3b 0d 0a 0d 0a |e.STY_Al|pha;....|
|000011a0| 09 09 43 61 6e 76 61 73 | 2e 53 65 74 50 6f 73 28 |..Canvas|.SetPos(|
|000011b0| 28 43 61 6e 76 61 73 2e | 53 69 7a 65 58 2a 30 2e |(Canvas.|SizeX*0.|
|000011c0| 35 29 2d 66 58 2c 28 43 | 61 6e 76 61 73 2e 53 69 |5)-fX,(C|anvas.Si|
|000011d0| 7a 65 59 2a 30 2e 35 29 | 2d 66 59 29 3b 0d 0a 09 |zeY*0.5)|-fY);...|
|000011e0| 09 43 61 6e 76 61 73 2e | 44 72 61 77 54 69 6c 65 |.Canvas.|DrawTile|
|000011f0| 28 20 54 65 78 74 75 72 | 65 27 53 6e 69 70 65 72 |( Textur|e'Sniper|
|00001200| 46 6f 63 75 73 27 2c 20 | 66 58 2a 32 2e 30 2c 20 |Focus', |fX*2.0, |
|00001210| 66 59 2a 32 2e 30 2c 20 | 30 2e 30 2c 20 30 2e 30 |fY*2.0, |0.0, 0.0|
|00001220| 2c 20 54 65 78 74 75 72 | 65 27 53 6e 69 70 65 72 |, Textur|e'Sniper|
|00001230| 46 6f 63 75 73 27 2e 55 | 53 69 7a 65 2c 20 54 65 |Focus'.U|Size, Te|
|00001240| 78 74 75 72 65 27 53 6e | 69 70 65 72 46 6f 63 75 |xture'Sn|iperFocu|
|00001250| 73 27 2e 56 53 69 7a 65 | 20 29 3b 0d 0a 0d 0a 20 |s'.VSize| );.... |
|00001260| 20 20 20 20 20 20 20 66 | 58 20 3d 20 69 6e 6e 65 | f|X = inne|
|00001270| 72 41 72 72 6f 77 73 58 | 20 2a 20 74 69 6c 65 53 |rArrowsX| * tileS|
|00001280| 63 61 6c 65 58 3b 0d 0a | 09 09 66 59 20 3d 20 69 |caleX;..|..fY = i|
|00001290| 6e 6e 65 72 41 72 72 6f | 77 73 59 20 2a 20 74 69 |nnerArro|wsY * ti|
|000012a0| 6c 65 53 63 61 6c 65 59 | 3b 0d 0a 0d 0a 20 20 20 |leScaleY|;.... |
|000012b0| 20 20 20 20 20 43 61 6e | 76 61 73 2e 44 72 61 77 | Can|vas.Draw|
|000012c0| 43 6f 6c 6f 72 20 3d 20 | 41 72 72 6f 77 43 6f 6c |Color = |ArrowCol|
|000012d0| 6f 72 3b 0d 0a 20 20 20 | 20 20 20 20 20 43 61 6e |or;.. | Can|
|000012e0| 76 61 73 2e 53 65 74 50 | 6f 73 28 28 43 61 6e 76 |vas.SetP|os((Canv|
|000012f0| 61 73 2e 53 69 7a 65 58 | 2a 30 2e 35 29 2d 66 58 |as.SizeX|*0.5)-fX|
|00001300| 2c 28 43 61 6e 76 61 73 | 2e 53 69 7a 65 59 2a 30 |,(Canvas|.SizeY*0|
|00001310| 2e 35 29 2d 66 59 29 3b | 0d 0a 09 09 43 61 6e 76 |.5)-fY);|....Canv|
|00001320| 61 73 2e 44 72 61 77 54 | 69 6c 65 28 20 54 65 78 |as.DrawT|ile( Tex|
|00001330| 74 75 72 65 27 53 6e 69 | 70 65 72 41 72 72 6f 77 |ture'Sni|perArrow|
|00001340| 73 27 2c 20 66 58 2a 32 | 2e 30 2c 20 66 59 2a 32 |s', fX*2|.0, fY*2|
|00001350| 2e 30 2c 20 30 2e 30 2c | 20 30 2e 30 2c 20 54 65 |.0, 0.0,| 0.0, Te|
|00001360| 78 74 75 72 65 27 53 6e | 69 70 65 72 41 72 72 6f |xture'Sn|iperArro|
|00001370| 77 73 27 2e 55 53 69 7a | 65 2c 20 54 65 78 74 75 |ws'.USiz|e, Textu|
|00001380| 72 65 27 53 6e 69 70 65 | 72 41 72 72 6f 77 73 27 |re'Snipe|rArrows'|
|00001390| 2e 56 53 69 7a 65 20 29 | 3b 0d 0a 0d 0a 0d 0a 09 |.VSize )|;.......|
|000013a0| 09 2f 2f 20 44 72 61 77 | 20 74 68 65 20 43 68 61 |.// Draw| the Cha|
|000013b0| 72 67 69 6e 67 20 6d 65 | 74 65 72 20 20 2d 41 73 |rging me|ter -As|
|000013c0| 50 0d 0a 09 09 43 61 6e | 76 61 73 2e 44 72 61 77 |P....Can|vas.Draw|
|000013d0| 43 6f 6c 6f 72 20 3d 20 | 43 68 61 72 67 65 43 6f |Color = |ChargeCo|
|000013e0| 6c 6f 72 3b 0d 0a 20 20 | 20 20 20 20 20 20 43 61 |lor;.. | Ca|
|000013f0| 6e 76 61 73 2e 44 72 61 | 77 43 6f 6c 6f 72 2e 41 |nvas.Dra|wColor.A|
|00001400| 20 3d 20 32 35 35 3b 0d | 0a 0d 0a 09 09 69 66 28 | = 255;.|.....if(|
|00001410| 43 68 61 72 67 65 42 61 | 72 20 3c 31 29 0d 0a 09 |ChargeBa|r <1)...|
|00001420| 09 20 20 20 20 43 61 6e | 76 61 73 2e 44 72 61 77 |. Can|vas.Draw|
|00001430| 43 6f 6c 6f 72 2e 52 20 | 3d 20 32 35 35 2a 43 68 |Color.R |= 255*Ch|
|00001440| 61 72 67 65 42 61 72 3b | 0d 0a 09 09 65 6c 73 65 |argeBar;|....else|
|00001450| 0d 0a 20 20 20 20 20 20 | 20 20 7b 0d 0a 20 20 20 |.. | {.. |
|00001460| 20 20 20 20 20 20 20 20 | 20 43 61 6e 76 61 73 2e | | Canvas.|
|00001470| 44 72 61 77 43 6f 6c 6f | 72 2e 52 20 3d 20 30 3b |DrawColo|r.R = 0;|
|00001480| 0d 0a 09 09 20 20 20 20 | 43 61 6e 76 61 73 2e 44 |.... |Canvas.D|
|00001490| 72 61 77 43 6f 6c 6f 72 | 2e 42 20 3d 20 30 3b 0d |rawColor|.B = 0;.|
|000014a0| 0a 20 20 20 20 20 20 20 | 20 7d 0d 0a 0d 0a 09 09 |. | }......|
|000014b0| 69 66 28 43 68 61 72 67 | 65 42 61 72 20 3d 3d 20 |if(Charg|eBar == |
|000014c0| 31 29 0d 0a 09 09 20 20 | 20 20 43 61 6e 76 61 73 |1).... | Canvas|
|000014d0| 2e 44 72 61 77 43 6f 6c | 6f 72 2e 47 20 3d 20 32 |.DrawCol|or.G = 2|
|000014e0| 35 35 3b 0d 0a 09 09 65 | 6c 73 65 0d 0a 09 09 20 |55;....e|lse.... |
|000014f0| 20 20 20 43 61 6e 76 61 | 73 2e 44 72 61 77 43 6f | Canva|s.DrawCo|
|00001500| 6c 6f 72 2e 47 20 3d 20 | 30 3b 0d 0a 0d 0a 09 09 |lor.G = |0;......|
|00001510| 43 61 6e 76 61 73 2e 53 | 74 79 6c 65 20 3d 20 45 |Canvas.S|tyle = E|
|00001520| 52 65 6e 64 65 72 53 74 | 79 6c 65 2e 53 54 59 5f |RenderSt|yle.STY_|
|00001530| 41 6c 70 68 61 3b 0d 0a | 09 09 43 61 6e 76 61 73 |Alpha;..|..Canvas|
|00001540| 2e 53 65 74 50 6f 73 28 | 20 62 61 72 4f 72 67 58 |.SetPos(| barOrgX|
|00001550| 2c 20 62 61 72 4f 72 67 | 59 20 29 3b 0d 0a 09 09 |, barOrg|Y );....|
|00001560| 43 61 6e 76 61 73 2e 44 | 72 61 77 54 69 6c 65 28 |Canvas.D|rawTile(|
|00001570| 54 65 78 74 75 72 65 27 | 45 6e 67 69 6e 65 2e 57 |Texture'|Engine.W|
|00001580| 68 69 74 65 54 65 78 74 | 75 72 65 27 2c 62 61 72 |hiteText|ure',bar|
|00001590| 53 69 7a 65 58 2c 62 61 | 72 53 69 7a 65 59 2a 43 |SizeX,ba|rSizeY*C|
|000015a0| 68 61 72 67 65 42 61 72 | 2c 20 30 2e 30 2c 20 30 |hargeBar|, 0.0, 0|
|000015b0| 2e 30 2c 54 65 78 74 75 | 72 65 27 45 6e 67 69 6e |.0,Textu|re'Engin|
|000015c0| 65 2e 57 68 69 74 65 54 | 65 78 74 75 72 65 27 2e |e.WhiteT|exture'.|
|000015d0| 55 53 69 7a 65 2c 54 65 | 78 74 75 72 65 27 45 6e |USize,Te|xture'En|
|000015e0| 67 69 6e 65 2e 57 68 69 | 74 65 54 65 78 74 75 72 |gine.Whi|teTextur|
|000015f0| 65 27 2e 56 53 69 7a 65 | 2a 43 68 61 72 67 65 42 |e'.VSize|*ChargeB|
|00001600| 61 72 29 3b 0d 0a 09 09 | 7a 6f 6f 6d 65 64 20 3d |ar);....|zoomed =|
|00001610| 20 74 72 75 65 3b 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d | true;..|.}..}...|
|00001620| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|00001630| 69 6f 6e 20 43 6c 69 65 | 6e 74 53 74 61 72 74 46 |ion Clie|ntStartF|
|00001640| 69 72 65 28 69 6e 74 20 | 6d 6f 64 65 29 0d 0a 7b |ire(int |mode)..{|
|00001650| 0d 0a 20 20 20 20 69 66 | 20 28 6d 6f 64 65 20 3d |.. if| (mode =|
|00001660| 3d 20 31 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |= 1).. | {.. |
|00001670| 20 20 20 20 20 46 69 72 | 65 4d 6f 64 65 5b 6d 6f | Fir|eMode[mo|
|00001680| 64 65 5d 2e 62 49 73 46 | 69 72 69 6e 67 20 3d 20 |de].bIsF|iring = |
|00001690| 74 72 75 65 3b 0d 0a 20 | 20 20 20 20 20 20 20 69 |true;.. | i|
|000016a0| 66 28 20 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |f( Insti|gator.Co|
|000016b0| 6e 74 72 6f 6c 6c 65 72 | 2e 49 73 41 28 20 27 50 |ntroller|.IsA( 'P|
|000016c0| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 27 |layerCon|troller'|
|000016d0| 20 29 20 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 | ) ).. | |
|000016e0| 20 20 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c | Player|Controll|
|000016f0| 65 72 28 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f |er(Insti|gator.Co|
|00001700| 6e 74 72 6f 6c 6c 65 72 | 29 2e 54 6f 67 67 6c 65 |ntroller|).Toggle|
|00001710| 5a 6f 6f 6d 28 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |Zoom();.|. }..|
|00001720| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 7b 0d | else|.. {.|
|00001730| 0a 20 20 20 20 20 20 20 | 20 53 75 70 65 72 2e 43 |. | Super.C|
|00001740| 6c 69 65 6e 74 53 74 61 | 72 74 46 69 72 65 28 6d |lientSta|rtFire(m|
|00001750| 6f 64 65 29 3b 0d 0a 20 | 20 20 20 7d 0d 0a 7d 0d |ode);.. | }..}.|
|00001760| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|00001770| 63 74 69 6f 6e 20 43 6c | 69 65 6e 74 53 74 6f 70 |ction Cl|ientStop|
|00001780| 46 69 72 65 28 69 6e 74 | 20 6d 6f 64 65 29 0d 0a |Fire(int| mode)..|
|00001790| 7b 0d 0a 20 20 20 20 69 | 66 20 28 6d 6f 64 65 20 |{.. i|f (mode |
|000017a0| 3d 3d 20 31 29 0d 0a 20 | 20 20 20 7b 0d 0a 20 20 |== 1).. | {.. |
|000017b0| 20 20 20 20 20 20 46 69 | 72 65 4d 6f 64 65 5b 6d | Fi|reMode[m|
|000017c0| 6f 64 65 5d 2e 62 49 73 | 46 69 72 69 6e 67 20 3d |ode].bIs|Firing =|
|000017d0| 20 66 61 6c 73 65 3b 0d | 0a 20 20 20 20 20 20 20 | false;.|. |
|000017e0| 20 69 66 28 20 49 6e 73 | 74 69 67 61 74 6f 72 2e | if( Ins|tigator.|
|000017f0| 43 6f 6e 74 72 6f 6c 6c | 65 72 2e 49 73 41 28 20 |Controll|er.IsA( |
|00001800| 27 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 |'PlayerC|ontrolle|
|00001810| 72 27 20 29 20 29 0d 0a | 20 20 20 20 20 20 20 20 |r' ) )..| |
|00001820| 20 20 20 20 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f | Play|erContro|
|00001830| 6c 6c 65 72 28 49 6e 73 | 74 69 67 61 74 6f 72 2e |ller(Ins|tigator.|
|00001840| 43 6f 6e 74 72 6f 6c 6c | 65 72 29 2e 53 74 6f 70 |Controll|er).Stop|
|00001850| 5a 6f 6f 6d 28 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |Zoom();.|. }..|
|00001860| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 7b 0d | else|.. {.|
|00001870| 0a 20 20 20 20 20 20 20 | 20 53 75 70 65 72 2e 43 |. | Super.C|
|00001880| 6c 69 65 6e 74 53 74 6f | 70 46 69 72 65 28 6d 6f |lientSto|pFire(mo|
|00001890| 64 65 29 3b 0d 0a 20 20 | 20 20 7d 0d 0a 7d 0d 0a |de);.. | }..}..|
|000018a0| 0d 0a 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|000018b0| 74 69 6f 6e 20 42 72 69 | 6e 67 55 70 28 6f 70 74 |tion Bri|ngUp(opt|
|000018c0| 69 6f 6e 61 6c 20 57 65 | 61 70 6f 6e 20 50 72 65 |ional We|apon Pre|
|000018d0| 76 57 65 61 70 6f 6e 29 | 0d 0a 7b 0d 0a 20 20 20 |vWeapon)|..{.. |
|000018e0| 20 69 66 28 20 49 6e 73 | 74 69 67 61 74 6f 72 2e | if( Ins|tigator.|
|000018f0| 43 6f 6e 74 72 6f 6c 6c | 65 72 2e 49 73 41 28 20 |Controll|er.IsA( |
|00001900| 27 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 |'PlayerC|ontrolle|
|00001910| 72 27 20 29 20 29 0d 0a | 20 20 20 20 20 20 20 20 |r' ) )..| |
|00001920| 4c 61 73 74 46 4f 56 20 | 3d 20 50 6c 61 79 65 72 |LastFOV |= Player|
|00001930| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 49 6e 73 74 69 |Controll|er(Insti|
|00001940| 67 61 74 6f 72 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |gator.Co|ntroller|
|00001950| 29 2e 44 65 73 69 72 65 | 64 46 4f 56 3b 0d 0a 20 |).Desire|dFOV;.. |
|00001960| 20 20 20 53 75 70 65 72 | 2e 42 72 69 6e 67 55 70 | Super|.BringUp|
|00001970| 28 50 72 65 76 57 65 61 | 70 6f 6e 29 3b 0d 0a 7d |(PrevWea|pon);..}|
|00001980| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|00001990| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 50 75 74 44 |nction b|ool PutD|
|000019a0| 6f 77 6e 28 29 0d 0a 7b | 0d 0a 20 20 20 20 69 66 |own()..{|.. if|
|000019b0| 28 20 49 6e 73 74 69 67 | 61 74 6f 72 2e 43 6f 6e |( Instig|ator.Con|
|000019c0| 74 72 6f 6c 6c 65 72 2e | 49 73 41 28 20 27 50 6c |troller.|IsA( 'Pl|
|000019d0| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 27 20 |ayerCont|roller' |
|000019e0| 29 20 29 0d 0a 20 20 20 | 20 20 20 20 20 50 6c 61 |) ).. | Pla|
|000019f0| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 28 49 6e |yerContr|oller(In|
|00001a00| 73 74 69 67 61 74 6f 72 | 2e 43 6f 6e 74 72 6f 6c |stigator|.Control|
|00001a10| 6c 65 72 29 2e 45 6e 64 | 5a 6f 6f 6d 28 29 3b 0d |ler).End|Zoom();.|
|00001a20| 0a 20 20 20 20 72 65 74 | 75 72 6e 20 53 75 70 65 |. ret|urn Supe|
|00001a30| 72 2e 50 75 74 44 6f 77 | 6e 28 29 3b 0d 0a 7d 0d |r.PutDow|n();..}.|
|00001a40| 0a 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |.....sim|ulated f|
|00001a50| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 48 61 73 |unction |bool Has|
|00001a60| 41 6d 6d 6f 28 29 0d 0a | 7b 0d 0a 20 20 20 20 72 |Ammo()..|{.. r|
|00001a70| 65 74 75 72 6e 20 28 46 | 69 72 65 4d 6f 64 65 5b |eturn (F|ireMode[|
|00001a80| 30 5d 20 21 3d 20 4e 6f | 6e 65 20 26 26 20 41 6d |0] != No|ne && Am|
|00001a90| 6d 6f 41 6d 6f 75 6e 74 | 28 30 29 20 3e 3d 20 31 |moAmount|(0) >= 1|
|00001aa0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|00001ab0| 6e 20 49 6f 6e 43 61 6e | 6e 6f 6e 20 43 68 65 63 |n IonCan|non Chec|
|00001ac0| 6b 4d 61 72 6b 28 76 65 | 63 74 6f 72 20 4d 61 72 |kMark(ve|ctor Mar|
|00001ad0| 6b 4c 6f 63 61 74 69 6f | 6e 2c 20 62 6f 6f 6c 20 |kLocatio|n, bool |
|00001ae0| 62 46 69 72 65 29 0d 0a | 7b 0d 0a 09 69 66 20 28 |bFire)..|{...if (|
|00001af0| 20 46 69 72 73 74 43 61 | 6e 6e 6f 6e 20 21 3d 20 | FirstCa|nnon != |
|00001b00| 4e 6f 6e 65 20 29 0d 0a | 09 09 72 65 74 75 72 6e |None )..|..return|
|00001b10| 20 46 69 72 73 74 43 61 | 6e 6e 6f 6e 3b 0d 0a 09 | FirstCa|nnon;...|
|00001b20| 66 6f 72 65 61 63 68 20 | 44 79 6e 61 6d 69 63 41 |foreach |DynamicA|
|00001b30| 63 74 6f 72 73 28 63 6c | 61 73 73 27 49 6f 6e 43 |ctors(cl|ass'IonC|
|00001b40| 61 6e 6e 6f 6e 27 2c 20 | 46 69 72 73 74 43 61 6e |annon', |FirstCan|
|00001b50| 6e 6f 6e 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 46 |non)....|return F|
|00001b60| 69 72 73 74 43 61 6e 6e | 6f 6e 3b 0d 0a 09 46 69 |irstCann|on;...Fi|
|00001b70| 72 73 74 43 61 6e 6e 6f | 6e 20 3d 20 73 70 61 77 |rstCanno|n = spaw|
|00001b80| 6e 28 63 6c 61 73 73 27 | 49 6f 6e 43 61 6e 6e 6f |n(class'|IonCanno|
|00001b90| 6e 27 2c 2c 2c 4c 6f 63 | 61 74 69 6f 6e 2b 76 65 |n',,,Loc|ation+ve|
|00001ba0| 63 74 28 30 2c 30 2c 32 | 30 30 30 29 29 3b 0d 0a |ct(0,0,2|000));..|
|00001bb0| 09 72 65 74 75 72 6e 20 | 46 69 72 73 74 43 61 6e |.return |FirstCan|
|00001bc0| 6e 6f 6e 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 41 49 |non;..}.|...// AI|
|00001bd0| 20 49 6e 74 65 72 66 61 | 63 65 0d 0a 66 75 6e 63 | Interfa|ce..func|
|00001be0| 74 69 6f 6e 20 66 6c 6f | 61 74 20 47 65 74 41 49 |tion flo|at GetAI|
|00001bf0| 52 61 74 69 6e 67 28 29 | 0d 0a 7b 0d 0a 09 6c 6f |Rating()|..{...lo|
|00001c00| 63 61 6c 20 42 6f 74 20 | 42 3b 0d 0a 09 6c 6f 63 |cal Bot |B;...loc|
|00001c10| 61 6c 20 76 65 63 74 6f | 72 20 48 69 74 4c 6f 63 |al vecto|r HitLoc|
|00001c20| 61 74 69 6f 6e 2c 20 48 | 69 74 4e 6f 72 6d 61 6c |ation, H|itNormal|
|00001c30| 3b 0d 0a 0d 0a 09 42 20 | 3d 20 42 6f 74 28 49 6e |;.....B |= Bot(In|
|00001c40| 73 74 69 67 61 74 6f 72 | 2e 43 6f 6e 74 72 6f 6c |stigator|.Control|
|00001c50| 6c 65 72 29 3b 0d 0a 09 | 69 66 20 28 20 42 20 3d |ler);...|if ( B =|
|00001c60| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 72 65 74 75 |= None )|....retu|
|00001c70| 72 6e 20 41 49 52 61 74 | 69 6e 67 3b 0d 0a 09 69 |rn AIRat|ing;...i|
|00001c80| 66 20 28 20 42 2e 49 73 | 53 68 6f 6f 74 69 6e 67 |f ( B.Is|Shooting|
|00001c90| 4f 62 6a 65 63 74 69 76 | 65 28 29 20 26 26 20 54 |Objectiv|e() && T|
|00001ca0| 72 61 63 65 28 48 69 74 | 4c 6f 63 61 74 69 6f 6e |race(Hit|Location|
|00001cb0| 2c 20 48 69 74 4e 6f 72 | 6d 61 6c 2c 20 42 2e 54 |, HitNor|mal, B.T|
|00001cc0| 61 72 67 65 74 2e 4c 6f | 63 61 74 69 6f 6e 20 2d |arget.Lo|cation -|
|00001cd0| 20 76 65 63 74 28 30 2c | 30 2c 32 30 30 30 29 2c | vect(0,|0,2000),|
|00001ce0| 20 42 2e 54 61 72 67 65 | 74 2e 4c 6f 63 61 74 69 | B.Targe|t.Locati|
|00001cf0| 6f 6e 2c 20 66 61 6c 73 | 65 29 20 21 3d 20 4e 6f |on, fals|e) != No|
|00001d00| 6e 65 20 29 0d 0a 09 7b | 0d 0a 09 09 4d 61 72 6b |ne )...{|....Mark|
|00001d10| 4c 6f 63 61 74 69 6f 6e | 20 3d 20 48 69 74 4c 6f |Location| = HitLo|
|00001d20| 63 61 74 69 6f 6e 3b 0d | 0a 09 09 69 66 20 28 20 |cation;.|...if ( |
|00001d30| 43 68 65 63 6b 4d 61 72 | 6b 28 4d 61 72 6b 4c 6f |CheckMar|k(MarkLo|
|00001d40| 63 61 74 69 6f 6e 2c 20 | 66 61 6c 73 65 29 20 21 |cation, |false) !|
|00001d50| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 72 65 74 |= None )|.....ret|
|00001d60| 75 72 6e 20 41 49 52 61 | 74 69 6e 67 3b 0d 0a 09 |urn AIRa|ting;...|
|00001d70| 7d 0d 0a 09 69 66 20 28 | 20 28 42 2e 45 6e 65 6d |}...if (| (B.Enem|
|00001d80| 79 20 3d 3d 20 4e 6f 6e | 65 29 20 7c 7c 20 28 49 |y == Non|e) || (I|
|00001d90| 6e 73 74 69 67 61 74 6f | 72 2e 4c 6f 63 61 74 69 |nstigato|r.Locati|
|00001da0| 6f 6e 2e 5a 20 3c 20 42 | 2e 45 6e 65 6d 79 2e 4c |on.Z < B|.Enemy.L|
|00001db0| 6f 63 61 74 69 6f 6e 2e | 5a 29 20 7c 7c 20 21 42 |ocation.|Z) || !B|
|00001dc0| 2e 45 6e 65 6d 79 56 69 | 73 69 62 6c 65 28 29 20 |.EnemyVi|sible() |
|00001dd0| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 30 3b 0d 0a |)....ret|urn 0;..|
|00001de0| 09 4d 61 72 6b 4c 6f 63 | 61 74 69 6f 6e 20 3d 20 |.MarkLoc|ation = |
|00001df0| 42 2e 45 6e 65 6d 79 2e | 4c 6f 63 61 74 69 6f 6e |B.Enemy.|Location|
|00001e00| 20 2d 20 42 2e 45 6e 65 | 6d 79 2e 43 6f 6c 6c 69 | - B.Ene|my.Colli|
|00001e10| 73 69 6f 6e 48 65 69 67 | 68 74 20 2a 20 76 65 63 |sionHeig|ht * vec|
|00001e20| 74 28 30 2c 30 2c 32 29 | 3b 0d 0a 09 69 66 20 28 |t(0,0,2)|;...if (|
|00001e30| 20 43 68 65 63 6b 4d 61 | 72 6b 28 4d 61 72 6b 4c | CheckMa|rk(MarkL|
|00001e40| 6f 63 61 74 69 6f 6e 2c | 20 66 61 6c 73 65 29 20 |ocation,| false) |
|00001e50| 21 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 72 65 74 |!= None |)....ret|
|00001e60| 75 72 6e 20 32 2e 30 3b | 0d 0a 09 69 66 20 28 20 |urn 2.0;|...if ( |
|00001e70| 54 65 72 72 61 69 6e 49 | 6e 66 6f 28 42 2e 45 6e |TerrainI|nfo(B.En|
|00001e80| 65 6d 79 2e 42 61 73 65 | 29 20 3d 3d 20 4e 6f 6e |emy.Base|) == Non|
|00001e90| 65 20 29 0d 0a 09 09 72 | 65 74 75 72 6e 20 30 3b |e )....r|eturn 0;|
|00001ea0| 0d 0a 09 72 65 74 75 72 | 6e 20 30 2e 31 3b 0d 0a |...retur|n 0.1;..|
|00001eb0| 7d 0d 0a 0d 0a 2f 2a 20 | 42 65 73 74 4d 6f 64 65 |}..../* |BestMode|
|00001ec0| 28 29 0d 0a 63 68 6f 6f | 73 65 20 62 65 74 77 65 |()..choo|se betwe|
|00001ed0| 65 6e 20 72 65 67 75 6c | 61 72 20 6f 72 20 61 6c |en regul|ar or al|
|00001ee0| 74 2d 66 69 72 65 0d 0a | 2a 2f 0d 0a 66 75 6e 63 |t-fire..|*/..func|
|00001ef0| 74 69 6f 6e 20 62 79 74 | 65 20 42 65 73 74 4d 6f |tion byt|e BestMo|
|00001f00| 64 65 28 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |de()..{.|..return|
|00001f10| 20 30 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 | 0;..}..|..functi|
|00001f20| 6f 6e 20 66 6c 6f 61 74 | 20 53 75 67 67 65 73 74 |on float| Suggest|
|00001f30| 41 74 74 61 63 6b 53 74 | 79 6c 65 28 29 0d 0a 7b |AttackSt|yle()..{|
|00001f40| 0d 0a 20 20 20 20 72 65 | 74 75 72 6e 20 30 3b 0d |.. re|turn 0;.|
|00001f50| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 66 |.}....fu|nction f|
|00001f60| 6c 6f 61 74 20 53 75 67 | 67 65 73 74 44 65 66 65 |loat Sug|gestDefe|
|00001f70| 6e 73 65 53 74 79 6c 65 | 28 29 0d 0a 7b 0d 0a 20 |nseStyle|()..{.. |
|00001f80| 20 20 20 72 65 74 75 72 | 6e 20 32 3b 0d 0a 7d 0d | retur|n 2;..}.|
|00001f90| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 66 6c 6f 61 |...funct|ion floa|
|00001fa0| 74 20 52 61 6e 67 65 64 | 41 74 74 61 63 6b 54 69 |t Ranged|AttackTi|
|00001fb0| 6d 65 28 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |me()..{.|..return|
|00001fc0| 20 36 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 | 6;..}..|..functi|
|00001fd0| 6f 6e 20 62 6f 6f 6c 20 | 52 65 63 6f 6d 6d 65 6e |on bool |Recommen|
|00001fe0| 64 52 61 6e 67 65 64 41 | 74 74 61 63 6b 28 29 0d |dRangedA|ttack().|
|00001ff0| 0a 7b 0d 0a 09 72 65 74 | 75 72 6e 20 74 72 75 65 |.{...ret|urn true|
|00002000| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00002010| 20 62 6f 6f 6c 20 52 65 | 63 6f 6d 6d 65 6e 64 4c | bool Re|commendL|
|00002020| 6f 6e 67 52 61 6e 67 65 | 64 41 74 74 61 63 6b 28 |ongRange|dAttack(|
|00002030| 29 0d 0a 7b 0d 0a 09 72 | 65 74 75 72 6e 20 74 72 |)..{...r|eturn tr|
|00002040| 75 65 3b 0d 0a 7d 0d 0a | 0d 0a 2f 2f 20 45 6e 64 |ue;..}..|..// End|
|00002050| 20 41 49 20 49 6e 74 65 | 72 66 61 63 65 0d 0a 0d | AI Inte|rface...|
|00002060| 0a 0d 0a 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+