Bully-Board

News:

News

Find loads of Bully Mods in in our Modding Section.

Animations Tutorial

DarkHero · 343

0 Members and 1 Guest are viewing this topic.

Offline DarkHero

  • Developer
  • Full Member
  • ***
    • Posts: 128
  • Bully Modder
    • View Profile
on: January 07, 2016, 04:03:01 PM
Animations Tutorial


This is a tutorial by me (DarkHero) to play an animation in Grand Theft Auto V The Steps are below:
 

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!  ;D
Any Problems you have or any requests just comment down below.
Hope This Tutorial Helped, Thanks.  :P
« Last Edit: January 08, 2016, 08:30:03 AM by DarkHero »