home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 32 / CD Expert nº 32.iso / Unreal T / utdemo338.exe / System / BotPack.u / Bot_PlayerShadow_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-09-27  |  1.4 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.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 44 16 63 6c 61 73 73 20 |........|D.class |
|00000010| 50 6c 61 79 65 72 53 68 | 61 64 6f 77 20 65 78 70 |PlayerSh|adow exp|
|00000020| 61 6e 64 73 20 44 65 63 | 61 6c 3b 0d 0a 0d 0a 23 |ands Dec|al;....#|
|00000030| 65 78 65 63 20 54 45 58 | 54 55 52 45 20 49 4d 50 |exec TEX|TURE IMP|
|00000040| 4f 52 54 20 4e 41 4d 45 | 3d 73 68 61 64 6f 77 20 |ORT NAME|=shadow |
|00000050| 46 49 4c 45 3d 54 45 58 | 54 55 52 45 53 5c 44 45 |FILE=TEX|TURES\DE|
|00000060| 43 41 4c 53 5c 73 68 61 | 64 6f 77 5f 32 2e 50 43 |CALS\sha|dow_2.PC|
|00000070| 58 20 4c 4f 44 53 45 54 | 3d 32 0d 0a 0d 0a 76 61 |X LODSET|=2....va|
|00000080| 72 20 76 65 63 74 6f 72 | 20 4f 6c 64 4f 77 6e 65 |r vector| OldOwne|
|00000090| 72 4c 6f 63 61 74 69 6f | 6e 3b 0d 0a 76 61 72 20 |rLocatio|n;..var |
|000000a0| 41 63 74 6f 72 20 4f 6c | 64 4c 69 67 68 74 3b 0d |Actor Ol|dLight;.|
|000000b0| 0a 76 61 72 20 46 61 64 | 65 53 68 61 64 6f 77 20 |.var Fad|eShadow |
|000000c0| 46 61 64 65 53 68 61 64 | 6f 77 3b 0d 0a 0d 0a 66 |FadeShad|ow;....f|
|000000d0| 75 6e 63 74 69 6f 6e 20 | 42 65 67 69 6e 50 6c 61 |unction |BeginPla|
|000000e0| 79 28 29 0d 0a 7b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |y()..{..|}....fun|
|000000f0| 63 74 69 6f 6e 20 44 65 | 73 74 72 6f 79 65 64 28 |ction De|stroyed(|
|00000100| 29 0d 0a 7b 0d 0a 09 53 | 75 70 65 72 2e 44 65 73 |)..{...S|uper.Des|
|00000110| 74 72 6f 79 65 64 28 29 | 3b 0d 0a 0d 0a 09 69 66 |troyed()|;.....if|
|00000120| 20 28 20 46 61 64 65 53 | 68 61 64 6f 77 20 21 3d | ( FadeS|hadow !=|
|00000130| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 46 61 64 65 53 | None ).|...FadeS|
|00000140| 68 61 64 6f 77 2e 44 65 | 73 74 72 6f 79 28 29 3b |hadow.De|stroy();|
|00000150| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000160| 54 69 6d 65 72 28 29 0d | 0a 7b 0d 0a 09 44 65 74 |Timer().|.{...Det|
|00000170| 61 63 68 44 65 63 61 6c | 28 29 3b 0d 0a 09 4f 6c |achDecal|();...Ol|
|00000180| 64 4f 77 6e 65 72 4c 6f | 63 61 74 69 6f 6e 20 3d |dOwnerLo|cation =|
|00000190| 20 76 65 63 74 28 30 2c | 30 2c 30 29 3b 0d 0a 7d | vect(0,|0,0);..}|
|000001a0| 0d 0a 09 09 09 0d 0a 65 | 76 65 6e 74 20 55 70 64 |.......e|vent Upd|
|000001b0| 61 74 65 28 41 63 74 6f | 72 20 4c 29 0d 0a 7b 0d |ate(Acto|r L)..{.|
|000001c0| 0a 09 6c 6f 63 61 6c 20 | 41 63 74 6f 72 20 48 69 |..local |Actor Hi|
|000001d0| 74 41 63 74 6f 72 3b 0d | 0a 09 6c 6f 63 61 6c 20 |tActor;.|..local |
|000001e0| 56 65 63 74 6f 72 20 48 | 69 74 4e 6f 72 6d 61 6c |Vector H|itNormal|
|000001f0| 2c 48 69 74 4c 6f 63 61 | 74 69 6f 6e 2c 20 53 68 |,HitLoca|tion, Sh|
|00000200| 61 64 6f 77 53 74 61 72 | 74 2c 20 53 68 61 64 6f |adowStar|t, Shado|
|00000210| 77 44 69 72 3b 0d 0a 0d | 0a 09 69 66 20 28 20 21 |wDir;...|..if ( !|
|00000220| 4c 65 76 65 6c 2e 62 48 | 69 67 68 44 65 74 61 69 |Level.bH|ighDetai|
|00000230| 6c 4d 6f 64 65 20 29 0d | 0a 09 09 72 65 74 75 72 |lMode ).|...retur|
|00000240| 6e 3b 0d 0a 0d 0a 09 53 | 65 74 54 69 6d 65 72 28 |n;.....S|etTimer(|
|00000250| 30 2e 30 38 2c 20 66 61 | 6c 73 65 29 3b 0d 0a 09 |0.08, fa|lse);...|
|00000260| 69 66 20 28 20 4f 6c 64 | 4f 77 6e 65 72 4c 6f 63 |if ( Old|OwnerLoc|
|00000270| 61 74 69 6f 6e 20 3d 3d | 20 4f 77 6e 65 72 2e 4c |ation ==| Owner.L|
|00000280| 6f 63 61 74 69 6f 6e 20 | 29 0d 0a 09 09 72 65 74 |ocation |)....ret|
|00000290| 75 72 6e 3b 0d 0a 0d 0a | 09 4f 6c 64 4f 77 6e 65 |urn;....|.OldOwne|
|000002a0| 72 4c 6f 63 61 74 69 6f | 6e 20 3d 20 4f 77 6e 65 |rLocatio|n = Owne|
|000002b0| 72 2e 4c 6f 63 61 74 69 | 6f 6e 3b 0d 0a 0d 0a 09 |r.Locati|on;.....|
|000002c0| 44 65 74 61 63 68 44 65 | 63 61 6c 28 29 3b 0d 0a |DetachDe|cal();..|
|000002d0| 0d 0a 09 69 66 20 28 20 | 4f 77 6e 65 72 2e 53 74 |...if ( |Owner.St|
|000002e0| 79 6c 65 20 3d 3d 20 53 | 54 59 5f 54 72 61 6e 73 |yle == S|TY_Trans|
|000002f0| 6c 75 63 65 6e 74 20 29 | 0d 0a 09 09 72 65 74 75 |lucent )|....retu|
|00000300| 72 6e 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 4c 20 3d |rn;.....|if ( L =|
|00000310| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 53 68 61 64 |= None )|....Shad|
|00000320| 6f 77 44 69 72 20 3d 20 | 76 65 63 74 28 30 2e 31 |owDir = |vect(0.1|
|00000330| 2c 30 2e 31 2c 30 29 3b | 0d 0a 09 65 6c 73 65 0d |,0.1,0);|...else.|
|00000340| 0a 09 7b 0d 0a 09 09 53 | 68 61 64 6f 77 44 69 72 |..{....S|hadowDir|
|00000350| 20 3d 20 4e 6f 72 6d 61 | 6c 28 4f 77 6e 65 72 2e | = Norma|l(Owner.|
|00000360| 4c 6f 63 61 74 69 6f 6e | 20 2d 20 4c 2e 4c 6f 63 |Location| - L.Loc|
|00000370| 61 74 69 6f 6e 29 3b 0d | 0a 09 09 69 66 20 28 20 |ation);.|...if ( |
|00000380| 4f 6c 64 4c 69 67 68 74 | 20 21 3d 20 4c 20 29 0d |OldLight| != L ).|
|00000390| 0a 09 09 7b 0d 0a 09 09 | 09 69 66 20 28 20 46 61 |...{....|.if ( Fa|
|000003a0| 64 65 53 68 61 64 6f 77 | 20 3d 3d 20 4e 6f 6e 65 |deShadow| == None|
|000003b0| 20 29 0d 0a 09 09 09 09 | 46 61 64 65 53 68 61 64 | )......|FadeShad|
|000003c0| 6f 77 20 3d 20 73 70 61 | 77 6e 28 63 6c 61 73 73 |ow = spa|wn(class|
|000003d0| 27 46 61 64 65 53 68 61 | 64 6f 77 27 2c 73 65 6c |'FadeSha|dow',sel|
|000003e0| 66 29 3b 0d 0a 09 09 0d | 0a 09 09 09 46 61 64 65 |f);.....|....Fade|
|000003f0| 53 68 61 64 6f 77 2e 4c | 69 67 68 74 53 6f 75 72 |Shadow.L|ightSour|
|00000400| 63 65 20 3d 20 4f 6c 64 | 4c 69 67 68 74 3b 0d 0a |ce = Old|Light;..|
|00000410| 09 09 7d 0d 0a 09 09 4f | 6c 64 4c 69 67 68 74 20 |..}....O|ldLight |
|00000420| 3d 20 4c 3b 0d 0a 09 09 | 69 66 20 28 20 53 68 61 |= L;....|if ( Sha|
|00000430| 64 6f 77 44 69 72 2e 5a | 20 3e 20 30 20 29 0d 0a |dowDir.Z| > 0 )..|
|00000440| 09 09 09 53 68 61 64 6f | 77 44 69 72 2e 5a 20 2a |...Shado|wDir.Z *|
|00000450| 3d 20 2d 31 3b 0d 0a 09 | 7d 0d 0a 0d 0a 0d 0a 09 |= -1;...|}.......|
|00000460| 53 68 61 64 6f 77 53 74 | 61 72 74 20 3d 20 4f 77 |ShadowSt|art = Ow|
|00000470| 6e 65 72 2e 4c 6f 63 61 | 74 69 6f 6e 20 2b 20 4f |ner.Loca|tion + O|
|00000480| 77 6e 65 72 2e 43 6f 6c | 6c 69 73 69 6f 6e 52 61 |wner.Col|lisionRa|
|00000490| 64 69 75 73 20 2a 20 53 | 68 61 64 6f 77 44 69 72 |dius * S|hadowDir|
|000004a0| 3b 0d 0a 09 48 69 74 41 | 63 74 6f 72 20 3d 20 54 |;...HitA|ctor = T|
|000004b0| 72 61 63 65 28 48 69 74 | 4c 6f 63 61 74 69 6f 6e |race(Hit|Location|
|000004c0| 2c 20 48 69 74 4e 6f 72 | 6d 61 6c 2c 20 53 68 61 |, HitNor|mal, Sha|
|000004d0| 64 6f 77 53 74 61 72 74 | 20 2d 20 76 65 63 74 28 |dowStart| - vect(|
|000004e0| 30 2c 30 2c 33 30 30 29 | 2c 20 53 68 61 64 6f 77 |0,0,300)|, Shadow|
|000004f0| 53 74 61 72 74 2c 20 66 | 61 6c 73 65 29 3b 0d 0a |Start, f|alse);..|
|00000500| 0d 0a 09 69 66 20 28 20 | 48 69 74 41 63 74 6f 72 |...if ( |HitActor|
|00000510| 20 3d 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 09 72 65 | == None| )....re|
|00000520| 74 75 72 6e 3b 0d 0a 0d | 0a 09 53 65 74 4c 6f 63 |turn;...|..SetLoc|
|00000530| 61 74 69 6f 6e 28 48 69 | 74 4c 6f 63 61 74 69 6f |ation(Hi|tLocatio|
|00000540| 6e 29 3b 0d 0a 09 53 65 | 74 52 6f 74 61 74 69 6f |n);...Se|tRotatio|
|00000550| 6e 28 72 6f 74 61 74 6f | 72 28 48 69 74 4e 6f 72 |n(rotato|r(HitNor|
|00000560| 6d 61 6c 29 29 3b 0d 0a | 09 41 74 74 61 63 68 44 |mal));..|.AttachD|
|00000570| 65 63 61 6c 28 31 30 2c | 20 53 68 61 64 6f 77 44 |ecal(10,| ShadowD|
|00000580| 69 72 29 3b 0d 0a 7d 0d | 0a 0d 0a 0d 0a 00 |ir);..}.|...... |
+--------+-------------------------+-------------------------+--------+--------+