home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-06-11 | 4.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 42 43 63 6c 61 73 73 20 |........|BCclass |
|00000010| 57 61 72 6c 6f 72 64 20 | 65 78 74 65 6e 64 73 20 |Warlord |extends |
|00000020| 4d 6f 6e 73 74 65 72 3b | 0d 0a 0d 0a 76 61 72 20 |Monster;|....var |
|00000030| 62 6f 6f 6c 20 62 52 6f | 63 6b 65 74 44 69 72 3b |bool bRo|cketDir;|
|00000040| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 62 6f 6f |....func|tion boo|
|00000050| 6c 20 53 61 6d 65 53 70 | 65 63 69 65 73 41 73 28 |l SameSp|eciesAs(|
|00000060| 50 61 77 6e 20 50 29 0d | 0a 7b 0d 0a 09 72 65 74 |Pawn P).|.{...ret|
|00000070| 75 72 6e 20 28 20 28 4d | 6f 6e 73 74 65 72 28 50 |urn ( (M|onster(P|
|00000080| 29 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 28 50 |) != Non|e) && (P|
|00000090| 2e 49 73 41 28 27 53 6b | 61 61 72 6a 27 29 20 7c |.IsA('Sk|aarj') ||
|000000a0| 7c 20 50 2e 49 73 41 28 | 27 57 61 72 4c 6f 72 64 || P.IsA(|'WarLord|
|000000b0| 27 29 29 20 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |')) );..|}....fun|
|000000c0| 63 74 69 6f 6e 20 50 6f | 73 74 42 65 67 69 6e 50 |ction Po|stBeginP|
|000000d0| 6c 61 79 28 29 0d 0a 7b | 0d 0a 09 53 75 70 65 72 |lay()..{|...Super|
|000000e0| 2e 50 6f 73 74 42 65 67 | 69 6e 50 6c 61 79 28 29 |.PostBeg|inPlay()|
|000000f0| 3b 0d 0a 09 62 4d 65 6c | 65 65 46 69 67 68 74 65 |;...bMel|eeFighte|
|00000100| 72 20 3d 20 28 46 52 61 | 6e 64 28 29 20 3c 20 30 |r = (FRa|nd() < 0|
|00000110| 2e 35 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |.5);..}.|...funct|
|00000120| 69 6f 6e 20 53 74 65 70 | 28 29 0d 0a 7b 0d 0a 09 |ion Step|()..{...|
|00000130| 50 6c 61 79 53 6f 75 6e | 64 28 73 6f 75 6e 64 27 |PlaySoun|d(sound'|
|00000140| 73 74 65 70 31 74 27 2c | 20 53 4c 4f 54 5f 49 6e |step1t',| SLOT_In|
|00000150| 74 65 72 61 63 74 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |teract);|..}....f|
|00000160| 75 6e 63 74 69 6f 6e 20 | 46 6c 61 70 28 29 0d 0a |unction |Flap()..|
|00000170| 7b 0d 0a 09 50 6c 61 79 | 53 6f 75 6e 64 28 73 6f |{...Play|Sound(so|
|00000180| 75 6e 64 27 66 6c 79 31 | 57 4c 27 2c 20 53 4c 4f |und'fly1|WL', SLO|
|00000190| 54 5f 49 6e 74 65 72 61 | 63 74 29 3b 0d 0a 7d 0d |T_Intera|ct);..}.|
|000001a0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 53 65 74 4d |...funct|ion SetM|
|000001b0| 6f 76 65 6d 65 6e 74 50 | 68 79 73 69 63 73 28 29 |ovementP|hysics()|
|000001c0| 0d 0a 7b 0d 0a 09 53 65 | 74 50 68 79 73 69 63 73 |..{...Se|tPhysics|
|000001d0| 28 50 48 59 53 5f 46 6c | 79 69 6e 67 29 3b 0d 0a |(PHYS_Fl|ying);..|
|000001e0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 62 6f |}....fun|ction bo|
|000001f0| 6f 6c 20 44 6f 64 67 65 | 28 65 44 6f 75 62 6c 65 |ol Dodge|(eDouble|
|00000200| 43 6c 69 63 6b 44 69 72 | 20 44 6f 75 62 6c 65 43 |ClickDir| DoubleC|
|00000210| 6c 69 63 6b 4d 6f 76 65 | 29 0d 0a 7b 0d 0a 09 6c |lickMove|)..{...l|
|00000220| 6f 63 61 6c 20 76 65 63 | 74 6f 72 20 58 2c 59 2c |ocal vec|tor X,Y,|
|00000230| 5a 2c 64 75 63 6b 64 69 | 72 3b 0d 0a 0d 0a 20 20 |Z,duckdi|r;.... |
|00000240| 20 20 47 65 74 41 78 65 | 73 28 52 6f 74 61 74 69 | GetAxe|s(Rotati|
|00000250| 6f 6e 2c 58 2c 59 2c 5a | 29 3b 0d 0a 09 69 66 20 |on,X,Y,Z|);...if |
|00000260| 28 44 6f 75 62 6c 65 43 | 6c 69 63 6b 4d 6f 76 65 |(DoubleC|lickMove|
|00000270| 20 3d 3d 20 44 43 4c 49 | 43 4b 5f 46 6f 72 77 61 | == DCLI|CK_Forwa|
|00000280| 72 64 29 0d 0a 09 09 64 | 75 63 6b 64 69 72 20 3d |rd)....d|uckdir =|
|00000290| 20 58 3b 0d 0a 09 65 6c | 73 65 20 69 66 20 28 44 | X;...el|se if (D|
|000002a0| 6f 75 62 6c 65 43 6c 69 | 63 6b 4d 6f 76 65 20 3d |oubleCli|ckMove =|
|000002b0| 3d 20 44 43 4c 49 43 4b | 5f 42 61 63 6b 29 0d 0a |= DCLICK|_Back)..|
|000002c0| 09 09 64 75 63 6b 64 69 | 72 20 3d 20 2d 31 2a 58 |..duckdi|r = -1*X|
|000002d0| 3b 20 0d 0a 09 65 6c 73 | 65 20 69 66 20 28 44 6f |; ...els|e if (Do|
|000002e0| 75 62 6c 65 43 6c 69 63 | 6b 4d 6f 76 65 20 3d 3d |ubleClic|kMove ==|
|000002f0| 20 44 43 4c 49 43 4b 5f | 4c 65 66 74 29 0d 0a 09 | DCLICK_|Left)...|
|00000300| 09 64 75 63 6b 64 69 72 | 20 3d 20 59 3b 20 0d 0a |.duckdir| = Y; ..|
|00000310| 09 65 6c 73 65 20 69 66 | 20 28 44 6f 75 62 6c 65 |.else if| (Double|
|00000320| 43 6c 69 63 6b 4d 6f 76 | 65 20 3d 3d 20 44 43 4c |ClickMov|e == DCL|
|00000330| 49 43 4b 5f 52 69 67 68 | 74 29 0d 0a 09 09 64 75 |ICK_Righ|t)....du|
|00000340| 63 6b 64 69 72 20 3d 20 | 2d 31 2a 59 3b 20 0d 0a |ckdir = |-1*Y; ..|
|00000350| 0d 0a 09 53 65 74 50 68 | 79 73 69 63 73 28 50 48 |...SetPh|ysics(PH|
|00000360| 59 53 5f 46 6c 79 69 6e | 67 29 3b 0d 0a 09 69 66 |YS_Flyin|g);...if|
|00000370| 20 28 20 21 62 53 68 6f | 74 41 6e 69 6d 20 26 26 | ( !bSho|tAnim &&|
|00000380| 20 28 46 52 61 6e 64 28 | 29 20 3c 20 30 2e 33 29 | (FRand(|) < 0.3)|
|00000390| 20 29 0d 0a 09 7b 0d 0a | 09 09 62 53 68 6f 74 41 | )...{..|..bShotA|
|000003a0| 6e 69 6d 20 3d 20 74 72 | 75 65 3b 0d 0a 09 09 53 |nim = tr|ue;....S|
|000003b0| 65 74 41 6e 69 6d 41 63 | 74 69 6f 6e 28 27 46 44 |etAnimAc|tion('FD|
|000003c0| 6f 64 67 65 55 70 27 29 | 3b 0d 0a 09 7d 0d 0a 09 |odgeUp')|;...}...|
|000003d0| 43 6f 6e 74 72 6f 6c 6c | 65 72 2e 44 65 73 74 69 |Controll|er.Desti|
|000003e0| 6e 61 74 69 6f 6e 20 3d | 20 4c 6f 63 61 74 69 6f |nation =| Locatio|
|000003f0| 6e 20 2b 20 32 30 30 20 | 2a 20 64 75 63 6b 44 69 |n + 200 |* duckDi|
|00000400| 72 3b 0d 0a 09 56 65 6c | 6f 63 69 74 79 20 3d 20 |r;...Vel|ocity = |
|00000410| 41 69 72 53 70 65 65 64 | 20 2a 20 64 75 63 6b 44 |AirSpeed| * duckD|
|00000420| 69 72 3b 0d 0a 09 43 6f | 6e 74 72 6f 6c 6c 65 72 |ir;...Co|ntroller|
|00000430| 2e 47 6f 74 6f 53 74 61 | 74 65 28 27 54 61 63 74 |.GotoSta|te('Tact|
|00000440| 69 63 61 6c 4d 6f 76 65 | 27 2c 20 27 44 6f 4d 6f |icalMove|', 'DoMo|
|00000450| 76 65 27 29 3b 0d 0a 09 | 72 65 74 75 72 6e 20 74 |ve');...|return t|
|00000460| 72 75 65 3b 0d 0a 7d 09 | 0d 0a 0d 0a 65 76 65 6e |rue;..}.|....even|
|00000470| 74 20 4c 61 6e 64 65 64 | 28 76 65 63 74 6f 72 20 |t Landed|(vector |
|00000480| 48 69 74 4e 6f 72 6d 61 | 6c 29 0d 0a 7b 0d 0a 09 |HitNorma|l)..{...|
|00000490| 53 65 74 50 68 79 73 69 | 63 73 28 50 48 59 53 5f |SetPhysi|cs(PHYS_|
|000004a0| 57 61 6c 6b 69 6e 67 29 | 3b 0d 0a 09 53 75 70 65 |Walking)|;...Supe|
|000004b0| 72 2e 4c 61 6e 64 65 64 | 28 48 69 74 4e 6f 72 6d |r.Landed|(HitNorm|
|000004c0| 61 6c 29 3b 0d 0a 7d 0d | 0a 0d 0a 65 76 65 6e 74 |al);..}.|...event|
|000004d0| 20 48 69 74 57 61 6c 6c | 28 20 76 65 63 74 6f 72 | HitWall|( vector|
|000004e0| 20 48 69 74 4e 6f 72 6d | 61 6c 2c 20 61 63 74 6f | HitNorm|al, acto|
|000004f0| 72 20 48 69 74 57 61 6c | 6c 20 29 0d 0a 7b 0d 0a |r HitWal|l )..{..|
|00000500| 09 69 66 20 28 20 48 69 | 74 4e 6f 72 6d 61 6c 2e |.if ( Hi|tNormal.|
|00000510| 5a 20 3e 20 4d 49 4e 46 | 4c 4f 4f 52 5a 20 29 0d |Z > MINF|LOORZ ).|
|00000520| 0a 09 09 53 65 74 50 68 | 79 73 69 63 73 28 50 48 |...SetPh|ysics(PH|
|00000530| 59 53 5f 57 61 6c 6b 69 | 6e 67 29 3b 0d 0a 09 53 |YS_Walki|ng);...S|
|00000540| 75 70 65 72 2e 48 69 74 | 57 61 6c 6c 28 48 69 74 |uper.Hit|Wall(Hit|
|00000550| 4e 6f 72 6d 61 6c 2c 48 | 69 74 57 61 6c 6c 29 3b |Normal,H|itWall);|
|00000560| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6e 67 75 6c 61 72 20 |..}....s|ingular |
|00000570| 66 75 6e 63 74 69 6f 6e | 20 46 61 6c 6c 69 6e 67 |function| Falling|
|00000580| 28 29 0d 0a 7b 0d 0a 09 | 53 65 74 50 68 79 73 69 |()..{...|SetPhysi|
|00000590| 63 73 28 50 48 59 53 5f | 46 6c 79 69 6e 67 29 3b |cs(PHYS_|Flying);|
|000005a0| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|000005b0| 20 66 75 6e 63 74 69 6f | 6e 20 50 6c 61 79 44 69 | functio|n PlayDi|
|000005c0| 72 65 63 74 69 6f 6e 61 | 6c 44 65 61 74 68 28 56 |rectiona|lDeath(V|
|000005d0| 65 63 74 6f 72 20 48 69 | 74 4c 6f 63 29 0d 0a 7b |ector Hi|tLoc)..{|
|000005e0| 0d 0a 09 69 66 20 28 20 | 50 68 79 73 69 63 73 20 |...if ( |Physics |
|000005f0| 3d 3d 20 50 48 59 53 5f | 46 6c 79 69 6e 67 20 29 |== PHYS_|Flying )|
|00000600| 0d 0a 09 09 50 6c 61 79 | 41 6e 69 6d 28 27 44 65 |....Play|Anim('De|
|00000610| 61 64 32 41 27 29 3b 0d | 0a 09 65 6c 73 65 0d 0a |ad2A');.|..else..|
|00000620| 09 09 50 6c 61 79 41 6e | 69 6d 28 27 44 65 61 64 |..PlayAn|im('Dead|
|00000630| 31 27 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |1');..}.|...funct|
|00000640| 69 6f 6e 20 50 6c 61 79 | 54 61 6b 65 48 69 74 28 |ion Play|TakeHit(|
|00000650| 76 65 63 74 6f 72 20 48 | 69 74 4c 6f 63 61 74 69 |vector H|itLocati|
|00000660| 6f 6e 2c 20 69 6e 74 20 | 44 61 6d 61 67 65 2c 20 |on, int |Damage, |
|00000670| 63 6c 61 73 73 3c 44 61 | 6d 61 67 65 54 79 70 65 |class<Da|mageType|
|00000680| 3e 20 44 61 6d 61 67 65 | 54 79 70 65 29 0d 0a 7b |> Damage|Type)..{|
|00000690| 0d 0a 09 69 66 20 28 20 | 44 61 6d 61 67 65 20 3e |...if ( |Damage >|
|000006a0| 20 35 30 20 29 0d 0a 09 | 09 53 75 70 65 72 2e 50 | 50 )...|.Super.P|
|000006b0| 6c 61 79 54 61 6b 65 48 | 69 74 28 48 69 74 4c 6f |layTakeH|it(HitLo|
|000006c0| 63 61 74 69 6f 6e 2c 44 | 61 6d 61 67 65 2c 44 61 |cation,D|amage,Da|
|000006d0| 6d 61 67 65 54 79 70 65 | 29 3b 0d 0a 7d 0d 0a 0d |mageType|);..}...|
|000006e0| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|000006f0| 69 6f 6e 20 50 6c 61 79 | 44 69 72 65 63 74 69 6f |ion Play|Directio|
|00000700| 6e 61 6c 48 69 74 28 56 | 65 63 74 6f 72 20 48 69 |nalHit(V|ector Hi|
|00000710| 74 4c 6f 63 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |tLoc)..{|...local|
|00000720| 20 6e 61 6d 65 20 41 6e | 69 6d 3b 0d 0a 09 6c 6f | name An|im;...lo|
|00000730| 63 61 6c 20 66 6c 6f 61 | 74 20 66 72 61 6d 65 2c |cal floa|t frame,|
|00000740| 72 61 74 65 3b 0d 0a 0d | 0a 09 69 66 20 28 20 62 |rate;...|..if ( b|
|00000750| 53 68 6f 74 41 6e 69 6d | 20 29 0d 0a 09 09 72 65 |ShotAnim| )....re|
|00000760| 74 75 72 6e 3b 0d 0a 09 | 09 0d 0a 09 47 65 74 41 |turn;...|....GetA|
|00000770| 6e 69 6d 50 61 72 61 6d | 73 28 30 2c 20 41 6e 69 |nimParam|s(0, Ani|
|00000780| 6d 2c 66 72 61 6d 65 2c | 72 61 74 65 29 3b 0d 0a |m,frame,|rate);..|
|00000790| 0d 0a 09 69 66 20 28 20 | 41 6e 69 6d 20 3d 3d 20 |...if ( |Anim == |
|000007a0| 27 46 44 6f 64 67 65 55 | 70 27 20 29 0d 0a 09 09 |'FDodgeU|p' )....|
|000007b0| 72 65 74 75 72 6e 3b 0d | 0a 09 54 77 65 65 6e 41 |return;.|..TweenA|
|000007c0| 6e 69 6d 28 27 54 61 6b | 65 48 69 74 27 2c 20 30 |nim('Tak|eHit', 0|
|000007d0| 2e 30 35 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |.05);..}|....func|
|000007e0| 74 69 6f 6e 20 50 6c 61 | 79 56 69 63 74 6f 72 79 |tion Pla|yVictory|
|000007f0| 28 29 0d 0a 7b 0d 0a 09 | 53 65 74 50 68 79 73 69 |()..{...|SetPhysi|
|00000800| 63 73 28 50 48 59 53 5f | 46 61 6c 6c 69 6e 67 29 |cs(PHYS_|Falling)|
|00000810| 3b 0d 0a 09 43 6f 6e 74 | 72 6f 6c 6c 65 72 2e 62 |;...Cont|roller.b|
|00000820| 50 72 65 70 61 72 69 6e | 67 4d 6f 76 65 20 3d 20 |Preparin|gMove = |
|00000830| 74 72 75 65 3b 0d 0a 09 | 41 63 63 65 6c 65 72 61 |true;...|Accelera|
|00000840| 74 69 6f 6e 20 3d 20 76 | 65 63 74 28 30 2c 30 2c |tion = v|ect(0,0,|
|00000850| 30 29 3b 0d 0a 09 62 53 | 68 6f 74 41 6e 69 6d 20 |0);...bS|hotAnim |
|00000860| 3d 20 74 72 75 65 3b 0d | 0a 20 20 20 20 50 6c 61 |= true;.|. Pla|
|00000870| 79 53 6f 75 6e 64 28 73 | 6f 75 6e 64 27 6c 61 75 |ySound(s|ound'lau|
|00000880| 67 68 31 57 4c 27 2c 53 | 4c 4f 54 5f 49 6e 74 65 |gh1WL',S|LOT_Inte|
|00000890| 72 61 63 74 29 3b 09 0d | 0a 09 53 65 74 41 6e 69 |ract);..|..SetAni|
|000008a0| 6d 41 63 74 69 6f 6e 28 | 27 4c 61 75 67 68 27 29 |mAction(|'Laugh')|
|000008b0| 3b 0d 0a 09 43 6f 6e 74 | 72 6f 6c 6c 65 72 2e 44 |;...Cont|roller.D|
|000008c0| 65 73 74 69 6e 61 74 69 | 6f 6e 20 3d 20 4c 6f 63 |estinati|on = Loc|
|000008d0| 61 74 69 6f 6e 3b 0d 0a | 09 43 6f 6e 74 72 6f 6c |ation;..|.Control|
|000008e0| 6c 65 72 2e 47 6f 74 6f | 53 74 61 74 65 28 27 54 |ler.Goto|State('T|
|000008f0| 61 63 74 69 63 61 6c 4d | 6f 76 65 27 2c 27 57 61 |acticalM|ove','Wa|
|00000900| 69 74 46 6f 72 41 6e 69 | 6d 27 29 3b 0d 0a 7d 0d |itForAni|m');..}.|
|00000910| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 52 61 6e 67 |...funct|ion Rang|
|00000920| 65 64 41 74 74 61 63 6b | 28 41 63 74 6f 72 20 41 |edAttack|(Actor A|
|00000930| 29 0d 0a 7b 0d 0a 09 69 | 66 20 28 20 62 53 68 6f |)..{...i|f ( bSho|
|00000940| 74 41 6e 69 6d 20 29 0d | 0a 09 09 72 65 74 75 72 |tAnim ).|...retur|
|00000950| 6e 3b 0d 0a 09 0d 0a 09 | 69 66 20 28 20 50 68 79 |n;......|if ( Phy|
|00000960| 73 69 63 73 20 3d 3d 20 | 50 48 59 53 5f 46 6c 79 |sics == |PHYS_Fly|
|00000970| 69 6e 67 20 29 0d 0a 09 | 09 53 65 74 41 6e 69 6d |ing )...|.SetAnim|
|00000980| 41 63 74 69 6f 6e 28 27 | 46 6c 79 46 69 72 65 27 |Action('|FlyFire'|
|00000990| 29 3b 0d 0a 09 65 6c 73 | 65 20 69 66 20 28 20 56 |);...els|e if ( V|
|000009a0| 53 69 7a 65 28 41 2e 4c | 6f 63 61 74 69 6f 6e 20 |Size(A.L|ocation |
|000009b0| 2d 20 4c 6f 63 61 74 69 | 6f 6e 29 20 3c 20 4d 65 |- Locati|on) < Me|
|000009c0| 6c 65 65 52 61 6e 67 65 | 20 2b 20 43 6f 6c 6c 69 |leeRange| + Colli|
|000009d0| 73 69 6f 6e 52 61 64 69 | 75 73 20 2b 20 41 2e 43 |sionRadi|us + A.C|
|000009e0| 6f 6c 6c 69 73 69 6f 6e | 52 61 64 69 75 73 20 29 |ollision|Radius )|
|000009f0| 0d 0a 09 7b 0d 0a 09 09 | 43 6f 6e 74 72 6f 6c 6c |...{....|Controll|
|00000a00| 65 72 2e 62 50 72 65 70 | 61 72 69 6e 67 4d 6f 76 |er.bPrep|aringMov|
|00000a10| 65 20 3d 20 74 72 75 65 | 3b 0d 0a 09 09 41 63 63 |e = true|;....Acc|
|00000a20| 65 6c 65 72 61 74 69 6f | 6e 20 3d 20 76 65 63 74 |eleratio|n = vect|
|00000a30| 28 30 2c 30 2c 30 29 3b | 0d 0a 09 09 53 65 74 41 |(0,0,0);|....SetA|
|00000a40| 6e 69 6d 41 63 74 69 6f | 6e 28 27 53 74 72 69 6b |nimActio|n('Strik|
|00000a50| 65 27 29 3b 0d 0a 09 09 | 69 66 20 28 20 4d 65 6c |e');....|if ( Mel|
|00000a60| 65 65 44 61 6d 61 67 65 | 54 61 72 67 65 74 28 34 |eeDamage|Target(4|
|00000a70| 35 2c 20 28 34 35 30 30 | 30 2e 30 20 2a 20 4e 6f |5, (4500|0.0 * No|
|00000a80| 72 6d 61 6c 28 43 6f 6e | 74 72 6f 6c 6c 65 72 2e |rmal(Con|troller.|
|00000a90| 54 61 72 67 65 74 2e 4c | 6f 63 61 74 69 6f 6e 20 |Target.L|ocation |
|00000aa0| 2d 20 4c 6f 63 61 74 69 | 6f 6e 29 29 29 20 29 0d |- Locati|on))) ).|
|00000ab0| 0a 09 09 09 50 6c 61 79 | 53 6f 75 6e 64 28 73 6f |....Play|Sound(so|
|00000ac0| 75 6e 64 27 54 68 72 65 | 61 74 31 57 4c 27 2c 20 |und'Thre|at1WL', |
|00000ad0| 53 4c 4f 54 5f 54 61 6c | 6b 29 3b 20 0d 0a 09 7d |SLOT_Tal|k); ...}|
|00000ae0| 0d 0a 09 65 6c 73 65 20 | 69 66 20 28 20 21 43 6f |...else |if ( !Co|
|00000af0| 6e 74 72 6f 6c 6c 65 72 | 2e 62 50 72 65 70 61 72 |ntroller|.bPrepar|
|00000b00| 69 6e 67 4d 6f 76 65 20 | 26 26 20 43 6f 6e 74 72 |ingMove |&& Contr|
|00000b10| 6f 6c 6c 65 72 2e 49 6e | 4c 61 74 65 6e 74 45 78 |oller.In|LatentEx|
|00000b20| 65 63 75 74 69 6f 6e 28 | 43 6f 6e 74 72 6f 6c 6c |ecution(|Controll|
|00000b30| 65 72 2e 4c 41 54 45 4e | 54 5f 4d 4f 56 45 54 4f |er.LATEN|T_MOVETO|
|00000b40| 57 41 52 44 29 20 29 0d | 0a 09 7b 0d 0a 09 09 53 |WARD) ).|..{....S|
|00000b50| 65 74 50 68 79 73 69 63 | 73 28 50 48 59 53 5f 46 |etPhysic|s(PHYS_F|
|00000b60| 6c 79 69 6e 67 29 3b 0d | 0a 09 09 53 65 74 41 6e |lying);.|...SetAn|
|00000b70| 69 6d 41 63 74 69 6f 6e | 28 27 46 6c 79 46 69 72 |imAction|('FlyFir|
|00000b80| 65 27 29 3b 0d 0a 09 7d | 0d 0a 09 65 6c 73 65 0d |e');...}|...else.|
|00000b90| 0a 09 7b 0d 0a 09 09 53 | 65 74 41 6e 69 6d 41 63 |..{....S|etAnimAc|
|00000ba0| 74 69 6f 6e 28 27 46 69 | 72 65 27 29 3b 0d 0a 09 |tion('Fi|re');...|
|00000bb0| 09 43 6f 6e 74 72 6f 6c | 6c 65 72 2e 62 50 72 65 |.Control|ler.bPre|
|00000bc0| 70 61 72 69 6e 67 4d 6f | 76 65 20 3d 20 74 72 75 |paringMo|ve = tru|
|00000bd0| 65 3b 0d 0a 09 09 41 63 | 63 65 6c 65 72 61 74 69 |e;....Ac|celerati|
|00000be0| 6f 6e 20 3d 20 76 65 63 | 74 28 30 2c 30 2c 30 29 |on = vec|t(0,0,0)|
|00000bf0| 3b 0d 0a 09 7d 0d 0a 09 | 62 53 68 6f 74 41 6e 69 |;...}...|bShotAni|
|00000c00| 6d 20 3d 20 74 72 75 65 | 3b 0d 0a 7d 0d 0a 0d 0a |m = true|;..}....|
|00000c10| 66 75 6e 63 74 69 6f 6e | 20 76 65 63 74 6f 72 20 |function| vector |
|00000c20| 47 65 74 46 69 72 65 53 | 74 61 72 74 28 76 65 63 |GetFireS|tart(vec|
|00000c30| 74 6f 72 20 58 2c 20 76 | 65 63 74 6f 72 20 59 2c |tor X, v|ector Y,|
|00000c40| 20 76 65 63 74 6f 72 20 | 5a 29 0d 0a 7b 0d 0a 20 | vector |Z)..{.. |
|00000c50| 20 20 20 72 65 74 75 72 | 6e 20 4c 6f 63 61 74 69 | retur|n Locati|
|00000c60| 6f 6e 20 2b 20 30 2e 35 | 20 2a 20 43 6f 6c 6c 69 |on + 0.5| * Colli|
|00000c70| 73 69 6f 6e 52 61 64 69 | 75 73 20 2a 20 28 58 2b |sionRadi|us * (X+|
|00000c80| 5a 2d 59 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |Z-Y);..}|....func|
|00000c90| 74 69 6f 6e 20 46 69 72 | 65 50 72 6f 6a 65 63 74 |tion Fir|eProject|
|00000ca0| 69 6c 65 28 29 0d 0a 7b | 09 0d 0a 09 6c 6f 63 61 |ile()..{|....loca|
|00000cb0| 6c 20 76 65 63 74 6f 72 | 20 46 69 72 65 53 74 61 |l vector| FireSta|
|00000cc0| 72 74 2c 58 2c 59 2c 5a | 3b 0d 0a 09 6c 6f 63 61 |rt,X,Y,Z|;...loca|
|00000cd0| 6c 20 72 6f 74 61 74 6f | 72 20 50 72 6f 6a 52 6f |l rotato|r ProjRo|
|00000ce0| 74 3b 0d 0a 09 6c 6f 63 | 61 6c 20 53 65 65 6b 69 |t;...loc|al Seeki|
|00000cf0| 6e 67 52 6f 63 6b 65 74 | 50 72 6f 6a 20 53 3b 0d |ngRocket|Proj S;.|
|00000d00| 0a 09 69 66 20 28 20 43 | 6f 6e 74 72 6f 6c 6c 65 |..if ( C|ontrolle|
|00000d10| 72 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 7b 0d |r != Non|e )...{.|
|00000d20| 0a 09 09 47 65 74 41 78 | 65 73 28 52 6f 74 61 74 |...GetAx|es(Rotat|
|00000d30| 69 6f 6e 2c 58 2c 59 2c | 5a 29 3b 0d 0a 09 09 46 |ion,X,Y,|Z);....F|
|00000d40| 69 72 65 53 74 61 72 74 | 20 3d 20 47 65 74 46 69 |ireStart| = GetFi|
|00000d50| 72 65 53 74 61 72 74 28 | 58 2c 59 2c 5a 29 3b 0d |reStart(|X,Y,Z);.|
|00000d60| 0a 09 09 69 66 20 28 20 | 21 53 61 76 65 64 46 69 |...if ( |!SavedFi|
|00000d70| 72 65 50 72 6f 70 65 72 | 74 69 65 73 2e 62 49 6e |reProper|ties.bIn|
|00000d80| 69 74 69 61 6c 69 7a 65 | 64 20 29 0d 0a 09 09 7b |itialize|d )....{|
|00000d90| 0d 0a 09 09 09 53 61 76 | 65 64 46 69 72 65 50 72 |.....Sav|edFirePr|
|00000da0| 6f 70 65 72 74 69 65 73 | 2e 41 6d 6d 6f 43 6c 61 |operties|.AmmoCla|
|00000db0| 73 73 20 3d 20 4d 79 41 | 6d 6d 6f 2e 43 6c 61 73 |ss = MyA|mmo.Clas|
|00000dc0| 73 3b 0d 0a 09 09 09 53 | 61 76 65 64 46 69 72 65 |s;.....S|avedFire|
|00000dd0| 50 72 6f 70 65 72 74 69 | 65 73 2e 50 72 6f 6a 65 |Properti|es.Proje|
|00000de0| 63 74 69 6c 65 43 6c 61 | 73 73 20 3d 20 4d 79 41 |ctileCla|ss = MyA|
|00000df0| 6d 6d 6f 2e 50 72 6f 6a | 65 63 74 69 6c 65 43 6c |mmo.Proj|ectileCl|
|00000e00| 61 73 73 3b 0d 0a 09 09 | 09 53 61 76 65 64 46 69 |ass;....|.SavedFi|
|00000e10| 72 65 50 72 6f 70 65 72 | 74 69 65 73 2e 57 61 72 |reProper|ties.War|
|00000e20| 6e 54 61 72 67 65 74 50 | 63 74 20 3d 20 4d 79 41 |nTargetP|ct = MyA|
|00000e30| 6d 6d 6f 2e 57 61 72 6e | 54 61 72 67 65 74 50 63 |mmo.Warn|TargetPc|
|00000e40| 74 3b 0d 0a 09 09 09 53 | 61 76 65 64 46 69 72 65 |t;.....S|avedFire|
|00000e50| 50 72 6f 70 65 72 74 69 | 65 73 2e 4d 61 78 52 61 |Properti|es.MaxRa|
|00000e60| 6e 67 65 20 3d 20 4d 79 | 41 6d 6d 6f 2e 4d 61 78 |nge = My|Ammo.Max|
|00000e70| 52 61 6e 67 65 3b 0d 0a | 09 09 09 53 61 76 65 64 |Range;..|...Saved|
|00000e80| 46 69 72 65 50 72 6f 70 | 65 72 74 69 65 73 2e 62 |FireProp|erties.b|
|00000e90| 54 6f 73 73 65 64 20 3d | 20 4d 79 41 6d 6d 6f 2e |Tossed =| MyAmmo.|
|00000ea0| 62 54 6f 73 73 65 64 3b | 0d 0a 09 09 09 53 61 76 |bTossed;|.....Sav|
|00000eb0| 65 64 46 69 72 65 50 72 | 6f 70 65 72 74 69 65 73 |edFirePr|operties|
|00000ec0| 2e 62 54 72 79 53 70 6c | 61 73 68 20 3d 20 4d 79 |.bTrySpl|ash = My|
|00000ed0| 41 6d 6d 6f 2e 62 54 72 | 79 53 70 6c 61 73 68 3b |Ammo.bTr|ySplash;|
|00000ee0| 0d 0a 09 09 09 53 61 76 | 65 64 46 69 72 65 50 72 |.....Sav|edFirePr|
|00000ef0| 6f 70 65 72 74 69 65 73 | 2e 62 4c 65 61 64 54 61 |operties|.bLeadTa|
|00000f00| 72 67 65 74 20 3d 20 4d | 79 41 6d 6d 6f 2e 62 4c |rget = M|yAmmo.bL|
|00000f10| 65 61 64 54 61 72 67 65 | 74 3b 0d 0a 09 09 09 53 |eadTarge|t;.....S|
|00000f20| 61 76 65 64 46 69 72 65 | 50 72 6f 70 65 72 74 69 |avedFire|Properti|
|00000f30| 65 73 2e 62 49 6e 73 74 | 61 6e 74 48 69 74 20 3d |es.bInst|antHit =|
|00000f40| 20 4d 79 41 6d 6d 6f 2e | 62 49 6e 73 74 61 6e 74 | MyAmmo.|bInstant|
|00000f50| 48 69 74 3b 0d 0a 09 09 | 09 53 61 76 65 64 46 69 |Hit;....|.SavedFi|
|00000f60| 72 65 50 72 6f 70 65 72 | 74 69 65 73 2e 62 49 6e |reProper|ties.bIn|
|00000f70| 69 74 69 61 6c 69 7a 65 | 64 20 3d 20 74 72 75 65 |itialize|d = true|
|00000f80| 3b 0d 0a 09 09 7d 0d 0a | 09 09 50 72 6f 6a 52 6f |;....}..|..ProjRo|
|00000f90| 74 20 3d 20 43 6f 6e 74 | 72 6f 6c 6c 65 72 2e 41 |t = Cont|roller.A|
|00000fa0| 64 6a 75 73 74 41 69 6d | 28 53 61 76 65 64 46 69 |djustAim|(SavedFi|
|00000fb0| 72 65 50 72 6f 70 65 72 | 74 69 65 73 2c 46 69 72 |reProper|ties,Fir|
|00000fc0| 65 53 74 61 72 74 2c 36 | 30 30 29 3b 0d 0a 09 09 |eStart,6|00);....|
|00000fd0| 69 66 20 28 20 62 52 6f | 63 6b 65 74 44 69 72 20 |if ( bRo|cketDir |
|00000fe0| 29 0d 0a 09 09 09 50 72 | 6f 6a 52 6f 74 2e 59 61 |).....Pr|ojRot.Ya|
|00000ff0| 77 20 2b 3d 20 33 30 37 | 32 3b 20 0d 0a 09 09 65 |w += 307|2; ....e|
|00001000| 6c 73 65 0d 0a 09 09 09 | 50 72 6f 6a 52 6f 74 2e |lse.....|ProjRot.|
|00001010| 59 61 77 20 2d 3d 20 33 | 30 37 32 3b 20 0d 0a 09 |Yaw -= 3|072; ...|
|00001020| 09 62 52 6f 63 6b 65 74 | 44 69 72 20 3d 20 21 62 |.bRocket|Dir = !b|
|00001030| 52 6f 63 6b 65 74 44 69 | 72 3b 0d 0a 09 09 53 20 |RocketDi|r;....S |
|00001040| 3d 20 53 70 61 77 6e 28 | 63 6c 61 73 73 27 57 61 |= Spawn(|class'Wa|
|00001050| 72 6c 6f 72 64 52 6f 63 | 6b 65 74 27 2c 2c 2c 46 |rlordRoc|ket',,,F|
|00001060| 69 72 65 53 74 61 72 74 | 2c 50 72 6f 6a 52 6f 74 |ireStart|,ProjRot|
|00001070| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 53 2e 53 65 |);.. | S.Se|
|00001080| 65 6b 69 6e 67 20 3d 20 | 43 6f 6e 74 72 6f 6c 6c |eking = |Controll|
|00001090| 65 72 2e 45 6e 65 6d 79 | 3b 0d 0a 09 09 50 6c 61 |er.Enemy|;....Pla|
|000010a0| 79 53 6f 75 6e 64 28 46 | 69 72 65 53 6f 75 6e 64 |ySound(F|ireSound|
|000010b0| 2c 53 4c 4f 54 5f 49 6e | 74 65 72 61 63 74 29 3b |,SLOT_In|teract);|
|000010c0| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 00 |...}..}.|.... |
+--------+-------------------------+-------------------------+--------+--------+