home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 7 (DVD) / XENIADVD07.iso / Fragzone / Files / ut2003-winpatch2225.exe / UT2003-Patch / System / XEffects.u / Gib_ScriptText.TextBuffer < prev    next >
Unknown  |  2003-04-16  |  1.7 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.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 54 1b 63 6c 61 73 73 20 |........|T.class |
|00000010| 47 69 62 20 65 78 74 65 | 6e 64 73 20 41 63 74 6f |Gib exte|nds Acto|
|00000020| 72 0d 0a 20 20 20 20 61 | 62 73 74 72 61 63 74 3b |r.. a|bstract;|
|00000030| 0d 0a 0d 0a 76 61 72 20 | 63 6c 61 73 73 3c 78 50 |....var |class<xP|
|00000040| 61 77 6e 47 69 62 47 72 | 6f 75 70 3e 20 47 69 62 |awnGibGr|oup> Gib|
|00000050| 47 72 6f 75 70 43 6c 61 | 73 73 3b 0d 0a 76 61 72 |GroupCla|ss;..var|
|00000060| 28 29 20 63 6c 61 73 73 | 3c 78 45 6d 69 74 74 65 |() class|<xEmitte|
|00000070| 72 3e 20 54 72 61 69 6c | 43 6c 61 73 73 3b 0d 0a |r> Trail|Class;..|
|00000080| 76 61 72 28 29 20 78 45 | 6d 69 74 74 65 72 20 54 |var() xE|mitter T|
|00000090| 72 61 69 6c 3b 0d 0a 76 | 61 72 28 29 20 66 6c 6f |rail;..v|ar() flo|
|000000a0| 61 74 20 44 61 6d 70 65 | 6e 46 61 63 74 6f 72 3b |at Dampe|nFactor;|
|000000b0| 0d 0a 76 61 72 20 53 6f | 75 6e 64 09 48 69 74 53 |..var So|und.HitS|
|000000c0| 6f 75 6e 64 73 5b 32 5d | 3b 0d 0a 0d 0a 73 69 6d |ounds[2]|;....sim|
|000000d0| 75 6c 61 74 65 64 20 66 | 75 6e 63 74 69 6f 6e 20 |ulated f|unction |
|000000e0| 44 65 73 74 72 6f 79 65 | 64 28 29 0d 0a 7b 0d 0a |Destroye|d()..{..|
|000000f0| 20 20 20 20 69 66 28 20 | 54 72 61 69 6c 20 21 3d | if( |Trail !=|
|00000100| 20 4e 6f 6e 65 20 29 0d | 0a 20 20 20 20 20 20 20 | None ).|. |
|00000110| 20 54 72 61 69 6c 2e 6d | 52 65 67 65 6e 20 3d 20 | Trail.m|Regen = |
|00000120| 66 61 6c 73 65 3b 0d 0a | 0d 0a 09 53 75 70 65 72 |false;..|...Super|
|00000130| 2e 44 65 73 74 72 6f 79 | 65 64 28 29 3b 0d 0a 7d |.Destroy|ed();..}|
|00000140| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 69 |....simu|lated fi|
|00000150| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 20 52 61 6e |nal func|tion Ran|
|00000160| 64 53 70 69 6e 28 66 6c | 6f 61 74 20 73 70 69 6e |dSpin(fl|oat spin|
|00000170| 52 61 74 65 29 0d 0a 7b | 0d 0a 09 44 65 73 69 72 |Rate)..{|...Desir|
|00000180| 65 64 52 6f 74 61 74 69 | 6f 6e 20 3d 20 52 6f 74 |edRotati|on = Rot|
|00000190| 52 61 6e 64 28 29 3b 0d | 0a 09 52 6f 74 61 74 69 |Rand();.|..Rotati|
|000001a0| 6f 6e 52 61 74 65 2e 59 | 61 77 20 3d 20 73 70 69 |onRate.Y|aw = spi|
|000001b0| 6e 52 61 74 65 20 2a 20 | 32 20 2a 46 52 61 6e 64 |nRate * |2 *FRand|
|000001c0| 28 29 20 2d 20 73 70 69 | 6e 52 61 74 65 3b 0d 0a |() - spi|nRate;..|
|000001d0| 09 52 6f 74 61 74 69 6f | 6e 52 61 74 65 2e 50 69 |.Rotatio|nRate.Pi|
|000001e0| 74 63 68 20 3d 20 73 70 | 69 6e 52 61 74 65 20 2a |tch = sp|inRate *|
|000001f0| 20 32 20 2a 46 52 61 6e | 64 28 29 20 2d 20 73 70 | 2 *FRan|d() - sp|
|00000200| 69 6e 52 61 74 65 3b 0d | 0a 09 52 6f 74 61 74 69 |inRate;.|..Rotati|
|00000210| 6f 6e 52 61 74 65 2e 52 | 6f 6c 6c 20 3d 20 73 70 |onRate.R|oll = sp|
|00000220| 69 6e 52 61 74 65 20 2a | 20 32 20 2a 46 52 61 6e |inRate *| 2 *FRan|
|00000230| 64 28 29 20 2d 20 73 70 | 69 6e 52 61 74 65 3b 09 |d() - sp|inRate;.|
|00000240| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00000250| 20 66 75 6e 63 74 69 6f | 6e 20 4c 61 6e 64 65 64 | functio|n Landed|
|00000260| 28 20 56 65 63 74 6f 72 | 20 48 69 74 4e 6f 72 6d |( Vector| HitNorm|
|00000270| 61 6c 20 29 0d 0a 7b 0d | 0a 20 20 20 20 48 69 74 |al )..{.|. Hit|
|00000280| 57 61 6c 6c 28 20 48 69 | 74 4e 6f 72 6d 61 6c 2c |Wall( Hi|tNormal,|
|00000290| 20 4e 6f 6e 65 20 29 3b | 0d 0a 7d 0d 0a 20 20 0d | None );|..}.. .|
|000002a0| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|000002b0| 69 6f 6e 20 48 69 74 57 | 61 6c 6c 28 20 56 65 63 |ion HitW|all( Vec|
|000002c0| 74 6f 72 20 48 69 74 4e | 6f 72 6d 61 6c 2c 20 41 |tor HitN|ormal, A|
|000002d0| 63 74 6f 72 20 57 61 6c | 6c 20 29 0d 0a 7b 0d 0a |ctor Wal|l )..{..|
|000002e0| 20 20 20 20 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 | loca|l float |
|000002f0| 53 70 65 65 64 3b 0d 0a | 0d 0a 20 20 20 20 56 65 |Speed;..|.. Ve|
|00000300| 6c 6f 63 69 74 79 20 3d | 20 44 61 6d 70 65 6e 46 |locity =| DampenF|
|00000310| 61 63 74 6f 72 20 2a 20 | 28 28 56 65 6c 6f 63 69 |actor * |((Veloci|
|00000320| 74 79 20 64 6f 74 20 48 | 69 74 4e 6f 72 6d 61 6c |ty dot H|itNormal|
|00000330| 29 20 2a 20 48 69 74 4e | 6f 72 6d 61 6c 2a 28 2d |) * HitN|ormal*(-|
|00000340| 32 2e 30 29 20 2b 20 56 | 65 6c 6f 63 69 74 79 29 |2.0) + V|elocity)|
|00000350| 3b 0d 0a 20 20 20 20 52 | 61 6e 64 53 70 69 6e 28 |;.. R|andSpin(|
|00000360| 31 30 30 30 30 30 29 3b | 0d 0a 20 20 20 20 53 70 |100000);|.. Sp|
|00000370| 65 65 64 20 3d 20 56 53 | 69 7a 65 28 56 65 6c 6f |eed = VS|ize(Velo|
|00000380| 63 69 74 79 29 3b 0d 0a | 20 20 20 20 0d 0a 09 69 |city);..| ...i|
|00000390| 66 28 20 53 70 65 65 64 | 20 3e 20 31 35 30 20 29 |f( Speed| > 150 )|
|000003a0| 0d 0a 20 20 20 20 7b 0d | 0a 20 09 09 69 66 28 20 |.. {.|. ..if( |
|000003b0| 47 69 62 47 72 6f 75 70 | 43 6c 61 73 73 2e 64 65 |GibGroup|Class.de|
|000003c0| 66 61 75 6c 74 2e 42 6c | 6f 6f 64 48 69 74 43 6c |fault.Bl|oodHitCl|
|000003d0| 61 73 73 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |ass != N|one )...|
|000003e0| 09 09 53 70 61 77 6e 28 | 20 47 69 62 47 72 6f 75 |..Spawn(| GibGrou|
|000003f0| 70 43 6c 61 73 73 2e 64 | 65 66 61 75 6c 74 2e 42 |pClass.d|efault.B|
|00000400| 6c 6f 6f 64 48 69 74 43 | 6c 61 73 73 2c 2c 2c 20 |loodHitC|lass,,, |
|00000410| 4c 6f 63 61 74 69 6f 6e | 2c 20 52 6f 74 61 74 6f |Location|, Rotato|
|00000420| 72 28 2d 48 69 74 4e 6f | 72 6d 61 6c 29 20 29 3b |r(-HitNo|rmal) );|
|00000430| 0d 0a 20 20 20 20 20 20 | 20 20 69 66 20 28 20 28 |.. | if ( (|
|00000440| 4c 65 76 65 6c 2e 4e 65 | 74 4d 6f 64 65 20 21 3d |Level.Ne|tMode !=|
|00000450| 20 4e 4d 5f 44 65 64 69 | 63 61 74 65 64 53 65 72 | NM_Dedi|catedSer|
|00000460| 76 65 72 29 20 26 26 20 | 28 4c 65 76 65 6c 2e 44 |ver) && |(Level.D|
|00000470| 65 74 61 69 6c 4d 6f 64 | 65 20 21 3d 20 44 4d 5f |etailMod|e != DM_|
|00000480| 4c 6f 77 29 20 26 26 20 | 21 4c 65 76 65 6c 2e 62 |Low) && |!Level.b|
|00000490| 44 72 6f 70 44 65 74 61 | 69 6c 20 26 26 20 28 4c |DropDeta|il && (L|
|000004a0| 69 66 65 53 70 61 6e 20 | 3c 20 37 2e 33 29 20 29 |ifeSpan |< 7.3) )|
|000004b0| 0d 0a 09 09 09 50 6c 61 | 79 53 6f 75 6e 64 28 48 |.....Pla|ySound(H|
|000004c0| 69 74 53 6f 75 6e 64 73 | 5b 52 61 6e 64 28 32 29 |itSounds|[Rand(2)|
|000004d0| 5d 29 3b 0d 0a 20 20 20 | 20 7d 0d 0a 0d 0a 20 20 |]);.. | }.... |
|000004e0| 20 20 69 66 28 20 53 70 | 65 65 64 20 3c 20 32 30 | if( Sp|eed < 20|
|000004f0| 20 29 20 0d 0a 20 20 20 | 20 7b 0d 0a 20 09 09 69 | ) .. | {.. ..i|
|00000500| 66 28 20 47 69 62 47 72 | 6f 75 70 43 6c 61 73 73 |f( GibGr|oupClass|
|00000510| 2e 64 65 66 61 75 6c 74 | 2e 42 6c 6f 6f 64 48 69 |.default|.BloodHi|
|00000520| 74 43 6c 61 73 73 20 21 | 3d 20 4e 6f 6e 65 20 29 |tClass !|= None )|
|00000530| 0d 0a 09 09 09 53 70 61 | 77 6e 28 20 47 69 62 47 |.....Spa|wn( GibG|
|00000540| 72 6f 75 70 43 6c 61 73 | 73 2e 64 65 66 61 75 6c |roupClas|s.defaul|
|00000550| 74 2e 42 6c 6f 6f 64 48 | 69 74 43 6c 61 73 73 2c |t.BloodH|itClass,|
|00000560| 2c 2c 20 4c 6f 63 61 74 | 69 6f 6e 2c 20 52 6f 74 |,, Locat|ion, Rot|
|00000570| 61 74 6f 72 28 2d 48 69 | 74 4e 6f 72 6d 61 6c 29 |ator(-Hi|tNormal)|
|00000580| 20 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 62 42 6f | );.. | bBo|
|00000590| 75 6e 63 65 20 3d 20 46 | 61 6c 73 65 3b 0d 0a 20 |unce = F|alse;.. |
|000005a0| 20 20 20 20 20 20 20 53 | 65 74 50 68 79 73 69 63 | S|etPhysic|
|000005b0| 73 28 50 48 59 53 5f 4e | 6f 6e 65 29 3b 0d 0a 20 |s(PHYS_N|one);.. |
|000005c0| 20 20 20 7d 0d 0a 7d 0d | 0a 0d 0a 73 69 6d 75 6c | }..}.|...simul|
|000005d0| 61 74 65 64 20 66 75 6e | 63 74 69 6f 6e 20 50 6f |ated fun|ction Po|
|000005e0| 73 74 42 65 67 69 6e 50 | 6c 61 79 28 29 0d 0a 7b |stBeginP|lay()..{|
|000005f0| 0d 0a 20 20 20 20 53 75 | 70 65 72 2e 50 6f 73 74 |.. Su|per.Post|
|00000600| 42 65 67 69 6e 50 6c 61 | 79 28 29 3b 0d 0a 0d 0a |BeginPla|y();....|
|00000610| 20 20 20 20 69 66 20 28 | 20 4c 65 76 65 6c 2e 4e | if (| Level.N|
|00000620| 65 74 4d 6f 64 65 20 21 | 3d 20 4e 4d 5f 44 65 64 |etMode !|= NM_Ded|
|00000630| 69 63 61 74 65 64 53 65 | 72 76 65 72 20 29 0d 0a |icatedSe|rver )..|
|00000640| 20 20 20 20 7b 0d 0a 09 | 09 54 72 61 69 6c 20 3d | {...|.Trail =|
|00000650| 20 53 70 61 77 6e 28 54 | 72 61 69 6c 43 6c 61 73 | Spawn(T|railClas|
|00000660| 73 2c 20 73 65 6c 66 2c | 2c 20 4c 6f 63 61 74 69 |s, self,|, Locati|
|00000670| 6f 6e 2c 20 52 6f 74 61 | 74 69 6f 6e 29 3b 0d 0a |on, Rota|tion);..|
|00000680| 09 09 54 72 61 69 6c 2e | 53 65 74 50 68 79 73 69 |..Trail.|SetPhysi|
|00000690| 63 73 28 20 50 48 59 53 | 5f 54 72 61 69 6c 65 72 |cs( PHYS|_Trailer|
|000006a0| 20 29 3b 0d 0a 09 09 54 | 72 61 69 6c 2e 4c 69 66 | );....T|rail.Lif|
|000006b0| 65 53 70 61 6e 20 3d 20 | 31 2e 35 3b 0d 0a 09 09 |eSpan = |1.5;....|
|000006c0| 52 61 6e 64 53 70 69 6e | 28 20 36 34 30 30 30 20 |RandSpin|( 64000 |
|000006d0| 29 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 00 |);...}..|}..... |
+--------+-------------------------+-------------------------+--------+--------+