gardfiel Posted December 26, 2019 Share Posted December 26, 2019 (edited) Many tactical shooter games have leaning animations. Is it possible to implement this to GTA-SA correctly? I made a basic script that changes shooting animations to add leaning animation but it has many problems like automatic guns shooting too fast, camera doesn't move with the animation, player can only lean to one side and the animation doesn't follow the camera when aiming upwards or downwards. Video Code Spoiler // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} 1@ = 0 :ENG_1 wait 0 if and Player.Defined($PLAYER_CHAR) 02D8: actor $player_actor current_weapon == 31 00E1: player 0 pressed_key 6 then if 0AB0: key_pressed 69 then if 1@ == 0 then 1@ = 1 08F8: display_stat_update_box 0 062A: change_float_stat 78 to 200.0 08F8: display_stat_update_box 1 else 1@ = 0 08F8: display_stat_update_box 0 062A: change_float_stat 78 to 999.0 08F8: display_stat_update_box 1 end while 0AB0: key_pressed 69 wait 0 end else_jump @ENG_1 end else_jump @ENG_1 end jump @ENG_1 Download Equip M4 and while aiming press e to lean to right. Animation is from mcastle. Edited December 26, 2019 by gardfiel Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now