home *** CD-ROM | disk | FTP | other *** search
Unknown | 2002-12-31 | 2.5 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 | 65 27 2f 2f 3d 3d 3d 3d |........|e'//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 53 70 |========|=..// Sp|
|00000060| 61 74 69 61 6c 20 46 65 | 61 72 0d 0a 2f 2f 20 43 |atial Fe|ar..// C|
|00000070| 6c 61 73 73 3a 20 53 46 | 50 69 63 6b 42 6f 78 54 |lass: SF|PickBoxT|
|00000080| 72 69 67 67 65 72 0d 0a | 2f 2f 20 44 65 73 63 72 |rigger..|// Descr|
|00000090| 69 70 74 6f 6e 3a 20 55 | 73 65 64 20 62 79 20 53 |ipton: U|sed by S|
|000000a0| 46 50 69 63 6b 42 6f 78 | 20 74 6f 20 73 74 6f 70 |FPickBox| to stop|
|000000b0| 20 63 61 72 72 79 69 6e | 67 20 61 20 62 6f 78 2e | carryin|g a box.|
|000000c0| 0d 0a 2f 2f 20 20 20 20 | 20 20 20 20 20 20 20 20 |..// | |
|000000d0| 20 44 4f 20 4e 4f 54 20 | 41 44 44 20 54 48 49 53 | DO NOT |ADD THIS|
|000000e0| 20 54 4f 20 41 20 4d 41 | 50 20 69 6e 20 55 6e 72 | TO A MA|P in Unr|
|000000f0| 65 61 6c 45 64 20 21 21 | 0d 0a 2f 2f 0d 0a 2f 2f |ealEd !!|..//..//|
|00000100| 20 41 75 74 68 6f 72 3a | 20 4a 61 63 65 6b 20 27 | Author:| Jacek '|
|00000110| 6d 4f 4f 73 65 27 20 5a | 61 67 72 6f 64 7a 6b 69 |mOOse' Z|agrodzki|
|00000120| 0d 0a 2f 2f 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |..//====|========|
|00000130| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000140| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000150| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000160| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000170| 3d 0d 0a 63 6c 61 73 73 | 20 53 46 50 69 63 6b 42 |=..class| SFPickB|
|00000180| 6f 78 54 72 69 67 67 65 | 72 20 65 78 70 61 6e 64 |oxTrigge|r expand|
|00000190| 73 20 53 46 55 73 65 4b | 65 79 54 72 69 67 67 65 |s SFUseK|eyTrigge|
|000001a0| 72 3b 0d 0a 0d 0a 76 61 | 72 20 53 46 50 6c 61 79 |r;....va|r SFPlay|
|000001b0| 65 72 09 61 50 6c 61 79 | 65 72 3b 0d 0a 76 61 72 |er.aPlay|er;..var|
|000001c0| 20 53 46 50 69 63 6b 42 | 6f 78 09 54 68 65 42 6f | SFPickB|ox.TheBo|
|000001d0| 78 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 09 09 62 43 |x;..var |bool..bC|
|000001e0| 61 72 72 69 65 64 3b 0d | 0a 0d 0a 76 61 72 20 53 |arried;.|...var S|
|000001f0| 46 50 69 63 6b 42 6f 78 | 47 75 6e 09 45 6d 70 74 |FPickBox|Gun.Empt|
|00000200| 79 47 75 6e 3b 0d 0a 76 | 61 72 20 57 65 61 70 6f |yGun;..v|ar Weapo|
|00000210| 6e 09 09 4f 6c 64 47 75 | 6e 3b 0d 0a 0d 0a 66 75 |n..OldGu|n;....fu|
|00000220| 6e 63 74 69 6f 6e 20 46 | 69 72 65 45 76 65 6e 74 |nction F|ireEvent|
|00000230| 28 20 61 63 74 6f 72 20 | 4f 74 68 65 72 20 29 0d |( actor |Other ).|
|00000240| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 76 65 63 74 6f |.{...loc|al vecto|
|00000250| 72 09 4f 6c 64 50 69 76 | 6f 74 3b 0d 0a 09 6c 6f |r.OldPiv|ot;...lo|
|00000260| 63 61 6c 20 77 65 61 70 | 6f 6e 09 4f 6c 64 57 65 |cal weap|on.OldWe|
|00000270| 61 70 6f 6e 3b 0d 0a 09 | 0d 0a 09 61 50 6c 61 79 |apon;...|...aPlay|
|00000280| 65 72 20 3d 20 53 46 50 | 6c 61 79 65 72 28 4f 74 |er = SFP|layer(Ot|
|00000290| 68 65 72 29 3b 0d 0a 09 | 69 66 28 61 50 6c 61 79 |her);...|if(aPlay|
|000002a0| 65 72 20 3d 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 72 |er == No|ne)....r|
|000002b0| 65 74 75 72 6e 3b 0d 0a | 0d 0a 09 69 66 28 20 21 |eturn;..|...if( !|
|000002c0| 62 43 61 72 72 69 65 64 | 20 29 0d 0a 09 7b 0d 0a |bCarried| )...{..|
|000002d0| 09 2f 2f 2f 2f 2f 2f 2f | 2f 20 68 69 64 69 6e 67 |.///////|/ hiding|
|000002e0| 20 77 65 61 70 6f 6e 20 | 77 68 65 6e 20 70 69 63 | weapon |when pic|
|000002f0| 6b 69 6e 67 20 75 70 20 | 61 20 62 6f 78 20 28 69 |king up |a box (i|
|00000300| 6e 20 66 61 63 74 20 74 | 68 65 20 63 75 72 72 65 |n fact t|he curre|
|00000310| 6e 74 20 77 65 61 70 6f | 6e 20 69 73 20 63 68 61 |nt weapo|n is cha|
|00000320| 6e 67 65 64 20 74 6f 20 | 61 6e 20 22 65 6d 70 74 |nged to |an "empt|
|00000330| 79 22 20 67 75 6e 0d 0a | 09 09 45 6d 70 74 79 47 |y" gun..|..EmptyG|
|00000340| 75 6e 20 3d 20 73 70 61 | 77 6e 28 63 6c 61 73 73 |un = spa|wn(class|
|00000350| 27 53 46 50 69 63 6b 42 | 6f 78 47 75 6e 27 2c 20 |'SFPickB|oxGun', |
|00000360| 61 50 6c 61 79 65 72 29 | 3b 0d 0a 09 09 45 6d 70 |aPlayer)|;....Emp|
|00000370| 74 79 47 75 6e 2e 54 68 | 65 54 72 69 67 67 65 72 |tyGun.Th|eTrigger|
|00000380| 20 3d 20 53 65 6c 66 3b | 0d 0a 0d 0a 09 09 61 50 | = Self;|......aP|
|00000390| 6c 61 79 65 72 2e 50 65 | 6e 64 69 6e 67 57 65 61 |layer.Pe|ndingWea|
|000003a0| 70 6f 6e 20 3d 20 45 6d | 70 74 79 47 75 6e 3b 09 |pon = Em|ptyGun;.|
|000003b0| 2f 2f 20 73 65 74 74 69 | 6e 67 20 61 20 77 65 61 |// setti|ng a wea|
|000003c0| 70 6f 6e 20 74 6f 20 77 | 68 69 63 68 20 74 68 65 |pon to w|hich the|
|000003d0| 20 63 75 72 72 65 6e 74 | 20 6f 6e 65 20 77 69 6c | current| one wil|
|000003e0| 6c 20 62 65 20 63 68 61 | 6e 67 65 64 0d 0a 09 09 |l be cha|nged....|
|000003f0| 4f 6c 64 47 75 6e 20 3d | 20 61 50 6c 61 79 65 72 |OldGun =| aPlayer|
|00000400| 2e 57 65 61 70 6f 6e 3b | 09 09 2f 2f 20 73 61 76 |.Weapon;|..// sav|
|00000410| 69 6e 67 20 77 68 69 63 | 68 20 77 65 61 70 6f 6e |ing whic|h weapon|
|00000420| 20 70 6c 61 79 65 72 20 | 68 61 64 20 69 6e 20 68 | player |had in h|
|00000430| 61 6e 64 20 77 68 65 6e | 20 70 69 63 6b 65 64 20 |and when| picked |
|00000440| 75 70 20 61 20 62 6f 78 | 0d 0a 09 09 61 50 6c 61 |up a box|....aPla|
|00000450| 79 65 72 2e 57 65 61 70 | 6f 6e 2e 50 75 74 44 6f |yer.Weap|on.PutDo|
|00000460| 77 6e 28 29 3b 09 09 2f | 2f 20 66 6f 72 63 65 20 |wn();../|/ force |
|00000470| 63 68 61 6e 67 69 6e 67 | 20 77 65 61 70 6f 6e 0d |changing| weapon.|
|00000480| 0a 09 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 0d 0a 09 09 |..//////|////....|
|00000490| 0d 0a 09 09 62 43 61 72 | 72 69 65 64 20 3d 20 74 |....bCar|ried = t|
|000004a0| 72 75 65 3b 0d 0a 09 09 | 54 68 65 42 6f 78 2e 53 |rue;....|TheBox.S|
|000004b0| 65 74 4f 77 6e 65 72 28 | 61 50 6c 61 79 65 72 29 |etOwner(|aPlayer)|
|000004c0| 3b 0d 0a 09 09 54 68 65 | 42 6f 78 2e 53 65 74 50 |;....The|Box.SetP|
|000004d0| 68 79 73 69 63 73 28 50 | 48 59 53 5f 54 72 61 69 |hysics(P|HYS_Trai|
|000004e0| 6c 65 72 29 3b 0d 0a 09 | 09 61 50 6c 61 79 65 72 |ler);...|.aPlayer|
|000004f0| 2e 53 65 74 43 6f 6c 6c | 69 73 69 6f 6e 53 69 7a |.SetColl|isionSiz|
|00000500| 65 28 61 50 6c 61 79 65 | 72 2e 43 6f 6c 6c 69 73 |e(aPlaye|r.Collis|
|00000510| 69 6f 6e 52 61 64 69 75 | 73 2b 31 35 2e 30 2c 20 |ionRadiu|s+15.0, |
|00000520| 61 50 6c 61 79 65 72 2e | 43 6f 6c 6c 69 73 69 6f |aPlayer.|Collisio|
|00000530| 6e 48 65 69 67 68 74 29 | 3b 0d 0a 09 09 53 65 74 |nHeight)|;....Set|
|00000540| 50 68 79 73 69 63 73 28 | 50 48 59 53 5f 46 6c 79 |Physics(|PHYS_Fly|
|00000550| 69 6e 67 29 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |ing);...|}...else|
|00000560| 0d 0a 09 7b 0d 0a 09 09 | 4f 6c 64 50 69 76 6f 74 |...{....|OldPivot|
|00000570| 20 3d 20 54 68 65 42 6f | 78 2e 50 72 65 50 69 76 | = TheBo|x.PrePiv|
|00000580| 6f 74 3b 0d 0a 09 09 54 | 68 65 42 6f 78 2e 50 72 |ot;....T|heBox.Pr|
|00000590| 65 50 69 76 6f 74 20 3d | 20 76 65 63 74 28 30 2c |ePivot =| vect(0,|
|000005a0| 30 2c 30 29 3b 0d 0a 09 | 09 69 66 28 21 54 68 65 |0,0);...|.if(!The|
|000005b0| 42 6f 78 2e 53 65 74 4c | 6f 63 61 74 69 6f 6e 28 |Box.SetL|ocation(|
|000005c0| 54 68 65 42 6f 78 2e 4c | 6f 63 61 74 69 6f 6e 20 |TheBox.L|ocation |
|000005d0| 2b 20 4f 6c 64 50 69 76 | 6f 74 29 29 09 2f 2f 20 |+ OldPiv|ot)).// |
|000005e0| 69 66 20 70 6c 61 79 65 | 72 20 63 61 6e 27 74 20 |if playe|r can't |
|000005f0| 64 72 6f 70 20 61 20 62 | 6f 78 20 69 6e 20 66 72 |drop a b|ox in fr|
|00000600| 6f 6e 74 20 6f 66 20 68 | 69 6d 2f 68 65 72 0d 0a |ont of h|im/her..|
|00000610| 09 09 7b 0d 0a 09 09 09 | 54 68 65 42 6f 78 2e 50 |..{.....|TheBox.P|
|00000620| 72 65 50 69 76 6f 74 20 | 3d 20 4f 6c 64 50 69 76 |rePivot |= OldPiv|
|00000630| 6f 74 3b 0d 0a 09 09 09 | 72 65 74 75 72 6e 3b 0d |ot;.....|return;.|
|00000640| 0a 09 09 7d 0d 0a 0d 0a | 09 2f 2f 2f 2f 2f 2f 2f |...}....|.///////|
|00000650| 2f 20 64 72 6f 70 70 69 | 6e 67 20 61 20 62 6f 78 |/ droppi|ng a box|
|00000660| 3a 0d 0a 09 09 62 43 61 | 72 72 69 65 64 20 3d 20 |:....bCa|rried = |
|00000670| 66 61 6c 73 65 3b 0d 0a | 09 09 54 68 65 42 6f 78 |false;..|..TheBox|
|00000680| 2e 53 65 74 4f 77 6e 65 | 72 28 4e 6f 6e 65 29 3b |.SetOwne|r(None);|
|00000690| 0d 0a 09 09 53 65 74 50 | 68 79 73 69 63 73 28 50 |....SetP|hysics(P|
|000006a0| 48 59 53 5f 54 72 61 69 | 6c 65 72 29 3b 0d 0a 09 |HYS_Trai|ler);...|
|000006b0| 09 61 50 6c 61 79 65 72 | 2e 53 65 74 43 6f 6c 6c |.aPlayer|.SetColl|
|000006c0| 69 73 69 6f 6e 53 69 7a | 65 28 61 50 6c 61 79 65 |isionSiz|e(aPlaye|
|000006d0| 72 2e 43 6f 6c 6c 69 73 | 69 6f 6e 52 61 64 69 75 |r.Collis|ionRadiu|
|000006e0| 73 2d 31 35 2e 30 2c 20 | 61 50 6c 61 79 65 72 2e |s-15.0, |aPlayer.|
|000006f0| 43 6f 6c 6c 69 73 69 6f | 6e 48 65 69 67 68 74 29 |Collisio|nHeight)|
|00000700| 3b 0d 0a 09 09 0d 0a 09 | 09 54 68 65 42 6f 78 2e |;.......|.TheBox.|
|00000710| 53 65 74 50 68 79 73 69 | 63 73 28 50 48 59 53 5f |SetPhysi|cs(PHYS_|
|00000720| 46 61 6c 6c 69 6e 67 29 | 3b 0d 0a 09 09 54 68 65 |Falling)|;....The|
|00000730| 42 6f 78 2e 56 65 6c 6f | 63 69 74 79 20 3d 20 61 |Box.Velo|city = a|
|00000740| 50 6c 61 79 65 72 2e 56 | 65 6c 6f 63 69 74 79 2f |Player.V|elocity/|
|00000750| 32 20 2b 20 76 65 63 74 | 6f 72 28 61 50 6c 61 79 |2 + vect|or(aPlay|
|00000760| 65 72 2e 56 69 65 77 52 | 6f 74 61 74 69 6f 6e 29 |er.ViewR|otation)|
|00000770| 2a 28 56 73 69 7a 65 28 | 61 50 6c 61 79 65 72 2e |*(Vsize(|aPlayer.|
|00000780| 56 65 6c 6f 63 69 74 79 | 29 2f 32 29 3b 0d 0a 09 |Velocity|)/2);...|
|00000790| 09 61 50 6c 61 79 65 72 | 2e 56 65 6c 6f 63 69 74 |.aPlayer|.Velocit|
|000007a0| 79 20 3d 20 61 50 6c 61 | 79 65 72 2e 56 65 6c 6f |y = aPla|yer.Velo|
|000007b0| 63 69 74 79 2f 33 3b 0d | 0a 09 2f 2f 2f 2f 2f 2f |city/3;.|..//////|
|000007c0| 2f 2f 2f 2f 0d 0a 0d 0a | 0d 0a 09 09 2f 2f 20 62 |////....|....// b|
|000007d0| 72 69 6e 67 69 6e 67 20 | 75 70 20 61 6e 20 6f 6c |ringing |up an ol|
|000007e0| 64 20 77 65 61 70 6f 6e | 3a 0d 0a 09 09 61 50 6c |d weapon|:....aPl|
|000007f0| 61 79 65 72 2e 50 65 6e | 64 69 6e 67 57 65 61 70 |ayer.Pen|dingWeap|
|00000800| 6f 6e 20 3d 20 4f 6c 64 | 47 75 6e 3b 0d 0a 09 09 |on = Old|Gun;....|
|00000810| 45 6d 70 74 79 47 75 6e | 2e 44 65 73 74 72 6f 79 |EmptyGun|.Destroy|
|00000820| 28 29 3b 0d 0a 09 09 61 | 50 6c 61 79 65 72 2e 43 |();....a|Player.C|
|00000830| 68 61 6e 67 65 64 57 65 | 61 70 6f 6e 28 29 3b 0d |hangedWe|apon();.|
|00000840| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |..}..}..|..functi|
|00000850| 6f 6e 20 54 69 63 6b 28 | 66 6c 6f 61 74 20 44 54 |on Tick(|float DT|
|00000860| 69 6d 65 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |ime)..{.|..local |
|00000870| 76 65 63 74 6f 72 09 4f | 66 66 53 65 74 3b 0d 0a |vector.O|ffSet;..|
|00000880| 09 0d 0a 09 69 66 28 62 | 43 61 72 72 69 65 64 29 |....if(b|Carried)|
|00000890| 0d 0a 09 7b 0d 0a 09 09 | 2f 2f 20 63 68 65 63 6b |...{....|// check|
|000008a0| 69 6e 67 20 69 66 20 74 | 68 65 20 63 61 72 72 79 |ing if t|he carry|
|000008b0| 69 6e 67 20 70 6c 61 79 | 65 72 20 69 73 20 61 6c |ing play|er is al|
|000008c0| 69 76 65 2c 20 69 66 20 | 6e 6f 74 20 64 72 6f 70 |ive, if |not drop|
|000008d0| 20 74 68 65 20 62 6f 78 | 3a 3a 0d 0a 09 09 69 66 | the box|::....if|
|000008e0| 28 61 50 6c 61 79 65 72 | 2e 49 73 49 6e 53 74 61 |(aPlayer|.IsInSta|
|000008f0| 74 65 28 27 44 79 69 6e | 67 27 29 29 0d 0a 09 09 |te('Dyin|g'))....|
|00000900| 09 46 69 72 65 45 76 65 | 6e 74 28 61 50 6c 61 79 |.FireEve|nt(aPlay|
|00000910| 65 72 29 3b 0d 0a 0d 0a | 09 09 2f 2f 20 73 65 74 |er);....|..// set|
|00000920| 74 69 6e 67 20 6c 6f 63 | 61 74 69 6f 6e 20 6f 66 |ting loc|ation of|
|00000930| 20 61 20 74 72 69 67 67 | 65 72 2c 20 75 73 65 64 | a trigg|er, used|
|00000940| 20 74 6f 20 64 65 61 63 | 74 69 76 61 74 65 20 62 | to deac|tivate b|
|00000950| 6f 74 2c 20 69 6e 20 66 | 72 6f 6e 74 20 6f 66 20 |ot, in f|ront of |
|00000960| 61 20 70 6c 61 79 65 72 | 0d 0a 09 09 4f 66 66 53 |a player|....OffS|
|00000970| 65 74 20 3d 20 33 2a 76 | 65 63 74 6f 72 28 61 50 |et = 3*v|ector(aP|
|00000980| 6c 61 79 65 72 2e 56 69 | 65 77 52 6f 74 61 74 69 |layer.Vi|ewRotati|
|00000990| 6f 6e 29 3b 0d 0a 09 09 | 53 65 74 4c 6f 63 61 74 |on);....|SetLocat|
|000009a0| 69 6f 6e 28 61 50 6c 61 | 79 65 72 2e 4c 6f 63 61 |ion(aPla|yer.Loca|
|000009b0| 74 69 6f 6e 20 2b 20 61 | 50 6c 61 79 65 72 2e 45 |tion + a|Player.E|
|000009c0| 79 65 48 65 69 67 68 74 | 20 2a 20 76 65 63 74 28 |yeHeight| * vect(|
|000009d0| 30 2c 30 2c 31 29 20 2b | 20 4f 66 66 53 65 74 29 |0,0,1) +| OffSet)|
|000009e0| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 0d 0a 00 |;...}..}|....... |
+--------+-------------------------+-------------------------+--------+--------+