home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 July & August / Gamestar_64_2004-07-08_dvd.iso / Patche / ut2004-winpatch3204.exe / UT2004-Patch / System / XWeapons.u / LinkGun_TransFire_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  1.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.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 43 1d 63 6c 61 73 73 20 |........|C.class |
|00000010| 54 72 61 6e 73 46 69 72 | 65 20 65 78 74 65 6e 64 |TransFir|e extend|
|00000020| 73 20 50 72 6f 6a 65 63 | 74 69 6c 65 46 69 72 65 |s Projec|tileFire|
|00000030| 3b 0d 0a 0d 0a 76 61 72 | 28 29 20 53 6f 75 6e 64 |;....var|() Sound|
|00000040| 20 54 72 61 6e 73 46 69 | 72 65 53 6f 75 6e 64 3b | TransFi|reSound;|
|00000050| 0d 0a 76 61 72 28 29 20 | 53 6f 75 6e 64 20 52 65 |..var() |Sound Re|
|00000060| 63 61 6c 6c 46 69 72 65 | 53 6f 75 6e 64 3b 0d 0a |callFire|Sound;..|
|00000070| 76 61 72 28 29 20 53 74 | 72 69 6e 67 20 54 72 61 |var() St|ring Tra|
|00000080| 6e 73 46 69 72 65 46 6f | 72 63 65 3b 0d 0a 76 61 |nsFireFo|rce;..va|
|00000090| 72 28 29 20 53 74 72 69 | 6e 67 20 52 65 63 61 6c |r() Stri|ng Recal|
|000000a0| 6c 46 69 72 65 46 6f 72 | 63 65 3b 0d 0a 0d 0a 73 |lFireFor|ce;....s|
|000000b0| 69 6d 75 6c 61 74 65 64 | 20 66 75 6e 63 74 69 6f |imulated| functio|
|000000c0| 6e 20 50 6c 61 79 46 69 | 72 69 6e 67 28 29 0d 0a |n PlayFi|ring()..|
|000000d0| 7b 0d 0a 20 20 20 20 69 | 66 20 28 21 54 72 61 6e |{.. i|f (!Tran|
|000000e0| 73 4c 61 75 6e 63 68 65 | 72 28 57 65 61 70 6f 6e |sLaunche|r(Weapon|
|000000f0| 29 2e 62 42 65 61 63 6f | 6e 44 65 70 6c 6f 79 65 |).bBeaco|nDeploye|
|00000100| 64 29 0d 0a 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 |d).. |{.. |
|00000110| 20 20 20 57 65 61 70 6f | 6e 2e 50 6c 61 79 41 6e | Weapo|n.PlayAn|
|00000120| 69 6d 28 46 69 72 65 41 | 6e 69 6d 2c 20 46 69 72 |im(FireA|nim, Fir|
|00000130| 65 41 6e 69 6d 52 61 74 | 65 2c 20 54 77 65 65 6e |eAnimRat|e, Tween|
|00000140| 54 69 6d 65 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |Time);..| |
|00000150| 43 6c 69 65 6e 74 50 6c | 61 79 46 6f 72 63 65 46 |ClientPl|ayForceF|
|00000160| 65 65 64 62 61 63 6b 28 | 20 54 72 61 6e 73 46 69 |eedback(| TransFi|
|00000170| 72 65 46 6f 72 63 65 20 | 29 3b 20 20 2f 2f 20 6a |reForce |); // j|
|00000180| 64 66 0d 0a 20 20 20 20 | 7d 0d 0a 7d 0d 0a 0d 0a |df.. |}..}....|
|00000190| 66 75 6e 63 74 69 6f 6e | 20 52 6f 74 61 74 6f 72 |function| Rotator|
|000001a0| 20 41 64 6a 75 73 74 41 | 69 6d 28 56 65 63 74 6f | AdjustA|im(Vecto|
|000001b0| 72 20 53 74 61 72 74 2c | 20 66 6c 6f 61 74 20 49 |r Start,| float I|
|000001c0| 6e 41 69 6d 45 72 72 6f | 72 29 0d 0a 7b 0d 0a 20 |nAimErro|r)..{.. |
|000001d0| 20 20 20 72 65 74 75 72 | 6e 20 49 6e 73 74 69 67 | retur|n Instig|
|000001e0| 61 74 6f 72 2e 43 6f 6e | 74 72 6f 6c 6c 65 72 2e |ator.Con|troller.|
|000001f0| 52 6f 74 61 74 69 6f 6e | 3b 0d 0a 7d 0d 0a 0d 0a |Rotation|;..}....|
|00000200| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|00000210| 6f 6e 20 62 6f 6f 6c 20 | 41 6c 6c 6f 77 46 69 72 |on bool |AllowFir|
|00000220| 65 28 29 0d 0a 7b 0d 0a | 20 20 20 20 72 65 74 75 |e()..{..| retu|
|00000230| 72 6e 20 28 20 54 72 61 | 6e 73 4c 61 75 6e 63 68 |rn ( Tra|nsLaunch|
|00000240| 65 72 28 57 65 61 70 6f | 6e 29 2e 41 6d 6d 6f 43 |er(Weapo|n).AmmoC|
|00000250| 68 61 72 67 65 46 20 3e | 3d 20 31 2e 30 20 29 3b |hargeF >|= 1.0 );|
|00000260| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000270| 70 72 6f 6a 65 63 74 69 | 6c 65 20 53 70 61 77 6e |projecti|le Spawn|
|00000280| 50 72 6f 6a 65 63 74 69 | 6c 65 28 56 65 63 74 6f |Projecti|le(Vecto|
|00000290| 72 20 53 74 61 72 74 2c | 20 52 6f 74 61 74 6f 72 |r Start,| Rotator|
|000002a0| 20 44 69 72 29 0d 0a 7b | 0d 0a 20 20 20 20 6c 6f | Dir)..{|.. lo|
|000002b0| 63 61 6c 20 54 72 61 6e | 73 42 65 61 63 6f 6e 20 |cal Tran|sBeacon |
|000002c0| 54 72 61 6e 73 42 65 61 | 63 6f 6e 3b 0d 0a 0d 0a |TransBea|con;....|
|000002d0| 20 20 20 20 69 66 20 28 | 54 72 61 6e 73 4c 61 75 | if (|TransLau|
|000002e0| 6e 63 68 65 72 28 57 65 | 61 70 6f 6e 29 2e 54 72 |ncher(We|apon).Tr|
|000002f0| 61 6e 73 42 65 61 63 6f | 6e 20 3d 3d 20 4e 6f 6e |ansBeaco|n == Non|
|00000300| 65 29 0d 0a 20 20 20 20 | 7b 0d 0a 09 09 69 66 20 |e).. |{....if |
|00000310| 28 20 28 49 6e 73 74 69 | 67 61 74 6f 72 20 3d 3d |( (Insti|gator ==|
|00000320| 20 4e 6f 6e 65 29 20 7c | 7c 20 28 49 6e 73 74 69 | None) ||| (Insti|
|00000330| 67 61 74 6f 72 2e 50 6c | 61 79 65 72 52 65 70 6c |gator.Pl|ayerRepl|
|00000340| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 20 3d 3d 20 4e |icationI|nfo == N|
|00000350| 6f 6e 65 29 20 7c 7c 20 | 28 49 6e 73 74 69 67 61 |one) || |(Instiga|
|00000360| 74 6f 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |tor.Play|erReplic|
|00000370| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 20 3d |ationInf|o.Team =|
|00000380| 3d 20 4e 6f 6e 65 29 20 | 29 0d 0a 09 09 09 54 72 |= None) |).....Tr|
|00000390| 61 6e 73 42 65 61 63 6f | 6e 20 3d 20 57 65 61 70 |ansBeaco|n = Weap|
|000003a0| 6f 6e 2e 53 70 61 77 6e | 28 63 6c 61 73 73 27 58 |on.Spawn|(class'X|
|000003b0| 57 65 61 70 6f 6e 73 2e | 54 72 61 6e 73 42 65 61 |Weapons.|TransBea|
|000003c0| 63 6f 6e 27 2c 2c 2c 20 | 53 74 61 72 74 2c 20 44 |con',,, |Start, D|
|000003d0| 69 72 29 3b 0d 0a 09 09 | 65 6c 73 65 20 69 66 20 |ir);....|else if |
|000003e0| 28 20 49 6e 73 74 69 67 | 61 74 6f 72 2e 50 6c 61 |( Instig|ator.Pla|
|000003f0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00000400| 66 6f 2e 54 65 61 6d 2e | 54 65 61 6d 49 6e 64 65 |fo.Team.|TeamInde|
|00000410| 78 20 3d 3d 20 30 20 29 | 0d 0a 09 09 09 54 72 61 |x == 0 )|.....Tra|
|00000420| 6e 73 42 65 61 63 6f 6e | 20 3d 20 57 65 61 70 6f |nsBeacon| = Weapo|
|00000430| 6e 2e 53 70 61 77 6e 28 | 63 6c 61 73 73 27 58 57 |n.Spawn(|class'XW|
|00000440| 65 61 70 6f 6e 73 2e 52 | 65 64 42 65 61 63 6f 6e |eapons.R|edBeacon|
|00000450| 27 2c 2c 2c 20 53 74 61 | 72 74 2c 20 44 69 72 29 |',,, Sta|rt, Dir)|
|00000460| 3b 0d 0a 09 09 65 6c 73 | 65 0d 0a 09 09 09 54 72 |;....els|e.....Tr|
|00000470| 61 6e 73 42 65 61 63 6f | 6e 20 3d 20 57 65 61 70 |ansBeaco|n = Weap|
|00000480| 6f 6e 2e 53 70 61 77 6e | 28 63 6c 61 73 73 27 58 |on.Spawn|(class'X|
|00000490| 57 65 61 70 6f 6e 73 2e | 42 6c 75 65 42 65 61 63 |Weapons.|BlueBeac|
|000004a0| 6f 6e 27 2c 2c 2c 20 53 | 74 61 72 74 2c 20 44 69 |on',,, S|tart, Di|
|000004b0| 72 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 54 72 61 |r);.. | Tra|
|000004c0| 6e 73 4c 61 75 6e 63 68 | 65 72 28 57 65 61 70 6f |nsLaunch|er(Weapo|
|000004d0| 6e 29 2e 54 72 61 6e 73 | 42 65 61 63 6f 6e 20 3d |n).Trans|Beacon =|
|000004e0| 20 54 72 61 6e 73 42 65 | 61 63 6f 6e 3b 0d 0a 20 | TransBe|acon;.. |
|000004f0| 20 20 20 20 20 20 20 57 | 65 61 70 6f 6e 2e 50 6c | W|eapon.Pl|
|00000500| 61 79 53 6f 75 6e 64 28 | 54 72 61 6e 73 46 69 72 |aySound(|TransFir|
|00000510| 65 53 6f 75 6e 64 2c 53 | 4c 4f 54 5f 49 6e 74 65 |eSound,S|LOT_Inte|
|00000520| 72 61 63 74 2c 2c 2c 2c | 2c 66 61 6c 73 65 29 3b |ract,,,,|,false);|
|00000530| 0d 0a 20 20 20 20 7d 0d | 0a 20 20 20 20 65 6c 73 |.. }.|. els|
|00000540| 65 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |e.. {|.. |
|00000550| 20 20 54 72 61 6e 73 4c | 61 75 6e 63 68 65 72 28 | TransL|auncher(|
|00000560| 57 65 61 70 6f 6e 29 2e | 56 69 65 77 50 6c 61 79 |Weapon).|ViewPlay|
|00000570| 65 72 28 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 69 |er();.. | i|
|00000580| 66 20 28 20 54 72 61 6e | 73 4c 61 75 6e 63 68 65 |f ( Tran|sLaunche|
|00000590| 72 28 57 65 61 70 6f 6e | 29 2e 54 72 61 6e 73 42 |r(Weapon|).TransB|
|000005a0| 65 61 63 6f 6e 2e 44 69 | 73 72 75 70 74 65 64 28 |eacon.Di|srupted(|
|000005b0| 29 20 29 0d 0a 20 20 20 | 20 20 20 20 20 7b 0d 0a |) ).. | {..|
|000005c0| 09 09 09 69 66 28 20 28 | 49 6e 73 74 69 67 61 74 |...if( (|Instigat|
|000005d0| 6f 72 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 28 |or != No|ne) && (|
|000005e0| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|000005f0| 28 49 6e 73 74 69 67 61 | 74 6f 72 2e 43 6f 6e 74 |(Instiga|tor.Cont|
|00000600| 72 6f 6c 6c 65 72 29 20 | 21 3d 20 4e 6f 6e 65 29 |roller) |!= None)|
|00000610| 20 29 0d 0a 09 09 09 09 | 50 6c 61 79 65 72 43 6f | )......|PlayerCo|
|00000620| 6e 74 72 6f 6c 6c 65 72 | 28 49 6e 73 74 69 67 61 |ntroller|(Instiga|
|00000630| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 29 2e |tor.Cont|roller).|
|00000640| 43 6c 69 65 6e 74 50 6c | 61 79 53 6f 75 6e 64 28 |ClientPl|aySound(|
|00000650| 53 6f 75 6e 64 27 57 65 | 61 70 6f 6e 53 6f 75 6e |Sound'We|aponSoun|
|00000660| 64 73 2e 42 53 65 65 6b | 4c 6f 73 74 31 27 29 3b |ds.BSeek|Lost1');|
|00000670| 0d 0a 09 09 7d 0d 0a 09 | 09 65 6c 73 65 0d 0a 09 |....}...|.else...|
|00000680| 09 7b 0d 0a 09 09 09 54 | 72 61 6e 73 4c 61 75 6e |.{.....T|ransLaun|
|00000690| 63 68 65 72 28 57 65 61 | 70 6f 6e 29 2e 54 72 61 |cher(Wea|pon).Tra|
|000006a0| 6e 73 42 65 61 63 6f 6e | 2e 44 65 73 74 72 6f 79 |nsBeacon|.Destroy|
|000006b0| 28 29 3b 0d 0a 09 09 09 | 54 72 61 6e 73 4c 61 75 |();.....|TransLau|
|000006c0| 6e 63 68 65 72 28 57 65 | 61 70 6f 6e 29 2e 54 72 |ncher(We|apon).Tr|
|000006d0| 61 6e 73 42 65 61 63 6f | 6e 20 3d 20 4e 6f 6e 65 |ansBeaco|n = None|
|000006e0| 3b 0d 0a 09 09 09 57 65 | 61 70 6f 6e 2e 50 6c 61 |;.....We|apon.Pla|
|000006f0| 79 53 6f 75 6e 64 28 52 | 65 63 61 6c 6c 46 69 72 |ySound(R|ecallFir|
|00000700| 65 53 6f 75 6e 64 2c 53 | 4c 4f 54 5f 49 6e 74 65 |eSound,S|LOT_Inte|
|00000710| 72 61 63 74 2c 2c 2c 2c | 2c 66 61 6c 73 65 29 3b |ract,,,,|,false);|
|00000720| 0d 0a 09 09 7d 0d 0a 20 | 20 20 20 7d 0d 0a 20 20 |....}.. | }.. |
|00000730| 20 20 72 65 74 75 72 6e | 20 54 72 61 6e 73 42 65 | return| TransBe|
|00000740| 61 63 6f 6e 3b 0d 0a 7d | 0d 0a 0d 0a 00 |acon;..}|..... |
+--------+-------------------------+-------------------------+--------+--------+