CLEO Kameffects

С данным модом, любой удар по лицу, будет сопровождаться встряхиванием камеры.

Установка: Файл с расширением .cs кидаем в папку CLEO.

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
thread 'camfect'
if
0AA9: is_game_version_original
else_jump @CAMFECT_353

:CAMFECT_24
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @CAMFECT_322
gosub @CAMFECT_340
if
1@ > -1
else_jump @CAMFECT_76
jump @CAMFECT_83

:CAMFECT_76
jump @CAMFECT_322

:CAMFECT_83
if
051A: actor $PLAYER_ACTOR damaged_by_actor 1@
else_jump @CAMFECT_181
0470: 3@ = actor 1@ current_weapon
if
not 3@ > 15
else_jump @CAMFECT_135
jump @CAMFECT_142

:CAMFECT_135
jump @CAMFECT_283

:CAMFECT_142
054E: clear_actor $PLAYER_ACTOR damage
2@ = Actor.Health($PLAYER_ACTOR)
0085: 3@ = 2@ // (int)
0A8F: 0@ = 500 - 3@ // int
jump @CAMFECT_188

:CAMFECT_181
jump @CAMFECT_322

:CAMFECT_188
gosub @CAMFECT_340
if
Player.Defined($PLAYER_CHAR)
else_jump @CAMFECT_218
jump @CAMFECT_225

:CAMFECT_218
jump @CAMFECT_329

:CAMFECT_225
Camera.Shake(0@)
wait 0
0@ -= 5
if
056D: actor 1@ defined
else_jump @CAMFECT_290
if
851A: not actor $PLAYER_ACTOR damaged_by_actor 1@
else_jump @CAMFECT_283
jump @CAMFECT_290

:CAMFECT_283
jump @CAMFECT_322

:CAMFECT_290
if
0@ == 0
else_jump @CAMFECT_315
jump @CAMFECT_322

:CAMFECT_315
jump @CAMFECT_188

:CAMFECT_322
jump @CAMFECT_24

:CAMFECT_329
Camera.Shake(0)
jump @CAMFECT_283

:CAMFECT_340
0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 33@ closest_ped_to 1@
return

:CAMFECT_353
0A93: end_custom_thread



Просмотров: 1422
5.11.2015, 16:07 -

Категория: Grand Theft Auto: San Andreas » Скрипты для Grand Theft Auto: San Andreas » CLEO скрипты для Grand Theft Auto: San Andreas

Коментарии к CLEO Kameffects: