home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 13.1 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 | 52 d1 01 2f 2f 3d 3d 3d |........|R..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 78 |========|==..// x|
|00000060| 42 6f 6d 62 0d 0a 2f 2f | 20 54 68 69 73 20 69 73 |Bomb..//| This is|
|00000070| 20 74 68 65 20 62 6f 6d | 62 2e 20 20 53 6f 6d 65 | the bom|b. Some|
|00000080| 6f 6e 65 20 73 65 74 20 | 75 73 20 75 70 20 74 68 |one set |us up th|
|00000090| 65 20 62 6f 6d 62 2e 0d | 0a 2f 2f 3d 3d 3d 3d 3d |e bomb..|.//=====|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 0d 0a 63 6c 61 73 73 20 |========|..class |
|000000f0| 78 42 6f 6d 62 46 6c 61 | 67 20 65 78 74 65 6e 64 |xBombFla|g extend|
|00000100| 73 20 47 61 6d 65 4f 62 | 6a 65 63 74 3b 0d 0a 0d |s GameOb|ject;...|
|00000110| 0a 76 61 72 28 29 20 53 | 74 72 69 6e 67 20 20 20 |.var() S|tring |
|00000120| 20 20 20 20 20 42 6f 6d | 62 4c 61 75 6e 63 68 65 | Bom|bLaunche|
|00000130| 72 43 6c 61 73 73 4e 61 | 6d 65 3b 0d 0a 76 61 72 |rClassNa|me;..var|
|00000140| 28 29 20 63 6c 61 73 73 | 3c 57 65 61 70 6f 6e 3e |() class|<Weapon>|
|00000150| 20 50 72 65 76 57 65 61 | 70 6f 6e 43 6c 61 73 73 | PrevWea|ponClass|
|00000160| 3b 0d 0a 76 61 72 28 29 | 20 50 61 77 6e 20 20 20 |;..var()| Pawn |
|00000170| 20 20 20 20 20 20 20 50 | 61 73 73 54 61 72 67 65 | P|assTarge|
|00000180| 74 3b 0d 0a 76 61 72 28 | 29 20 66 6c 6f 61 74 20 |t;..var(|) float |
|00000190| 20 20 20 20 20 20 20 20 | 54 68 72 6f 77 53 70 65 | |ThrowSpe|
|000001a0| 65 64 3b 0d 0a 76 61 72 | 28 29 20 66 6c 6f 61 74 |ed;..var|() float|
|000001b0| 20 20 20 20 20 20 20 20 | 20 45 6c 61 73 74 69 63 | | Elastic|
|000001c0| 69 74 79 3b 0d 0a 76 61 | 72 28 29 20 73 6f 75 6e |ity;..va|r() soun|
|000001d0| 64 20 20 20 20 20 20 20 | 20 20 49 6d 70 61 63 74 |d | Impact|
|000001e0| 53 6f 75 6e 64 3b 0d 0a | 76 61 72 28 29 20 66 6c |Sound;..|var() fl|
|000001f0| 6f 61 74 20 20 20 20 20 | 20 20 20 20 54 68 72 6f |oat | Thro|
|00000200| 77 65 72 54 6f 75 63 68 | 44 65 6c 61 79 3b 0d 0a |werTouch|Delay;..|
|00000210| 76 61 72 28 29 20 66 6c | 6f 61 74 20 20 20 20 20 |var() fl|oat |
|00000220| 20 20 20 20 54 68 72 6f | 77 65 72 54 69 6d 65 3b | Thro|werTime;|
|00000230| 0d 0a 76 61 72 28 29 20 | 76 65 63 74 6f 72 20 20 |..var() |vector |
|00000240| 20 20 20 20 20 20 49 6e | 69 74 69 61 6c 44 69 72 | In|itialDir|
|00000250| 3b 0d 0a 76 61 72 28 29 | 20 66 6c 6f 61 74 20 20 |;..var()| float |
|00000260| 20 20 20 20 20 20 20 53 | 65 65 6b 49 6e 74 65 72 | S|eekInter|
|00000270| 76 61 6c 3b 0d 0a 76 61 | 72 28 29 20 74 72 61 6e |val;..va|r() tran|
|00000280| 73 69 65 6e 74 20 66 6c | 6f 61 74 20 20 20 20 20 |sient fl|oat |
|00000290| 20 20 20 20 53 65 65 6b | 41 63 63 75 6d 3b 0d 0a | Seek|Accum;..|
|000002a0| 76 61 72 20 6d 61 74 65 | 72 69 61 6c 20 54 65 61 |var mate|rial Tea|
|000002b0| 6d 53 68 61 64 65 72 5b | 32 5d 3b 0d 0a 76 61 72 |mShader[|2];..var|
|000002c0| 20 62 79 74 65 20 54 65 | 61 6d 48 75 65 5b 32 5d | byte Te|amHue[2]|
|000002d0| 3b 0d 0a 0d 0a 76 61 72 | 20 62 6f 6f 6c 09 62 54 |;....var| bool.bT|
|000002e0| 68 72 6f 77 6e 42 6f 6d | 62 3b 0d 0a 76 61 72 20 |hrownBom|b;..var |
|000002f0| 62 6f 6f 6c 09 62 42 61 | 6c 6c 44 72 61 69 6e 73 |bool.bBa|llDrains|
|00000300| 54 72 61 6e 73 6c 6f 63 | 3b 0d 0a 0d 0a 76 61 72 |Transloc|;....var|
|00000310| 20 6d 61 74 65 72 69 61 | 6c 20 53 65 63 6f 6e 64 | materia|l Second|
|00000320| 52 65 70 53 6b 69 6e 3b | 0d 0a 76 61 72 20 78 45 |RepSkin;|..var xE|
|00000330| 6d 69 74 74 65 72 20 54 | 6f 73 73 54 72 61 69 6c |mitter T|ossTrail|
|00000340| 3b 0d 0a 23 65 78 65 63 | 20 4f 42 4a 20 4c 4f 41 |;..#exec| OBJ LOA|
|00000350| 44 20 46 49 4c 45 3d 58 | 47 61 6d 65 53 68 61 64 |D FILE=X|GameShad|
|00000360| 65 72 73 2e 75 74 78 0d | 0a 0d 0a 0d 0a 72 65 70 |ers.utx.|.....rep|
|00000370| 6c 69 63 61 74 69 6f 6e | 0d 0a 7b 0d 0a 20 20 20 |lication|..{.. |
|00000380| 20 72 65 6c 69 61 62 6c | 65 20 69 66 20 28 52 6f | reliabl|e if (Ro|
|00000390| 6c 65 20 3d 3d 20 52 4f | 4c 45 5f 41 75 74 68 6f |le == RO|LE_Autho|
|000003a0| 72 69 74 79 29 0d 0a 20 | 20 20 20 20 20 20 20 53 |rity).. | S|
|000003b0| 65 63 6f 6e 64 52 65 70 | 53 6b 69 6e 2c 20 62 42 |econdRep|Skin, bB|
|000003c0| 61 6c 6c 44 72 61 69 6e | 73 54 72 61 6e 73 6c 6f |allDrain|sTranslo|
|000003d0| 63 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |c;..}...|.functio|
|000003e0| 6e 20 44 65 73 74 72 6f | 79 65 64 28 29 0d 0a 7b |n Destro|yed()..{|
|000003f0| 0d 0a 09 69 66 20 28 20 | 54 6f 73 73 54 72 61 69 |...if ( |TossTrai|
|00000400| 6c 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 54 |l != Non|e )....T|
|00000410| 6f 73 73 54 72 61 69 6c | 2e 44 65 73 74 72 6f 79 |ossTrail|.Destroy|
|00000420| 28 29 3b 0d 0a 0d 0a 09 | 53 75 70 65 72 2e 44 65 |();.....|Super.De|
|00000430| 73 74 72 6f 79 65 64 28 | 29 3b 0d 0a 7d 0d 0a 0d |stroyed(|);..}...|
|00000440| 0a 73 69 6d 75 6c 61 74 | 65 64 20 65 76 65 6e 74 |.simulat|ed event|
|00000450| 20 50 6f 73 74 4e 65 74 | 52 65 63 65 69 76 65 28 | PostNet|Receive(|
|00000460| 29 0d 0a 7b 0d 0a 09 53 | 6b 69 6e 73 5b 32 5d 20 |)..{...S|kins[2] |
|00000470| 3d 20 53 65 63 6f 6e 64 | 52 65 70 53 6b 69 6e 3b |= Second|RepSkin;|
|00000480| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000490| 43 6c 65 61 72 48 6f 6c | 64 65 72 28 29 0d 0a 7b |ClearHol|der()..{|
|000004a0| 0d 0a 20 20 20 20 69 66 | 20 28 48 6f 6c 64 65 72 |.. if| (Holder|
|000004b0| 20 3d 3d 20 4e 6f 6e 65 | 29 0d 0a 20 20 20 20 20 | == None|).. |
|000004c0| 20 20 20 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 69 | retur|n;.....i|
|000004d0| 66 20 28 20 48 6f 6c 64 | 65 72 2e 50 6c 61 79 65 |f ( Hold|er.Playe|
|000004e0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|000004f0| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a | != None| )...{..|
|00000500| 09 09 48 6f 6c 64 65 72 | 2e 50 6c 61 79 65 72 52 |..Holder|.PlayerR|
|00000510| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 48 |eplicati|onInfo.H|
|00000520| 61 73 46 6c 61 67 20 3d | 20 4e 6f 6e 65 3b 0d 0a |asFlag =| None;..|
|00000530| 09 09 48 6f 6c 64 65 72 | 2e 50 6c 61 79 65 72 52 |..Holder|.PlayerR|
|00000540| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 4e |eplicati|onInfo.N|
|00000550| 65 74 55 70 64 61 74 65 | 54 69 6d 65 20 3d 20 4c |etUpdate|Time = L|
|00000560| 65 76 65 6c 2e 54 69 6d | 65 53 65 63 6f 6e 64 73 |evel.Tim|eSeconds|
|00000570| 20 2d 20 31 3b 0d 0a 09 | 7d 0d 0a 20 20 20 20 69 | - 1;...|}.. i|
|00000580| 66 20 28 20 28 48 6f 6c | 64 65 72 2e 50 65 6e 64 |f ( (Hol|der.Pend|
|00000590| 69 6e 67 57 65 61 70 6f | 6e 20 21 3d 20 4e 6f 6e |ingWeapo|n != Non|
|000005a0| 65 29 20 26 26 20 48 6f | 6c 64 65 72 2e 50 65 6e |e) && Ho|lder.Pen|
|000005b0| 64 69 6e 67 57 65 61 70 | 6f 6e 2e 49 73 41 28 27 |dingWeap|on.IsA('|
|000005c0| 42 61 6c 6c 4c 61 75 6e | 63 68 65 72 27 29 20 29 |BallLaun|cher') )|
|000005d0| 0d 0a 09 09 48 6f 6c 64 | 65 72 2e 50 65 6e 64 69 |....Hold|er.Pendi|
|000005e0| 6e 67 57 65 61 70 6f 6e | 20 3d 20 4e 6f 6e 65 3b |ngWeapon| = None;|
|000005f0| 0d 0a 20 20 20 20 69 66 | 20 28 20 28 48 6f 6c 64 |.. if| ( (Hold|
|00000600| 65 72 2e 57 65 61 70 6f | 6e 20 21 3d 20 4e 6f 6e |er.Weapo|n != Non|
|00000610| 65 29 20 26 26 20 28 48 | 6f 6c 64 65 72 2e 43 6f |e) && (H|older.Co|
|00000620| 6e 74 72 6f 6c 6c 65 72 | 20 21 3d 20 4e 6f 6e 65 |ntroller| != None|
|00000630| 29 20 26 26 20 48 6f 6c | 64 65 72 2e 57 65 61 70 |) && Hol|der.Weap|
|00000640| 6f 6e 2e 49 73 41 28 27 | 42 61 6c 6c 4c 61 75 6e |on.IsA('|BallLaun|
|00000650| 63 68 65 72 27 29 20 29 | 0d 0a 09 09 48 6f 6c 64 |cher') )|....Hold|
|00000660| 65 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 2e 43 6c |er.Contr|oller.Cl|
|00000670| 69 65 6e 74 53 77 69 74 | 63 68 54 6f 42 65 73 74 |ientSwit|chToBest|
|00000680| 57 65 61 70 6f 6e 28 29 | 3b 0d 0a 20 20 20 20 48 |Weapon()|;.. H|
|00000690| 6f 6c 64 65 72 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 20 |older = |None;.. |
|000006a0| 20 20 20 48 6f 6c 64 65 | 72 50 52 49 20 3d 20 4e | Holde|rPRI = N|
|000006b0| 6f 6e 65 3b 0d 0a 7d 0d | 0a 0d 0a 2f 2f 20 53 74 |one;..}.|...// St|
|000006c0| 61 74 65 20 74 72 61 6e | 73 69 74 69 6f 6e 73 0d |ate tran|sitions.|
|000006d0| 0a 66 75 6e 63 74 69 6f | 6e 20 53 65 74 48 6f 6c |.functio|n SetHol|
|000006e0| 64 65 72 28 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 43 |der(Cont|roller C|
|000006f0| 29 0d 0a 7b 0d 0a 20 20 | 20 20 6c 6f 63 61 6c 20 |)..{.. | local |
|00000700| 43 6c 61 73 73 3c 57 65 | 61 70 6f 6e 3e 20 42 6f |Class<We|apon> Bo|
|00000710| 6d 62 4c 61 75 6e 63 68 | 65 72 43 6c 61 73 73 3b |mbLaunch|erClass;|
|00000720| 0d 0a 09 6c 6f 63 61 6c | 20 57 65 61 70 6f 6e 20 |...local| Weapon |
|00000730| 57 3b 0d 0a 09 6c 6f 63 | 61 6c 20 42 6f 6d 62 69 |W;...loc|al Bombi|
|00000740| 6e 67 52 75 6e 53 71 75 | 61 64 41 49 20 53 3b 0d |ngRunSqu|adAI S;.|
|00000750| 0a 09 6c 6f 63 61 6c 20 | 49 6e 76 65 6e 74 6f 72 |..local |Inventor|
|00000760| 79 20 49 6e 76 3b 0d 0a | 09 6c 6f 63 61 6c 20 50 |y Inv;..|.local P|
|00000770| 61 77 6e 20 50 3b 0d 0a | 0d 0a 09 2f 2f 20 75 70 |awn P;..|...// up|
|00000780| 64 61 74 65 20 41 49 20 | 62 65 66 6f 72 65 20 63 |date AI |before c|
|00000790| 68 61 6e 67 69 6e 67 20 | 73 74 61 74 65 73 0d 0a |hanging |states..|
|000007a0| 20 20 20 20 69 66 20 28 | 20 42 6f 74 28 43 29 20 | if (| Bot(C) |
|000007b0| 21 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 53 20 3d |!= None |)....S =|
|000007c0| 20 42 6f 6d 62 69 6e 67 | 52 75 6e 53 71 75 61 64 | Bombing|RunSquad|
|000007d0| 41 49 28 42 6f 74 28 43 | 29 2e 53 71 75 61 64 29 |AI(Bot(C|).Squad)|
|000007e0| 3b 0d 0a 09 65 6c 73 65 | 20 69 66 20 28 20 28 50 |;...else| if ( (P|
|000007f0| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 28 |layerCon|troller(|
|00000800| 43 29 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 28 |C) != No|ne) && (|
|00000810| 55 6e 72 65 61 6c 54 65 | 61 6d 49 6e 66 6f 28 43 |UnrealTe|amInfo(C|
|00000820| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00000830| 6f 6e 49 6e 66 6f 2e 54 | 65 61 6d 29 2e 41 49 20 |onInfo.T|eam).AI |
|00000840| 21 3d 20 4e 6f 6e 65 29 | 20 29 0d 0a 09 7b 0d 0a |!= None)| )...{..|
|00000850| 20 20 20 20 20 20 20 20 | 53 20 3d 20 42 6f 6d 62 | |S = Bomb|
|00000860| 69 6e 67 52 75 6e 53 71 | 75 61 64 41 49 28 55 6e |ingRunSq|uadAI(Un|
|00000870| 72 65 61 6c 54 65 61 6d | 49 6e 66 6f 28 43 2e 50 |realTeam|Info(C.P|
|00000880| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00000890| 49 6e 66 6f 2e 54 65 61 | 6d 29 2e 41 49 2e 46 69 |Info.Tea|m).AI.Fi|
|000008a0| 6e 64 48 75 6d 61 6e 53 | 71 75 61 64 28 29 29 3b |ndHumanS|quad());|
|000008b0| 0d 0a 20 20 20 20 20 20 | 20 20 69 66 20 28 20 53 |.. | if ( S|
|000008c0| 20 21 3d 20 4e 6f 6e 65 | 20 26 26 20 53 2e 53 71 | != None| && S.Sq|
|000008d0| 75 61 64 4c 65 61 64 65 | 72 20 21 3d 20 43 20 29 |uadLeade|r != C )|
|000008e0| 0d 0a 09 09 09 53 20 3d | 20 4e 6f 6e 65 3b 0d 0a |.....S =| None;..|
|000008f0| 20 20 20 20 7d 0d 0a 20 | 20 20 20 69 66 20 28 20 | }.. | if ( |
|00000900| 53 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 53 |S != Non|e )....S|
|00000910| 2e 42 6f 6d 62 54 61 6b | 65 6e 42 79 28 43 29 3b |.BombTak|enBy(C);|
|00000920| 0d 0a 0d 0a 20 20 20 20 | 53 75 70 65 72 2e 53 65 |.... |Super.Se|
|00000930| 74 48 6f 6c 64 65 72 28 | 43 29 3b 0d 0a 09 49 6e |tHolder(|C);...In|
|00000940| 73 74 69 67 61 74 6f 72 | 20 3d 20 48 6f 6c 64 65 |stigator| = Holde|
|00000950| 72 3b 0d 0a 09 62 54 68 | 72 6f 77 6e 42 6f 6d 62 |r;...bTh|rownBomb|
|00000960| 20 3d 20 66 61 6c 73 65 | 3b 0d 0a 20 20 20 20 4c | = false|;.. L|
|00000970| 65 76 65 6c 2e 47 61 6d | 65 2e 47 61 6d 65 52 65 |evel.Gam|e.GameRe|
|00000980| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 46 6c |plicatio|nInfo.Fl|
|00000990| 61 67 54 61 72 67 65 74 | 20 3d 20 4e 6f 6e 65 3b |agTarget| = None;|
|000009a0| 0d 0a 0d 0a 20 20 20 20 | 42 6f 6d 62 4c 61 75 6e |.... |BombLaun|
|000009b0| 63 68 65 72 43 6c 61 73 | 73 20 3d 20 43 6c 61 73 |cherClas|s = Clas|
|000009c0| 73 3c 57 65 61 70 6f 6e | 3e 28 20 44 79 6e 61 6d |s<Weapon|>( Dynam|
|000009d0| 69 63 4c 6f 61 64 4f 62 | 6a 65 63 74 28 20 42 6f |icLoadOb|ject( Bo|
|000009e0| 6d 62 4c 61 75 6e 63 68 | 65 72 43 6c 61 73 73 4e |mbLaunch|erClassN|
|000009f0| 61 6d 65 20 2c 20 63 6c | 61 73 73 27 43 6c 61 73 |ame , cl|ass'Clas|
|00000a00| 73 27 20 29 20 29 3b 0d | 0a 20 20 20 20 50 72 65 |s' ) );.|. Pre|
|00000a10| 76 57 65 61 70 6f 6e 43 | 6c 61 73 73 20 3d 20 43 |vWeaponC|lass = C|
|00000a20| 2e 50 61 77 6e 2e 57 65 | 61 70 6f 6e 2e 43 6c 61 |.Pawn.We|apon.Cla|
|00000a30| 73 73 3b 0d 0a 0d 0a 20 | 20 20 20 69 66 28 20 43 |ss;.... | if( C|
|00000a40| 6c 61 73 73 49 73 43 68 | 69 6c 64 4f 66 28 20 50 |lassIsCh|ildOf( P|
|00000a50| 72 65 76 57 65 61 70 6f | 6e 43 6c 61 73 73 2c 20 |revWeapo|nClass, |
|00000a60| 42 6f 6d 62 4c 61 75 6e | 63 68 65 72 43 6c 61 73 |BombLaun|cherClas|
|00000a70| 73 20 29 20 29 0d 0a 20 | 20 20 20 20 20 20 20 50 |s ) ).. | P|
|00000a80| 72 65 76 57 65 61 70 6f | 6e 43 6c 61 73 73 20 3d |revWeapo|nClass =|
|00000a90| 20 4e 6f 6e 65 3b 0d 0a | 0d 0a 09 2f 2f 20 4d 61 | None;..|...// Ma|
|00000aa0| 6b 65 20 73 75 72 65 20 | 74 68 65 20 6e 65 77 20 |ke sure |the new |
|00000ab0| 68 6f 6c 64 73 20 68 61 | 73 20 74 68 65 20 42 6f |holds ha|s the Bo|
|00000ac0| 6d 62 4c 61 75 6e 63 68 | 65 72 0d 0a 0d 0a 09 50 |mbLaunch|er.....P|
|00000ad0| 20 3d 20 43 2e 50 61 77 | 6e 3b 0d 0a 09 69 66 20 | = C.Paw|n;...if |
|00000ae0| 28 50 3d 3d 4e 6f 6e 65 | 29 0d 0a 09 09 72 65 74 |(P==None|)....ret|
|00000af0| 75 72 6e 3b 0d 0a 0d 0a | 09 66 6f 72 28 20 49 6e |urn;....|.for( In|
|00000b00| 76 3d 50 2e 49 6e 76 65 | 6e 74 6f 72 79 3b 20 49 |v=P.Inve|ntory; I|
|00000b10| 6e 76 21 3d 4e 6f 6e 65 | 3b 20 49 6e 76 3d 49 6e |nv!=None|; Inv=In|
|00000b20| 76 2e 49 6e 76 65 6e 74 | 6f 72 79 20 29 0d 0a 09 |v.Invent|ory )...|
|00000b30| 7b 0d 0a 09 09 69 66 20 | 28 20 43 6c 61 73 73 49 |{....if |( ClassI|
|00000b40| 73 43 68 69 6c 64 4f 66 | 28 49 6e 76 2e 43 6c 61 |sChildOf|(Inv.Cla|
|00000b50| 73 73 2c 20 42 6f 6d 62 | 4c 61 75 6e 63 68 65 72 |ss, Bomb|Launcher|
|00000b60| 43 6c 61 73 73 29 20 29 | 0d 0a 09 09 09 62 72 65 |Class) )|.....bre|
|00000b70| 61 6b 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 20 28 |ak;...}.|....if (|
|00000b80| 49 6e 76 3d 3d 4e 6f 6e | 65 29 0d 0a 09 7b 0d 0a |Inv==Non|e)...{..|
|00000b90| 09 09 2f 2f 09 47 69 76 | 65 20 74 68 65 20 42 61 |..//.Giv|e the Ba|
|00000ba0| 6c 6c 20 4c 61 75 6e 63 | 68 65 72 20 74 6f 20 74 |ll Launc|her to t|
|00000bb0| 68 65 20 70 6c 61 79 65 | 72 0d 0a 20 20 20 20 20 |he playe|r.. |
|00000bc0| 20 20 20 57 20 3d 20 53 | 70 61 77 6e 28 42 6f 6d | W = S|pawn(Bom|
|00000bd0| 62 4c 61 75 6e 63 68 65 | 72 43 6c 61 73 73 2c 2c |bLaunche|rClass,,|
|00000be0| 2c 50 2e 4c 6f 63 61 74 | 69 6f 6e 29 3b 0d 0a 20 |,P.Locat|ion);.. |
|00000bf0| 20 20 20 20 20 20 20 69 | 66 28 20 57 20 3d 3d 20 | i|f( W == |
|00000c00| 4e 6f 6e 65 20 29 0d 0a | 20 20 20 20 20 20 20 20 |None )..| |
|00000c10| 7b 0d 0a 09 09 09 6c 6f | 67 28 73 65 6c 66 40 22 |{.....lo|g(self@"|
|00000c20| 63 6f 75 6c 64 20 6e 6f | 74 20 73 70 61 77 6e 20 |could no|t spawn |
|00000c30| 61 20 6c 61 75 6e 63 68 | 65 72 20 66 6f 72 20 70 |a launch|er for p|
|00000c40| 6c 61 79 65 72 22 40 70 | 29 3b 0d 0a 09 09 09 72 |layer"@p|);.....r|
|00000c50| 65 74 75 72 6e 3b 0d 0a | 20 20 20 20 20 20 20 20 |eturn;..| |
|00000c60| 7d 0d 0a 20 20 20 20 20 | 20 20 20 77 2e 47 69 76 |}.. | w.Giv|
|00000c70| 65 54 6f 28 50 29 3b 0d | 0a 09 7d 0d 0a 0d 0a 20 |eTo(P);.|..}.... |
|00000c80| 20 20 20 43 2e 43 6c 69 | 65 6e 74 53 65 74 57 65 | C.Cli|entSetWe|
|00000c90| 61 70 6f 6e 28 20 42 6f | 6d 62 4c 61 75 6e 63 68 |apon( Bo|mbLaunch|
|00000ca0| 65 72 43 6c 61 73 73 20 | 29 3b 0d 0a 7d 0d 0a 0d |erClass |);..}...|
|00000cb0| 0a 66 75 6e 63 74 69 6f | 6e 20 53 65 74 54 68 72 |.functio|n SetThr|
|00000cc0| 6f 77 28 76 65 63 74 6f | 72 20 73 74 61 72 74 29 |ow(vecto|r start)|
|00000cd0| 0d 0a 7b 0d 0a 09 49 6e | 73 74 69 67 61 74 6f 72 |..{...In|stigator|
|00000ce0| 20 3d 20 48 6f 6c 64 65 | 72 3b 0d 0a 09 54 68 72 | = Holde|r;...Thr|
|00000cf0| 6f 77 65 72 54 69 6d 65 | 20 3d 20 4c 65 76 65 6c |owerTime| = Level|
|00000d00| 2e 54 69 6d 65 53 65 63 | 6f 6e 64 73 3b 0d 0a 09 |.TimeSec|onds;...|
|00000d10| 62 54 68 72 6f 77 6e 42 | 6f 6d 62 20 3d 20 74 72 |bThrownB|omb = tr|
|00000d20| 75 65 3b 0d 0a 20 20 20 | 20 53 65 74 4c 6f 63 61 |ue;.. | SetLoca|
|00000d30| 74 69 6f 6e 28 73 74 61 | 72 74 29 3b 0d 0a 7d 0d |tion(sta|rt);..}.|
|00000d40| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 54 68 72 6f |...funct|ion Thro|
|00000d50| 77 28 76 65 63 74 6f 72 | 20 73 74 61 72 74 2c 20 |w(vector| start, |
|00000d60| 76 65 63 74 6f 72 20 64 | 69 72 29 0d 0a 7b 0d 0a |vector d|ir)..{..|
|00000d70| 20 20 20 20 53 65 74 54 | 68 72 6f 77 28 73 74 61 | SetT|hrow(sta|
|00000d80| 72 74 29 3b 0d 0a 20 20 | 20 20 44 72 6f 70 28 44 |rt);.. | Drop(D|
|00000d90| 69 72 29 3b 0d 0a 20 20 | 20 20 69 66 28 20 50 61 |ir);.. | if( Pa|
|00000da0| 73 73 54 61 72 67 65 74 | 20 21 3d 20 4e 6f 6e 65 |ssTarget| != None|
|00000db0| 20 29 0d 0a 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 | ).. |{.. |
|00000dc0| 20 20 20 45 6e 61 62 6c | 65 28 27 54 69 63 6b 27 | Enabl|e('Tick'|
|00000dd0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 53 65 74 50 |);.. | SetP|
|00000de0| 68 79 73 69 63 73 28 50 | 48 59 53 5f 50 72 6f 6a |hysics(P|HYS_Proj|
|00000df0| 65 63 74 69 6c 65 29 3b | 0d 0a 20 20 20 20 7d 0d |ectile);|.. }.|
|00000e00| 0a 20 20 20 20 65 6c 73 | 65 0d 0a 09 09 44 69 73 |. els|e....Dis|
|00000e10| 61 62 6c 65 28 27 54 69 | 63 6b 27 29 3b 0d 0a 09 |able('Ti|ck');...|
|00000e20| 69 66 20 28 20 50 61 73 | 73 54 61 72 67 65 74 20 |if ( Pas|sTarget |
|00000e30| 3d 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 4c 65 76 |== None |)....Lev|
|00000e40| 65 6c 2e 47 61 6d 65 2e | 47 61 6d 65 52 65 70 6c |el.Game.|GameRepl|
|00000e50| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 46 6c 61 67 |icationI|nfo.Flag|
|00000e60| 54 61 72 67 65 74 20 3d | 20 4e 6f 6e 65 3b 0d 0a |Target =| None;..|
|00000e70| 09 65 6c 73 65 0d 0a 09 | 09 4c 65 76 65 6c 2e 47 |.else...|.Level.G|
|00000e80| 61 6d 65 2e 47 61 6d 65 | 52 65 70 6c 69 63 61 74 |ame.Game|Replicat|
|00000e90| 69 6f 6e 49 6e 66 6f 2e | 46 6c 61 67 54 61 72 67 |ionInfo.|FlagTarg|
|00000ea0| 65 74 20 3d 20 50 61 73 | 73 54 61 72 67 65 74 2e |et = Pas|sTarget.|
|00000eb0| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00000ec0| 6e 49 6e 66 6f 3b 0d 0a | 20 20 20 20 69 66 20 28 |nInfo;..| if (|
|00000ed0| 20 54 6f 73 73 54 72 61 | 69 6c 20 3d 3d 20 4e 6f | TossTra|il == No|
|00000ee0| 6e 65 20 29 0d 0a 09 09 | 54 6f 73 73 54 72 61 69 |ne )....|TossTrai|
|00000ef0| 6c 20 3d 20 53 70 61 77 | 6e 28 63 6c 61 73 73 27 |l = Spaw|n(class'|
|00000f00| 42 6f 6d 62 54 72 61 69 | 6c 27 2c 20 73 65 6c 66 |BombTrai|l', self|
|00000f10| 29 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 28 50 61 73 |);.....i|f ( (Pas|
|00000f20| 73 54 61 72 67 65 74 20 | 21 3d 20 4e 6f 6e 65 29 |sTarget |!= None)|
|00000f30| 20 26 26 20 28 50 61 73 | 73 54 61 72 67 65 74 20 | && (Pas|sTarget |
|00000f40| 21 3d 20 49 6e 73 74 69 | 67 61 74 6f 72 29 20 29 |!= Insti|gator) )|
|00000f50| 0d 0a 09 7b 0d 0a 09 09 | 69 66 20 28 20 49 6e 73 |...{....|if ( Ins|
|00000f60| 74 69 67 61 74 6f 72 2e | 50 6c 61 79 65 72 52 65 |tigator.|PlayerRe|
|00000f70| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 54 65 |plicatio|nInfo.Te|
|00000f80| 61 6d 2e 54 65 61 6d 49 | 6e 64 65 78 20 3d 3d 20 |am.TeamI|ndex == |
|00000f90| 30 20 29 0d 0a 09 09 7b | 0d 0a 09 09 09 54 6f 73 |0 )....{|.....Tos|
|00000fa0| 73 54 72 61 69 6c 2e 6d | 43 6f 6c 6f 72 52 61 6e |sTrail.m|ColorRan|
|00000fb0| 67 65 5b 30 5d 2e 47 20 | 3d 20 30 3b 0d 0a 09 09 |ge[0].G |= 0;....|
|00000fc0| 09 54 6f 73 73 54 72 61 | 69 6c 2e 6d 43 6f 6c 6f |.TossTra|il.mColo|
|00000fd0| 72 52 61 6e 67 65 5b 31 | 5d 2e 42 20 3d 20 30 3b |rRange[1|].B = 0;|
|00000fe0| 0d 0a 09 09 09 54 6f 73 | 73 54 72 61 69 6c 2e 6d |.....Tos|sTrail.m|
|00000ff0| 43 6f 6c 6f 72 52 61 6e | 67 65 5b 30 5d 2e 42 20 |ColorRan|ge[0].B |
|00001000| 3d 20 30 3b 0d 0a 09 09 | 09 54 6f 73 73 54 72 61 |= 0;....|.TossTra|
|00001010| 69 6c 2e 6d 43 6f 6c 6f | 72 52 61 6e 67 65 5b 31 |il.mColo|rRange[1|
|00001020| 5d 2e 47 20 3d 20 30 3b | 0d 0a 09 09 7d 0d 0a 09 |].G = 0;|....}...|
|00001030| 09 65 6c 73 65 0d 0a 09 | 09 7b 0d 0a 09 09 09 54 |.else...|.{.....T|
|00001040| 6f 73 73 54 72 61 69 6c | 2e 6d 43 6f 6c 6f 72 52 |ossTrail|.mColorR|
|00001050| 61 6e 67 65 5b 30 5d 2e | 47 20 3d 20 30 3b 0d 0a |ange[0].|G = 0;..|
|00001060| 09 09 09 54 6f 73 73 54 | 72 61 69 6c 2e 6d 43 6f |...TossT|rail.mCo|
|00001070| 6c 6f 72 52 61 6e 67 65 | 5b 31 5d 2e 52 20 3d 20 |lorRange|[1].R = |
|00001080| 30 3b 0d 0a 09 09 09 54 | 6f 73 73 54 72 61 69 6c |0;.....T|ossTrail|
|00001090| 2e 6d 43 6f 6c 6f 72 52 | 61 6e 67 65 5b 30 5d 2e |.mColorR|ange[0].|
|000010a0| 52 20 3d 20 30 3b 0d 0a | 09 09 09 54 6f 73 73 54 |R = 0;..|...TossT|
|000010b0| 72 61 69 6c 2e 6d 43 6f | 6c 6f 72 52 61 6e 67 65 |rail.mCo|lorRange|
|000010c0| 5b 31 5d 2e 47 20 3d 20 | 30 3b 0d 0a 09 09 7d 0d |[1].G = |0;....}.|
|000010d0| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |..}..}..|..functi|
|000010e0| 6f 6e 20 62 6f 6f 6c 20 | 43 61 6e 42 65 50 69 63 |on bool |CanBePic|
|000010f0| 6b 65 64 55 70 42 79 28 | 50 61 77 6e 20 50 29 0d |kedUpBy(|Pawn P).|
|00001100| 0a 7b 0d 0a 09 72 65 74 | 75 72 6e 20 28 20 28 50 |.{...ret|urn ( (P|
|00001110| 20 21 3d 20 49 6e 73 74 | 69 67 61 74 6f 72 29 20 | != Inst|igator) |
|00001120| 7c 7c 20 28 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 ||| (Leve|l.TimeSe|
|00001130| 63 6f 6e 64 73 20 2d 20 | 54 68 72 6f 77 65 72 54 |conds - |ThrowerT|
|00001140| 69 6d 65 20 3e 3d 20 54 | 68 72 6f 77 65 72 54 6f |ime >= T|hrowerTo|
|00001150| 75 63 68 44 65 6c 61 79 | 20 2d 20 56 53 69 7a 65 |uchDelay| - VSize|
|00001160| 28 4c 6f 63 61 74 69 6f | 6e 20 2d 20 50 2e 4c 6f |(Locatio|n - P.Lo|
|00001170| 63 61 74 69 6f 6e 29 2f | 34 34 30 29 20 29 3b 0d |cation)/|440) );.|
|00001180| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 62 |.}....fu|nction b|
|00001190| 6f 6f 6c 20 56 61 6c 69 | 64 48 6f 6c 64 65 72 28 |ool Vali|dHolder(|
|000011a0| 41 63 74 6f 72 20 4f 74 | 68 65 72 29 0d 0a 7b 0d |Actor Ot|her)..{.|
|000011b0| 0a 20 20 20 20 6c 6f 63 | 61 6c 20 50 61 77 6e 20 |. loc|al Pawn |
|000011c0| 50 3b 0d 0a 20 20 20 20 | 6c 6f 63 61 6c 20 56 65 |P;.. |local Ve|
|000011d0| 63 74 6f 72 20 52 65 66 | 4e 6f 72 6d 61 6c 3b 0d |ctor Ref|Normal;.|
|000011e0| 0a 0d 0a 20 20 20 20 69 | 66 20 28 20 28 4f 74 68 |... i|f ( (Oth|
|000011f0| 65 72 20 3d 3d 20 49 6e | 73 74 69 67 61 74 6f 72 |er == In|stigator|
|00001200| 29 20 26 26 20 28 4c 65 | 76 65 6c 2e 54 69 6d 65 |) && (Le|vel.Time|
|00001210| 53 65 63 6f 6e 64 73 20 | 2d 20 54 68 72 6f 77 65 |Seconds |- Throwe|
|00001220| 72 54 69 6d 65 20 3c 20 | 54 68 72 6f 77 65 72 54 |rTime < |ThrowerT|
|00001230| 6f 75 63 68 44 65 6c 61 | 79 29 20 29 0d 0a 20 20 |ouchDela|y) ).. |
|00001240| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 66 61 6c | re|turn fal|
|00001250| 73 65 3b 0d 0a 0d 0a 20 | 20 20 20 50 20 3d 20 50 |se;.... | P = P|
|00001260| 61 77 6e 28 4f 74 68 65 | 72 29 3b 0d 0a 20 20 20 |awn(Othe|r);.. |
|00001270| 20 69 66 28 20 50 20 21 | 3d 20 4e 6f 6e 65 20 26 | if( P !|= None &|
|00001280| 26 20 50 2e 57 65 61 70 | 6f 6e 20 21 3d 20 4e 6f |& P.Weap|on != No|
|00001290| 6e 65 20 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |ne ).. | {.. |
|000012a0| 20 20 20 20 20 2f 2f 20 | 62 6f 75 6e 63 65 20 74 | // |bounce t|
|000012b0| 68 65 20 62 61 6c 6c 20 | 6f 66 66 20 74 68 65 20 |he ball |off the |
|000012c0| 73 68 69 65 6c 64 0d 0a | 20 20 20 20 20 20 20 20 |shield..| |
|000012d0| 69 66 28 20 50 2e 57 65 | 61 70 6f 6e 2e 43 68 65 |if( P.We|apon.Che|
|000012e0| 63 6b 52 65 66 6c 65 63 | 74 28 20 4c 6f 63 61 74 |ckReflec|t( Locat|
|000012f0| 69 6f 6e 2c 20 52 65 66 | 4e 6f 72 6d 61 6c 2c 20 |ion, Ref|Normal, |
|00001300| 30 20 29 20 29 0d 0a 20 | 20 20 20 20 20 20 20 7b |0 ) ).. | {|
|00001310| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 50 2e |.. | P.|
|00001320| 57 65 61 70 6f 6e 2e 44 | 6f 52 65 66 6c 65 63 74 |Weapon.D|oReflect|
|00001330| 45 66 66 65 63 74 28 31 | 30 29 3b 0d 0a 20 20 20 |Effect(1|0);.. |
|00001340| 20 20 20 20 20 20 20 20 | 20 56 65 6c 6f 63 69 74 | | Velocit|
|00001350| 79 20 3d 20 28 45 6c 61 | 73 74 69 63 69 74 79 20 |y = (Ela|sticity |
|00001360| 2a 20 32 2e 35 29 20 2a | 20 28 28 20 56 65 6c 6f |* 2.5) *| (( Velo|
|00001370| 63 69 74 79 20 64 6f 74 | 20 52 65 66 4e 6f 72 6d |city dot| RefNorm|
|00001380| 61 6c 20 29 20 2a 20 52 | 65 66 4e 6f 72 6d 61 6c |al ) * R|efNormal|
|00001390| 20 2a 20 28 2d 32 2e 30 | 29 20 2b 20 56 65 6c 6f | * (-2.0|) + Velo|
|000013a0| 63 69 74 79 29 3b 0d 0a | 09 20 20 20 20 20 20 20 |city);..|. |
|000013b0| 20 52 61 6e 64 53 70 69 | 6e 28 33 30 30 30 30 29 | RandSpi|n(30000)|
|000013c0| 3b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 72 |;.. | r|
|000013d0| 65 74 75 72 6e 20 66 61 | 6c 73 65 3b 0d 0a 20 20 |eturn fa|lse;.. |
|000013e0| 20 20 20 20 20 20 7d 0d | 0a 20 20 20 20 7d 0d 0a | }.|. }..|
|000013f0| 20 20 20 20 72 65 74 75 | 72 6e 20 53 75 70 65 72 | retu|rn Super|
|00001400| 2e 56 61 6c 69 64 48 6f | 6c 64 65 72 28 4f 74 68 |.ValidHo|lder(Oth|
|00001410| 65 72 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |er);..}.|...funct|
|00001420| 69 6f 6e 20 52 61 6e 64 | 53 70 69 6e 28 66 6c 6f |ion Rand|Spin(flo|
|00001430| 61 74 20 73 70 69 6e 52 | 61 74 65 29 0d 0a 7b 0d |at spinR|ate)..{.|
|00001440| 0a 09 44 65 73 69 72 65 | 64 52 6f 74 61 74 69 6f |..Desire|dRotatio|
|00001450| 6e 20 3d 20 52 6f 74 52 | 61 6e 64 28 29 3b 0d 0a |n = RotR|and();..|
|00001460| 09 52 6f 74 61 74 69 6f | 6e 52 61 74 65 2e 59 61 |.Rotatio|nRate.Ya|
|00001470| 77 20 3d 20 73 70 69 6e | 52 61 74 65 20 2a 20 32 |w = spin|Rate * 2|
|00001480| 20 2a 46 52 61 6e 64 28 | 29 20 2d 20 73 70 69 6e | *FRand(|) - spin|
|00001490| 52 61 74 65 3b 0d 0a 09 | 52 6f 74 61 74 69 6f 6e |Rate;...|Rotation|
|000014a0| 52 61 74 65 2e 50 69 74 | 63 68 20 3d 20 73 70 69 |Rate.Pit|ch = spi|
|000014b0| 6e 52 61 74 65 20 2a 20 | 32 20 2a 46 52 61 6e 64 |nRate * |2 *FRand|
|000014c0| 28 29 20 2d 20 73 70 69 | 6e 52 61 74 65 3b 0d 0a |() - spi|nRate;..|
|000014d0| 09 52 6f 74 61 74 69 6f | 6e 52 61 74 65 2e 52 6f |.Rotatio|nRate.Ro|
|000014e0| 6c 6c 20 3d 20 73 70 69 | 6e 52 61 74 65 20 2a 20 |ll = spi|nRate * |
|000014f0| 32 20 2a 46 52 61 6e 64 | 28 29 20 2d 20 73 70 69 |2 *FRand|() - spi|
|00001500| 6e 52 61 74 65 3b 0d 0a | 20 20 20 20 62 46 69 78 |nRate;..| bFix|
|00001510| 65 64 52 6f 74 61 74 69 | 6f 6e 44 69 72 20 3d 20 |edRotati|onDir = |
|00001520| 74 72 75 65 3b 0d 0a 7d | 0d 0a 0d 0a 2f 2f 20 45 |true;..}|....// E|
|00001530| 76 65 6e 74 73 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |vents..f|unction |
|00001540| 48 69 74 57 61 6c 6c 28 | 20 76 65 63 74 6f 72 20 |HitWall(| vector |
|00001550| 48 69 74 4e 6f 72 6d 61 | 6c 2c 20 61 63 74 6f 72 |HitNorma|l, actor|
|00001560| 20 57 61 6c 6c 20 29 0d | 0a 7b 0d 0a 09 56 65 6c | Wall ).|.{...Vel|
|00001570| 6f 63 69 74 79 20 3d 20 | 45 6c 61 73 74 69 63 69 |ocity = |Elastici|
|00001580| 74 79 2a 28 28 20 56 65 | 6c 6f 63 69 74 79 20 64 |ty*(( Ve|locity d|
|00001590| 6f 74 20 48 69 74 4e 6f | 72 6d 61 6c 20 29 20 2a |ot HitNo|rmal ) *|
|000015a0| 20 48 69 74 4e 6f 72 6d | 61 6c 20 2a 20 28 2d 32 | HitNorm|al * (-2|
|000015b0| 2e 30 29 20 2b 20 56 65 | 6c 6f 63 69 74 79 29 3b |.0) + Ve|locity);|
|000015c0| 0d 0a 09 52 61 6e 64 53 | 70 69 6e 28 33 30 30 30 |...RandS|pin(3000|
|000015d0| 30 29 3b 0d 0a 0d 0a 20 | 20 20 20 50 6c 61 79 53 |0);.... | PlayS|
|000015e0| 6f 75 6e 64 28 49 6d 70 | 61 63 74 53 6f 75 6e 64 |ound(Imp|actSound|
|000015f0| 2c 20 53 4c 4f 54 5f 4d | 69 73 63 20 29 3b 0d 0a |, SLOT_M|isc );..|
|00001600| 0d 0a 09 69 66 20 28 20 | 28 56 53 69 7a 65 28 56 |...if ( |(VSize(V|
|00001610| 65 6c 6f 63 69 74 79 29 | 20 3c 20 32 30 29 20 26 |elocity)| < 20) &|
|00001620| 26 20 28 48 69 74 4e 6f | 72 6d 61 6c 2e 5a 20 3e |& (HitNo|rmal.Z >|
|00001630| 3d 20 30 2e 37 29 20 26 | 26 20 57 61 6c 6c 2e 62 |= 0.7) &|& Wall.b|
|00001640| 57 6f 72 6c 64 47 65 6f | 6d 65 74 72 79 20 29 0d |WorldGeo|metry ).|
|00001650| 0a 20 20 20 20 20 20 20 | 20 4c 61 6e 64 65 64 28 |. | Landed(|
|00001660| 48 69 74 4e 6f 72 6d 61 | 6c 29 3b 0d 0a 20 20 20 |HitNorma|l);.. |
|00001670| 20 65 6c 73 65 20 69 66 | 20 28 56 53 69 7a 65 28 | else if| (VSize(|
|00001680| 56 65 6c 6f 63 69 74 79 | 29 20 3c 20 33 30 30 20 |Velocity|) < 300 |
|00001690| 29 0d 0a 20 20 20 20 7b | 0d 0a 09 09 69 66 20 28 |).. {|....if (|
|000016a0| 20 54 6f 73 73 54 72 61 | 69 6c 20 21 3d 20 4e 6f | TossTra|il != No|
|000016b0| 6e 65 20 29 0d 0a 09 09 | 09 54 6f 73 73 54 72 61 |ne )....|.TossTra|
|000016c0| 69 6c 2e 44 65 73 74 72 | 6f 79 28 29 3b 0d 0a 09 |il.Destr|oy();...|
|000016d0| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|000016e0| 20 4c 61 6e 64 65 64 28 | 76 65 63 74 6f 72 20 68 | Landed(|vector h|
|000016f0| 69 74 4e 6f 72 6d 61 6c | 29 0d 0a 7b 0d 0a 09 69 |itNormal|)..{...i|
|00001700| 66 20 28 20 54 6f 73 73 | 54 72 61 69 6c 20 21 3d |f ( Toss|Trail !=|
|00001710| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 54 6f 73 73 54 | None ).|...TossT|
|00001720| 72 61 69 6c 2e 44 65 73 | 74 72 6f 79 28 29 3b 0d |rail.Des|troy();.|
|00001730| 0a 20 20 20 20 56 65 6c | 6f 63 69 74 79 20 3d 20 |. Vel|ocity = |
|00001740| 76 65 63 74 28 30 2c 30 | 2c 30 29 3b 0d 0a 20 20 |vect(0,0|,0);.. |
|00001750| 20 20 69 66 20 28 20 48 | 6f 6c 64 65 72 20 3d 3d | if ( H|older ==|
|00001760| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 53 65 74 50 68 | None ).|...SetPh|
|00001770| 79 73 69 63 73 28 50 48 | 59 53 5f 52 6f 74 61 74 |ysics(PH|YS_Rotat|
|00001780| 69 6e 67 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |ing);..}|....func|
|00001790| 74 69 6f 6e 20 54 61 6b | 65 44 61 6d 61 67 65 28 |tion Tak|eDamage(|
|000017a0| 20 69 6e 74 20 44 61 6d | 61 67 65 2c 20 50 61 77 | int Dam|age, Paw|
|000017b0| 6e 20 45 76 65 6e 74 49 | 6e 73 74 69 67 61 74 6f |n EventI|nstigato|
|000017c0| 72 2c 20 76 65 63 74 6f | 72 20 48 69 74 4c 6f 63 |r, vecto|r HitLoc|
|000017d0| 61 74 69 6f 6e 2c 20 76 | 65 63 74 6f 72 20 4d 6f |ation, v|ector Mo|
|000017e0| 6d 65 6e 74 75 6d 2c 20 | 63 6c 61 73 73 3c 44 61 |mentum, |class<Da|
|000017f0| 6d 61 67 65 54 79 70 65 | 3e 20 44 61 6d 61 67 65 |mageType|> Damage|
|00001800| 54 79 70 65 29 0d 0a 7b | 0d 0a 20 20 20 20 69 66 |Type)..{|.. if|
|00001810| 20 28 4d 6f 6d 65 6e 74 | 75 6d 20 21 3d 20 56 65 | (Moment|um != Ve|
|00001820| 63 74 28 30 2c 30 2c 30 | 29 20 26 26 20 21 62 48 |ct(0,0,0|) && !bH|
|00001830| 6f 6d 65 20 26 26 20 28 | 48 6f 6c 64 65 72 20 3d |ome && (|Holder =|
|00001840| 3d 20 4e 6f 6e 65 29 20 | 29 0d 0a 20 20 20 20 7b |= None) |).. {|
|00001850| 0d 0a 20 20 20 20 20 20 | 20 20 53 65 74 50 68 79 |.. | SetPhy|
|00001860| 73 69 63 73 28 50 48 59 | 53 5f 46 61 6c 6c 69 6e |sics(PHY|S_Fallin|
|00001870| 67 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 56 65 6c |g);.. | Vel|
|00001880| 6f 63 69 74 79 20 2b 3d | 20 4d 6f 6d 65 6e 74 75 |ocity +=| Momentu|
|00001890| 6d 2f 4d 61 73 73 3b 0d | 0a 20 20 20 20 7d 0d 0a |m/Mass;.|. }..|
|000018a0| 7d 0d 0a 0d 0a 2f 2f 20 | 4c 6f 67 67 69 6e 67 0d |}....// |Logging.|
|000018b0| 0a 66 75 6e 63 74 69 6f | 6e 20 4c 6f 67 44 72 6f |.functio|n LogDro|
|000018c0| 70 70 65 64 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |pped()..|{...loca|
|000018d0| 6c 20 54 65 61 6d 49 6e | 66 6f 20 54 3b 0d 0a 0d |l TeamIn|fo T;...|
|000018e0| 0a 09 69 66 20 28 20 48 | 6f 6c 64 65 72 20 3d 3d |..if ( H|older ==|
|000018f0| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 72 65 74 75 72 | None ).|...retur|
|00001900| 6e 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 48 6f 6c 64 |n;.....i|f ( Hold|
|00001910| 65 72 2e 48 65 61 6c 74 | 68 20 3c 3d 20 30 20 29 |er.Healt|h <= 0 )|
|00001920| 0d 0a 09 7b 0d 0a 09 09 | 69 66 20 28 20 48 6f 6c |...{....|if ( Hol|
|00001930| 64 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |der.Play|erReplic|
|00001940| 61 74 69 6f 6e 49 6e 66 | 6f 20 21 3d 20 4e 6f 6e |ationInf|o != Non|
|00001950| 65 20 29 0d 0a 09 09 7b | 0d 0a 09 09 09 69 66 20 |e )....{|.....if |
|00001960| 28 20 62 4c 61 73 74 53 | 65 63 6f 6e 64 53 61 76 |( bLastS|econdSav|
|00001970| 65 20 29 0d 0a 09 09 09 | 7b 0d 0a 09 09 09 09 69 |e ).....|{......i|
|00001980| 66 20 28 20 48 6f 6c 64 | 65 72 2e 50 6c 61 79 65 |f ( Hold|er.Playe|
|00001990| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|000019a0| 2e 54 65 61 6d 2e 54 65 | 61 6d 49 6e 64 65 78 20 |.Team.Te|amIndex |
|000019b0| 3d 3d 20 30 20 29 0d 0a | 09 09 09 09 09 54 20 3d |== 0 )..|.....T =|
|000019c0| 20 54 65 61 6d 47 61 6d | 65 28 4c 65 76 65 6c 2e | TeamGam|e(Level.|
|000019d0| 47 61 6d 65 29 2e 54 65 | 61 6d 73 5b 31 5d 3b 0d |Game).Te|ams[1];.|
|000019e0| 0a 09 09 09 09 65 6c 73 | 65 0d 0a 09 09 09 09 09 |.....els|e.......|
|000019f0| 54 20 3d 20 54 65 61 6d | 47 61 6d 65 28 4c 65 76 |T = Team|Game(Lev|
|00001a00| 65 6c 2e 47 61 6d 65 29 | 2e 54 65 61 6d 73 5b 30 |el.Game)|.Teams[0|
|00001a10| 5d 3b 0d 0a 09 09 09 7d | 0d 0a 09 09 09 65 6c 73 |];.....}|.....els|
|00001a20| 65 0d 0a 09 09 09 09 54 | 20 3d 20 54 65 61 6d 47 |e......T| = TeamG|
|00001a30| 61 6d 65 28 4c 65 76 65 | 6c 2e 47 61 6d 65 29 2e |ame(Leve|l.Game).|
|00001a40| 54 65 61 6d 73 5b 48 6f | 6c 64 65 72 2e 50 6c 61 |Teams[Ho|lder.Pla|
|00001a50| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00001a60| 66 6f 2e 54 65 61 6d 2e | 54 65 61 6d 49 6e 64 65 |fo.Team.|TeamInde|
|00001a70| 78 5d 3b 0d 0a 09 09 7d | 0d 0a 09 09 69 66 20 28 |x];....}|....if (|
|00001a80| 20 62 4c 61 73 74 53 65 | 63 6f 6e 64 53 61 76 65 | bLastSe|condSave|
|00001a90| 20 29 0d 0a 09 09 09 42 | 72 6f 61 64 63 61 73 74 | ).....B|roadcast|
|00001aa0| 4c 6f 63 61 6c 69 7a 65 | 64 4d 65 73 73 61 67 65 |Localize|dMessage|
|00001ab0| 28 20 63 6c 61 73 73 27 | 4c 61 73 74 53 65 63 6f |( class'|LastSeco|
|00001ac0| 6e 64 4d 65 73 73 61 67 | 65 27 2c 20 30 2c 20 48 |ndMessag|e', 0, H|
|00001ad0| 6f 6c 64 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |older.Pl|ayerRepl|
|00001ae0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2c 20 4e 6f 6e |icationI|nfo, Non|
|00001af0| 65 2c 20 54 20 29 3b 0d | 0a 09 09 65 6c 73 65 0d |e, T );.|...else.|
|00001b00| 0a 09 09 09 42 72 6f 61 | 64 63 61 73 74 4c 6f 63 |....Broa|dcastLoc|
|00001b10| 61 6c 69 7a 65 64 4d 65 | 73 73 61 67 65 28 20 4d |alizedMe|ssage( M|
|00001b20| 65 73 73 61 67 65 43 6c | 61 73 73 2c 20 32 2c 20 |essageCl|ass, 2, |
|00001b30| 48 6f 6c 64 65 72 2e 50 | 6c 61 79 65 72 52 65 70 |Holder.P|layerRep|
|00001b40| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2c 20 4e 6f |lication|Info, No|
|00001b50| 6e 65 2c 20 54 20 29 3b | 0d 0a 09 7d 0d 0a 20 20 |ne, T );|...}.. |
|00001b60| 20 20 55 6e 72 65 61 6c | 4d 50 47 61 6d 65 49 6e | Unreal|MPGameIn|
|00001b70| 66 6f 28 4c 65 76 65 6c | 2e 47 61 6d 65 29 2e 47 |fo(Level|.Game).G|
|00001b80| 61 6d 65 45 76 65 6e 74 | 28 22 62 6f 6d 62 5f 64 |ameEvent|("bomb_d|
|00001b90| 72 6f 70 70 65 64 22 2c | 22 32 35 35 22 2c 48 6f |ropped",|"255",Ho|
|00001ba0| 6c 64 65 72 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |lder.Pla|yerRepli|
|00001bb0| 63 61 74 69 6f 6e 49 6e | 66 6f 29 3b 0d 0a 7d 0d |cationIn|fo);..}.|
|00001bc0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 4c 6f 67 52 |...funct|ion LogR|
|00001bd0| 65 74 75 72 6e 65 64 28 | 29 0d 0a 7b 0d 0a 09 69 |eturned(|)..{...i|
|00001be0| 66 20 28 20 4c 65 76 65 | 6c 2e 47 61 6d 65 2e 52 |f ( Leve|l.Game.R|
|00001bf0| 65 73 65 74 43 6f 75 6e | 74 44 6f 77 6e 20 3d 3d |esetCoun|tDown ==|
|00001c00| 20 30 20 29 0d 0a 09 09 | 42 72 6f 61 64 63 61 73 | 0 )....|Broadcas|
|00001c10| 74 4c 6f 63 61 6c 69 7a | 65 64 4d 65 73 73 61 67 |tLocaliz|edMessag|
|00001c20| 65 28 20 4d 65 73 73 61 | 67 65 43 6c 61 73 73 2c |e( Messa|geClass,|
|00001c30| 20 33 2c 20 4e 6f 6e 65 | 2c 20 4e 6f 6e 65 2c 20 | 3, None|, None, |
|00001c40| 4e 6f 6e 65 20 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |None );.|.}....fu|
|00001c50| 6e 63 74 69 6f 6e 20 53 | 65 6e 64 48 6f 6d 65 44 |nction S|endHomeD|
|00001c60| 69 73 61 62 6c 65 64 28 | 66 6c 6f 61 74 20 54 69 |isabled(|float Ti|
|00001c70| 6d 65 4f 75 74 29 0d 0a | 7b 0d 0a 09 69 66 20 28 |meOut)..|{...if (|
|00001c80| 20 54 6f 73 73 54 72 61 | 69 6c 20 21 3d 20 4e 6f | TossTra|il != No|
|00001c90| 6e 65 20 29 0d 0a 09 09 | 54 6f 73 73 54 72 61 69 |ne )....|TossTrai|
|00001ca0| 6c 2e 44 65 73 74 72 6f | 79 28 29 3b 0d 0a 20 20 |l.Destro|y();.. |
|00001cb0| 20 20 43 61 6c 63 53 65 | 74 48 6f 6d 65 28 29 3b | CalcSe|tHome();|
|00001cc0| 0d 0a 20 20 20 20 47 6f | 74 6f 53 74 61 74 65 28 |.. Go|toState(|
|00001cd0| 27 48 6f 6d 65 44 69 73 | 61 62 6c 65 64 27 29 3b |'HomeDis|abled');|
|00001ce0| 0d 0a 7d 0d 0a 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |..}.....|.functio|
|00001cf0| 6e 20 62 6f 6f 6c 20 43 | 61 6e 42 65 54 68 72 6f |n bool C|anBeThro|
|00001d00| 77 6e 42 79 28 50 61 77 | 6e 20 50 29 0d 0a 7b 0d |wnBy(Paw|n P)..{.|
|00001d10| 0a 2f 2f 09 61 73 73 65 | 72 74 28 62 42 61 6c 6c |.//.asse|rt(bBall|
|00001d20| 44 72 61 69 6e 73 54 72 | 61 6e 73 6c 6f 63 20 3d |DrainsTr|ansloc =|
|00001d30| 3d 20 78 42 6f 6d 62 69 | 6e 67 52 75 6e 28 4c 65 |= xBombi|ngRun(Le|
|00001d40| 76 65 6c 2e 47 61 6d 65 | 29 2e 62 42 61 6c 6c 44 |vel.Game|).bBallD|
|00001d50| 72 61 69 6e 73 54 72 61 | 6e 73 6c 6f 63 29 3b 0d |rainsTra|nsloc);.|
|00001d60| 0a 0d 0a 2f 2f 09 72 65 | 74 75 72 6e 20 21 78 42 |...//.re|turn !xB|
|00001d70| 6f 6d 62 69 6e 67 52 75 | 6e 28 4c 65 76 65 6c 2e |ombingRu|n(Level.|
|00001d80| 47 61 6d 65 29 2e 62 42 | 61 6c 6c 44 72 61 69 6e |Game).bB|allDrain|
|00001d90| 73 54 72 61 6e 73 6c 6f | 63 20 7c 7c 20 28 50 2e |sTranslo|c || (P.|
|00001da0| 48 65 61 6c 74 68 20 3c | 20 34 35 29 3b 0d 0a 09 |Health <| 45);...|
|00001db0| 72 65 74 75 72 6e 20 21 | 62 42 61 6c 6c 44 72 61 |return !|bBallDra|
|00001dc0| 69 6e 73 54 72 61 6e 73 | 6c 6f 63 20 7c 7c 20 50 |insTrans|loc || P|
|00001dd0| 2e 48 65 61 6c 74 68 20 | 3c 20 34 35 3b 0d 0a 7d |.Health |< 45;..}|
|00001de0| 0d 0a 0d 0a 2f 2f 20 53 | 74 61 74 65 73 0d 0a 61 |....// S|tates..a|
|00001df0| 75 74 6f 20 73 74 61 74 | 65 20 48 6f 6d 65 0d 0a |uto stat|e Home..|
|00001e00| 7b 0d 0a 20 20 20 20 69 | 67 6e 6f 72 65 73 20 53 |{.. i|gnores S|
|00001e10| 65 6e 64 48 6f 6d 65 2c | 20 53 63 6f 72 65 2c 20 |endHome,| Score, |
|00001e20| 44 72 6f 70 3b 0d 0a 0d | 0a 20 20 20 20 66 75 6e |Drop;...|. fun|
|00001e30| 63 74 69 6f 6e 20 4c 6f | 67 54 61 6b 65 6e 28 43 |ction Lo|gTaken(C|
|00001e40| 6f 6e 74 72 6f 6c 6c 65 | 72 20 63 29 0d 0a 20 20 |ontrolle|r c).. |
|00001e50| 20 20 7b 0d 0a 09 09 4f | 6c 64 54 65 61 6d 20 3d | {....O|ldTeam =|
|00001e60| 20 43 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 | C.Playe|rReplica|
|00001e70| 74 69 6f 6e 49 6e 66 6f | 2e 54 65 61 6d 3b 0d 0a |tionInfo|.Team;..|
|00001e80| 20 20 20 20 20 20 20 20 | 42 72 6f 61 64 63 61 73 | |Broadcas|
|00001e90| 74 4c 6f 63 61 6c 69 7a | 65 64 4d 65 73 73 61 67 |tLocaliz|edMessag|
|00001ea0| 65 28 20 4d 65 73 73 61 | 67 65 43 6c 61 73 73 2c |e( Messa|geClass,|
|00001eb0| 20 36 2c 20 43 2e 50 6c | 61 79 65 72 52 65 70 6c | 6, C.Pl|ayerRepl|
|00001ec0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2c 20 4e 6f 6e |icationI|nfo, Non|
|00001ed0| 65 2c 20 43 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |e, C.Pla|yerRepli|
|00001ee0| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 54 65 61 6d 20 |cationIn|fo.Team |
|00001ef0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 55 6e 72 65 |);.. | Unre|
|00001f00| 61 6c 4d 50 47 61 6d 65 | 49 6e 66 6f 28 4c 65 76 |alMPGame|Info(Lev|
|00001f10| 65 6c 2e 47 61 6d 65 29 | 2e 47 61 6d 65 45 76 65 |el.Game)|.GameEve|
|00001f20| 6e 74 28 22 62 6f 6d 62 | 5f 74 61 6b 65 6e 22 2c |nt("bomb|_taken",|
|00001f30| 22 32 35 35 22 2c 43 2e | 50 6c 61 79 65 72 52 65 |"255",C.|PlayerRe|
|00001f40| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 3b 0d |plicatio|nInfo);.|
|00001f50| 0a 20 20 20 20 7d 0d 0a | 0d 0a 20 20 20 20 66 75 |. }..|.. fu|
|00001f60| 6e 63 74 69 6f 6e 20 42 | 65 67 69 6e 53 74 61 74 |nction B|eginStat|
|00001f70| 65 28 29 0d 0a 20 20 20 | 20 7b 0d 0a 09 09 69 66 |e().. | {....if|
|00001f80| 20 28 20 54 6f 73 73 54 | 72 61 69 6c 20 21 3d 20 | ( TossT|rail != |
|00001f90| 4e 6f 6e 65 20 29 0d 0a | 09 09 09 54 6f 73 73 54 |None )..|...TossT|
|00001fa0| 72 61 69 6c 2e 44 65 73 | 74 72 6f 79 28 29 3b 0d |rail.Des|troy();.|
|00001fb0| 0a 20 20 20 20 20 20 20 | 20 53 6b 69 6e 73 5b 32 |. | Skins[2|
|00001fc0| 5d 20 3d 20 44 65 66 61 | 75 6c 74 2e 53 6b 69 6e |] = Defa|ult.Skin|
|00001fd0| 73 5b 32 5d 3b 0d 0a 20 | 20 20 20 20 20 20 20 53 |s[2];.. | S|
|00001fe0| 65 63 6f 6e 64 52 65 70 | 53 6b 69 6e 20 3d 20 53 |econdRep|Skin = S|
|00001ff0| 6b 69 6e 73 5b 32 5d 3b | 0d 0a 09 09 53 75 70 65 |kins[2];|....Supe|
|00002000| 72 2e 42 65 67 69 6e 53 | 74 61 74 65 28 29 3b 0d |r.BeginS|tate();.|
|00002010| 0a 09 09 53 65 74 50 68 | 79 73 69 63 73 28 50 48 |...SetPh|ysics(PH|
|00002020| 59 53 5f 52 6f 74 61 74 | 69 6e 67 29 3b 0d 0a 20 |YS_Rotat|ing);.. |
|00002030| 20 20 20 20 20 20 20 4c | 65 76 65 6c 2e 47 61 6d | L|evel.Gam|
|00002040| 65 2e 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |e.GameRe|plicatio|
|00002050| 6e 49 6e 66 6f 2e 46 6c | 61 67 53 74 61 74 65 5b |nInfo.Fl|agState[|
|00002060| 30 5d 20 3d 20 45 46 6c | 61 67 53 74 61 74 65 2e |0] = EFl|agState.|
|00002070| 46 4c 41 47 5f 48 6f 6d | 65 3b 0d 0a 20 20 20 20 |FLAG_Hom|e;.. |
|00002080| 20 20 20 20 4c 65 76 65 | 6c 2e 47 61 6d 65 2e 47 | Leve|l.Game.G|
|00002090| 61 6d 65 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |ameRepli|cationIn|
|000020a0| 66 6f 2e 46 6c 61 67 53 | 74 61 74 65 5b 31 5d 20 |fo.FlagS|tate[1] |
|000020b0| 3d 20 45 46 6c 61 67 53 | 74 61 74 65 2e 46 4c 41 |= EFlagS|tate.FLA|
|000020c0| 47 5f 48 6f 6d 65 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |G_Home;.|..}..}..|
|000020d0| 0d 0a 0d 0a 73 74 61 74 | 65 20 48 6f 6d 65 44 69 |....stat|e HomeDi|
|000020e0| 73 61 62 6c 65 64 0d 0a | 7b 0d 0a 20 20 20 20 69 |sabled..|{.. i|
|000020f0| 67 6e 6f 72 65 73 20 53 | 63 6f 72 65 2c 20 44 72 |gnores S|core, Dr|
|00002100| 6f 70 3b 0d 0a 0d 0a 20 | 20 20 20 66 75 6e 63 74 |op;.... | funct|
|00002110| 69 6f 6e 20 62 6f 6f 6c | 20 49 73 48 6f 6d 65 28 |ion bool| IsHome(|
|00002120| 29 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |).. {|.. |
|00002130| 20 20 72 65 74 75 72 6e | 20 74 72 75 65 3b 0d 0a | return| true;..|
|00002140| 20 20 20 20 7d 0d 0a 0d | 0a 20 20 20 20 66 75 6e | }...|. fun|
|00002150| 63 74 69 6f 6e 20 42 65 | 67 69 6e 53 74 61 74 65 |ction Be|ginState|
|00002160| 28 29 0d 0a 20 20 20 20 | 7b 0d 0a 20 09 09 69 66 |().. |{.. ..if|
|00002170| 20 28 20 54 6f 73 73 54 | 72 61 69 6c 20 21 3d 20 | ( TossT|rail != |
|00002180| 4e 6f 6e 65 20 29 0d 0a | 09 09 09 54 6f 73 73 54 |None )..|...TossT|
|00002190| 72 61 69 6c 2e 44 65 73 | 74 72 6f 79 28 29 3b 0d |rail.Des|troy();.|
|000021a0| 0a 09 09 53 6b 69 6e 73 | 5b 32 5d 20 3d 20 44 65 |...Skins|[2] = De|
|000021b0| 66 61 75 6c 74 2e 53 6b | 69 6e 73 5b 32 5d 3b 0d |fault.Sk|ins[2];.|
|000021c0| 0a 20 20 20 20 20 20 20 | 20 53 65 63 6f 6e 64 52 |. | SecondR|
|000021d0| 65 70 53 6b 69 6e 20 3d | 20 53 6b 69 6e 73 5b 32 |epSkin =| Skins[2|
|000021e0| 5d 3b 0d 0a 20 20 20 20 | 20 20 20 20 53 65 74 44 |];.. | SetD|
|000021f0| 69 73 61 62 6c 65 28 74 | 72 75 65 29 3b 0d 0a 20 |isable(t|rue);.. |
|00002200| 20 20 20 20 20 20 20 4c | 65 76 65 6c 2e 47 61 6d | L|evel.Gam|
|00002210| 65 2e 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |e.GameRe|plicatio|
|00002220| 6e 49 6e 66 6f 2e 46 6c | 61 67 53 74 61 74 65 5b |nInfo.Fl|agState[|
|00002230| 30 5d 20 3d 20 45 46 6c | 61 67 53 74 61 74 65 2e |0] = EFl|agState.|
|00002240| 46 4c 41 47 5f 48 6f 6d | 65 3b 0d 0a 20 20 20 20 |FLAG_Hom|e;.. |
|00002250| 20 20 20 20 4c 65 76 65 | 6c 2e 47 61 6d 65 2e 47 | Leve|l.Game.G|
|00002260| 61 6d 65 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |ameRepli|cationIn|
|00002270| 66 6f 2e 46 6c 61 67 53 | 74 61 74 65 5b 31 5d 20 |fo.FlagS|tate[1] |
|00002280| 3d 20 45 46 6c 61 67 53 | 74 61 74 65 2e 46 4c 41 |= EFlagS|tate.FLA|
|00002290| 47 5f 48 6f 6d 65 3b 0d | 0a 20 20 20 20 20 20 20 |G_Home;.|. |
|000022a0| 20 62 48 6f 6d 65 20 3d | 20 74 72 75 65 3b 0d 0a | bHome =| true;..|
|000022b0| 20 20 20 20 20 20 20 20 | 53 65 74 4c 6f 63 61 74 | |SetLocat|
|000022c0| 69 6f 6e 28 48 6f 6d 65 | 42 61 73 65 2e 4c 6f 63 |ion(Home|Base.Loc|
|000022d0| 61 74 69 6f 6e 29 3b 0d | 0a 20 20 20 20 20 20 20 |ation);.|. |
|000022e0| 20 53 65 74 52 6f 74 61 | 74 69 6f 6e 28 48 6f 6d | SetRota|tion(Hom|
|000022f0| 65 42 61 73 65 2e 52 6f | 74 61 74 69 6f 6e 29 3b |eBase.Ro|tation);|
|00002300| 0d 0a 20 20 20 20 20 20 | 20 20 53 65 74 43 6f 6c |.. | SetCol|
|00002310| 6c 69 73 69 6f 6e 28 66 | 61 6c 73 65 2c 20 66 61 |lision(f|alse, fa|
|00002320| 6c 73 65 2c 20 66 61 6c | 73 65 29 3b 0d 0a 20 20 |lse, fal|se);.. |
|00002330| 20 20 20 20 20 20 62 48 | 69 64 64 65 6e 20 3d 20 | bH|idden = |
|00002340| 74 72 75 65 3b 0d 0a 20 | 20 20 20 7d 0d 0a 0d 0a |true;.. | }....|
|00002350| 20 20 20 20 66 75 6e 63 | 74 69 6f 6e 20 45 6e 64 | func|tion End|
|00002360| 53 74 61 74 65 28 29 0d | 0a 20 20 20 20 7b 0d 0a |State().|. {..|
|00002370| 20 20 20 20 20 20 20 20 | 53 65 74 44 69 73 61 62 | |SetDisab|
|00002380| 6c 65 28 66 61 6c 73 65 | 29 3b 0d 0a 20 20 20 20 |le(false|);.. |
|00002390| 20 20 20 20 62 48 6f 6d | 65 20 3d 20 66 61 6c 73 | bHom|e = fals|
|000023a0| 65 3b 0d 0a 20 20 20 20 | 20 20 20 20 53 65 74 43 |e;.. | SetC|
|000023b0| 6f 6c 6c 69 73 69 6f 6e | 28 74 72 75 65 2c 20 66 |ollision|(true, f|
|000023c0| 61 6c 73 65 2c 20 66 61 | 6c 73 65 29 3b 0d 0a 20 |alse, fa|lse);.. |
|000023d0| 20 20 20 20 20 20 20 62 | 48 69 64 64 65 6e 20 3d | b|Hidden =|
|000023e0| 20 66 61 6c 73 65 3b 0d | 0a 20 20 20 20 7d 0d 0a | false;.|. }..|
|000023f0| 7d 0d 0a 0d 0a 73 74 61 | 74 65 20 48 65 6c 64 0d |}....sta|te Held.|
|00002400| 0a 7b 0d 0a 20 20 20 20 | 69 67 6e 6f 72 65 73 20 |.{.. |ignores |
|00002410| 53 65 74 48 6f 6c 64 65 | 72 2c 20 53 65 6e 64 48 |SetHolde|r, SendH|
|00002420| 6f 6d 65 3b 0d 0a 0d 0a | 09 66 75 6e 63 74 69 6f |ome;....|.functio|
|00002430| 6e 20 42 65 67 69 6e 53 | 74 61 74 65 28 29 0d 0a |n BeginS|tate()..|
|00002440| 20 20 20 20 7b 0d 0a 09 | 09 69 66 20 28 20 54 6f | {...|.if ( To|
|00002450| 73 73 54 72 61 69 6c 20 | 21 3d 20 4e 6f 6e 65 20 |ssTrail |!= None |
|00002460| 29 0d 0a 09 09 09 54 6f | 73 73 54 72 61 69 6c 2e |).....To|ssTrail.|
|00002470| 44 65 73 74 72 6f 79 28 | 29 3b 0d 0a 20 20 20 20 |Destroy(|);.. |
|00002480| 20 20 20 20 4c 65 76 65 | 6c 2e 47 61 6d 65 2e 47 | Leve|l.Game.G|
|00002490| 61 6d 65 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |ameRepli|cationIn|
|000024a0| 66 6f 2e 46 6c 61 67 53 | 74 61 74 65 5b 48 6f 6c |fo.FlagS|tate[Hol|
|000024b0| 64 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |der.Play|erReplic|
|000024c0| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 2e 54 |ationInf|o.Team.T|
|000024d0| 65 61 6d 49 6e 64 65 78 | 5d 20 3d 20 45 46 6c 61 |eamIndex|] = EFla|
|000024e0| 67 53 74 61 74 65 2e 46 | 4c 41 47 5f 48 65 6c 64 |gState.F|LAG_Held|
|000024f0| 46 72 69 65 6e 64 6c 79 | 3b 0d 0a 20 20 20 20 20 |Friendly|;.. |
|00002500| 20 20 20 69 66 20 28 20 | 48 6f 6c 64 65 72 2e 50 | if ( |Holder.P|
|00002510| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00002520| 49 6e 66 6f 2e 54 65 61 | 6d 2e 54 65 61 6d 49 6e |Info.Tea|m.TeamIn|
|00002530| 64 65 78 20 3d 3d 20 30 | 20 29 0d 0a 09 20 20 20 |dex == 0| )... |
|00002540| 20 20 20 20 20 4c 65 76 | 65 6c 2e 47 61 6d 65 2e | Lev|el.Game.|
|00002550| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|00002560| 6e 66 6f 2e 46 6c 61 67 | 53 74 61 74 65 5b 31 5d |nfo.Flag|State[1]|
|00002570| 20 3d 20 45 46 6c 61 67 | 53 74 61 74 65 2e 46 4c | = EFlag|State.FL|
|00002580| 41 47 5f 48 65 6c 64 45 | 6e 65 6d 79 3b 0d 0a 20 |AG_HeldE|nemy;.. |
|00002590| 20 20 20 20 20 20 20 65 | 6c 73 65 0d 0a 09 20 20 | e|lse... |
|000025a0| 20 20 20 20 20 20 4c 65 | 76 65 6c 2e 47 61 6d 65 | Le|vel.Game|
|000025b0| 2e 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e |.GameRep|lication|
|000025c0| 49 6e 66 6f 2e 46 6c 61 | 67 53 74 61 74 65 5b 30 |Info.Fla|gState[0|
|000025d0| 5d 20 3d 20 45 46 6c 61 | 67 53 74 61 74 65 2e 46 |] = EFla|gState.F|
|000025e0| 4c 41 47 5f 48 65 6c 64 | 45 6e 65 6d 79 3b 0d 0a |LAG_Held|Enemy;..|
|000025f0| 20 20 20 20 20 20 20 20 | 53 75 70 65 72 2e 42 65 | |Super.Be|
|00002600| 67 69 6e 53 74 61 74 65 | 28 29 3b 0d 0a 09 09 62 |ginState|();....b|
|00002610| 44 79 6e 61 6d 69 63 4c | 69 67 68 74 20 3d 20 66 |DynamicL|ight = f|
|00002620| 61 6c 73 65 3b 0d 0a 09 | 09 4c 69 67 68 74 54 79 |alse;...|.LightTy|
|00002630| 70 65 20 3d 20 4c 54 5f | 4e 6f 6e 65 3b 0d 0a 20 |pe = LT_|None;.. |
|00002640| 20 20 20 20 20 20 20 53 | 6b 69 6e 73 5b 30 5d 20 | S|kins[0] |
|00002650| 3d 20 54 65 61 6d 53 68 | 61 64 65 72 5b 48 6f 6c |= TeamSh|ader[Hol|
|00002660| 64 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |der.Play|erReplic|
|00002670| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 2e 54 |ationInf|o.Team.T|
|00002680| 65 61 6d 49 6e 64 65 78 | 5d 3b 0d 0a 20 20 20 20 |eamIndex|];.. |
|00002690| 20 20 20 20 52 65 70 53 | 6b 69 6e 20 3d 20 53 6b | RepS|kin = Sk|
|000026a0| 69 6e 73 5b 30 5d 3b 0d | 0a 09 09 53 6b 69 6e 73 |ins[0];.|...Skins|
|000026b0| 5b 32 5d 20 3d 20 52 65 | 70 53 6b 69 6e 3b 0d 0a |[2] = Re|pSkin;..|
|000026c0| 09 09 53 65 63 6f 6e 64 | 52 65 70 53 6b 69 6e 20 |..Second|RepSkin |
|000026d0| 3d 20 53 6b 69 6e 73 5b | 32 5d 3b 0d 0a 20 20 20 |= Skins[|2];.. |
|000026e0| 20 20 20 20 20 53 65 74 | 53 74 61 74 69 63 4d 65 | Set|StaticMe|
|000026f0| 73 68 28 53 74 61 74 69 | 63 4d 65 73 68 27 58 47 |sh(Stati|cMesh'XG|
|00002700| 61 6d 65 5f 52 43 2e 42 | 6f 6d 62 45 66 66 65 63 |ame_RC.B|ombEffec|
|00002710| 74 4d 65 73 68 27 29 3b | 0d 0a 20 20 20 20 20 20 |tMesh');|.. |
|00002720| 20 20 53 65 74 44 72 61 | 77 53 63 61 6c 65 28 31 | SetDra|wScale(1|
|00002730| 2e 30 29 3b 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 20 |.0);.. | }.... |
|00002740| 20 20 20 66 75 6e 63 74 | 69 6f 6e 20 45 6e 64 53 | funct|ion EndS|
|00002750| 74 61 74 65 28 29 0d 0a | 20 20 20 20 7b 0d 0a 20 |tate()..| {.. |
|00002760| 20 20 20 20 20 20 20 53 | 75 70 65 72 2e 45 6e 64 | S|uper.End|
|00002770| 53 74 61 74 65 28 29 3b | 0d 0a 09 09 62 44 79 6e |State();|....bDyn|
|00002780| 61 6d 69 63 4c 69 67 68 | 74 20 3d 20 74 72 75 65 |amicLigh|t = true|
|00002790| 3b 0d 0a 09 09 4c 69 67 | 68 74 54 79 70 65 20 3d |;....Lig|htType =|
|000027a0| 20 4c 54 5f 53 74 65 61 | 64 79 3b 0d 0a 20 20 20 | LT_Stea|dy;.. |
|000027b0| 20 20 20 20 20 53 6b 69 | 6e 73 5b 30 5d 20 3d 20 | Ski|ns[0] = |
|000027c0| 44 65 66 61 75 6c 74 2e | 53 6b 69 6e 73 5b 30 5d |Default.|Skins[0]|
|000027d0| 3b 0d 0a 20 20 20 20 20 | 20 20 20 52 65 70 53 6b |;.. | RepSk|
|000027e0| 69 6e 20 3d 20 53 6b 69 | 6e 73 5b 30 5d 3b 0d 0a |in = Ski|ns[0];..|
|000027f0| 20 20 20 20 20 20 20 20 | 53 65 74 53 74 61 74 69 | |SetStati|
|00002800| 63 4d 65 73 68 28 44 65 | 66 61 75 6c 74 2e 53 74 |cMesh(De|fault.St|
|00002810| 61 74 69 63 4d 65 73 68 | 29 3b 0d 0a 20 20 20 20 |aticMesh|);.. |
|00002820| 20 20 20 20 53 65 74 44 | 72 61 77 53 63 61 6c 65 | SetD|rawScale|
|00002830| 28 44 65 66 61 75 6c 74 | 2e 44 72 61 77 53 63 61 |(Default|.DrawSca|
|00002840| 6c 65 29 3b 0d 0a 20 20 | 20 20 7d 0d 0a 7d 0d 0a |le);.. | }..}..|
|00002850| 0d 0a 73 74 61 74 65 20 | 44 72 6f 70 70 65 64 0d |..state |Dropped.|
|00002860| 0a 7b 0d 0a 20 20 20 20 | 69 67 6e 6f 72 65 73 20 |.{.. |ignores |
|00002870| 44 72 6f 70 3b 0d 0a 0d | 0a 09 66 75 6e 63 74 69 |Drop;...|..functi|
|00002880| 6f 6e 20 48 69 74 57 61 | 6c 6c 28 20 76 65 63 74 |on HitWa|ll( vect|
|00002890| 6f 72 20 48 69 74 4e 6f | 72 6d 61 6c 2c 20 61 63 |or HitNo|rmal, ac|
|000028a0| 74 6f 72 20 57 61 6c 6c | 20 29 0d 0a 09 7b 0d 0a |tor Wall| )...{..|
|000028b0| 09 09 69 66 20 28 20 28 | 50 61 73 73 54 61 72 67 |..if ( (|PassTarg|
|000028c0| 65 74 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 28 |et != No|ne) && (|
|000028d0| 28 41 63 63 65 6c 65 72 | 61 74 69 6f 6e 20 44 6f |(Acceler|ation Do|
|000028e0| 74 20 48 69 74 4e 6f 72 | 6d 61 6c 29 20 3c 20 30 |t HitNor|mal) < 0|
|000028f0| 29 20 29 0d 0a 09 09 7b | 0d 0a 09 09 09 44 69 73 |) )....{|.....Dis|
|00002900| 61 62 6c 65 28 27 54 69 | 63 6b 27 29 3b 0d 0a 09 |able('Ti|ck');...|
|00002910| 09 09 69 66 20 28 20 50 | 68 79 73 69 63 73 20 3d |..if ( P|hysics =|
|00002920| 3d 20 50 48 59 53 5f 50 | 72 6f 6a 65 63 74 69 6c |= PHYS_P|rojectil|
|00002930| 65 20 29 0d 0a 09 09 09 | 09 53 65 74 50 68 79 73 |e ).....|.SetPhys|
|00002940| 69 63 73 28 50 48 59 53 | 5f 46 61 6c 6c 69 6e 67 |ics(PHYS|_Falling|
|00002950| 29 3b 0d 0a 09 09 7d 0d | 0a 09 09 47 6c 6f 62 61 |);....}.|...Globa|
|00002960| 6c 2e 48 69 74 57 61 6c | 6c 28 48 69 74 4e 6f 72 |l.HitWal|l(HitNor|
|00002970| 6d 61 6c 2c 20 57 61 6c | 6c 29 3b 0d 0a 09 7d 0d |mal, Wal|l);...}.|
|00002980| 0a 0d 0a 09 2f 2f 20 70 | 61 73 73 20 73 65 65 6b |....// p|ass seek|
|00002990| 69 6e 67 0d 0a 09 66 75 | 6e 63 74 69 6f 6e 20 54 |ing...fu|nction T|
|000029a0| 69 63 6b 28 66 6c 6f 61 | 74 20 64 65 6c 74 61 29 |ick(floa|t delta)|
|000029b0| 0d 0a 09 7b 0d 0a 09 09 | 6c 6f 63 61 6c 20 76 65 |...{....|local ve|
|000029c0| 63 74 6f 72 20 44 69 72 | 3b 0d 0a 09 09 6c 6f 63 |ctor Dir|;....loc|
|000029d0| 61 6c 20 66 6c 6f 61 74 | 20 5a 3b 0d 0a 0d 0a 09 |al float| Z;.....|
|000029e0| 09 53 65 65 6b 41 63 63 | 75 6d 20 2b 3d 20 64 65 |.SeekAcc|um += de|
|000029f0| 6c 74 61 3b 0d 0a 0d 0a | 09 09 69 66 28 20 53 65 |lta;....|..if( Se|
|00002a00| 65 6b 41 63 63 75 6d 20 | 3e 3d 20 53 65 65 6b 49 |ekAccum |>= SeekI|
|00002a10| 6e 74 65 72 76 61 6c 20 | 29 0d 0a 09 09 7b 0d 0a |nterval |)....{..|
|00002a20| 09 09 09 53 65 65 6b 41 | 63 63 75 6d 20 2d 3d 20 |...SeekA|ccum -= |
|00002a30| 53 65 65 6b 49 6e 74 65 | 72 76 61 6c 3b 0d 0a 0d |SeekInte|rval;...|
|00002a40| 0a 09 09 09 69 66 20 28 | 20 28 50 61 73 73 54 61 |....if (| (PassTa|
|00002a50| 72 67 65 74 20 21 3d 20 | 4e 6f 6e 65 29 20 26 26 |rget != |None) &&|
|00002a60| 20 28 50 61 73 73 54 61 | 72 67 65 74 20 21 3d 20 | (PassTa|rget != |
|00002a70| 49 6e 73 74 69 67 61 74 | 6f 72 29 20 29 0d 0a 09 |Instigat|or) )...|
|00002a80| 09 09 7b 0d 0a 09 09 09 | 09 44 69 72 20 3d 20 4e |..{.....|.Dir = N|
|00002a90| 6f 72 6d 61 6c 28 28 50 | 61 73 73 54 61 72 67 65 |ormal((P|assTarge|
|00002aa0| 74 2e 4c 6f 63 61 74 69 | 6f 6e 20 2b 20 28 76 65 |t.Locati|on + (ve|
|00002ab0| 63 74 28 30 2c 30 2c 31 | 29 2a 50 61 73 73 54 61 |ct(0,0,1|)*PassTa|
|00002ac0| 72 67 65 74 2e 43 6f 6c | 6c 69 73 69 6f 6e 48 65 |rget.Col|lisionHe|
|00002ad0| 69 67 68 74 2a 30 2e 35 | 29 29 20 2d 20 4c 6f 63 |ight*0.5|)) - Loc|
|00002ae0| 61 74 69 6f 6e 29 3b 0d | 0a 09 09 09 09 41 63 63 |ation);.|.....Acc|
|00002af0| 65 6c 65 72 61 74 69 6f | 6e 20 3d 20 31 2e 32 35 |eleratio|n = 1.25|
|00002b00| 20 2a 20 54 68 72 6f 77 | 53 70 65 65 64 20 2a 20 | * Throw|Speed * |
|00002b10| 44 69 72 3b 0d 0a 09 09 | 09 09 69 66 20 28 20 56 |Dir;....|..if ( V|
|00002b20| 53 69 7a 65 28 4c 6f 63 | 61 74 69 6f 6e 20 2d 20 |Size(Loc|ation - |
|00002b30| 50 61 73 73 54 61 72 67 | 65 74 2e 4c 6f 63 61 74 |PassTarg|et.Locat|
|00002b40| 69 6f 6e 29 20 3c 20 32 | 35 30 20 29 0d 0a 09 09 |ion) < 2|50 )....|
|00002b50| 09 09 7b 0d 0a 09 09 09 | 09 09 56 65 6c 6f 63 69 |..{.....|..Veloci|
|00002b60| 74 79 20 3d 20 56 65 6c | 6f 63 69 74 79 20 2b 20 |ty = Vel|ocity + |
|00002b70| 31 30 20 2a 20 41 63 63 | 65 6c 65 72 61 74 69 6f |10 * Acc|eleratio|
|00002b80| 6e 20 2a 20 64 65 6c 74 | 61 3b 0d 0a 09 09 09 09 |n * delt|a;......|
|00002b90| 09 69 66 20 28 20 28 44 | 69 72 20 44 6f 74 20 4e |.if ( (D|ir Dot N|
|00002ba0| 6f 72 6d 61 6c 28 56 65 | 6c 6f 63 69 74 79 29 29 |ormal(Ve|locity))|
|00002bb0| 20 3c 20 30 2e 39 20 29 | 0d 0a 09 09 09 09 09 09 | < 0.9 )|........|
|00002bc0| 41 63 63 65 6c 65 72 61 | 74 69 6f 6e 20 2a 3d 20 |Accelera|tion *= |
|00002bd0| 30 2e 34 3b 0d 0a 09 09 | 09 09 7d 0d 0a 09 09 09 |0.4;....|..}.....|
|00002be0| 09 53 65 74 52 6f 74 61 | 74 69 6f 6e 28 72 6f 74 |.SetRota|tion(rot|
|00002bf0| 61 74 6f 72 28 41 63 63 | 65 6c 65 72 61 74 69 6f |ator(Acc|eleratio|
|00002c00| 6e 29 29 3b 0d 0a 09 09 | 09 09 69 66 20 28 20 4c |n));....|..if ( L|
|00002c10| 65 76 65 6c 2e 54 69 6d | 65 53 65 63 6f 6e 64 73 |evel.Tim|eSeconds|
|00002c20| 20 2d 20 54 68 72 6f 77 | 65 72 54 69 6d 65 20 3e | - Throw|erTime >|
|00002c30| 20 34 20 29 0d 0a 09 09 | 09 09 7b 0d 0a 09 09 09 | 4 )....|..{.....|
|00002c40| 09 09 44 69 73 61 62 6c | 65 28 27 54 69 63 6b 27 |..Disabl|e('Tick'|
|00002c50| 29 3b 0d 0a 09 09 09 09 | 09 69 66 20 28 20 50 68 |);......|.if ( Ph|
|00002c60| 79 73 69 63 73 20 3d 3d | 20 50 48 59 53 5f 50 72 |ysics ==| PHYS_Pr|
|00002c70| 6f 6a 65 63 74 69 6c 65 | 20 29 0d 0a 09 09 09 09 |ojectile| )......|
|00002c80| 09 09 53 65 74 50 68 79 | 73 69 63 73 28 50 48 59 |..SetPhy|sics(PHY|
|00002c90| 53 5f 46 61 6c 6c 69 6e | 67 29 3b 0d 0a 09 09 09 |S_Fallin|g);.....|
|00002ca0| 09 7d 0d 0a 09 09 09 7d | 0d 0a 09 09 09 65 6c 73 |.}.....}|.....els|
|00002cb0| 65 0d 0a 09 09 09 7b 0d | 0a 09 09 09 09 44 69 73 |e.....{.|.....Dis|
|00002cc0| 61 62 6c 65 28 27 54 69 | 63 6b 27 29 3b 0d 0a 09 |able('Ti|ck');...|
|00002cd0| 09 09 09 69 66 20 28 20 | 50 68 79 73 69 63 73 20 |...if ( |Physics |
|00002ce0| 3d 3d 20 50 48 59 53 5f | 50 72 6f 6a 65 63 74 69 |== PHYS_|Projecti|
|00002cf0| 6c 65 20 29 0d 0a 09 09 | 09 09 09 53 65 74 50 68 |le )....|...SetPh|
|00002d00| 79 73 69 63 73 28 50 48 | 59 53 5f 46 61 6c 6c 69 |ysics(PH|YS_Falli|
|00002d10| 6e 67 29 3b 0d 0a 09 09 | 09 7d 0d 0a 09 09 7d 0d |ng);....|.}....}.|
|00002d20| 0a 09 09 69 66 20 28 20 | 50 68 79 73 69 63 73 20 |...if ( |Physics |
|00002d30| 3d 3d 20 50 48 59 53 5f | 50 72 6f 6a 65 63 74 69 |== PHYS_|Projecti|
|00002d40| 6c 65 20 29 0d 0a 09 09 | 09 56 65 6c 6f 63 69 74 |le )....|.Velocit|
|00002d50| 79 20 3d 20 56 65 6c 6f | 63 69 74 79 20 2b 20 31 |y = Velo|city + 1|
|00002d60| 30 20 2a 20 41 63 63 65 | 6c 65 72 61 74 69 6f 6e |0 * Acce|leration|
|00002d70| 20 2a 20 64 65 6c 74 61 | 3b 0d 0a 09 09 65 6c 73 | * delta|;....els|
|00002d80| 65 0d 0a 09 09 7b 0d 0a | 09 09 09 44 69 73 61 62 |e....{..|...Disab|
|00002d90| 6c 65 28 27 54 69 63 6b | 27 29 3b 0d 0a 09 09 09 |le('Tick|');.....|
|00002da0| 41 63 63 65 6c 65 72 61 | 74 69 6f 6e 20 3d 20 76 |Accelera|tion = v|
|00002db0| 65 63 74 28 30 2c 30 2c | 30 29 3b 0d 0a 09 09 09 |ect(0,0,|0);.....|
|00002dc0| 5a 20 3d 20 56 65 6c 6f | 63 69 74 79 2e 5a 3b 0d |Z = Velo|city.Z;.|
|00002dd0| 0a 09 09 09 56 65 6c 6f | 63 69 74 79 2e 5a 20 3d |....Velo|city.Z =|
|00002de0| 20 30 3b 0d 0a 09 09 09 | 69 66 20 28 20 56 53 69 | 0;.....|if ( VSi|
|00002df0| 7a 65 28 56 65 6c 6f 63 | 69 74 79 29 20 3e 20 38 |ze(Veloc|ity) > 8|
|00002e00| 30 30 20 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |00 )....|.{......|
|00002e10| 56 65 6c 6f 63 69 74 79 | 20 3d 20 38 30 30 20 2a |Velocity| = 800 *|
|00002e20| 20 4e 6f 72 6d 61 6c 28 | 56 65 6c 6f 63 69 74 79 | Normal(|Velocity|
|00002e30| 29 3b 0d 0a 09 09 09 09 | 56 65 6c 6f 63 69 74 79 |);......|Velocity|
|00002e40| 2e 5a 20 3d 20 46 4d 69 | 6e 28 31 30 30 2c 5a 29 |.Z = FMi|n(100,Z)|
|00002e50| 3b 0d 0a 09 09 09 7d 0d | 0a 09 09 7d 0d 0a 09 7d |;.....}.|...}...}|
|00002e60| 0d 0a 0d 0a 09 66 75 6e | 63 74 69 6f 6e 20 4c 61 |.....fun|ction La|
|00002e70| 6e 64 65 64 28 76 65 63 | 74 6f 72 20 68 69 74 4e |nded(vec|tor hitN|
|00002e80| 6f 72 6d 61 6c 29 0d 0a | 09 7b 0d 0a 09 09 69 66 |ormal)..|.{....if|
|00002e90| 20 28 20 53 6b 69 6e 73 | 5b 32 5d 20 21 3d 20 44 | ( Skins|[2] != D|
|00002ea0| 65 66 61 75 6c 74 2e 53 | 6b 69 6e 73 5b 32 5d 20 |efault.S|kins[2] |
|00002eb0| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 53 6b 69 6e 73 |)....{..|...Skins|
|00002ec0| 5b 32 5d 20 3d 20 44 65 | 66 61 75 6c 74 2e 53 6b |[2] = De|fault.Sk|
|00002ed0| 69 6e 73 5b 32 5d 3b 0d | 0a 09 09 09 53 65 63 6f |ins[2];.|....Seco|
|00002ee0| 6e 64 52 65 70 53 6b 69 | 6e 20 3d 20 53 6b 69 6e |ndRepSki|n = Skin|
|00002ef0| 73 5b 32 5d 3b 0d 0a 09 | 09 7d 0d 0a 09 09 56 65 |s[2];...|.}....Ve|
|00002f00| 6c 6f 63 69 74 79 20 3d | 20 76 65 63 74 28 30 2c |locity =| vect(0,|
|00002f10| 30 2c 30 29 3b 0d 0a 09 | 09 41 63 63 65 6c 65 72 |0,0);...|.Acceler|
|00002f20| 61 74 69 6f 6e 20 3d 20 | 76 65 63 74 28 30 2c 30 |ation = |vect(0,0|
|00002f30| 2c 30 29 3b 0d 0a 09 09 | 53 65 74 50 68 79 73 69 |,0);....|SetPhysi|
|00002f40| 63 73 28 50 48 59 53 5f | 52 6f 74 61 74 69 6e 67 |cs(PHYS_|Rotating|
|00002f50| 29 3b 0d 0a 09 09 69 66 | 20 28 20 28 4c 6f 63 61 |);....if| ( (Loca|
|00002f60| 74 69 6f 6e 2e 5a 20 3c | 20 52 65 67 69 6f 6e 2e |tion.Z <| Region.|
|00002f70| 5a 6f 6e 65 2e 4b 69 6c | 6c 5a 29 20 7c 7c 20 49 |Zone.Kil|lZ) || I|
|00002f80| 73 49 6e 50 61 69 6e 28 | 29 20 29 0d 0a 09 09 09 |sInPain(|) ).....|
|00002f90| 54 69 6d 65 72 28 29 3b | 0d 0a 09 7d 0d 0a 0d 0a |Timer();|...}....|
|00002fa0| 20 20 20 20 66 75 6e 63 | 74 69 6f 6e 20 4c 6f 67 | func|tion Log|
|00002fb0| 54 61 6b 65 6e 28 43 6f | 6e 74 72 6f 6c 6c 65 72 |Taken(Co|ntroller|
|00002fc0| 20 63 29 0d 0a 20 20 20 | 20 7b 0d 0a 09 09 69 66 | c).. | {....if|
|00002fd0| 20 28 20 43 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 | ( C.Pla|yerRepli|
|00002fe0| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 54 65 61 6d 20 |cationIn|fo.Team |
|00002ff0| 21 3d 20 4f 6c 64 54 65 | 61 6d 20 29 0d 0a 09 09 |!= OldTe|am )....|
|00003000| 09 42 72 6f 61 64 63 61 | 73 74 4c 6f 63 61 6c 69 |.Broadca|stLocali|
|00003010| 7a 65 64 4d 65 73 73 61 | 67 65 28 20 4d 65 73 73 |zedMessa|ge( Mess|
|00003020| 61 67 65 43 6c 61 73 73 | 2c 20 34 2c 20 43 2e 50 |ageClass|, 4, C.P|
|00003030| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00003040| 49 6e 66 6f 2c 20 4e 6f | 6e 65 2c 20 43 2e 50 6c |Info, No|ne, C.Pl|
|00003050| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00003060| 6e 66 6f 2e 54 65 61 6d | 20 29 3b 0d 0a 09 09 4f |nfo.Team| );....O|
|00003070| 6c 64 54 65 61 6d 20 3d | 20 43 2e 50 6c 61 79 65 |ldTeam =| C.Playe|
|00003080| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00003090| 2e 54 65 61 6d 3b 0d 0a | 20 20 20 20 20 20 20 20 |.Team;..| |
|000030a0| 55 6e 72 65 61 6c 4d 50 | 47 61 6d 65 49 6e 66 6f |UnrealMP|GameInfo|
|000030b0| 28 4c 65 76 65 6c 2e 47 | 61 6d 65 29 2e 47 61 6d |(Level.G|ame).Gam|
|000030c0| 65 45 76 65 6e 74 28 22 | 62 6f 6d 62 5f 70 69 63 |eEvent("|bomb_pic|
|000030d0| 6b 75 70 22 2c 22 32 35 | 35 22 2c 43 2e 50 6c 61 |kup","25|5",C.Pla|
|000030e0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|000030f0| 66 6f 29 3b 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 09 |fo);.. | }.....|
|00003100| 66 75 6e 63 74 69 6f 6e | 20 54 69 6d 65 72 28 29 |function| Timer()|
|00003110| 0d 0a 09 7b 0d 0a 20 20 | 20 20 20 20 20 20 55 6e |...{.. | Un|
|00003120| 72 65 61 6c 4d 50 47 61 | 6d 65 49 6e 66 6f 28 4c |realMPGa|meInfo(L|
|00003130| 65 76 65 6c 2e 47 61 6d | 65 29 2e 47 61 6d 65 45 |evel.Gam|e).GameE|
|00003140| 76 65 6e 74 28 22 62 6f | 6d 62 5f 72 65 74 75 72 |vent("bo|mb_retur|
|00003150| 6e 65 64 5f 74 69 6d 65 | 6f 75 74 22 2c 22 32 35 |ned_time|out","25|
|00003160| 35 22 2c 4e 6f 6e 65 29 | 3b 0d 0a 09 09 53 75 70 |5",None)|;....Sup|
|00003170| 65 72 2e 54 69 6d 65 72 | 28 29 3b 0d 0a 09 7d 0d |er.Timer|();...}.|
|00003180| 0a 0d 0a 09 66 75 6e 63 | 74 69 6f 6e 20 42 65 67 |....func|tion Beg|
|00003190| 69 6e 53 74 61 74 65 28 | 29 0d 0a 09 7b 0d 0a 09 |inState(|)...{...|
|000031a0| 09 69 66 20 28 20 28 28 | 50 61 73 73 54 61 72 67 |.if ( ((|PassTarg|
|000031b0| 65 74 20 3d 3d 20 4e 6f | 6e 65 29 20 7c 7c 20 28 |et == No|ne) || (|
|000031c0| 50 61 73 73 54 61 72 67 | 65 74 20 3d 3d 20 49 6e |PassTarg|et == In|
|000031d0| 73 74 69 67 61 74 6f 72 | 29 29 20 26 26 20 28 53 |stigator|)) && (S|
|000031e0| 6b 69 6e 73 5b 32 5d 20 | 21 3d 20 44 65 66 61 75 |kins[2] |!= Defau|
|000031f0| 6c 74 2e 53 6b 69 6e 73 | 5b 32 5d 29 20 29 0d 0a |lt.Skins|[2]) )..|
|00003200| 09 09 7b 0d 0a 09 09 09 | 53 6b 69 6e 73 5b 32 5d |..{.....|Skins[2]|
|00003210| 20 3d 20 44 65 66 61 75 | 6c 74 2e 53 6b 69 6e 73 | = Defau|lt.Skins|
|00003220| 5b 32 5d 3b 0d 0a 09 09 | 09 53 65 63 6f 6e 64 52 |[2];....|.SecondR|
|00003230| 65 70 53 6b 69 6e 20 3d | 20 53 6b 69 6e 73 5b 32 |epSkin =| Skins[2|
|00003240| 5d 3b 0d 0a 20 09 20 20 | 20 20 20 20 20 53 65 74 |];.. . | Set|
|00003250| 50 68 79 73 69 63 73 28 | 50 48 59 53 5f 46 61 6c |Physics(|PHYS_Fal|
|00003260| 6c 69 6e 67 29 3b 0d 0a | 09 09 7d 0d 0a 09 09 65 |ling);..|..}....e|
|00003270| 6c 73 65 20 69 66 20 28 | 20 50 68 79 73 69 63 73 |lse if (| Physics|
|00003280| 20 21 3d 20 50 48 59 53 | 5f 50 72 6f 6a 65 63 74 | != PHYS|_Project|
|00003290| 69 6c 65 20 29 0d 0a 09 | 09 09 53 65 74 50 68 79 |ile )...|..SetPhy|
|000032a0| 73 69 63 73 28 50 48 59 | 53 5f 46 61 6c 6c 69 6e |sics(PHY|S_Fallin|
|000032b0| 67 29 3b 0d 0a 09 09 53 | 65 74 54 69 6d 65 72 28 |g);....S|etTimer(|
|000032c0| 4d 61 78 44 72 6f 70 54 | 69 6d 65 2c 20 66 61 6c |MaxDropT|ime, fal|
|000032d0| 73 65 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 53 65 |se);.. | Se|
|000032e0| 74 50 68 79 73 69 63 73 | 28 50 48 59 53 5f 46 61 |tPhysics|(PHYS_Fa|
|000032f0| 6c 6c 69 6e 67 29 3b 0d | 0a 09 09 4c 65 76 65 6c |lling);.|...Level|
|00003300| 2e 47 61 6d 65 2e 47 61 | 6d 65 52 65 70 6c 69 63 |.Game.Ga|meReplic|
|00003310| 61 74 69 6f 6e 49 6e 66 | 6f 2e 46 6c 61 67 53 74 |ationInf|o.FlagSt|
|00003320| 61 74 65 5b 30 5d 20 3d | 20 45 46 6c 61 67 53 74 |ate[0] =| EFlagSt|
|00003330| 61 74 65 2e 46 4c 41 47 | 5f 44 6f 77 6e 3b 0d 0a |ate.FLAG|_Down;..|
|00003340| 20 20 20 20 20 20 20 20 | 4c 65 76 65 6c 2e 47 61 | |Level.Ga|
|00003350| 6d 65 2e 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |me.GameR|eplicati|
|00003360| 6f 6e 49 6e 66 6f 2e 46 | 6c 61 67 53 74 61 74 65 |onInfo.F|lagState|
|00003370| 5b 31 5d 20 3d 20 45 46 | 6c 61 67 53 74 61 74 65 |[1] = EF|lagState|
|00003380| 2e 46 4c 41 47 5f 44 6f | 77 6e 3b 0d 0a 20 20 20 |.FLAG_Do|wn;.. |
|00003390| 20 7d 0d 0a 0d 0a 20 20 | 20 20 66 75 6e 63 74 69 | }.... | functi|
|000033a0| 6f 6e 20 45 6e 64 53 74 | 61 74 65 28 29 0d 0a 20 |on EndSt|ate().. |
|000033b0| 20 20 20 7b 0d 0a 09 09 | 50 61 73 73 54 61 72 67 | {....|PassTarg|
|000033c0| 65 74 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 09 69 66 |et = Non|e;....if|
|000033d0| 20 28 20 53 6b 69 6e 73 | 5b 32 5d 20 21 3d 20 44 | ( Skins|[2] != D|
|000033e0| 65 66 61 75 6c 74 2e 53 | 6b 69 6e 73 5b 32 5d 20 |efault.S|kins[2] |
|000033f0| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 53 6b 69 6e 73 |)....{..|...Skins|
|00003400| 5b 32 5d 20 3d 20 44 65 | 66 61 75 6c 74 2e 53 6b |[2] = De|fault.Sk|
|00003410| 69 6e 73 5b 32 5d 3b 0d | 0a 09 09 09 53 65 63 6f |ins[2];.|....Seco|
|00003420| 6e 64 52 65 70 53 6b 69 | 6e 20 3d 20 53 6b 69 6e |ndRepSki|n = Skin|
|00003430| 73 5b 32 5d 3b 0d 0a 09 | 09 7d 0d 0a 09 09 53 75 |s[2];...|.}....Su|
|00003440| 70 65 72 2e 45 6e 64 53 | 74 61 74 65 28 29 3b 0d |per.EndS|tate();.|
|00003450| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 0d 0a 00 |..}..}..|..... |
+--------+-------------------------+-------------------------+--------+--------+