home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-09-27 | 6.6 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 | 72 68 2f 2f 3d 3d 3d 3d |........|rh//====|
|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 55 54 |========|=..// UT|
|00000060| 43 72 65 61 74 75 72 65 | 43 68 75 6e 6b 73 2e 0d |Creature|Chunks..|
|00000070| 0a 2f 2f 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.//=====|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|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| 0d 0a 63 6c 61 73 73 20 | 55 54 43 72 65 61 74 75 |..class |UTCreatu|
|000000d0| 72 65 43 68 75 6e 6b 73 | 20 65 78 74 65 6e 64 73 |reChunks| extends|
|000000e0| 20 43 61 72 63 61 73 73 | 3b 0d 0a 0d 0a 76 61 72 | Carcass|;....var|
|000000f0| 09 09 55 54 5f 42 6c 6f | 6f 64 74 72 61 69 6c 09 |..UT_Blo|odtrail.|
|00000100| 09 74 72 61 69 6c 3b 0d | 0a 76 61 72 09 09 66 6c |.trail;.|.var..fl|
|00000110| 6f 61 74 09 09 09 54 72 | 61 69 6c 53 69 7a 65 3b |oat...Tr|ailSize;|
|00000120| 0d 0a 76 61 72 09 09 62 | 6f 6f 6c 09 09 09 62 47 |..var..b|ool...bG|
|00000130| 72 65 65 6e 42 6c 6f 6f | 64 3b 0d 0a 76 61 72 09 |reenBloo|d;..var.|
|00000140| 09 63 6c 61 73 73 3c 55 | 54 48 75 6d 61 6e 43 61 |.class<U|THumanCa|
|00000150| 72 63 61 73 73 3e 09 43 | 61 72 63 61 73 73 43 6c |rcass>.C|arcassCl|
|00000160| 61 73 73 3b 0d 0a 76 61 | 72 09 09 6e 61 6d 65 09 |ass;..va|r..name.|
|00000170| 09 09 43 61 72 63 61 73 | 73 41 6e 69 6d 3b 09 20 |..Carcas|sAnim;. |
|00000180| 20 20 09 0d 0a 76 61 72 | 09 09 56 65 63 74 6f 72 | ...var|..Vector|
|00000190| 09 09 09 43 61 72 63 4c | 6f 63 61 74 69 6f 6e 3b |...CarcL|ocation;|
|000001a0| 0d 0a 76 61 72 09 09 66 | 6c 6f 61 74 09 09 09 43 |..var..f|loat...C|
|000001b0| 61 72 63 48 65 69 67 68 | 74 3b 0d 0a 0d 0a 72 65 |arcHeigh|t;....re|
|000001c0| 70 6c 69 63 61 74 69 6f | 6e 0d 0a 7b 0d 0a 09 2f |plicatio|n..{.../|
|000001d0| 2f 20 54 68 69 6e 67 73 | 20 74 68 65 20 73 65 72 |/ Things| the ser|
|000001e0| 76 65 72 20 73 68 6f 75 | 6c 64 20 73 65 6e 64 20 |ver shou|ld send |
|000001f0| 74 6f 20 74 68 65 20 63 | 6c 69 65 6e 74 2e 0d 0a |to the c|lient...|
|00000200| 09 75 6e 72 65 6c 69 61 | 62 6c 65 20 69 66 28 20 |.unrelia|ble if( |
|00000210| 52 6f 6c 65 3d 3d 52 4f | 4c 45 5f 41 75 74 68 6f |Role==RO|LE_Autho|
|00000220| 72 69 74 79 20 29 0d 0a | 09 09 62 47 72 65 65 6e |rity )..|..bGreen|
|00000230| 42 6c 6f 6f 64 2c 20 43 | 61 72 63 61 73 73 43 6c |Blood, C|arcassCl|
|00000240| 61 73 73 2c 20 43 61 72 | 63 61 73 73 41 6e 69 6d |ass, Car|cassAnim|
|00000250| 2c 20 43 61 72 63 4c 6f | 63 61 74 69 6f 6e 2c 20 |, CarcLo|cation, |
|00000260| 43 61 72 63 48 65 69 67 | 68 74 3b 0d 0a 7d 0d 0a |CarcHeig|ht;..}..|
|00000270| 0d 0a 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|00000280| 74 69 6f 6e 20 42 65 67 | 69 6e 50 6c 61 79 28 29 |tion Beg|inPlay()|
|00000290| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 52 65 67 69 6f |..{...if| ( Regio|
|000002a0| 6e 2e 5a 6f 6e 65 2e 62 | 44 65 73 74 72 75 63 74 |n.Zone.b|Destruct|
|000002b0| 69 76 65 20 7c 7c 20 63 | 6c 61 73 73 27 47 61 6d |ive || c|lass'Gam|
|000002c0| 65 49 6e 66 6f 27 2e 44 | 65 66 61 75 6c 74 2e 62 |eInfo'.D|efault.b|
|000002d0| 4c 6f 77 47 6f 72 65 20 | 29 0d 0a 09 7b 0d 0a 09 |LowGore |)...{...|
|000002e0| 09 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 09 09 72 |.Destroy|();....r|
|000002f0| 65 74 75 72 6e 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 53 |eturn;..|.}.....S|
|00000300| 75 70 65 72 2e 42 65 67 | 69 6e 50 6c 61 79 28 29 |uper.Beg|inPlay()|
|00000310| 3b 0d 0a 7d 0d 0a 0d 0a | 73 69 6d 75 6c 61 74 65 |;..}....|simulate|
|00000320| 64 20 66 75 6e 63 74 69 | 6f 6e 20 43 6c 69 65 6e |d functi|on Clien|
|00000330| 74 45 78 74 72 61 43 68 | 75 6e 6b 73 28 29 0d 0a |tExtraCh|unks()..|
|00000340| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 55 54 5f 42 6c 6f |{...loca|l UT_Blo|
|00000350| 6f 64 42 75 72 73 74 20 | 62 3b 0d 0a 0d 0a 09 49 |odBurst |b;.....I|
|00000360| 66 20 28 20 4c 65 76 65 | 6c 2e 4e 65 74 4d 6f 64 |f ( Leve|l.NetMod|
|00000370| 65 20 3d 3d 20 4e 4d 5f | 44 65 64 69 63 61 74 65 |e == NM_|Dedicate|
|00000380| 64 53 65 72 76 65 72 20 | 29 0d 0a 09 09 72 65 74 |dServer |)....ret|
|00000390| 75 72 6e 3b 0d 0a 0d 0a | 09 62 20 3d 20 53 70 61 |urn;....|.b = Spa|
|000003a0| 77 6e 28 63 6c 61 73 73 | 20 27 55 54 5f 42 6c 6f |wn(class| 'UT_Blo|
|000003b0| 6f 64 42 75 72 73 74 27 | 2c 2c 2c 2c 72 6f 74 28 |odBurst'|,,,,rot(|
|000003c0| 31 36 33 38 34 2c 30 2c | 30 29 29 3b 0d 0a 09 69 |16384,0,|0));...i|
|000003d0| 66 20 28 20 62 47 72 65 | 65 6e 42 6c 6f 6f 64 20 |f ( bGre|enBlood |
|000003e0| 29 0d 0a 09 09 62 2e 47 | 72 65 65 6e 42 6c 6f 6f |)....b.G|reenBloo|
|000003f0| 64 28 29 3b 0d 0a 09 62 | 2e 52 65 6d 6f 74 65 52 |d();...b|.RemoteR|
|00000400| 6f 6c 65 20 3d 20 52 4f | 4c 45 5f 4e 6f 6e 65 3b |ole = RO|LE_None;|
|00000410| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00000420| 20 66 75 6e 63 74 69 6f | 6e 20 5a 6f 6e 65 43 68 | functio|n ZoneCh|
|00000430| 61 6e 67 65 28 20 5a 6f | 6e 65 49 6e 66 6f 20 4e |ange( Zo|neInfo N|
|00000440| 65 77 5a 6f 6e 65 20 29 | 0d 0a 7b 0d 0a 09 6c 6f |ewZone )|..{...lo|
|00000450| 63 61 6c 20 66 6c 6f 61 | 74 20 73 70 6c 61 73 68 |cal floa|t splash|
|00000460| 73 69 7a 65 3b 0d 0a 09 | 6c 6f 63 61 6c 20 61 63 |size;...|local ac|
|00000470| 74 6f 72 20 73 70 6c 61 | 73 68 3b 0d 0a 0d 0a 09 |tor spla|sh;.....|
|00000480| 69 66 20 28 20 4e 65 77 | 5a 6f 6e 65 2e 62 57 61 |if ( New|Zone.bWa|
|00000490| 74 65 72 5a 6f 6e 65 20 | 29 0d 0a 09 7b 0d 0a 09 |terZone |)...{...|
|000004a0| 09 69 66 20 28 20 74 72 | 61 69 6c 20 21 3d 20 4e |.if ( tr|ail != N|
|000004b0| 6f 6e 65 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 69 |one )...|.{.....i|
|000004c0| 66 20 28 20 4c 65 76 65 | 6c 2e 62 48 69 67 68 44 |f ( Leve|l.bHighD|
|000004d0| 65 74 61 69 6c 4d 6f 64 | 65 20 26 26 20 21 4c 65 |etailMod|e && !Le|
|000004e0| 76 65 6c 2e 62 44 72 6f | 70 44 65 74 61 69 6c 20 |vel.bDro|pDetail |
|000004f0| 29 0d 0a 09 09 09 09 62 | 55 6e 6c 69 74 20 3d 20 |)......b|Unlit = |
|00000500| 66 61 6c 73 65 3b 0d 0a | 09 09 09 74 72 61 69 6c |false;..|...trail|
|00000510| 2e 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 09 09 7d |.Destroy|();....}|
|00000520| 0d 0a 09 09 69 66 20 28 | 20 4d 61 73 73 20 3c 3d |....if (| Mass <=|
|00000530| 20 42 75 6f 79 61 6e 63 | 79 20 29 0d 0a 09 09 09 | Buoyanc|y ).....|
|00000540| 53 65 74 43 6f 6c 6c 69 | 73 69 6f 6e 53 69 7a 65 |SetColli|sionSize|
|00000550| 28 30 2c 30 29 3b 0d 0a | 09 09 69 66 20 28 20 62 |(0,0);..|..if ( b|
|00000560| 53 70 6c 61 73 68 20 26 | 26 20 21 52 65 67 69 6f |Splash &|& !Regio|
|00000570| 6e 2e 5a 6f 6e 65 2e 62 | 57 61 74 65 72 5a 6f 6e |n.Zone.b|WaterZon|
|00000580| 65 20 26 26 20 28 41 62 | 73 28 56 65 6c 6f 63 69 |e && (Ab|s(Veloci|
|00000590| 74 79 2e 5a 29 20 3c 20 | 38 30 29 20 29 0d 0a 09 |ty.Z) < |80) )...|
|000005a0| 09 09 52 6f 74 61 74 69 | 6f 6e 52 61 74 65 20 2a |..Rotati|onRate *|
|000005b0| 3d 20 30 2e 36 3b 0d 0a | 09 09 65 6c 73 65 20 69 |= 0.6;..|..else i|
|000005c0| 66 20 28 20 21 52 65 67 | 69 6f 6e 2e 5a 6f 6e 65 |f ( !Reg|ion.Zone|
|000005d0| 2e 62 57 61 74 65 72 5a | 6f 6e 65 20 26 26 20 28 |.bWaterZ|one && (|
|000005e0| 56 65 6c 6f 63 69 74 79 | 2e 5a 20 3c 20 2d 32 30 |Velocity|.Z < -20|
|000005f0| 30 29 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 2f 2f |0) )....|{.....//|
|00000600| 20 65 6c 73 65 20 70 6c | 61 79 20 61 20 73 70 6c | else pl|ay a spl|
|00000610| 61 73 68 0d 0a 09 09 09 | 73 70 6c 61 73 68 53 69 |ash.....|splashSi|
|00000620| 7a 65 20 3d 20 46 43 6c | 61 6d 70 28 30 2e 30 30 |ze = FCl|amp(0.00|
|00000630| 30 31 20 2a 20 4d 61 73 | 73 20 2a 20 28 32 35 30 |01 * Mas|s * (250|
|00000640| 20 2d 20 30 2e 35 20 2a | 20 46 4d 61 78 28 2d 36 | - 0.5 *| FMax(-6|
|00000650| 30 30 2c 56 65 6c 6f 63 | 69 74 79 2e 5a 29 29 2c |00,Veloc|ity.Z)),|
|00000660| 20 31 2e 30 2c 20 32 2e | 30 20 29 3b 0d 0a 09 09 | 1.0, 2.|0 );....|
|00000670| 09 69 66 20 28 20 4e 65 | 77 5a 6f 6e 65 2e 45 6e |.if ( Ne|wZone.En|
|00000680| 74 72 79 53 6f 75 6e 64 | 20 21 3d 20 4e 6f 6e 65 |trySound| != None|
|00000690| 20 29 0d 0a 09 09 09 09 | 50 6c 61 79 53 6f 75 6e | )......|PlaySoun|
|000006a0| 64 28 4e 65 77 5a 6f 6e | 65 2e 45 6e 74 72 79 53 |d(NewZon|e.EntryS|
|000006b0| 6f 75 6e 64 2c 20 53 4c | 4f 54 5f 49 6e 74 65 72 |ound, SL|OT_Inter|
|000006c0| 61 63 74 2c 20 73 70 6c | 61 73 68 53 69 7a 65 29 |act, spl|ashSize)|
|000006d0| 3b 0d 0a 09 09 09 69 66 | 20 28 20 4e 65 77 5a 6f |;.....if| ( NewZo|
|000006e0| 6e 65 2e 45 6e 74 72 79 | 41 63 74 6f 72 20 21 3d |ne.Entry|Actor !=|
|000006f0| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 09 7b 0d 0a 09 | None ).|....{...|
|00000700| 09 09 09 73 70 6c 61 73 | 68 20 3d 20 53 70 61 77 |...splas|h = Spaw|
|00000710| 6e 28 4e 65 77 5a 6f 6e | 65 2e 45 6e 74 72 79 41 |n(NewZon|e.EntryA|
|00000720| 63 74 6f 72 29 3b 20 0d | 0a 09 09 09 09 69 66 20 |ctor); .|.....if |
|00000730| 28 20 73 70 6c 61 73 68 | 20 21 3d 20 4e 6f 6e 65 |( splash| != None|
|00000740| 20 29 0d 0a 09 09 09 09 | 09 73 70 6c 61 73 68 2e | )......|.splash.|
|00000750| 44 72 61 77 53 63 61 6c | 65 20 3d 20 73 70 6c 61 |DrawScal|e = spla|
|00000760| 73 68 53 69 7a 65 3b 0d | 0a 09 09 09 7d 0d 0a 09 |shSize;.|....}...|
|00000770| 09 7d 0d 0a 09 09 62 53 | 70 6c 61 73 68 20 3d 20 |.}....bS|plash = |
|00000780| 74 72 75 65 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 69 66 |true;...|}.....if|
|00000790| 20 28 20 4e 65 77 5a 6f | 6e 65 2e 62 44 65 73 74 | ( NewZo|ne.bDest|
|000007a0| 72 75 63 74 69 76 65 20 | 7c 7c 20 28 4e 65 77 5a |ructive ||| (NewZ|
|000007b0| 6f 6e 65 2e 62 50 61 69 | 6e 5a 6f 6e 65 20 20 26 |one.bPai|nZone &|
|000007c0| 26 20 28 4e 65 77 5a 6f | 6e 65 2e 44 61 6d 61 67 |& (NewZo|ne.Damag|
|000007d0| 65 50 65 72 53 65 63 20 | 3e 20 30 29 29 20 29 0d |ePerSec |> 0)) ).|
|000007e0| 0a 09 09 44 65 73 74 72 | 6f 79 28 29 3b 0d 0a 7d |...Destr|oy();..}|
|000007f0| 0d 0a 09 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |.....sim|ulated f|
|00000800| 75 6e 63 74 69 6f 6e 20 | 44 65 73 74 72 6f 79 65 |unction |Destroye|
|00000810| 64 28 29 0d 0a 7b 0d 0a | 09 69 66 20 28 20 74 72 |d()..{..|.if ( tr|
|00000820| 61 69 6c 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |ail != N|one )...|
|00000830| 09 74 72 61 69 6c 2e 44 | 65 73 74 72 6f 79 28 29 |.trail.D|estroy()|
|00000840| 3b 0d 0a 09 53 75 70 65 | 72 2e 44 65 73 74 72 6f |;...Supe|r.Destro|
|00000850| 79 65 64 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |yed();..|}....fun|
|00000860| 63 74 69 6f 6e 20 49 6e | 69 74 56 65 6c 6f 63 69 |ction In|itVeloci|
|00000870| 74 79 28 41 63 74 6f 72 | 20 4f 74 68 65 72 29 0d |ty(Actor| Other).|
|00000880| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 76 65 63 74 6f |.{...loc|al vecto|
|00000890| 72 20 52 61 6e 64 44 69 | 72 3b 0d 0a 0d 0a 09 52 |r RandDi|r;.....R|
|000008a0| 61 6e 64 44 69 72 20 3d | 20 37 30 30 20 2a 20 46 |andDir =| 700 * F|
|000008b0| 52 61 6e 64 28 29 20 2a | 20 56 52 61 6e 64 28 29 |Rand() *| VRand()|
|000008c0| 3b 0d 0a 09 52 61 6e 64 | 44 69 72 2e 5a 20 3d 20 |;...Rand|Dir.Z = |
|000008d0| 32 30 30 20 2a 20 46 52 | 61 6e 64 28 29 20 2d 20 |200 * FR|and() - |
|000008e0| 35 30 3b 0d 0a 09 56 65 | 6c 6f 63 69 74 79 20 3d |50;...Ve|locity =|
|000008f0| 20 28 30 2e 32 20 2b 20 | 46 52 61 6e 64 28 29 29 | (0.2 + |FRand())|
|00000900| 20 2a 20 28 6f 74 68 65 | 72 2e 56 65 6c 6f 63 69 | * (othe|r.Veloci|
|00000910| 74 79 20 2b 20 52 61 6e | 64 44 69 72 29 3b 0d 0a |ty + Ran|dDir);..|
|00000920| 09 49 66 20 28 52 65 67 | 69 6f 6e 2e 5a 6f 6e 65 |.If (Reg|ion.Zone|
|00000930| 2e 62 57 61 74 65 72 5a | 6f 6e 65 29 0d 0a 09 09 |.bWaterZ|one)....|
|00000940| 56 65 6c 6f 63 69 74 79 | 20 2a 3d 20 30 2e 35 3b |Velocity| *= 0.5;|
|00000950| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000960| 49 6e 69 74 66 6f 72 28 | 61 63 74 6f 72 20 4f 74 |Initfor(|actor Ot|
|00000970| 68 65 72 29 0d 0a 7b 0d | 0a 09 69 66 20 28 20 4f |her)..{.|..if ( O|
|00000980| 74 68 65 72 2e 49 73 41 | 28 27 43 61 72 63 61 73 |ther.IsA|('Carcas|
|00000990| 73 27 29 20 29 0d 0a 09 | 09 50 6c 61 79 65 72 4f |s') )...|.PlayerO|
|000009a0| 77 6e 65 72 20 3d 20 43 | 61 72 63 61 73 73 28 4f |wner = C|arcass(O|
|000009b0| 74 68 65 72 29 2e 50 6c | 61 79 65 72 4f 77 6e 65 |ther).Pl|ayerOwne|
|000009c0| 72 3b 0d 0a 09 62 44 65 | 63 6f 72 61 74 69 76 65 |r;...bDe|corative|
|000009d0| 20 3d 20 66 61 6c 73 65 | 3b 0d 0a 09 44 72 61 77 | = false|;...Draw|
|000009e0| 53 63 61 6c 65 20 3d 20 | 4f 74 68 65 72 2e 44 72 |Scale = |Other.Dr|
|000009f0| 61 77 53 63 61 6c 65 3b | 0d 0a 09 69 66 20 28 20 |awScale;|...if ( |
|00000a00| 44 72 61 77 53 63 61 6c | 65 20 21 3d 20 31 2e 30 |DrawScal|e != 1.0|
|00000a10| 20 29 0d 0a 09 09 53 65 | 74 43 6f 6c 6c 69 73 69 | )....Se|tCollisi|
|00000a20| 6f 6e 53 69 7a 65 28 43 | 6f 6c 6c 69 73 69 6f 6e |onSize(C|ollision|
|00000a30| 52 61 64 69 75 73 20 2a | 20 30 2e 35 20 2a 20 28 |Radius *| 0.5 * (|
|00000a40| 31 20 2b 20 44 72 61 77 | 53 63 61 6c 65 29 2c 20 |1 + Draw|Scale), |
|00000a50| 43 6f 6c 6c 69 73 69 6f | 6e 48 65 69 67 68 74 20 |Collisio|nHeight |
|00000a60| 2a 20 30 2e 35 20 2a 20 | 28 31 20 2b 20 44 72 61 |* 0.5 * |(1 + Dra|
|00000a70| 77 53 63 61 6c 65 29 29 | 3b 0d 0a 09 52 6f 74 61 |wScale))|;...Rota|
|00000a80| 74 69 6f 6e 52 61 74 65 | 2e 59 61 77 20 3d 20 52 |tionRate|.Yaw = R|
|00000a90| 61 6e 64 28 32 30 30 30 | 30 30 29 20 2d 20 31 30 |and(2000|00) - 10|
|00000aa0| 30 30 30 30 3b 0d 0a 09 | 52 6f 74 61 74 69 6f 6e |0000;...|Rotation|
|00000ab0| 52 61 74 65 2e 50 69 74 | 63 68 20 3d 20 52 61 6e |Rate.Pit|ch = Ran|
|00000ac0| 64 28 32 30 30 30 30 30 | 20 2d 20 41 62 73 28 52 |d(200000| - Abs(R|
|00000ad0| 6f 74 61 74 69 6f 6e 52 | 61 74 65 2e 59 61 77 29 |otationR|ate.Yaw)|
|00000ae0| 29 20 2d 20 30 2e 35 20 | 2a 20 28 32 30 30 30 30 |) - 0.5 |* (20000|
|00000af0| 30 20 2d 20 41 62 73 28 | 52 6f 74 61 74 69 6f 6e |0 - Abs(|Rotation|
|00000b00| 52 61 74 65 2e 59 61 77 | 29 29 3b 0d 0a 09 49 6e |Rate.Yaw|));...In|
|00000b10| 69 74 56 65 6c 6f 63 69 | 74 79 28 4f 74 68 65 72 |itVeloci|ty(Other|
|00000b20| 29 3b 0d 0a 09 69 66 20 | 28 20 54 72 61 69 6c 53 |);...if |( TrailS|
|00000b30| 69 7a 65 20 3e 20 30 20 | 29 0d 0a 09 7b 0d 0a 09 |ize > 0 |)...{...|
|00000b40| 09 69 66 20 28 20 55 54 | 48 75 6d 61 6e 43 61 72 |.if ( UT|HumanCar|
|00000b50| 63 61 73 73 28 4f 74 68 | 65 72 29 20 21 3d 20 4e |cass(Oth|er) != N|
|00000b60| 6f 6e 65 20 29 0d 0a 09 | 09 09 62 47 72 65 65 6e |one )...|..bGreen|
|00000b70| 42 6c 6f 6f 64 20 3d 20 | 55 54 48 75 6d 61 6e 43 |Blood = |UTHumanC|
|00000b80| 61 72 63 61 73 73 28 4f | 74 68 65 72 29 2e 62 47 |arcass(O|ther).bG|
|00000b90| 72 65 65 6e 42 6c 6f 6f | 64 3b 0d 0a 09 09 65 6c |reenBloo|d;....el|
|00000ba0| 73 65 20 69 66 20 28 20 | 28 55 54 43 72 65 61 74 |se if ( |(UTCreat|
|00000bb0| 75 72 65 43 68 75 6e 6b | 73 28 4f 74 68 65 72 29 |ureChunk|s(Other)|
|00000bc0| 20 21 3d 20 4e 6f 6e 65 | 29 20 29 0d 0a 09 09 09 | != None|) ).....|
|00000bd0| 62 47 72 65 65 6e 42 6c | 6f 6f 64 20 3d 20 55 54 |bGreenBl|ood = UT|
|00000be0| 43 72 65 61 74 75 72 65 | 43 68 75 6e 6b 73 28 4f |Creature|Chunks(O|
|00000bf0| 74 68 65 72 29 2e 62 47 | 72 65 65 6e 42 6c 6f 6f |ther).bG|reenBloo|
|00000c00| 64 3b 0d 0a 09 7d 0d 0a | 09 09 09 0d 0a 09 69 66 |d;...}..|......if|
|00000c10| 20 28 20 46 52 61 6e 64 | 28 29 20 3c 20 30 2e 33 | ( FRand|() < 0.3|
|00000c20| 20 29 0d 0a 09 09 42 75 | 6f 79 61 6e 63 79 20 3d | )....Bu|oyancy =|
|00000c30| 20 31 2e 30 36 20 2a 20 | 4d 61 73 73 3b 20 2f 2f | 1.06 * |Mass; //|
|00000c40| 20 66 6c 6f 61 74 20 63 | 6f 72 70 73 65 0d 0a 09 | float c|orpse...|
|00000c50| 65 6c 73 65 0d 0a 09 09 | 42 75 6f 79 61 6e 63 79 |else....|Buoyancy|
|00000c60| 20 3d 20 30 2e 39 34 20 | 2a 20 4d 61 73 73 3b 0d | = 0.94 |* Mass;.|
|00000c70| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 43 |.}....fu|nction C|
|00000c80| 68 75 6e 6b 55 70 28 69 | 6e 74 20 44 61 6d 61 67 |hunkUp(i|nt Damag|
|00000c90| 65 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 55 54 |e)..{...|local UT|
|00000ca0| 5f 42 6c 6f 6f 64 42 75 | 72 73 74 20 62 3b 0d 0a |_BloodBu|rst b;..|
|00000cb0| 0d 0a 09 69 66 20 28 62 | 48 69 64 64 65 6e 29 0d |...if (b|Hidden).|
|00000cc0| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 09 62 20 3d |...retur|n;...b =|
|00000cd0| 20 53 70 61 77 6e 28 63 | 6c 61 73 73 20 27 55 54 | Spawn(c|lass 'UT|
|00000ce0| 5f 42 6c 6f 6f 64 42 75 | 72 73 74 27 2c 2c 2c 2c |_BloodBu|rst',,,,|
|00000cf0| 72 6f 74 28 31 36 33 38 | 34 2c 30 2c 30 29 29 3b |rot(1638|4,0,0));|
|00000d00| 0d 0a 09 69 66 20 28 20 | 62 47 72 65 65 6e 42 6c |...if ( |bGreenBl|
|00000d10| 6f 6f 64 20 29 09 09 0d | 0a 09 09 62 2e 47 72 65 |ood )...|...b.Gre|
|00000d20| 65 6e 42 6c 6f 6f 64 28 | 29 3b 09 0d 0a 09 69 66 |enBlood(|);....if|
|00000d30| 20 28 62 50 6c 61 79 65 | 72 43 61 72 63 61 73 73 | (bPlaye|rCarcass|
|00000d40| 29 0d 0a 09 7b 0d 0a 09 | 09 62 48 69 64 64 65 6e |)...{...|.bHidden|
|00000d50| 20 3d 20 74 72 75 65 3b | 0d 0a 09 09 53 65 74 50 | = true;|....SetP|
|00000d60| 68 79 73 69 63 73 28 50 | 48 59 53 5f 4e 6f 6e 65 |hysics(P|HYS_None|
|00000d70| 29 3b 0d 0a 09 09 53 65 | 74 43 6f 6c 6c 69 73 69 |);....Se|tCollisi|
|00000d80| 6f 6e 28 66 61 6c 73 65 | 2c 66 61 6c 73 65 2c 66 |on(false|,false,f|
|00000d90| 61 6c 73 65 29 3b 0d 0a | 09 09 62 50 72 6f 6a 54 |alse);..|..bProjT|
|00000da0| 61 72 67 65 74 20 3d 20 | 66 61 6c 73 65 3b 0d 0a |arget = |false;..|
|00000db0| 09 09 69 66 20 28 20 54 | 72 61 69 6c 20 21 3d 20 |..if ( T|rail != |
|00000dc0| 4e 6f 6e 65 20 29 0d 0a | 09 09 09 54 72 61 69 6c |None )..|...Trail|
|00000dd0| 2e 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 09 7d 0d |.Destroy|();...}.|
|00000de0| 0a 09 65 6c 73 65 0d 0a | 09 09 64 65 73 74 72 6f |..else..|..destro|
|00000df0| 79 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 73 69 6d 75 6c |y();..}.|...simul|
|00000e00| 61 74 65 64 20 66 75 6e | 63 74 69 6f 6e 20 4c 61 |ated fun|ction La|
|00000e10| 6e 64 65 64 28 76 65 63 | 74 6f 72 20 48 69 74 4e |nded(vec|tor HitN|
|00000e20| 6f 72 6d 61 6c 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |ormal)..|{...loca|
|00000e30| 6c 20 72 6f 74 61 74 6f | 72 20 66 69 6e 61 6c 52 |l rotato|r finalR|
|00000e40| 6f 74 3b 0d 0a 09 6c 6f | 63 61 6c 20 55 54 5f 42 |ot;...lo|cal UT_B|
|00000e50| 6c 6f 6f 64 42 75 72 73 | 74 20 62 3b 0d 0a 09 6c |loodBurs|t b;...l|
|00000e60| 6f 63 61 6c 20 61 63 74 | 6f 72 20 61 3b 0d 0a 0d |ocal act|or a;...|
|00000e70| 0a 09 69 66 20 28 20 74 | 72 61 69 6c 20 21 3d 20 |..if ( t|rail != |
|00000e80| 4e 6f 6e 65 20 29 0d 0a | 09 7b 0d 0a 09 09 69 66 |None )..|.{....if|
|00000e90| 20 28 20 4c 65 76 65 6c | 2e 62 48 69 67 68 44 65 | ( Level|.bHighDe|
|00000ea0| 74 61 69 6c 4d 6f 64 65 | 20 26 26 20 21 4c 65 76 |tailMode| && !Lev|
|00000eb0| 65 6c 2e 62 44 72 6f 70 | 44 65 74 61 69 6c 20 29 |el.bDrop|Detail )|
|00000ec0| 0d 0a 09 09 09 62 55 6e | 6c 69 74 20 3d 20 66 61 |.....bUn|lit = fa|
|00000ed0| 6c 73 65 3b 0d 0a 09 09 | 74 72 61 69 6c 2e 44 65 |lse;....|trail.De|
|00000ee0| 73 74 72 6f 79 28 29 3b | 0d 0a 09 09 74 72 61 69 |stroy();|....trai|
|00000ef0| 6c 20 3d 20 4e 6f 6e 65 | 3b 0d 0a 09 7d 0d 0a 09 |l = None|;...}...|
|00000f00| 66 69 6e 61 6c 52 6f 74 | 20 3d 20 52 6f 74 61 74 |finalRot| = Rotat|
|00000f10| 69 6f 6e 3b 0d 0a 09 66 | 69 6e 61 6c 52 6f 74 2e |ion;...f|inalRot.|
|00000f20| 52 6f 6c 6c 20 3d 20 30 | 3b 0d 0a 09 66 69 6e 61 |Roll = 0|;...fina|
|00000f30| 6c 52 6f 74 2e 50 69 74 | 63 68 20 3d 20 30 3b 0d |lRot.Pit|ch = 0;.|
|00000f40| 0a 09 73 65 74 52 6f 74 | 61 74 69 6f 6e 28 66 69 |..setRot|ation(fi|
|00000f50| 6e 61 6c 52 6f 74 29 3b | 0d 0a 09 69 66 20 28 20 |nalRot);|...if ( |
|00000f60| 28 4c 65 76 65 6c 2e 4e | 65 74 4d 6f 64 65 20 21 |(Level.N|etMode !|
|00000f70| 3d 20 4e 4d 5f 44 65 64 | 69 63 61 74 65 64 53 65 |= NM_Ded|icatedSe|
|00000f80| 72 76 65 72 29 20 26 26 | 20 21 4c 65 76 65 6c 2e |rver) &&| !Level.|
|00000f90| 62 44 72 6f 70 44 65 74 | 61 69 6c 20 29 0d 0a 09 |bDropDet|ail )...|
|00000fa0| 7b 0d 0a 09 09 62 20 3d | 20 53 70 61 77 6e 28 63 |{....b =| Spawn(c|
|00000fb0| 6c 61 73 73 20 27 55 54 | 5f 42 6c 6f 6f 64 42 75 |lass 'UT|_BloodBu|
|00000fc0| 72 73 74 27 2c 2c 2c 2c | 72 6f 74 28 31 36 33 38 |rst',,,,|rot(1638|
|00000fd0| 34 2c 30 2c 30 29 29 3b | 0d 0a 09 09 69 66 20 28 |4,0,0));|....if (|
|00000fe0| 20 62 47 72 65 65 6e 42 | 6c 6f 6f 64 20 29 0d 0a | bGreenB|lood )..|
|00000ff0| 09 09 09 62 2e 47 72 65 | 65 6e 42 6c 6f 6f 64 28 |...b.Gre|enBlood(|
|00001000| 29 3b 09 09 0d 0a 09 09 | 62 2e 52 65 6d 6f 74 65 |);......|b.Remote|
|00001010| 52 6f 6c 65 20 3d 20 52 | 4f 4c 45 5f 4e 6f 6e 65 |Role = R|OLE_None|
|00001020| 3b 0d 0a 09 09 69 66 20 | 28 20 21 62 47 72 65 65 |;....if |( !bGree|
|00001030| 6e 42 6c 6f 6f 64 20 29 | 0d 0a 09 09 09 53 70 61 |nBlood )|.....Spa|
|00001040| 77 6e 28 63 6c 61 73 73 | 27 42 6c 6f 6f 64 53 70 |wn(class|'BloodSp|
|00001050| 6c 61 74 27 2c 2c 2c 4c | 6f 63 61 74 69 6f 6e 2c |lat',,,L|ocation,|
|00001060| 72 6f 74 61 74 6f 72 28 | 48 69 74 4e 6f 72 6d 61 |rotator(|HitNorma|
|00001070| 6c 29 29 3b 0d 0a 09 7d | 0d 0a 09 53 65 74 50 68 |l));...}|...SetPh|
|00001080| 79 73 69 63 73 28 50 48 | 59 53 5f 4e 6f 6e 65 29 |ysics(PH|YS_None)|
|00001090| 3b 0d 0a 09 53 65 74 43 | 6f 6c 6c 69 73 69 6f 6e |;...SetC|ollision|
|000010a0| 28 74 72 75 65 2c 20 66 | 61 6c 73 65 2c 20 66 61 |(true, f|alse, fa|
|000010b0| 6c 73 65 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 |lse);..}|....simu|
|000010c0| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 48 |lated fu|nction H|
|000010d0| 69 74 57 61 6c 6c 28 76 | 65 63 74 6f 72 20 48 69 |itWall(v|ector Hi|
|000010e0| 74 4e 6f 72 6d 61 6c 2c | 20 61 63 74 6f 72 20 57 |tNormal,| actor W|
|000010f0| 61 6c 6c 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |all)..{.|..local |
|00001100| 66 6c 6f 61 74 20 73 70 | 65 65 64 2c 20 64 65 63 |float sp|eed, dec|
|00001110| 69 73 69 6f 6e 3b 0d 0a | 09 6c 6f 63 61 6c 20 55 |ision;..|.local U|
|00001120| 54 5f 42 6c 6f 6f 64 42 | 75 72 73 74 20 62 3b 0d |T_BloodB|urst b;.|
|00001130| 0a 09 6c 6f 63 61 6c 20 | 61 63 74 6f 72 20 61 3b |..local |actor a;|
|00001140| 0d 0a 0d 0a 09 56 65 6c | 6f 63 69 74 79 20 3d 20 |.....Vel|ocity = |
|00001150| 30 2e 38 20 2a 20 28 56 | 65 6c 6f 63 69 74 79 20 |0.8 * (V|elocity |
|00001160| 2d 20 32 20 2a 20 48 69 | 74 4e 6f 72 6d 61 6c 20 |- 2 * Hi|tNormal |
|00001170| 2a 20 28 56 65 6c 6f 63 | 69 74 79 20 44 6f 74 20 |* (Veloc|ity Dot |
|00001180| 48 69 74 4e 6f 72 6d 61 | 6c 29 29 3b 0d 0a 09 56 |HitNorma|l));...V|
|00001190| 65 6c 6f 63 69 74 79 2e | 5a 20 3d 20 46 4d 69 6e |elocity.|Z = FMin|
|000011a0| 28 56 65 6c 6f 63 69 74 | 79 2e 5a 20 2a 20 30 2e |(Velocit|y.Z * 0.|
|000011b0| 38 2c 20 37 30 30 29 3b | 0d 0a 09 73 70 65 65 64 |8, 700);|...speed|
|000011c0| 20 3d 20 56 53 69 7a 65 | 28 56 65 6c 6f 63 69 74 | = VSize|(Velocit|
|000011d0| 79 29 3b 0d 0a 09 69 66 | 20 28 20 73 70 65 65 64 |y);...if| ( speed|
|000011e0| 20 3c 20 33 35 30 20 29 | 0d 0a 09 7b 0d 0a 09 09 | < 350 )|...{....|
|000011f0| 69 66 20 28 20 74 72 61 | 69 6c 20 21 3d 20 4e 6f |if ( tra|il != No|
|00001200| 6e 65 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 69 66 |ne )....|{.....if|
|00001210| 20 28 20 4c 65 76 65 6c | 2e 62 48 69 67 68 44 65 | ( Level|.bHighDe|
|00001220| 74 61 69 6c 4d 6f 64 65 | 20 26 26 20 21 4c 65 76 |tailMode| && !Lev|
|00001230| 65 6c 2e 62 44 72 6f 70 | 44 65 74 61 69 6c 20 29 |el.bDrop|Detail )|
|00001240| 0d 0a 09 09 09 09 62 55 | 6e 6c 69 74 20 3d 20 66 |......bU|nlit = f|
|00001250| 61 6c 73 65 3b 0d 0a 09 | 09 09 74 72 61 69 6c 2e |alse;...|..trail.|
|00001260| 44 65 73 74 72 6f 79 28 | 29 3b 0d 0a 09 09 09 74 |Destroy(|);.....t|
|00001270| 72 61 69 6c 20 3d 20 4e | 6f 6e 65 3b 0d 0a 09 09 |rail = N|one;....|
|00001280| 7d 0d 0a 09 09 69 66 20 | 28 20 73 70 65 65 64 20 |}....if |( speed |
|00001290| 3c 20 31 32 30 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |< 120 ).|...{....|
|000012a0| 09 62 42 6f 75 6e 63 65 | 20 3d 20 66 61 6c 73 65 |.bBounce| = false|
|000012b0| 3b 0d 0a 09 09 09 44 69 | 73 61 62 6c 65 28 27 48 |;.....Di|sable('H|
|000012c0| 69 74 57 61 6c 6c 27 29 | 3b 0d 0a 09 09 7d 0d 0a |itWall')|;....}..|
|000012d0| 09 7d 0d 0a 09 65 6c 73 | 65 20 69 66 20 28 20 73 |.}...els|e if ( s|
|000012e0| 70 65 65 64 20 3e 20 32 | 35 30 20 29 0d 0a 09 7b |peed > 2|50 )...{|
|000012f0| 0d 0a 09 09 69 66 20 28 | 20 73 70 65 65 64 20 3e |....if (| speed >|
|00001300| 20 37 30 30 20 29 0d 0a | 09 09 09 76 65 6c 6f 63 | 700 )..|...veloc|
|00001310| 69 74 79 20 2a 3d 20 30 | 2e 38 3b 0d 0a 09 09 69 |ity *= 0|.8;....i|
|00001320| 66 20 28 20 20 28 4c 65 | 76 65 6c 2e 4e 65 74 4d |f ( (Le|vel.NetM|
|00001330| 6f 64 65 20 21 3d 20 4e | 4d 5f 44 65 64 69 63 61 |ode != N|M_Dedica|
|00001340| 74 65 64 53 65 72 76 65 | 72 29 20 26 26 20 4c 65 |tedServe|r) && Le|
|00001350| 76 65 6c 2e 62 48 69 67 | 68 44 65 74 61 69 6c 4d |vel.bHig|hDetailM|
|00001360| 6f 64 65 20 26 26 20 21 | 4c 65 76 65 6c 2e 62 44 |ode && !|Level.bD|
|00001370| 72 6f 70 44 65 74 61 69 | 6c 20 29 0d 0a 09 09 7b |ropDetai|l )....{|
|00001380| 0d 0a 09 09 09 64 65 63 | 69 73 69 6f 6e 20 3d 20 |.....dec|ision = |
|00001390| 46 52 61 6e 64 28 29 3b | 0d 0a 09 09 09 69 66 20 |FRand();|.....if |
|000013a0| 28 20 64 65 63 69 73 69 | 6f 6e 20 3c 20 30 2e 32 |( decisi|on < 0.2|
|000013b0| 35 20 29 0d 0a 09 09 09 | 09 50 6c 61 79 53 6f 75 |5 ).....|.PlaySou|
|000013c0| 6e 64 28 73 6f 75 6e 64 | 20 27 67 69 62 50 31 27 |nd(sound| 'gibP1'|
|000013d0| 2c 2c 34 29 3b 0d 0a 09 | 09 09 65 6c 73 65 20 69 |,,4);...|..else i|
|000013e0| 66 20 28 20 64 65 63 69 | 73 69 6f 6e 20 3c 20 30 |f ( deci|sion < 0|
|000013f0| 2e 35 20 29 0d 0a 09 09 | 09 09 50 6c 61 79 53 6f |.5 )....|..PlaySo|
|00001400| 75 6e 64 28 73 6f 75 6e | 64 20 27 67 69 62 50 34 |und(soun|d 'gibP4|
|00001410| 27 2c 2c 34 29 3b 0d 0a | 09 09 09 65 6c 73 65 20 |',,4);..|...else |
|00001420| 69 66 20 28 20 64 65 63 | 69 73 69 6f 6e 20 3c 20 |if ( dec|ision < |
|00001430| 30 2e 37 35 20 29 0d 0a | 09 09 09 09 50 6c 61 79 |0.75 )..|....Play|
|00001440| 53 6f 75 6e 64 28 73 6f | 75 6e 64 20 27 67 69 62 |Sound(so|und 'gib|
|00001450| 50 35 27 2c 2c 34 29 3b | 0d 0a 09 09 09 65 6c 73 |P5',,4);|.....els|
|00001460| 65 20 0d 0a 09 09 09 09 | 50 6c 61 79 53 6f 75 6e |e ......|PlaySoun|
|00001470| 64 28 73 6f 75 6e 64 20 | 27 67 69 62 50 36 27 2c |d(sound |'gibP6',|
|00001480| 2c 34 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 09 |,4);....|}...}...|
|00001490| 69 66 20 28 20 28 4c 65 | 76 65 6c 2e 4e 65 74 4d |if ( (Le|vel.NetM|
|000014a0| 6f 64 65 20 21 3d 20 4e | 4d 5f 44 65 64 69 63 61 |ode != N|M_Dedica|
|000014b0| 74 65 64 53 65 72 76 65 | 72 29 20 29 0d 0a 09 7b |tedServe|r) )...{|
|000014c0| 0d 0a 09 09 69 66 20 28 | 20 28 74 72 61 69 6c 20 |....if (| (trail |
|000014d0| 3d 3d 20 4e 6f 6e 65 29 | 20 26 26 20 21 4c 65 76 |== None)| && !Lev|
|000014e0| 65 6c 2e 62 44 72 6f 70 | 44 65 74 61 69 6c 20 29 |el.bDrop|Detail )|
|000014f0| 0d 0a 09 09 7b 20 0d 0a | 09 09 09 62 20 3d 20 53 |....{ ..|...b = S|
|00001500| 70 61 77 6e 28 63 6c 61 | 73 73 20 27 55 54 5f 42 |pawn(cla|ss 'UT_B|
|00001510| 6c 6f 6f 64 42 75 72 73 | 74 27 2c 2c 2c 2c 52 6f |loodBurs|t',,,,Ro|
|00001520| 74 28 31 36 33 38 34 2c | 30 2c 30 29 29 3b 0d 0a |t(16384,|0,0));..|
|00001530| 09 09 09 69 66 20 28 20 | 62 47 72 65 65 6e 42 6c |...if ( |bGreenBl|
|00001540| 6f 6f 64 20 29 0d 0a 09 | 09 09 09 62 2e 47 72 65 |ood )...|...b.Gre|
|00001550| 65 6e 42 6c 6f 6f 64 28 | 29 3b 09 09 0d 0a 09 09 |enBlood(|);......|
|00001560| 09 62 2e 52 65 6d 6f 74 | 65 52 6f 6c 65 20 3d 20 |.b.Remot|eRole = |
|00001570| 52 4f 4c 45 5f 4e 6f 6e | 65 3b 0d 0a 09 09 7d 0d |ROLE_Non|e;....}.|
|00001580| 0a 09 09 69 66 20 28 20 | 21 62 47 72 65 65 6e 42 |...if ( |!bGreenB|
|00001590| 6c 6f 6f 64 20 26 26 20 | 28 21 4c 65 76 65 6c 2e |lood && |(!Level.|
|000015a0| 62 44 72 6f 70 44 65 74 | 61 69 6c 20 7c 7c 20 28 |bDropDet|ail || (|
|000015b0| 46 52 61 6e 64 28 29 20 | 3c 20 30 2e 36 35 29 29 |FRand() |< 0.65))|
|000015c0| 20 29 0d 0a 09 09 09 53 | 70 61 77 6e 28 63 6c 61 | ).....S|pawn(cla|
|000015d0| 73 73 27 42 6c 6f 6f 64 | 53 70 6c 61 74 27 2c 2c |ss'Blood|Splat',,|
|000015e0| 2c 4c 6f 63 61 74 69 6f | 6e 2c 72 6f 74 61 74 6f |,Locatio|n,rotato|
|000015f0| 72 28 48 69 74 4e 6f 72 | 6d 61 6c 29 29 3b 0d 0a |r(HitNor|mal));..|
|00001600| 09 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |.}..}...|.functio|
|00001610| 6e 20 54 61 6b 65 44 61 | 6d 61 67 65 28 20 69 6e |n TakeDa|mage( in|
|00001620| 74 20 44 61 6d 61 67 65 | 2c 20 50 61 77 6e 20 69 |t Damage|, Pawn i|
|00001630| 6e 73 74 69 67 61 74 65 | 64 42 79 2c 20 56 65 63 |nstigate|dBy, Vec|
|00001640| 74 6f 72 20 68 69 74 6c | 6f 63 61 74 69 6f 6e 2c |tor hitl|ocation,|
|00001650| 20 0d 0a 09 09 09 09 09 | 09 56 65 63 74 6f 72 20 | .......|.Vector |
|00001660| 6d 6f 6d 65 6e 74 75 6d | 2c 20 6e 61 6d 65 20 64 |momentum|, name d|
|00001670| 61 6d 61 67 65 54 79 70 | 65 29 0d 0a 7b 0d 0a 09 |amageTyp|e)..{...|
|00001680| 53 65 74 50 68 79 73 69 | 63 73 28 50 48 59 53 5f |SetPhysi|cs(PHYS_|
|00001690| 46 61 6c 6c 69 6e 67 29 | 3b 0d 0a 09 62 42 6f 62 |Falling)|;...bBob|
|000016a0| 62 69 6e 67 20 3d 20 66 | 61 6c 73 65 3b 0d 0a 09 |bing = f|alse;...|
|000016b0| 56 65 6c 6f 63 69 74 79 | 20 2b 3d 20 6d 6f 6d 65 |Velocity| += mome|
|000016c0| 6e 74 75 6d 2f 4d 61 73 | 73 3b 0d 0a 09 43 75 6d |ntum/Mas|s;...Cum|
|000016d0| 75 6c 61 74 69 76 65 44 | 61 6d 61 67 65 20 2b 3d |ulativeD|amage +=|
|000016e0| 20 44 61 6d 61 67 65 3b | 0d 0a 09 49 66 20 28 20 | Damage;|...If ( |
|000016f0| 44 61 6d 61 67 65 20 3e | 20 46 4d 69 6e 28 31 35 |Damage >| FMin(15|
|00001700| 2c 20 4d 61 73 73 29 20 | 7c 7c 20 28 43 75 6d 75 |, Mass) ||| (Cumu|
|00001710| 6c 61 74 69 76 65 44 61 | 6d 61 67 65 20 3e 20 4d |lativeDa|mage > M|
|00001720| 61 73 73 29 20 29 0d 0a | 09 09 43 68 75 6e 6b 55 |ass) )..|..ChunkU|
|00001730| 70 28 44 61 6d 61 67 65 | 29 3b 0d 0a 7d 0d 0a 09 |p(Damage|);..}...|
|00001740| 09 09 0d 0a 61 75 74 6f | 20 73 74 61 74 65 20 44 |....auto| state D|
|00001750| 79 69 6e 67 0d 0a 7b 0d | 0a 09 69 67 6e 6f 72 65 |ying..{.|..ignore|
|00001760| 73 20 54 61 6b 65 44 61 | 6d 61 67 65 3b 0d 0a 0d |s TakeDa|mage;...|
|00001770| 0a 42 65 67 69 6e 3a 0d | 0a 09 69 66 20 28 20 62 |.Begin:.|..if ( b|
|00001780| 44 65 63 6f 72 61 74 69 | 76 65 20 29 0d 0a 09 09 |Decorati|ve )....|
|00001790| 53 65 74 50 68 79 73 69 | 63 73 28 50 48 59 53 5f |SetPhysi|cs(PHYS_|
|000017a0| 4e 6f 6e 65 29 3b 0d 0a | 09 65 6c 73 65 20 69 66 |None);..|.else if|
|000017b0| 20 28 20 28 54 72 61 69 | 6c 53 69 7a 65 20 3e 20 | ( (Trai|lSize > |
|000017c0| 30 29 20 26 26 20 21 52 | 65 67 69 6f 6e 2e 5a 6f |0) && !R|egion.Zo|
|000017d0| 6e 65 2e 62 57 61 74 65 | 72 5a 6f 6e 65 20 29 0d |ne.bWate|rZone ).|
|000017e0| 0a 09 7b 0d 0a 09 09 74 | 72 61 69 6c 20 3d 20 53 |..{....t|rail = S|
|000017f0| 70 61 77 6e 28 63 6c 61 | 73 73 27 55 54 5f 42 6c |pawn(cla|ss'UT_Bl|
|00001800| 6f 6f 64 54 72 61 69 6c | 27 2c 73 65 6c 66 29 3b |oodTrail|',self);|
|00001810| 0d 0a 09 09 69 66 20 28 | 20 62 47 72 65 65 6e 42 |....if (| bGreenB|
|00001820| 6c 6f 6f 64 20 29 0d 0a | 09 09 09 74 72 61 69 6c |lood )..|...trail|
|00001830| 2e 47 72 65 65 6e 42 6c | 6f 6f 64 28 29 3b 0d 0a |.GreenBl|ood();..|
|00001840| 09 7d 0d 0a 09 53 6c 65 | 65 70 28 30 2e 33 35 29 |.}...Sle|ep(0.35)|
|00001850| 3b 0d 0a 09 53 65 74 43 | 6f 6c 6c 69 73 69 6f 6e |;...SetC|ollision|
|00001860| 28 74 72 75 65 2c 20 66 | 61 6c 73 65 2c 20 66 61 |(true, f|alse, fa|
|00001870| 6c 73 65 29 3b 0d 0a 09 | 47 6f 74 6f 53 74 61 74 |lse);...|GotoStat|
|00001880| 65 28 27 44 65 61 64 27 | 29 3b 0d 0a 7d 09 0d 0a |e('Dead'|);..}...|
|00001890| 0d 0a 73 74 61 74 65 20 | 44 65 61 64 20 0d 0a 7b |..state |Dead ..{|
|000018a0| 0d 0a 09 66 75 6e 63 74 | 69 6f 6e 20 54 69 6d 65 |...funct|ion Time|
|000018b0| 72 28 29 0d 0a 09 7b 0d | 0a 09 09 6c 6f 63 61 6c |r()...{.|...local|
|000018c0| 20 62 6f 6f 6c 20 62 53 | 65 65 6e 3b 0d 0a 09 09 | bool bS|een;....|
|000018d0| 6c 6f 63 61 6c 20 50 61 | 77 6e 20 61 50 61 77 6e |local Pa|wn aPawn|
|000018e0| 3b 0d 0a 09 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |;....loc|al float|
|000018f0| 20 64 69 73 74 3b 0d 0a | 0d 0a 09 09 69 66 20 28 | dist;..|....if (|
|00001900| 20 21 4c 65 76 65 6c 2e | 62 44 72 6f 70 44 65 74 | !Level.|bDropDet|
|00001910| 61 69 6c 20 26 26 20 28 | 52 65 67 69 6f 6e 2e 5a |ail && (|Region.Z|
|00001920| 6f 6e 65 2e 4e 75 6d 43 | 61 72 63 61 73 73 65 73 |one.NumC|arcasses|
|00001930| 20 3c 3d 20 52 65 67 69 | 6f 6e 2e 5a 6f 6e 65 2e | <= Regi|on.Zone.|
|00001940| 4d 61 78 43 61 72 63 61 | 73 73 65 73 29 20 29 0d |MaxCarca|sses) ).|
|00001950| 0a 09 09 7b 0d 0a 09 09 | 09 69 66 20 28 20 21 50 |...{....|.if ( !P|
|00001960| 6c 61 79 65 72 43 61 6e | 53 65 65 4d 65 28 29 20 |layerCan|SeeMe() |
|00001970| 29 0d 0a 09 09 09 09 44 | 65 73 74 72 6f 79 28 29 |)......D|estroy()|
|00001980| 3b 0d 0a 09 09 09 65 6c | 73 65 0d 0a 09 09 09 09 |;.....el|se......|
|00001990| 53 65 74 54 69 6d 65 72 | 28 32 2e 30 2c 20 66 61 |SetTimer|(2.0, fa|
|000019a0| 6c 73 65 29 3b 09 0d 0a | 09 09 7d 0d 0a 09 09 65 |lse);...|..}....e|
|000019b0| 6c 73 65 0d 0a 09 09 09 | 44 65 73 74 72 6f 79 28 |lse.....|Destroy(|
|000019c0| 29 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 66 75 6e 63 74 |);...}..|...funct|
|000019d0| 69 6f 6e 20 42 65 67 69 | 6e 53 74 61 74 65 28 29 |ion Begi|nState()|
|000019e0| 0d 0a 09 7b 0d 0a 09 09 | 69 66 20 28 20 62 44 65 |...{....|if ( bDe|
|000019f0| 63 6f 72 61 74 69 76 65 | 20 29 0d 0a 09 09 09 6c |corative| ).....l|
|00001a00| 69 66 65 73 70 61 6e 20 | 3d 20 30 2e 30 3b 0d 0a |ifespan |= 0.0;..|
|00001a10| 09 09 65 6c 73 65 0d 0a | 09 09 09 53 65 74 54 69 |..else..|...SetTi|
|00001a20| 6d 65 72 28 35 2e 30 2c | 20 66 61 6c 73 65 29 3b |mer(5.0,| false);|
|00001a30| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 00 |...}..}.|.... |
+--------+-------------------------+-------------------------+--------+--------+