- 12
- 1
CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
:NONAME_2
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @NONAME_2
if
8AB0: not key_pressed 110
else_jump @NONAME_99
if
0AB0: key_pressed 96
else_jump @NONAME_2
wait 300
if
0AB0: key_pressed 96
else_jump @NONAME_2
wait 300
if
0AB0: key_pressed 96
else_jump @NONAME_2
jump @NONAME_155
:NONAME_99
wait 0
if
0AB0: key_pressed 96
else_jump @NONAME_2
0A1E: dump_screen 1
jump @NONAME_129
:NONAME_129
wait 0
if
8AB0: not key_pressed 110
else_jump @NONAME_129
jump @NONAME_2
:NONAME_155
wait 0
Model.Load(#FAM1)
if
Model.Available(#FAM1)
else_jump @NONAME_155
28@ = 0.0
30@ = Actor.Angle($PLAYER_ACTOR)
04C4: store_coords_to 15@ 16@ 17@ from_actor $PLAYER_ACTOR with_offset 0.0 1.0 1.0
jump @NONAME_232
:NONAME_232
wait 0
6@ = Actor.Create(CivMale, #FAM1, 15@, 16@, 17@)
083E: set_actor 6@ rotation 28@ 29@ 30@ while_in_air
Actor.LockInCurrentPosition(6@) = True
067C: put_camera_on_actor 6@ offset 0.0 0.1 0.0 rotation 0.0 180.0 0.0 tilt 0.0 switchstyle 2
0619: enable_actor 6@ collision_detection 0
0337: set_actor 6@ visibility 0
$MARKER = Marker.CreateAboveActor(6@)
Marker.SetIconSize($MARKER, 1)
:NONAME_346
wait 0
if
8AB0: not key_pressed 96
else_jump @NONAME_346
:NONAME_365
wait 0
Actor.LockInCurrentPosition(6@) = True
if
0AB0: key_pressed 104
else_jump @NONAME_485
if
0AB0: key_pressed 101
else_jump @NONAME_442
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset 0.0 0.6 -1.0
jump @NONAME_471
:NONAME_442
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset 0.0 0.2 -1.0
:NONAME_471
Actor.PutAt(6@, 10@, 11@, 12@)
:NONAME_485
if
0AB0: key_pressed 98
else_jump @NONAME_594
if
0AB0: key_pressed 101
else_jump @NONAME_551
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset 0.0 -0.6 -1.0
jump @NONAME_580
:NONAME_551
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset 0.0 -0.2 -1.0
:NONAME_580
Actor.PutAt(6@, 10@, 11@, 12@)
:NONAME_594
if
0AB0: key_pressed 102
else_jump @NONAME_703
if
0AB0: key_pressed 101
else_jump @NONAME_660
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset 0.4 0.0 -1.0
jump @NONAME_689
:NONAME_660
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset 0.2 0.0 -1.0
:NONAME_689
Actor.PutAt(6@, 10@, 11@, 12@)
:NONAME_703
if
0AB0: key_pressed 100
else_jump @NONAME_812
if
0AB0: key_pressed 101
else_jump @NONAME_769
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset -0.4 0.0 -1.0
jump @NONAME_798
:NONAME_769
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset -0.2 0.0 -1.0
:NONAME_798
Actor.PutAt(6@, 10@, 11@, 12@)
:NONAME_812
if
0AB0: key_pressed 105
else_jump @NONAME_870
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset 0.0 0.04 -0.6
Actor.PutAt(6@, 10@, 11@, 12@)
:NONAME_870
if
0AB0: key_pressed 99
else_jump @NONAME_928
04C4: store_coords_to 10@ 11@ 12@ from_actor 6@ with_offset 0.0 -0.01 -1.3
Actor.PutAt(6@, 10@, 11@, 12@)
:NONAME_928
0A4A: store_joystick_X_offset_to 21@ Y_offset_to 22@
21@ *= 0.5
22@ *= 1.5
005B: 28@ += 22@ // (float)
0063: 30@ -= 21@ // (float)
if and
not 28@ >= 300.0
28@ > -300.0
else_jump @NONAME_1050
067C: put_camera_on_actor 6@ offset 0.0 0.1 0.0 rotation 0.0 180.0 28@ tilt 0.0 switchstyle 2
jump @NONAME_1058
:NONAME_1050
0063: 28@ -= 22@ // (float)
:NONAME_1058
083E: set_actor 6@ rotation 0.0 0.0 30@ while_in_air
if
0AB0: key_pressed 110
else_jump @NONAME_1095
0A1E: dump_screen 1
:NONAME_1095
if
0AB0: key_pressed 96
else_jump @NONAME_1136
Camera.Restore_WithJumpCut
Camera.SetBehindPlayer
Marker.Disable($MARKER)
Actor.DestroyInstantly(6@)
Actor.RemoveReferences(6@)
jump @NONAME_1143
:NONAME_1136
jump @NONAME_365
:NONAME_1143
wait 0
if
8AB0: not key_pressed 96
else_jump @NONAME_1143
jump @NONAME_2
Что заменить чтобы камера передвигалась быстрее?