home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 6.8 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.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 60 6c 63 6c 61 73 73 20 |........|`lclass |
|00000010| 54 72 61 6e 73 52 65 63 | 61 6c 6c 20 65 78 74 65 |TransRec|all exte|
|00000020| 6e 64 73 20 57 65 61 70 | 6f 6e 46 69 72 65 3b 0d |nds Weap|onFire;.|
|00000030| 0a 0d 0a 76 61 72 28 29 | 20 53 6f 75 6e 64 20 54 |...var()| Sound T|
|00000040| 72 61 6e 73 46 61 69 6c | 65 64 53 6f 75 6e 64 3b |ransFail|edSound;|
|00000050| 0d 0a 76 61 72 20 62 6f | 6f 6c 20 62 47 69 62 4d |..var bo|ol bGibM|
|00000060| 65 3b 0d 0a 76 61 72 20 | 4d 61 74 65 72 69 61 6c |e;..var |Material|
|00000070| 20 54 72 61 6e 73 4d 61 | 74 65 72 69 61 6c 73 5b | TransMa|terials[|
|00000080| 32 5d 3b 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |2];....s|imulated|
|00000090| 20 66 75 6e 63 74 69 6f | 6e 20 50 6c 61 79 46 69 | functio|n PlayFi|
|000000a0| 72 69 6e 67 28 29 0d 0a | 7b 0d 0a 20 20 20 20 69 |ring()..|{.. i|
|000000b0| 66 20 28 20 54 72 61 6e | 73 4c 61 75 6e 63 68 65 |f ( Tran|sLaunche|
|000000c0| 72 28 57 65 61 70 6f 6e | 29 2e 62 42 65 61 63 6f |r(Weapon|).bBeaco|
|000000d0| 6e 44 65 70 6c 6f 79 65 | 64 20 29 0d 0a 20 20 20 |nDeploye|d ).. |
|000000e0| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 57 65 61 70 | {.. | Weap|
|000000f0| 6f 6e 2e 50 6c 61 79 41 | 6e 69 6d 28 46 69 72 65 |on.PlayA|nim(Fire|
|00000100| 41 6e 69 6d 2c 20 46 69 | 72 65 41 6e 69 6d 52 61 |Anim, Fi|reAnimRa|
|00000110| 74 65 2c 20 54 77 65 65 | 6e 54 69 6d 65 29 3b 0d |te, Twee|nTime);.|
|00000120| 0a 20 20 20 20 7d 0d 0a | 7d 0d 0a 0d 0a 73 69 6d |. }..|}....sim|
|00000130| 75 6c 61 74 65 64 20 66 | 75 6e 63 74 69 6f 6e 20 |ulated f|unction |
|00000140| 62 6f 6f 6c 20 41 6c 6c | 6f 77 46 69 72 65 28 29 |bool All|owFire()|
|00000150| 0d 0a 7b 0d 0a 20 20 20 | 20 6c 6f 63 61 6c 20 62 |..{.. | local b|
|00000160| 6f 6f 6c 20 73 75 63 63 | 65 73 73 3b 0d 0a 20 20 |ool succ|ess;.. |
|00000170| 20 20 0d 0a 20 20 20 20 | 73 75 63 63 65 73 73 20 | .. |success |
|00000180| 3d 20 28 20 54 72 61 6e | 73 4c 61 75 6e 63 68 65 |= ( Tran|sLaunche|
|00000190| 72 28 57 65 61 70 6f 6e | 29 2e 41 6d 6d 6f 43 68 |r(Weapon|).AmmoCh|
|000001a0| 61 72 67 65 46 20 3e 3d | 20 31 2e 30 20 29 3b 0d |argeF >=| 1.0 );.|
|000001b0| 0a 0d 0a 20 20 20 20 69 | 66 20 28 21 73 75 63 63 |... i|f (!succ|
|000001c0| 65 73 73 20 26 26 20 28 | 57 65 61 70 6f 6e 2e 52 |ess && (|Weapon.R|
|000001d0| 6f 6c 65 20 3d 3d 20 52 | 4f 4c 45 5f 41 75 74 68 |ole == R|OLE_Auth|
|000001e0| 6f 72 69 74 79 29 20 26 | 26 20 28 54 72 61 6e 73 |ority) &|& (Trans|
|000001f0| 4c 61 75 6e 63 68 65 72 | 28 57 65 61 70 6f 6e 29 |Launcher|(Weapon)|
|00000200| 2e 54 72 61 6e 73 42 65 | 61 63 6f 6e 20 21 3d 20 |.TransBe|acon != |
|00000210| 4e 6f 6e 65 29 20 29 0d | 0a 20 20 20 20 7b 0d 0a |None) ).|. {..|
|00000220| 20 20 20 20 20 20 20 20 | 69 66 28 20 50 6c 61 79 | |if( Play|
|00000230| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 49 6e 73 |erContro|ller(Ins|
|00000240| 74 69 67 61 74 6f 72 2e | 43 6f 6e 74 72 6f 6c 6c |tigator.|Controll|
|00000250| 65 72 29 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 20 |er) != N|one ).. |
|00000260| 20 20 20 20 20 20 20 20 | 20 20 20 50 6c 61 79 65 | | Playe|
|00000270| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 28 49 6e 73 74 |rControl|ler(Inst|
|00000280| 69 67 61 74 6f 72 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |igator.C|ontrolle|
|00000290| 72 29 2e 43 6c 69 65 6e | 74 50 6c 61 79 53 6f 75 |r).Clien|tPlaySou|
|000002a0| 6e 64 28 54 72 61 6e 73 | 46 61 69 6c 65 64 53 6f |nd(Trans|FailedSo|
|000002b0| 75 6e 64 29 3b 0d 0a 20 | 20 20 20 7d 0d 0a 20 20 |und);.. | }.. |
|000002c0| 20 20 72 65 74 75 72 6e | 20 73 75 63 63 65 73 73 | return| success|
|000002d0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|000002e0| 20 62 6f 6f 6c 20 41 74 | 74 65 6d 70 74 54 72 61 | bool At|temptTra|
|000002f0| 6e 73 6c 6f 63 61 74 69 | 6f 6e 28 76 65 63 74 6f |nslocati|on(vecto|
|00000300| 72 20 64 65 73 74 2c 20 | 54 72 61 6e 73 42 65 61 |r dest, |TransBea|
|00000310| 63 6f 6e 20 54 72 61 6e | 73 42 65 61 63 6f 6e 29 |con Tran|sBeacon)|
|00000320| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 76 65 63 74 |..{...lo|cal vect|
|00000330| 6f 72 20 4f 6c 64 4c 6f | 63 61 74 69 6f 6e 2c 20 |or OldLo|cation, |
|00000340| 48 69 74 4c 6f 63 61 74 | 69 6f 6e 2c 20 48 69 74 |HitLocat|ion, Hit|
|00000350| 4e 6f 72 6d 61 6c 3b 0d | 0a 09 6c 6f 63 61 6c 20 |Normal;.|..local |
|00000360| 61 63 74 6f 72 20 48 69 | 74 41 63 74 6f 72 3b 0d |actor Hi|tActor;.|
|00000370| 0a 09 0d 0a 09 4f 6c 64 | 4c 6f 63 61 74 69 6f 6e |.....Old|Location|
|00000380| 20 3d 20 49 6e 73 74 69 | 67 61 74 6f 72 2e 4c 6f | = Insti|gator.Lo|
|00000390| 63 61 74 69 6f 6e 3b 0d | 0a 09 69 66 20 28 20 21 |cation;.|..if ( !|
|000003a0| 54 72 61 6e 73 6c 6f 63 | 53 75 63 63 65 65 64 65 |Transloc|Succeede|
|000003b0| 64 28 64 65 73 74 2c 54 | 72 61 6e 73 42 65 61 63 |d(dest,T|ransBeac|
|000003c0| 6f 6e 29 20 29 0d 0a 09 | 09 72 65 74 75 72 6e 20 |on) )...|.return |
|000003d0| 66 61 6c 73 65 3b 0d 0a | 09 09 0d 0a 09 48 69 74 |false;..|.....Hit|
|000003e0| 41 63 74 6f 72 20 3d 20 | 57 65 61 70 6f 6e 2e 54 |Actor = |Weapon.T|
|000003f0| 72 61 63 65 28 48 69 74 | 4c 6f 63 61 74 69 6f 6e |race(Hit|Location|
|00000400| 2c 48 69 74 4e 6f 72 6d | 61 6c 2c 49 6e 73 74 69 |,HitNorm|al,Insti|
|00000410| 67 61 74 6f 72 2e 4c 6f | 63 61 74 69 6f 6e 2c 20 |gator.Lo|cation, |
|00000420| 64 65 73 74 2c 20 66 61 | 6c 73 65 29 3b 0d 0a 09 |dest, fa|lse);...|
|00000430| 69 66 20 28 20 48 69 74 | 41 63 74 6f 72 20 3d 3d |if ( Hit|Actor ==|
|00000440| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 72 65 74 75 72 | None ).|...retur|
|00000450| 6e 20 74 72 75 65 3b 0d | 0a 09 49 6e 73 74 69 67 |n true;.|..Instig|
|00000460| 61 74 6f 72 2e 53 65 74 | 4c 6f 63 61 74 69 6f 6e |ator.Set|Location|
|00000470| 28 4f 6c 64 4c 6f 63 61 | 74 69 6f 6e 29 3b 0d 0a |(OldLoca|tion);..|
|00000480| 09 72 65 74 75 72 6e 20 | 66 61 6c 73 65 3b 0d 0a |.return |false;..|
|00000490| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 62 6f |}....fun|ction bo|
|000004a0| 6f 6c 20 54 72 61 6e 73 | 6c 6f 63 53 75 63 63 65 |ol Trans|locSucce|
|000004b0| 65 64 65 64 28 76 65 63 | 74 6f 72 20 64 65 73 74 |eded(vec|tor dest|
|000004c0| 2c 20 54 72 61 6e 73 42 | 65 61 63 6f 6e 20 54 72 |, TransB|eacon Tr|
|000004d0| 61 6e 73 42 65 61 63 6f | 6e 29 0d 0a 7b 0d 0a 09 |ansBeaco|n)..{...|
|000004e0| 6c 6f 63 61 6c 20 76 65 | 63 74 6f 72 20 6e 65 77 |local ve|ctor new|
|000004f0| 64 65 73 74 3b 0d 0a 09 | 0d 0a 09 69 66 20 28 20 |dest;...|...if ( |
|00000500| 49 6e 73 74 69 67 61 74 | 6f 72 2e 53 65 74 4c 6f |Instigat|or.SetLo|
|00000510| 63 61 74 69 6f 6e 28 64 | 65 73 74 29 20 7c 7c 20 |cation(d|est) || |
|00000520| 42 6f 74 54 72 61 6e 73 | 6c 6f 63 61 74 69 6f 6e |BotTrans|location|
|00000530| 28 29 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 74 |() )....|return t|
|00000540| 72 75 65 3b 0d 0a 09 69 | 66 20 28 20 54 72 61 6e |rue;...i|f ( Tran|
|00000550| 73 42 65 61 63 6f 6e 2e | 50 68 79 73 69 63 73 20 |sBeacon.|Physics |
|00000560| 21 3d 20 50 48 59 53 5f | 4e 6f 6e 65 20 29 0d 0a |!= PHYS_|None )..|
|00000570| 09 7b 0d 0a 09 09 6e 65 | 77 64 65 73 74 20 3d 20 |.{....ne|wdest = |
|00000580| 54 72 61 6e 73 42 65 61 | 63 6f 6e 2e 4c 6f 63 61 |TransBea|con.Loca|
|00000590| 74 69 6f 6e 20 2d 20 49 | 6e 73 74 69 67 61 74 6f |tion - I|nstigato|
|000005a0| 72 2e 43 6f 6c 6c 69 73 | 69 6f 6e 52 61 64 69 75 |r.Collis|ionRadiu|
|000005b0| 73 20 2a 20 4e 6f 72 6d | 61 6c 28 54 72 61 6e 73 |s * Norm|al(Trans|
|000005c0| 42 65 61 63 6f 6e 2e 56 | 65 6c 6f 63 69 74 79 29 |Beacon.V|elocity)|
|000005d0| 3b 0d 0a 09 09 69 66 20 | 28 20 49 6e 73 74 69 67 |;....if |( Instig|
|000005e0| 61 74 6f 72 2e 53 65 74 | 4c 6f 63 61 74 69 6f 6e |ator.Set|Location|
|000005f0| 28 6e 65 77 64 65 73 74 | 29 20 29 0d 0a 09 09 09 |(newdest|) ).....|
|00000600| 72 65 74 75 72 6e 20 74 | 72 75 65 3b 0d 0a 09 7d |return t|rue;...}|
|00000610| 0d 0a 09 69 66 20 28 20 | 28 64 65 73 74 20 21 3d |...if ( |(dest !=|
|00000620| 20 54 72 61 6e 73 62 65 | 61 63 6f 6e 2e 4c 6f 63 | Transbe|acon.Loc|
|00000630| 61 74 69 6f 6e 29 20 26 | 26 20 49 6e 73 74 69 67 |ation) &|& Instig|
|00000640| 61 74 6f 72 2e 53 65 74 | 4c 6f 63 61 74 69 6f 6e |ator.Set|Location|
|00000650| 28 54 72 61 6e 73 42 65 | 61 63 6f 6e 2e 4c 6f 63 |(TransBe|acon.Loc|
|00000660| 61 74 69 6f 6e 29 20 29 | 0d 0a 09 09 72 65 74 75 |ation) )|....retu|
|00000670| 72 6e 20 74 72 75 65 3b | 0d 0a 09 0d 0a 09 6e 65 |rn true;|......ne|
|00000680| 77 64 65 73 74 20 3d 20 | 64 65 73 74 20 2b 20 49 |wdest = |dest + I|
|00000690| 6e 73 74 69 67 61 74 6f | 72 2e 43 6f 6c 6c 69 73 |nstigato|r.Collis|
|000006a0| 69 6f 6e 52 61 64 69 75 | 73 20 2a 20 76 65 63 74 |ionRadiu|s * vect|
|000006b0| 28 31 2c 31 2c 30 29 3b | 0d 0a 09 69 66 20 28 20 |(1,1,0);|...if ( |
|000006c0| 49 6e 73 74 69 67 61 74 | 6f 72 2e 53 65 74 4c 6f |Instigat|or.SetLo|
|000006d0| 63 61 74 69 6f 6e 28 6e | 65 77 64 65 73 74 29 20 |cation(n|ewdest) |
|000006e0| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 74 72 75 65 |)....ret|urn true|
|000006f0| 3b 0d 0a 09 6e 65 77 64 | 65 73 74 20 3d 20 64 65 |;...newd|est = de|
|00000700| 73 74 20 2b 20 49 6e 73 | 74 69 67 61 74 6f 72 2e |st + Ins|tigator.|
|00000710| 43 6f 6c 6c 69 73 69 6f | 6e 52 61 64 69 75 73 20 |Collisio|nRadius |
|00000720| 2a 20 76 65 63 74 28 31 | 2c 2d 31 2c 30 29 3b 0d |* vect(1|,-1,0);.|
|00000730| 0a 09 69 66 20 28 20 49 | 6e 73 74 69 67 61 74 6f |..if ( I|nstigato|
|00000740| 72 2e 53 65 74 4c 6f 63 | 61 74 69 6f 6e 28 6e 65 |r.SetLoc|ation(ne|
|00000750| 77 64 65 73 74 29 20 29 | 0d 0a 09 09 72 65 74 75 |wdest) )|....retu|
|00000760| 72 6e 20 74 72 75 65 3b | 0d 0a 09 6e 65 77 64 65 |rn true;|...newde|
|00000770| 73 74 20 3d 20 64 65 73 | 74 20 2b 20 49 6e 73 74 |st = des|t + Inst|
|00000780| 69 67 61 74 6f 72 2e 43 | 6f 6c 6c 69 73 69 6f 6e |igator.C|ollision|
|00000790| 52 61 64 69 75 73 20 2a | 20 76 65 63 74 28 2d 31 |Radius *| vect(-1|
|000007a0| 2c 31 2c 30 29 3b 0d 0a | 09 69 66 20 28 20 49 6e |,1,0);..|.if ( In|
|000007b0| 73 74 69 67 61 74 6f 72 | 2e 53 65 74 4c 6f 63 61 |stigator|.SetLoca|
|000007c0| 74 69 6f 6e 28 6e 65 77 | 64 65 73 74 29 20 29 0d |tion(new|dest) ).|
|000007d0| 0a 09 09 72 65 74 75 72 | 6e 20 74 72 75 65 3b 0d |...retur|n true;.|
|000007e0| 0a 09 6e 65 77 64 65 73 | 74 20 3d 20 64 65 73 74 |..newdes|t = dest|
|000007f0| 20 2b 20 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f | + Insti|gator.Co|
|00000800| 6c 6c 69 73 69 6f 6e 52 | 61 64 69 75 73 20 2a 20 |llisionR|adius * |
|00000810| 76 65 63 74 28 2d 31 2c | 2d 31 2c 30 29 3b 0d 0a |vect(-1,|-1,0);..|
|00000820| 09 69 66 20 28 20 49 6e | 73 74 69 67 61 74 6f 72 |.if ( In|stigator|
|00000830| 2e 53 65 74 4c 6f 63 61 | 74 69 6f 6e 28 6e 65 77 |.SetLoca|tion(new|
|00000840| 64 65 73 74 29 20 29 0d | 0a 09 09 72 65 74 75 72 |dest) ).|...retur|
|00000850| 6e 20 74 72 75 65 3b 0d | 0a 09 0d 0a 09 72 65 74 |n true;.|.....ret|
|00000860| 75 72 6e 20 66 61 6c 73 | 65 3b 0d 0a 7d 0d 0a 0d |urn fals|e;..}...|
|00000870| 0a 66 75 6e 63 74 69 6f | 6e 20 54 72 61 6e 73 6c |.functio|n Transl|
|00000880| 6f 63 61 74 65 28 29 0d | 0a 7b 0d 0a 20 20 20 20 |ocate().|.{.. |
|00000890| 6c 6f 63 61 6c 20 54 72 | 61 6e 73 42 65 61 63 6f |local Tr|ansBeaco|
|000008a0| 6e 20 54 72 61 6e 73 42 | 65 61 63 6f 6e 3b 0d 0a |n TransB|eacon;..|
|000008b0| 09 6c 6f 63 61 6c 20 41 | 63 74 6f 72 20 48 69 74 |.local A|ctor Hit|
|000008c0| 41 63 74 6f 72 3b 0d 0a | 09 6c 6f 63 61 6c 20 56 |Actor;..|.local V|
|000008d0| 65 63 74 6f 72 20 48 69 | 74 4e 6f 72 6d 61 6c 2c |ector Hi|tNormal,|
|000008e0| 48 69 74 4c 6f 63 61 74 | 69 6f 6e 2c 64 65 73 74 |HitLocat|ion,dest|
|000008f0| 2c 56 65 6c 32 44 3b 0d | 0a 20 20 20 20 6c 6f 63 |,Vel2D;.|. loc|
|00000900| 61 6c 20 56 65 63 74 6f | 72 20 50 72 65 76 4c 6f |al Vecto|r PrevLo|
|00000910| 63 61 74 69 6f 6e 2c 44 | 69 66 66 2c 20 4e 65 77 |cation,D|iff, New|
|00000920| 44 65 73 74 3b 0d 0a 20 | 20 20 20 6c 6f 63 61 6c |Dest;.. | local|
|00000930| 20 78 50 61 77 6e 20 58 | 50 3b 0d 0a 20 20 20 20 | xPawn X|P;.. |
|00000940| 6c 6f 63 61 6c 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |local co|ntroller|
|00000950| 20 43 3b 0d 0a 09 6c 6f | 63 61 6c 20 62 6f 6f 6c | C;...lo|cal bool|
|00000960| 20 62 46 61 69 6c 65 64 | 54 72 61 6e 73 6c 6f 63 | bFailed|Transloc|
|00000970| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 74 20 45 66 |;...loca|l int Ef|
|00000980| 66 65 63 74 4e 75 6d 3b | 0d 0a 09 6c 6f 63 61 6c |fectNum;|...local|
|00000990| 20 66 6c 6f 61 74 20 44 | 69 66 66 5a 3b 0d 0a 09 | float D|iffZ;...|
|000009a0| 0d 0a 09 0d 0a 09 69 66 | 20 28 20 28 49 6e 73 74 |......if| ( (Inst|
|000009b0| 69 67 61 74 6f 72 20 3d | 3d 20 4e 6f 6e 65 29 20 |igator =|= None) |
|000009c0| 7c 7c 20 28 54 72 61 6e | 73 6c 61 75 6e 63 68 65 ||| (Tran|slaunche|
|000009d0| 72 28 57 65 61 70 6f 6e | 29 20 3d 3d 20 4e 6f 6e |r(Weapon|) == Non|
|000009e0| 65 29 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 3b 0d |e) )....|return;.|
|000009f0| 0a 20 20 20 20 54 72 61 | 6e 73 42 65 61 63 6f 6e |. Tra|nsBeacon|
|00000a00| 20 3d 20 54 72 61 6e 73 | 4c 61 75 6e 63 68 65 72 | = Trans|Launcher|
|00000a10| 28 57 65 61 70 6f 6e 29 | 2e 54 72 61 6e 73 42 65 |(Weapon)|.TransBe|
|00000a20| 61 63 6f 6e 3b 0d 0a 20 | 20 20 20 0d 0a 20 20 20 |acon;.. | .. |
|00000a30| 20 2f 2f 20 67 69 62 20 | 69 66 20 74 68 65 20 74 | // gib |if the t|
|00000a40| 72 61 6e 73 6c 6f 63 61 | 74 6f 72 20 69 73 20 64 |ransloca|tor is d|
|00000a50| 69 73 72 75 70 74 65 64 | 0d 0a 20 20 20 20 69 66 |isrupted|.. if|
|00000a60| 20 28 20 54 72 61 6e 73 | 42 65 61 63 6f 6e 2e 44 | ( Trans|Beacon.D|
|00000a70| 69 73 72 75 70 74 65 64 | 28 29 20 29 0d 0a 09 7b |isrupted|() )...{|
|00000a80| 0d 0a 09 09 55 6e 72 65 | 61 6c 4d 50 47 61 6d 65 |....Unre|alMPGame|
|00000a90| 49 6e 66 6f 28 4c 65 76 | 65 6c 2e 47 61 6d 65 29 |Info(Lev|el.Game)|
|00000aa0| 2e 53 70 65 63 69 61 6c | 45 76 65 6e 74 28 49 6e |.Special|Event(In|
|00000ab0| 73 74 69 67 61 74 6f 72 | 2e 50 6c 61 79 65 72 52 |stigator|.PlayerR|
|00000ac0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2c 22 |eplicati|onInfo,"|
|00000ad0| 74 72 61 6e 73 6c 6f 63 | 61 74 65 5f 67 69 62 22 |transloc|ate_gib"|
|00000ae0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 62 47 69 62 |);.. | bGib|
|00000af0| 4d 65 20 3d 20 74 72 75 | 65 3b 20 2f 2f 20 64 65 |Me = tru|e; // de|
|00000b00| 6c 61 79 20 67 69 62 20 | 74 6f 20 61 76 6f 69 64 |lay gib |to avoid|
|00000b10| 20 64 65 73 74 72 6f 79 | 69 6e 67 20 70 6c 61 79 | destroy|ing play|
|00000b20| 65 72 20 61 6e 64 20 77 | 65 61 70 6f 6e 73 20 72 |er and w|eapons r|
|00000b30| 69 67 68 74 20 61 77 61 | 79 20 69 6e 20 74 68 65 |ight awa|y in the|
|00000b40| 20 6d 69 64 64 6c 65 20 | 6f 66 20 61 6c 6c 20 74 | middle |of all t|
|00000b50| 68 69 73 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |his....r|eturn;..|
|00000b60| 09 7d 0d 0a 0d 0a 20 20 | 20 20 64 65 73 74 20 3d |.}.... | dest =|
|00000b70| 20 54 72 61 6e 73 42 65 | 61 63 6f 6e 2e 4c 6f 63 | TransBe|acon.Loc|
|00000b80| 61 74 69 6f 6e 3b 0d 0a | 20 20 20 20 69 66 20 28 |ation;..| if (|
|00000b90| 20 54 72 61 6e 73 42 65 | 61 63 6f 6e 2e 50 68 79 | TransBe|acon.Phy|
|00000ba0| 73 69 63 73 20 3d 3d 20 | 50 48 59 53 5f 4e 6f 6e |sics == |PHYS_Non|
|00000bb0| 65 20 29 0d 0a 20 20 20 | 20 20 20 20 20 64 65 73 |e ).. | des|
|00000bc0| 74 20 2b 3d 20 76 65 63 | 74 28 30 2c 30 2c 31 29 |t += vec|t(0,0,1)|
|00000bd0| 20 2a 20 49 6e 73 74 69 | 67 61 74 6f 72 2e 43 6f | * Insti|gator.Co|
|00000be0| 6c 6c 69 73 69 6f 6e 48 | 65 69 67 68 74 3b 0d 0a |llisionH|eight;..|
|00000bf0| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 20 20 | else|.. |
|00000c00| 20 20 64 65 73 74 20 2b | 3d 20 76 65 63 74 28 30 | dest +|= vect(0|
|00000c10| 2c 30 2c 30 2e 35 29 20 | 2a 20 49 6e 73 74 69 67 |,0,0.5) |* Instig|
|00000c20| 61 74 6f 72 2e 43 6f 6c | 6c 69 73 69 6f 6e 48 65 |ator.Col|lisionHe|
|00000c30| 69 67 68 74 3b 0d 0a 09 | 48 69 74 41 63 74 6f 72 |ight;...|HitActor|
|00000c40| 20 3d 20 57 65 61 70 6f | 6e 2e 54 72 61 63 65 28 | = Weapo|n.Trace(|
|00000c50| 48 69 74 4c 6f 63 61 74 | 69 6f 6e 2c 48 69 74 4e |HitLocat|ion,HitN|
|00000c60| 6f 72 6d 61 6c 2c 64 65 | 73 74 2c 54 72 61 6e 73 |ormal,de|st,Trans|
|00000c70| 42 65 61 63 6f 6e 2e 4c | 6f 63 61 74 69 6f 6e 2c |Beacon.L|ocation,|
|00000c80| 74 72 75 65 29 3b 0d 0a | 09 69 66 20 28 20 48 69 |true);..|.if ( Hi|
|00000c90| 74 41 63 74 6f 72 20 21 | 3d 20 4e 6f 6e 65 20 29 |tActor !|= None )|
|00000ca0| 0d 0a 09 09 64 65 73 74 | 20 3d 20 54 72 61 6e 73 |....dest| = Trans|
|00000cb0| 42 65 61 63 6f 6e 2e 4c | 6f 63 61 74 69 6f 6e 3b |Beacon.L|ocation;|
|00000cc0| 20 20 20 20 0d 0a 20 20 | 20 0d 0a 20 20 20 20 54 | .. | .. T|
|00000cd0| 72 61 6e 73 42 65 61 63 | 6f 6e 2e 53 65 74 43 6f |ransBeac|on.SetCo|
|00000ce0| 6c 6c 69 73 69 6f 6e 28 | 66 61 6c 73 65 2c 20 66 |llision(|false, f|
|00000cf0| 61 6c 73 65 2c 20 66 61 | 6c 73 65 29 3b 20 20 20 |alse, fa|lse); |
|00000d00| 20 0d 0a 20 20 20 20 0d | 0a 20 20 20 20 69 66 20 | .. .|. if |
|00000d10| 28 49 6e 73 74 69 67 61 | 74 6f 72 2e 50 6c 61 79 |(Instiga|tor.Play|
|00000d20| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00000d30| 6f 2e 48 61 73 46 6c 61 | 67 20 21 3d 20 4e 6f 6e |o.HasFla|g != Non|
|00000d40| 65 29 0d 0a 20 20 20 20 | 20 20 20 20 49 6e 73 74 |e).. | Inst|
|00000d50| 69 67 61 74 6f 72 2e 50 | 6c 61 79 65 72 52 65 70 |igator.P|layerRep|
|00000d60| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 48 61 73 |lication|Info.Has|
|00000d70| 46 6c 61 67 2e 44 72 6f | 70 28 30 2e 35 20 2a 20 |Flag.Dro|p(0.5 * |
|00000d80| 49 6e 73 74 69 67 61 74 | 6f 72 2e 56 65 6c 6f 63 |Instigat|or.Veloc|
|00000d90| 69 74 79 29 3b 0d 0a 20 | 20 20 20 0d 0a 20 20 20 |ity);.. | .. |
|00000da0| 20 50 72 65 76 4c 6f 63 | 61 74 69 6f 6e 20 3d 20 | PrevLoc|ation = |
|00000db0| 49 6e 73 74 69 67 61 74 | 6f 72 2e 4c 6f 63 61 74 |Instigat|or.Locat|
|00000dc0| 69 6f 6e 3b 0d 0a 20 20 | 20 20 0d 0a 09 2f 2f 20 |ion;.. | ...// |
|00000dd0| 76 65 72 69 66 79 20 77 | 6f 6e 27 74 20 74 65 6c |verify w|on't tel|
|00000de0| 65 66 72 61 67 20 74 65 | 61 6d 6d 61 74 65 20 6f |efrag te|ammate o|
|00000df0| 72 20 72 65 63 65 6e 74 | 6c 79 20 73 70 61 77 6e |r recent|ly spawn|
|00000e00| 65 64 20 70 6c 61 79 65 | 72 0d 0a 09 66 6f 72 20 |ed playe|r...for |
|00000e10| 28 20 43 3d 4c 65 76 65 | 6c 2e 43 6f 6e 74 72 6f |( C=Leve|l.Contro|
|00000e20| 6c 6c 65 72 4c 69 73 74 | 3b 20 43 21 3d 4e 6f 6e |llerList|; C!=Non|
|00000e30| 65 3b 20 43 3d 43 2e 4e | 65 78 74 43 6f 6e 74 72 |e; C=C.N|extContr|
|00000e40| 6f 6c 6c 65 72 20 29 0d | 0a 09 09 69 66 20 28 20 |oller ).|...if ( |
|00000e50| 28 43 2e 50 61 77 6e 20 | 21 3d 20 4e 6f 6e 65 29 |(C.Pawn |!= None)|
|00000e60| 20 26 26 20 28 43 2e 50 | 61 77 6e 20 21 3d 20 49 | && (C.P|awn != I|
|00000e70| 6e 73 74 69 67 61 74 6f | 72 29 20 29 0d 0a 09 09 |nstigato|r) )....|
|00000e80| 7b 0d 0a 09 09 09 44 69 | 66 66 20 3d 20 44 65 73 |{.....Di|ff = Des|
|00000e90| 74 20 2d 20 43 2e 50 61 | 77 6e 2e 4c 6f 63 61 74 |t - C.Pa|wn.Locat|
|00000ea0| 69 6f 6e 3b 0d 0a 09 09 | 09 44 69 66 66 5a 20 3d |ion;....|.DiffZ =|
|00000eb0| 20 44 69 66 66 2e 5a 3b | 0d 0a 09 09 09 44 69 66 | Diff.Z;|.....Dif|
|00000ec0| 66 2e 5a 20 3d 20 30 3b | 0d 0a 09 09 09 69 66 20 |f.Z = 0;|.....if |
|00000ed0| 28 20 28 41 62 73 28 44 | 69 66 66 5a 29 20 3c 20 |( (Abs(D|iffZ) < |
|00000ee0| 43 2e 50 61 77 6e 2e 43 | 6f 6c 6c 69 73 69 6f 6e |C.Pawn.C|ollision|
|00000ef0| 48 65 69 67 68 74 20 2b | 20 32 20 2a 20 49 6e 73 |Height +| 2 * Ins|
|00000f00| 74 69 67 61 74 6f 72 2e | 43 6f 6c 6c 69 73 69 6f |tigator.|Collisio|
|00000f10| 6e 48 65 69 67 68 74 29 | 0d 0a 09 09 09 09 26 26 |nHeight)|......&&|
|00000f20| 20 28 56 53 69 7a 65 28 | 44 69 66 66 29 20 3c 20 | (VSize(|Diff) < |
|00000f30| 43 2e 50 61 77 6e 2e 43 | 6f 6c 6c 69 73 69 6f 6e |C.Pawn.C|ollision|
|00000f40| 52 61 64 69 75 73 20 2b | 20 49 6e 73 74 69 67 61 |Radius +| Instiga|
|00000f50| 74 6f 72 2e 43 6f 6c 6c | 69 73 69 6f 6e 52 61 64 |tor.Coll|isionRad|
|00000f60| 69 75 73 20 2b 20 38 29 | 20 29 0d 0a 09 09 09 7b |ius + 8)| ).....{|
|00000f70| 0d 0a 09 09 09 09 69 66 | 20 28 20 28 43 2e 53 61 |......if| ( (C.Sa|
|00000f80| 6d 65 54 65 61 6d 41 73 | 28 49 6e 73 74 69 67 61 |meTeamAs|(Instiga|
|00000f90| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 29 20 |tor.Cont|roller) |
|00000fa0| 7c 7c 20 28 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 ||| (Leve|l.TimeSe|
|00000fb0| 63 6f 6e 64 73 20 2d 20 | 43 2e 50 61 77 6e 2e 53 |conds - |C.Pawn.S|
|00000fc0| 70 61 77 6e 54 69 6d 65 | 20 3c 20 44 65 61 74 68 |pawnTime| < Death|
|00000fd0| 4d 61 74 63 68 28 4c 65 | 76 65 6c 2e 47 61 6d 65 |Match(Le|vel.Game|
|00000fe0| 29 2e 53 70 61 77 6e 50 | 72 6f 74 65 63 74 69 6f |).SpawnP|rotectio|
|00000ff0| 6e 54 69 6d 65 29 29 20 | 29 0d 0a 09 09 09 09 7b |nTime)) |)......{|
|00001000| 20 0d 0a 09 09 09 09 09 | 62 46 61 69 6c 65 64 54 | .......|bFailedT|
|00001010| 72 61 6e 73 6c 6f 63 20 | 3d 20 74 72 75 65 3b 0d |ransloc |= true;.|
|00001020| 0a 09 09 09 09 09 62 72 | 65 61 6b 3b 0d 0a 09 09 |......br|eak;....|
|00001030| 09 09 7d 0d 0a 09 09 09 | 09 65 6c 73 65 0d 0a 09 |..}.....|.else...|
|00001040| 09 09 09 7b 0d 0a 09 09 | 09 09 09 69 66 20 28 20 |...{....|...if ( |
|00001050| 44 69 66 66 5a 20 3e 20 | 31 2e 35 20 2a 20 43 2e |DiffZ > |1.5 * C.|
|00001060| 50 61 77 6e 2e 43 6f 6c | 6c 69 73 69 6f 6e 48 65 |Pawn.Col|lisionHe|
|00001070| 69 67 68 74 20 29 0d 0a | 09 09 09 09 09 7b 0d 0a |ight )..|.....{..|
|00001080| 09 09 09 09 09 09 4e 65 | 77 44 65 73 74 20 3d 20 |......Ne|wDest = |
|00001090| 44 65 73 74 3b 0d 0a 09 | 09 09 09 09 09 4e 65 77 |Dest;...|.....New|
|000010a0| 44 65 73 74 2e 5a 20 2b | 3d 20 30 2e 37 20 2a 20 |Dest.Z +|= 0.7 * |
|000010b0| 43 2e 50 61 77 6e 2e 43 | 6f 6c 6c 69 73 69 6f 6e |C.Pawn.C|ollision|
|000010c0| 48 65 69 67 68 74 3b 0d | 0a 09 09 09 09 09 7d 0d |Height;.|......}.|
|000010d0| 0a 09 09 09 09 09 65 6c | 73 65 0d 0a 09 09 09 09 |......el|se......|
|000010e0| 09 09 4e 65 77 44 65 73 | 74 20 3d 20 44 65 73 74 |..NewDes|t = Dest|
|000010f0| 20 2b 20 30 2e 35 20 2a | 20 43 2e 50 61 77 6e 2e | + 0.5 *| C.Pawn.|
|00001100| 43 6f 6c 6c 69 73 69 6f | 6e 52 61 64 69 75 73 20 |Collisio|nRadius |
|00001110| 2a 20 4e 6f 72 6d 61 6c | 28 44 69 66 66 29 3b 0d |* Normal|(Diff);.|
|00001120| 0a 09 09 09 09 09 69 66 | 20 28 20 57 65 61 70 6f |......if| ( Weapo|
|00001130| 6e 2e 46 61 73 74 54 72 | 61 63 65 28 4e 65 77 44 |n.FastTr|ace(NewD|
|00001140| 65 73 74 20 2c 64 65 73 | 74 29 20 29 0d 0a 09 09 |est ,des|t) )....|
|00001150| 09 09 09 09 44 65 73 74 | 20 3d 20 4e 65 77 44 65 |....Dest| = NewDe|
|00001160| 73 74 3b 0d 0a 09 09 09 | 09 7d 0d 0a 09 09 09 7d |st;.....|.}.....}|
|00001170| 0d 0a 09 09 7d 0d 0a 0d | 0a 20 20 20 20 69 66 20 |....}...|. if |
|00001180| 28 20 21 62 46 61 69 6c | 65 64 54 72 61 6e 73 6c |( !bFail|edTransl|
|00001190| 6f 63 20 26 26 20 41 74 | 74 65 6d 70 74 54 72 61 |oc && At|temptTra|
|000011a0| 6e 73 6c 6f 63 61 74 69 | 6f 6e 28 64 65 73 74 2c |nslocati|on(dest,|
|000011b0| 54 72 61 6e 73 42 65 61 | 63 6f 6e 29 20 29 0d 0a |TransBea|con) )..|
|000011c0| 20 20 20 20 7b 0d 0a 09 | 09 54 72 61 6e 73 4c 61 | {...|.TransLa|
|000011d0| 75 6e 63 68 65 72 28 57 | 65 61 70 6f 6e 29 2e 52 |uncher(W|eapon).R|
|000011e0| 65 64 75 63 65 41 6d 6d | 6f 28 29 3b 0d 0a 0d 0a |educeAmm|o();....|
|000011f0| 20 20 20 20 20 20 20 20 | 2f 2f 20 73 70 61 77 6e | |// spawn|
|00001200| 20 6f 75 74 0d 0a 20 20 | 20 20 20 20 20 20 58 50 | out.. | XP|
|00001210| 20 3d 20 78 50 61 77 6e | 28 49 6e 73 74 69 67 61 | = xPawn|(Instiga|
|00001220| 74 6f 72 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 69 |tor);.. | i|
|00001230| 66 28 20 58 50 20 21 3d | 20 4e 6f 6e 65 20 29 0d |f( XP !=| None ).|
|00001240| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 58 50 2e |. | XP.|
|00001250| 44 6f 54 72 61 6e 73 6c | 6f 63 61 74 65 4f 75 74 |DoTransl|ocateOut|
|00001260| 28 50 72 65 76 4c 6f 63 | 61 74 69 6f 6e 29 3b 0d |(PrevLoc|ation);.|
|00001270| 0a 20 0d 0a 09 09 2f 2f | 20 62 6f 75 6e 64 20 58 |. ....//| bound X|
|00001280| 59 20 76 65 6c 6f 63 69 | 74 79 20 74 6f 20 70 72 |Y veloci|ty to pr|
|00001290| 65 76 65 6e 74 20 63 68 | 65 61 74 73 0d 0a 09 09 |event ch|eats....|
|000012a0| 56 65 6c 32 44 20 3d 20 | 49 6e 73 74 69 67 61 74 |Vel2D = |Instigat|
|000012b0| 6f 72 2e 56 65 6c 6f 63 | 69 74 79 3b 0d 0a 09 09 |or.Veloc|ity;....|
|000012c0| 56 65 6c 32 44 2e 5a 20 | 3d 20 30 3b 0d 0a 09 09 |Vel2D.Z |= 0;....|
|000012d0| 56 65 6c 32 44 20 3d 20 | 4e 6f 72 6d 61 6c 28 56 |Vel2D = |Normal(V|
|000012e0| 65 6c 32 44 29 20 2a 20 | 46 4d 69 6e 28 49 6e 73 |el2D) * |FMin(Ins|
|000012f0| 74 69 67 61 74 6f 72 2e | 47 72 6f 75 6e 64 53 70 |tigator.|GroundSp|
|00001300| 65 65 64 2c 56 53 69 7a | 65 28 56 65 6c 32 44 29 |eed,VSiz|e(Vel2D)|
|00001310| 29 3b 0d 0a 09 09 56 65 | 6c 32 44 2e 5a 20 3d 20 |);....Ve|l2D.Z = |
|00001320| 49 6e 73 74 69 67 61 74 | 6f 72 2e 56 65 6c 6f 63 |Instigat|or.Veloc|
|00001330| 69 74 79 2e 5a 3b 0d 0a | 09 09 49 6e 73 74 69 67 |ity.Z;..|..Instig|
|00001340| 61 74 6f 72 2e 56 65 6c | 6f 63 69 74 79 20 3d 20 |ator.Vel|ocity = |
|00001350| 56 65 6c 32 44 3b 0d 0a | 09 09 0d 0a 20 20 20 20 |Vel2D;..|.... |
|00001360| 20 20 20 20 69 66 20 28 | 20 49 6e 73 74 69 67 61 | if (| Instiga|
|00001370| 74 6f 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |tor.Play|erReplic|
|00001380| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 20 21 |ationInf|o.Team !|
|00001390| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 45 66 66 |= None )|.....Eff|
|000013a0| 65 63 74 4e 75 6d 20 3d | 20 49 6e 73 74 69 67 61 |ectNum =| Instiga|
|000013b0| 74 6f 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |tor.Play|erReplic|
|000013c0| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 2e 54 |ationInf|o.Team.T|
|000013d0| 65 61 6d 49 6e 64 65 78 | 3b 0d 0a 09 09 09 0d 0a |eamIndex|;.......|
|000013e0| 20 20 20 20 20 20 20 20 | 49 6e 73 74 69 67 61 74 | |Instigat|
|000013f0| 6f 72 2e 53 65 74 4f 76 | 65 72 6c 61 79 4d 61 74 |or.SetOv|erlayMat|
|00001400| 65 72 69 61 6c 28 20 54 | 72 61 6e 73 4d 61 74 65 |erial( T|ransMate|
|00001410| 72 69 61 6c 73 5b 45 66 | 66 65 63 74 4e 75 6d 5d |rials[Ef|fectNum]|
|00001420| 2c 20 31 2e 30 2c 20 66 | 61 6c 73 65 20 29 3b 0d |, 1.0, f|alse );.|
|00001430| 0a 20 20 20 20 20 20 20 | 20 49 6e 73 74 69 67 61 |. | Instiga|
|00001440| 74 6f 72 2e 50 6c 61 79 | 54 65 6c 65 70 6f 72 74 |tor.Play|Teleport|
|00001450| 45 66 66 65 63 74 28 20 | 66 61 6c 73 65 2c 20 66 |Effect( |false, f|
|00001460| 61 6c 73 65 29 3b 0d 0a | 0d 0a 09 09 69 66 20 28 |alse);..|....if (|
|00001470| 20 21 49 6e 73 74 69 67 | 61 74 6f 72 2e 50 68 79 | !Instig|ator.Phy|
|00001480| 73 69 63 73 56 6f 6c 75 | 6d 65 2e 62 57 61 74 65 |sicsVolu|me.bWate|
|00001490| 72 56 6f 6c 75 6d 65 20 | 29 0d 0a 09 09 7b 0d 0a |rVolume |)....{..|
|000014a0| 09 09 09 69 66 20 28 20 | 42 6f 74 28 49 6e 73 74 |...if ( |Bot(Inst|
|000014b0| 69 67 61 74 6f 72 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |igator.C|ontrolle|
|000014c0| 72 29 20 21 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |r) != No|ne )....|
|000014d0| 09 7b 0d 0a 09 09 09 09 | 49 6e 73 74 69 67 61 74 |.{......|Instigat|
|000014e0| 6f 72 2e 56 65 6c 6f 63 | 69 74 79 2e 58 20 3d 20 |or.Veloc|ity.X = |
|000014f0| 30 3b 0d 0a 09 09 09 09 | 49 6e 73 74 69 67 61 74 |0;......|Instigat|
|00001500| 6f 72 2e 56 65 6c 6f 63 | 69 74 79 2e 59 20 3d 20 |or.Veloc|ity.Y = |
|00001510| 30 3b 0d 0a 09 09 09 09 | 49 6e 73 74 69 67 61 74 |0;......|Instigat|
|00001520| 6f 72 2e 56 65 6c 6f 63 | 69 74 79 2e 5a 20 3d 20 |or.Veloc|ity.Z = |
|00001530| 2d 31 35 30 3b 0d 0a 09 | 09 09 09 49 6e 73 74 69 |-150;...|...Insti|
|00001540| 67 61 74 6f 72 2e 41 63 | 63 65 6c 65 72 61 74 69 |gator.Ac|celerati|
|00001550| 6f 6e 20 3d 20 76 65 63 | 74 28 30 2c 30 2c 30 29 |on = vec|t(0,0,0)|
|00001560| 3b 0d 0a 09 09 09 7d 0d | 0a 09 09 09 49 6e 73 74 |;.....}.|....Inst|
|00001570| 69 67 61 74 6f 72 2e 53 | 65 74 50 68 79 73 69 63 |igator.S|etPhysic|
|00001580| 73 28 50 48 59 53 5f 46 | 61 6c 6c 69 6e 67 29 3b |s(PHYS_F|alling);|
|00001590| 0d 0a 09 09 7d 0d 0a 09 | 09 69 66 20 28 20 55 6e |....}...|.if ( Un|
|000015a0| 72 65 61 6c 54 65 61 6d | 49 6e 66 6f 28 49 6e 73 |realTeam|Info(Ins|
|000015b0| 74 69 67 61 74 6f 72 2e | 50 6c 61 79 65 72 52 65 |tigator.|PlayerRe|
|000015c0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 54 65 |plicatio|nInfo.Te|
|000015d0| 61 6d 29 21 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |am)!= No|ne )....|
|000015e0| 09 55 6e 72 65 61 6c 54 | 65 61 6d 49 6e 66 6f 28 |.UnrealT|eamInfo(|
|000015f0| 49 6e 73 74 69 67 61 74 | 6f 72 2e 50 6c 61 79 65 |Instigat|or.Playe|
|00001600| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00001610| 2e 54 65 61 6d 29 2e 41 | 49 2e 43 61 6c 6c 46 6f |.Team).A|I.CallFo|
|00001620| 72 42 61 6c 6c 28 49 6e | 73 74 69 67 61 74 6f 72 |rBall(In|stigator|
|00001630| 29 3b 20 20 2f 2f 20 66 | 6f 72 20 62 6f 6d 62 69 |); // f|or bombi|
|00001640| 6e 67 20 72 75 6e 0d 0a | 09 09 0d 0a 20 20 20 20 |ng run..|.... |
|00001650| 7d 0d 0a 20 20 20 20 65 | 6c 73 65 20 69 66 28 20 |}.. e|lse if( |
|00001660| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|00001670| 28 49 6e 73 74 69 67 61 | 74 6f 72 2e 43 6f 6e 74 |(Instiga|tor.Cont|
|00001680| 72 6f 6c 6c 65 72 29 20 | 21 3d 20 4e 6f 6e 65 20 |roller) |!= None |
|00001690| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 50 |).. | P|
|000016a0| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 28 |layerCon|troller(|
|000016b0| 49 6e 73 74 69 67 61 74 | 6f 72 2e 43 6f 6e 74 72 |Instigat|or.Contr|
|000016c0| 6f 6c 6c 65 72 29 2e 43 | 6c 69 65 6e 74 50 6c 61 |oller).C|lientPla|
|000016d0| 79 53 6f 75 6e 64 28 54 | 72 61 6e 73 46 61 69 6c |ySound(T|ransFail|
|000016e0| 65 64 53 6f 75 6e 64 29 | 3b 0d 0a 0d 0a 20 20 20 |edSound)|;.... |
|000016f0| 20 54 72 61 6e 73 42 65 | 61 63 6f 6e 2e 44 65 73 | TransBe|acon.Des|
|00001700| 74 72 6f 79 28 29 3b 0d | 0a 20 20 20 20 54 72 61 |troy();.|. Tra|
|00001710| 6e 73 4c 61 75 6e 63 68 | 65 72 28 57 65 61 70 6f |nsLaunch|er(Weapo|
|00001720| 6e 29 2e 54 72 61 6e 73 | 42 65 61 63 6f 6e 20 3d |n).Trans|Beacon =|
|00001730| 20 4e 6f 6e 65 3b 0d 0a | 20 20 20 20 54 72 61 6e | None;..| Tran|
|00001740| 73 4c 61 75 6e 63 68 65 | 72 28 57 65 61 70 6f 6e |sLaunche|r(Weapon|
|00001750| 29 2e 56 69 65 77 50 6c | 61 79 65 72 28 29 3b 0d |).ViewPl|ayer();.|
|00001760| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 4d |.}....fu|nction M|
|00001770| 6f 64 65 44 6f 46 69 72 | 65 28 29 0d 0a 7b 0d 0a |odeDoFir|e()..{..|
|00001780| 20 20 20 20 6c 6f 63 61 | 6c 20 54 72 61 6e 73 42 | loca|l TransB|
|00001790| 65 61 63 6f 6e 20 54 72 | 61 6e 73 42 65 61 63 6f |eacon Tr|ansBeaco|
|000017a0| 6e 3b 0d 0a 0d 0a 20 20 | 20 20 53 75 70 65 72 2e |n;.... | Super.|
|000017b0| 4d 6f 64 65 44 6f 46 69 | 72 65 28 29 3b 0d 0a 0d |ModeDoFi|re();...|
|000017c0| 0a 20 20 20 20 69 66 20 | 28 20 57 65 61 70 6f 6e |. if |( Weapon|
|000017d0| 2e 52 6f 6c 65 20 3d 3d | 20 52 4f 4c 45 5f 41 75 |.Role ==| ROLE_Au|
|000017e0| 74 68 6f 72 69 74 79 20 | 26 26 20 62 47 69 62 4d |thority |&& bGibM|
|000017f0| 65 29 0d 0a 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 |e).. |{.. |
|00001800| 20 20 20 54 72 61 6e 73 | 42 65 61 63 6f 6e 20 3d | Trans|Beacon =|
|00001810| 20 54 72 61 6e 73 4c 61 | 75 6e 63 68 65 72 28 57 | TransLa|uncher(W|
|00001820| 65 61 70 6f 6e 29 2e 54 | 72 61 6e 73 42 65 61 63 |eapon).T|ransBeac|
|00001830| 6f 6e 3b 0d 0a 20 20 20 | 20 20 20 20 20 54 72 61 |on;.. | Tra|
|00001840| 6e 73 4c 61 75 6e 63 68 | 65 72 28 57 65 61 70 6f |nsLaunch|er(Weapo|
|00001850| 6e 29 2e 54 72 61 6e 73 | 42 65 61 63 6f 6e 20 3d |n).Trans|Beacon =|
|00001860| 20 4e 6f 6e 65 3b 0d 0a | 20 20 20 20 20 20 20 20 | None;..| |
|00001870| 54 72 61 6e 73 4c 61 75 | 6e 63 68 65 72 28 57 65 |TransLau|ncher(We|
|00001880| 61 70 6f 6e 29 2e 56 69 | 65 77 50 6c 61 79 65 72 |apon).Vi|ewPlayer|
|00001890| 28 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 49 6e 73 |();.. | Ins|
|000018a0| 74 69 67 61 74 6f 72 2e | 47 69 62 62 65 64 42 79 |tigator.|GibbedBy|
|000018b0| 28 54 72 61 6e 73 42 65 | 61 63 6f 6e 2e 44 69 73 |(TransBe|acon.Dis|
|000018c0| 72 75 70 74 6f 72 29 3b | 0d 0a 20 20 20 20 20 20 |ruptor);|.. |
|000018d0| 20 20 54 72 61 6e 73 42 | 65 61 63 6f 6e 2e 44 65 | TransB|eacon.De|
|000018e0| 73 74 72 6f 79 28 29 3b | 0d 0a 20 20 20 20 20 20 |stroy();|.. |
|000018f0| 20 20 62 47 69 62 4d 65 | 20 3d 20 66 61 6c 73 65 | bGibMe| = false|
|00001900| 3b 0d 0a 20 20 20 20 7d | 0d 0a 7d 0d 0a 0d 0a 66 |;.. }|..}....f|
|00001910| 75 6e 63 74 69 6f 6e 20 | 44 6f 46 69 72 65 45 66 |unction |DoFireEf|
|00001920| 66 65 63 74 28 29 0d 0a | 7b 0d 0a 20 20 20 20 69 |fect()..|{.. i|
|00001930| 66 20 28 54 72 61 6e 73 | 4c 61 75 6e 63 68 65 72 |f (Trans|Launcher|
|00001940| 28 57 65 61 70 6f 6e 29 | 2e 54 72 61 6e 73 42 65 |(Weapon)|.TransBe|
|00001950| 61 63 6f 6e 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 20 |acon != |None).. |
|00001960| 20 20 20 7b 0d 0a 20 20 | 20 20 20 20 20 20 54 72 | {.. | Tr|
|00001970| 61 6e 73 6c 6f 63 61 74 | 65 28 29 3b 0d 0a 20 20 |anslocat|e();.. |
|00001980| 20 20 7d 0d 0a 7d 0d 0a | 0d 0a 2f 2f 20 41 49 20 | }..}..|..// AI |
|00001990| 49 6e 74 65 72 66 61 63 | 65 0d 0a 66 75 6e 63 74 |Interfac|e..funct|
|000019a0| 69 6f 6e 20 62 6f 6f 6c | 20 42 6f 74 54 72 61 6e |ion bool| BotTran|
|000019b0| 73 6c 6f 63 61 74 69 6f | 6e 28 29 0d 0a 7b 0d 0a |slocatio|n()..{..|
|000019c0| 09 6c 6f 63 61 6c 20 42 | 6f 74 20 42 3b 0d 0a 0d |.local B|ot B;...|
|000019d0| 0a 09 42 20 3d 20 42 6f | 74 28 49 6e 73 74 69 67 |..B = Bo|t(Instig|
|000019e0| 61 74 6f 72 2e 43 6f 6e | 74 72 6f 6c 6c 65 72 29 |ator.Con|troller)|
|000019f0| 3b 0d 0a 09 69 66 20 28 | 20 28 42 20 3d 3d 20 4e |;...if (| (B == N|
|00001a00| 6f 6e 65 29 20 7c 7c 20 | 21 42 2e 62 50 72 65 70 |one) || |!B.bPrep|
|00001a10| 61 72 69 6e 67 4d 6f 76 | 65 20 7c 7c 20 28 42 2e |aringMov|e || (B.|
|00001a20| 52 65 61 6c 54 72 61 6e | 73 6c 6f 63 61 74 69 6f |RealTran|slocatio|
|00001a30| 6e 54 61 72 67 65 74 20 | 3d 3d 20 4e 6f 6e 65 29 |nTarget |== None)|
|00001a40| 20 29 0d 0a 09 09 72 65 | 74 75 72 6e 20 66 61 6c | )....re|turn fal|
|00001a50| 73 65 3b 0d 0a 0d 0a 09 | 2f 2f 20 69 66 20 62 6f |se;.....|// if bo|
|00001a60| 74 20 66 61 69 6c 65 64 | 20 74 6f 20 74 72 61 6e |t failed| to tran|
|00001a70| 73 6c 6f 63 61 74 65 2c | 20 65 76 65 6e 74 20 74 |slocate,| event t|
|00001a80| 68 6f 75 67 68 20 62 65 | 61 63 6f 6e 20 77 61 73 |hough be|acon was|
|00001a90| 20 69 6e 20 74 61 72 67 | 65 74 20 63 79 6c 69 6e | in targ|et cylin|
|00001aa0| 64 65 72 2c 20 0d 0a 09 | 2f 2f 20 74 72 79 20 61 |der, ...|// try a|
|00001ab0| 74 20 63 65 6e 74 65 72 | 20 6f 66 20 63 79 6c 69 |t center| of cyli|
|00001ac0| 6e 64 65 72 0d 0a 09 72 | 65 74 75 72 6e 20 28 20 |nder...r|eturn ( |
|00001ad0| 49 6e 73 74 69 67 61 74 | 6f 72 2e 53 65 74 4c 6f |Instigat|or.SetLo|
|00001ae0| 63 61 74 69 6f 6e 28 42 | 2e 52 65 61 6c 54 72 61 |cation(B|.RealTra|
|00001af0| 6e 73 6c 6f 63 61 74 69 | 6f 6e 54 61 72 67 65 74 |nslocati|onTarget|
|00001b00| 2e 4c 6f 63 61 74 69 6f | 6e 29 20 29 3b 0d 0a 7d |.Locatio|n) );..}|
|00001b10| 0d 0a 2f 2f 20 45 4e 44 | 20 41 49 20 69 6e 74 65 |..// END| AI inte|
|00001b20| 72 66 61 63 65 0d 0a 0d | 0a 00 |rface...|.. |
+--------+-------------------------+-------------------------+--------+--------+