Target zoom demo test
Данная версия пока что активирована только для пистолета с глушителем!
{$VERSION 3.1.1000}
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
1@ = 70.0
thread "ZOOM"
:ZOOM_291
wait 0
068D: get_camera_position_to 6@ 7@ 8@
04C4: store_coords_to 9@ 10@ 11@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.75
050A: 0@ = distance_between_XYZ 6@ 7@ 8@ and_XYZ 9@ 10@ 11@
if
80E1: not player 0 pressed_key 9
else_jump @ZOOM_575
if and
02D8: actor $PLAYER_ACTOR current_weapon == 23
8965: not actor $PLAYER_ACTOR swimming
09E7: player $PLAYER_CHAR not_frozen
00E1: player 0 pressed_key 6
else_jump @ZOOM_575
if
not 0.5 > 0@
else_jump @ZOOM_291
if or
0AB0: key_pressed 90
00E1: player 0 pressed_key 5
else_jump @ZOOM_492
1@ += 0.975
if
1@ > 70.0
else_jump @ZOOM_492
1@ = 70.0
:ZOOM_492
if or
0AB0: key_pressed 88
00E1: player 0 pressed_key 7
else_jump @ZOOM_554
1@ += -0.975
if
10.0 > 1@
else_jump @ZOOM_554
1@ = 10.0
:ZOOM_554
0922: set_camera_zoom_from 1@ to 70.0 timelimit 1 smooth_transition 2
jump @ZOOM_291
:ZOOM_575
1@ = 70.0
jump @ZOOM_291
Скачать:
5.11.2015, 16:03 -
Категория: Grand Theft Auto: San Andreas » Скрипты для Grand Theft Auto: San Andreas » CLEO скрипты для Grand Theft Auto: San Andreas