Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

Animations Tutorial


ISOFX
 Share

Recommended Posts

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! :r*:

Any Problems you have or any requests just comment down below.

Hope This Tutorial Helped, Thanks. :lol:

Edited by ISOFX
Link to comment
Share on other sites

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.


Link to comment
Share on other sites

Fireboyd78

You should recommend that people download the latest natives.h from NativeDB, not edit it themselves...

Link to comment
Share on other sites

 

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

Fireboyd78

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

 

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

 

 

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

InfamousSabre

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

 

 

 

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 :p, it was directed at ffzero58, hence the quote

Edited by dehan
Link to comment
Share on other sites

 

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 :p, it was directed at ffzero58, hence the quote

Oh, lol never saw

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.