Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Please be aware that this is not a tutorial request forum! Use the appropriate topic for the effect.
Sign in to follow this  
ISOFX

Animations Tutorial

Recommended Posts

ISOFX

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

Share this post


Link to post
Share on other sites
ffzero58

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.


Share this post


Link to post
Share on other sites
Fireboyd78

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

Share this post


Link to post
Share on other sites
ISOFX

 

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 :)

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites
dehan

 

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.

Share this post


Link to post
Share on other sites
ISOFX

 

 

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
dehan

 

 

 

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

Share this post


Link to post
Share on other sites
ISOFX

 

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 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.