ISOFX Posted June 4, 2015 Share Posted June 4, 2015 (edited) Animations Tutorial This is a tutorial by me (ISOFX) to play an animation in Grand Theft Auto V The Steps are below: Youtube Channel : https://www.youtube.com/channel/UCi9FjfyhcFcG1HXfb2HrGKA Video Tutorial Might be up today or tomorrow. Natives.h - http://www.dev-c.com/nativedb/ and click on natives.h. Step 1. Download Natives.h from Narive DB Above Step 2. Go to script.cpp Step 3. Use this as a template: STREAMING::REQUEST_ANIM_DICT("[email protected][email protected]@base"); while (!STREAMING::HAS_ANIM_DICT_LOADED("[email protected][email protected]@base")) WAIT(0); AI::TASK_PLAY_ANIM(playerPed, "[email protected][email protected]@base", "base", 8.0, 0.0, -1, 0, 0, 0, 0, 0); break; This will play the animation in a case option for example like in the Native Trainer Base. All you need to do is change this lines "[email protected][email protected]@base" to whatever animation you want and the "base" bit is where you put the other part of the animation. All the animations in the game are below also if you need any help with this or its not working for you please comment your problem below with your source code. Animations List (AnimationsList.txt) - https://www.dropbox.com/home?preview=FullAnimationsList.txt Enjoy! Any Problems you have or any requests just comment down below. Hope This Tutorial Helped, Thanks. Edited June 6, 2015 by ISOFX ffzero58 1 Link to comment Share on other sites More sharing options...
ffzero58 Posted June 4, 2015 Share Posted June 4, 2015 I've coded this in LUA so you can go through every animation for your research: http://www.filedropp...om/animresearch Use the left and right keys to go through each animation. If you want to jump to a particular list, change the starting value 'i' in the script. Obviously, you should have the LUA SDK to see the console messages. Fireboyd78 1 Link to comment Share on other sites More sharing options...
Fireboyd78 Posted June 5, 2015 Share Posted June 5, 2015 You should recommend that people download the latest natives.h from NativeDB, not edit it themselves... ffzero58 1 Link to comment Share on other sites More sharing options...
ISOFX Posted June 6, 2015 Author Share Posted June 6, 2015 You should recommend that people download the latest natives.h from NativeDB, not edit it themselves... Ok I will add it. Thanks for the tip Link to comment Share on other sites More sharing options...
Fireboyd78 Posted June 6, 2015 Share Posted June 6, 2015 Sorry, just one last fix: IF YOU DO NOT WANT TO DO THE NATIVES BIT MANUALLY YOU CAN GET THE LATEST VERSION BELOW. Download natives.h here from NativeDB. Good work! Link to comment Share on other sites More sharing options...
dehan Posted June 6, 2015 Share Posted June 6, 2015 I've coded this in LUA so you can go through every animation for your research: http://www.filedropp...om/animresearch Use the left and right keys to go through each animation. If you want to jump to a particular list, change the starting value 'i' in the script. Obviously, you should have the LUA SDK to see the console messages. I have the lua sdk and everything installed correctly, but when i press the left or right arrow nothing happens. lua command prompt says its loaded too. Link to comment Share on other sites More sharing options...
ISOFX Posted June 6, 2015 Author Share Posted June 6, 2015 I've coded this in LUA so you can go through every animation for your research: http://www.filedropp...om/animresearch Use the left and right keys to go through each animation. If you want to jump to a particular list, change the starting value 'i' in the script. Obviously, you should have the LUA SDK to see the console messages. I have the lua sdk and everything installed correctly, but when i press the left or right arrow nothing happens. lua command prompt says its loaded too. Did u edit my code because its not for LUA its not written in that type this could only work with ASI Files. Send me your code. Link to comment Share on other sites More sharing options...
InfamousSabre Posted June 6, 2015 Share Posted June 6, 2015 IF YOU DO NOT WANT TO DO THE NATIVES BIT MANUALLY YOU CAN GET A NEW NATIVES.H FILE WHICH HAS IT DONE FOR YOU. Natives.h - http://www.dev-c.com/nativedb/ and click on natives.h. This shouldn't even be considered optional. You should always update to the latest natives.h. ALWAYS. Link to comment Share on other sites More sharing options...
dehan Posted June 6, 2015 Share Posted June 6, 2015 (edited) I've coded this in LUA so you can go through every animation for your research: http://www.filedropp...om/animresearch Use the left and right keys to go through each animation. If you want to jump to a particular list, change the starting value 'i' in the script. Obviously, you should have the LUA SDK to see the console messages. I have the lua sdk and everything installed correctly, but when i press the left or right arrow nothing happens. lua command prompt says its loaded too. Did u edit my code because its not for LUA its not written in that type this could only work with ASI Files. Send me your code. this wasn't directed at you , it was directed at ffzero58, hence the quote Edited June 6, 2015 by dehan Link to comment Share on other sites More sharing options...
ISOFX Posted June 6, 2015 Author Share Posted June 6, 2015 IF YOU DO NOT WANT TO DO THE NATIVES BIT MANUALLY YOU CAN GET A NEW NATIVES.H FILE WHICH HAS IT DONE FOR YOU. Natives.h - http://www.dev-c.com/nativedb/ and click on natives.h. This shouldn't even be considered optional. You should always update to the latest natives.h. ALWAYS.Done. I've coded this in LUA so you can go through every animation for your research: http://www.filedropp...om/animresearch Use the left and right keys to go through each animation. If you want to jump to a particular list, change the starting value 'i' in the script. Obviously, you should have the LUA SDK to see the console messages. I have the lua sdk and everything installed correctly, but when i press the left or right arrow nothing happens. lua command prompt says its loaded too. Did u edit my code because its not for LUA its not written in that type this could only work with ASI Files. Send me your code. this wasn't directed at you , it was directed at ffzero58, hence the quoteOh, lol never saw Link to comment Share on other sites More sharing options...