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 / Vehicles.u / CarState_BulldogRocket_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  812 b 

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 | 62 0c 63 6c 61 73 73 20 |........|b.class |
|00000010| 42 75 6c 6c 64 6f 67 52 | 6f 63 6b 65 74 20 65 78 |BulldogR|ocket ex|
|00000020| 74 65 6e 64 73 20 53 65 | 65 6b 69 6e 67 52 6f 63 |tends Se|ekingRoc|
|00000030| 6b 65 74 50 72 6f 6a 3b | 0d 0a 0d 0a 2f 2f 20 53 |ketProj;|....// S|
|00000040| 65 65 6b 73 20 68 61 72 | 64 65 72 20 74 68 61 6e |eeks har|der than|
|00000050| 20 6e 6f 72 6d 61 6c 20 | 68 6f 6d 69 6e 67 20 72 | normal |homing r|
|00000060| 6f 63 6b 65 74 73 0d 0a | 73 69 6d 75 6c 61 74 65 |ockets..|simulate|
|00000070| 64 20 66 75 6e 63 74 69 | 6f 6e 20 54 69 6d 65 72 |d functi|on Timer|
|00000080| 28 29 0d 0a 7b 0d 0a 20 | 20 20 20 6c 6f 63 61 6c |()..{.. | local|
|00000090| 20 76 65 63 74 6f 72 20 | 46 6f 72 63 65 44 69 72 | vector |ForceDir|
|000000a0| 3b 0d 0a 20 20 20 20 6c | 6f 63 61 6c 20 66 6c 6f |;.. l|ocal flo|
|000000b0| 61 74 20 56 65 6c 4d 61 | 67 3b 0d 0a 0d 0a 20 20 |at VelMa|g;.... |
|000000c0| 20 20 69 66 20 28 20 49 | 6e 69 74 69 61 6c 44 69 | if ( I|nitialDi|
|000000d0| 72 20 3d 3d 20 76 65 63 | 74 28 30 2c 30 2c 30 29 |r == vec|t(0,0,0)|
|000000e0| 20 29 0d 0a 20 20 20 20 | 20 20 20 20 49 6e 69 74 | ).. | Init|
|000000f0| 69 61 6c 44 69 72 20 3d | 20 4e 6f 72 6d 61 6c 28 |ialDir =| Normal(|
|00000100| 56 65 6c 6f 63 69 74 79 | 29 3b 0d 0a 20 20 20 20 |Velocity|);.. |
|00000110| 0d 0a 09 41 63 63 65 6c | 65 72 61 74 69 6f 6e 20 |...Accel|eration |
|00000120| 3d 20 76 65 63 74 28 30 | 2c 30 2c 30 29 3b 0d 0a |= vect(0|,0,0);..|
|00000130| 20 20 20 20 53 75 70 65 | 72 2e 54 69 6d 65 72 28 | Supe|r.Timer(|
|00000140| 29 3b 0d 0a 20 20 20 20 | 69 66 20 28 20 28 53 65 |);.. |if ( (Se|
|00000150| 65 6b 69 6e 67 20 21 3d | 20 4e 6f 6e 65 29 20 26 |eking !=| None) &|
|00000160| 26 20 28 53 65 65 6b 69 | 6e 67 20 21 3d 20 49 6e |& (Seeki|ng != In|
|00000170| 73 74 69 67 61 74 6f 72 | 29 20 29 20 0d 0a 20 20 |stigator|) ) .. |
|00000180| 20 20 7b 0d 0a 09 09 2f | 2f 20 44 6f 20 6e 6f 72 | {..../|/ Do nor|
|00000190| 6d 61 6c 20 67 75 69 64 | 61 6e 63 65 20 74 6f 20 |mal guid|ance to |
|000001a0| 74 61 72 67 65 74 2e 0d | 0a 09 09 46 6f 72 63 65 |target..|...Force|
|000001b0| 44 69 72 20 3d 20 4e 6f | 72 6d 61 6c 28 53 65 65 |Dir = No|rmal(See|
|000001c0| 6b 69 6e 67 2e 4c 6f 63 | 61 74 69 6f 6e 20 2d 20 |king.Loc|ation - |
|000001d0| 4c 6f 63 61 74 69 6f 6e | 29 3b 0d 0a 09 09 0d 0a |Location|);......|
|000001e0| 09 09 69 66 28 20 28 46 | 6f 72 63 65 44 69 72 20 |..if( (F|orceDir |
|000001f0| 44 6f 74 20 49 6e 69 74 | 69 61 6c 44 69 72 29 20 |Dot Init|ialDir) |
|00000200| 3e 20 2d 30 2e 35 20 29 | 0d 0a 09 09 7b 0d 0a 09 |> -0.5 )|....{...|
|00000210| 09 09 56 65 6c 4d 61 67 | 20 3d 20 56 53 69 7a 65 |..VelMag| = VSize|
|00000220| 28 56 65 6c 6f 63 69 74 | 79 29 3b 0d 0a 09 09 09 |(Velocit|y);.....|
|00000230| 46 6f 72 63 65 44 69 72 | 20 3d 20 4e 6f 72 6d 61 |ForceDir| = Norma|
|00000240| 6c 28 20 28 46 6f 72 63 | 65 44 69 72 20 2a 20 30 |l( (Forc|eDir * 0|
|00000250| 2e 35 20 2a 20 56 65 6c | 4d 61 67 29 20 2b 20 28 |.5 * Vel|Mag) + (|
|00000260| 30 2e 38 20 2a 20 56 65 | 6c 6f 63 69 74 79 29 20 |0.8 * Ve|locity) |
|00000270| 29 3b 0d 0a 09 09 09 56 | 65 6c 6f 63 69 74 79 20 |);.....V|elocity |
|00000280| 3d 20 56 65 6c 4d 61 67 | 20 2a 20 46 6f 72 63 65 |= VelMag| * Force|
|00000290| 44 69 72 3b 20 20 0d 0a | 09 09 09 41 63 63 65 6c |Dir; ..|...Accel|
|000002a0| 65 72 61 74 69 6f 6e 20 | 2b 3d 20 35 20 2a 20 46 |eration |+= 5 * F|
|000002b0| 6f 72 63 65 44 69 72 3b | 20 0d 0a 09 09 7d 0d 0a |orceDir;| ....}..|
|000002c0| 0d 0a 09 09 2f 2f 20 55 | 70 64 61 74 65 20 72 6f |....// U|pdate ro|
|000002d0| 63 6b 65 74 20 73 6f 20 | 69 74 20 66 61 63 65 73 |cket so |it faces|
|000002e0| 20 69 6e 20 74 68 65 20 | 64 69 72 65 63 74 69 6f | in the |directio|
|000002f0| 6e 20 69 74 73 20 67 6f | 69 6e 67 2e 0d 0a 09 09 |n its go|ing.....|
|00000300| 53 65 74 52 6f 74 61 74 | 69 6f 6e 28 72 6f 74 61 |SetRotat|ion(rota|
|00000310| 74 6f 72 28 56 65 6c 6f | 63 69 74 79 29 29 3b 0d |tor(Velo|city));.|
|00000320| 0a 20 20 20 20 7d 0d 0a | 7d 0d 0a 00 |. }..|}... |
+--------+-------------------------+-------------------------+--------+--------+