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. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    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 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 Mods
    10. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA 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

jacob.

Custom Player Animations

Recommended Posts

jacob.

 

Custom Animations
Using this tutorial you can get any animation you want ingame using 3dsmax3 or above.

Note: Back up your PED.IFP before even starting this tutorial!

Tools used:
3dsmax 7.0 (you can use a different version, even GMAX)

Steve-m's CharAnimViewer

DFF import script (3dsmax, gmax)

IFP importer / exporter (gmax & 3dsmax supported - download script for Max, not GMax)

 

DFF import / export setup
Open up your 3dsmax folder and go in your SCRIPTS directory.

Create a new folder. Name it GTA_Tools.

Extract all of the contents of the files you downloaded (scripts, etc) into this folder.

 

1) Load 3dsmax

2) Click the MAXScript menu.

3) Click 'Run script' then load the DFF import script, GTA_IO_23b.ms

4) Once the script is fully loaded, click the Import DFF button and locate your player model.

 

Note: Get your player models from GTA3.IMG using the IMGTool

 

5) Import your player DFF. You should now see the player and his dummies on the 3dsmax workspace. Proceed to the next step.

 

IFP import / export setup
Make sure you have the script extracted to \3dsmax\scripts\GTA_Tools.

 

1) Load 3dsmax

2) Click the MAXScript menu.

3) Click 'Run script' then load the IFP import script, GTA_IFP_IO.ms

4) Once the script is fully loaded, a box will come up. Click 'Load IFP'.

5) Open \PATH TO GTA FOLDER\anim\ped.ifp. A list of animations will appear. Proceed to step 3.

Modifying an animation
1) Select your player's mesh, right click it, and select 'Hide selection'. We don't need to see this.

2) This will leave you with a bunch of cubes, or dummies. Select all these dummies and click the 'M' button on the IFP script box.

Note: You may now use Steve-m's CharAnimViewer to find the animation you want to modify. This program comes useful in finding the correct animation!

3) Make sure all your dummies (cubes) are selected. Now pick your desired animation from the list and click 'Apply animation'.

4) The dummies should now take position of the currently applied animation. You can play it by clicking PLAY in the bottom right of the timeline.

Be sure to rewind the animation back to the beginning before editing.

 

The modifying part

 

1) Select the dummy you wish to modify. Click on 'Set Key', wich is located under the timeline.

2) Click on the 'Key' picture wich is located on the timeline. This adds a new keyframe.

3) Move the timeline slider to your desire. Rotate / move the selected dummy. Click the key picture to write another new keyframe.

 

If you have little or no experience in keyframe animating, this will not be easy. Basically, your just moving the slider, modifying the dummy to your liking, then adding the keyframe. It really is easy.

 

View your animation

1) Select everything.

2) Rewind to beginning and click PLAY.

 

If your happy with your results, proceed to step four.

 

Exporting your Animation
1) Right click somewhere on your workspace and click 'Unhide All'

2) Select everything.

3) Click the 'replace' button in the IFP script box.

Note: Using 'Save' saves only one animation to ped.ifp, the one you edited. Use this for backing up individual animations. But when you want to compile your entire PED.IFP for use in game, you will use the 'Replace' feature.

4) You are done! Open the IFP in CharAnimViewer and make sure it has all the animations + your modified animation.

 

Credits
Kam

cmc_jay

cmc_jacob

Rockstar

Discreet

Steve-m

 

If I forgot you, just tell me tounge.gif

Share this post


Link to post
Share on other sites
aad

This rocks man totaly awesome i finnaly got it to work i was opening the IFP files from the gta3.img but they dont work only the ped.ifp files worked i found out thanx a lot man.

Share this post


Link to post
Share on other sites
Kam

The 'SAVE' button is for you to save your current(the only 1) animation to a new ifp file. eg: backup animation. And it is 1st designed mainly for GMax! You won't need it unless you are making total new cutscene!

 

Also you don't really need Steve-m's CharAnimViewer.(I never use it after the import function is completed). You can select any animation 'apply' and 'play' it with (G)Max! They playback in real time.

 

I forgot to say about the time configuration in the included Readme.txt. Since a good tutorial was here now. I post it here:

 

GTA animation are in second base. So when you import the animation into (G)MAX. Depend on your FrameRate setting in (G)Max. Keys generated in different frames. eg:LHand had 12 keys and animation finished in 1 second. If you set your system to PAL, last key will be at 30f. At 24f if NTSC and 25 for FILM. So you can import/export real time animation and make your own discreet animation.

Edited by Kam

Share this post


Link to post
Share on other sites
LazioFreak

Thanks, that tutorial helped me a lot. It isn't easy, but for me it was possible to put some animations ingame. smile.gif

Share this post


Link to post
Share on other sites
Andrew

Nice tutorial, least you can say this one is 100% yours this time. Nice work.

Share this post


Link to post
Share on other sites
jacob.

 

The CharAnimViewer can't be found at my site, since it's not released yet.

 

The latest version is always here:

Character Animation Viewer (Beta)

Edited link in post

 

 

The 'SAVE' button is for you to save your current(the only 1) animation to a new ifp file. eg: backup animation. And it is 1st designed mainly for GMax! You won't need it unless you are making total new cutscene!

Ah, that makes a lot of sense now. Edited post.

 

 

It isn't easy, but for me it was possible to put some animations ingame.

Anyone with any animation experience in 3dsmax will find this incredibly easy. You'll get used to it..

 

 

I've been trying to figure out something for a while now. Kam sort of touched on it but I don't think I fully understand..

How do I change the amount of frames of an animation? I have a 15 frame animation and I want to change it to 50 frames so I can make it longer. I know its possible but don't know how.

 

And last night, to my suprise, I realized that gravity does not take effect while an animation is playing, since animations force movement.

I can see running up walls and slinging through the city like spiderman real soon. smile.gif

 

Share this post


Link to post
Share on other sites
muppetmaster

woah thanks for this jacob, will try this out immediately

keyframe animating, just like flash, woot

Share this post


Link to post
Share on other sites
Megaerathia

 

wow nice tutorial man. but can i also use auto key? i did it and the bones turned out weird in the animation and i saw it in game too. ty -megaerathia

 

Share this post


Link to post
Share on other sites
cmc_jay

 

wow nice tutorial man. but can i also use auto key? i did it and the bones turned out weird in the animation and i saw it in game too. ty -megaerathia

 

Yes, you can use auto-key. I use the set-key so I know things are the way I put them in the right amount of time and stuff.

 

 

 

-=[JaY]=-

Share this post


Link to post
Share on other sites
DexX

/*

I've been trying to figure out something for a while now. Kam sort of touched on it but I don't think I fully understand..

How do I change the amount of frames of an animation? I have a 15 frame animation and I want to change it to 50 frames so I can make it longer. I know its possible but don't know how.

The simplest way i know of is to first set your time to be as long as you want in the Tim Configuration Dialog. You can access this by right clicking above the "Play" button, on the bottom right, in the little vcr-controls area. It should bring this dialog up, then you can set the time lenth to as long as you want. it wont scale your keys, but youlll have more to work with.

 

At this point i strongly recommend looking at every animation tutorial you can get your hands on, though ill explain this as simply as i can; Open up either the curve editor, or the track view (button on the bottom, far left, jsut to the left of the keyframes), and from there, you can scale the graph, which represents your animation, to be as long or short as you want it. i would be more specific, but its a complex subject. i say again, read every tutorial you can find about animation in 3ds max, they're all invaluable. */

Share this post


Link to post
Share on other sites
jacob.

I know how to change the amount of frames using 3ds, but I thought there was something special I had to do with these IFP's. Modelingman told me it was some DWord value..

 

thanks

Share this post


Link to post
Share on other sites
bloodspilla663

maybe i missed something but when i imported my dff and hid the model i didnt see any dummies or anything but when i selected that area there were all there. did i do something wrong? is this fixable.?

 

edit: nvm i figured it out . I had to select all the dummies and click boxes under dummies/bones helper.

Edited by bloodspilla663

Share this post


Link to post
Share on other sites
Haito_Kanakura

Uh hey i need a lil help finding the dff script for 3dsmax the link aint workin thanks

Share this post


Link to post
Share on other sites
jan_SI

link to that dff import script isnt working-please repair link. thanks

Share this post


Link to post
Share on other sites
jacob.
Kam must have updated files or something. Anyway, link is fixed.

Share this post


Link to post
Share on other sites
jan_SI

i can't import dff files from San Andreas- i get an error in script. is there any possibility to make custom animations for SA?

Share this post


Link to post
Share on other sites
cmc_jay

 

i can't import dff files from San Andreas- i get an error in script. is there any possibility to make custom animations for SA?

No.

 

-JaY-

Share this post


Link to post
Share on other sites
grovespaz

I use GMAX, and i've got a strange problem.

 

When i import the dff(doesn't matter wich dff) from vice city or 3, i only see this:

 

Link to enormous image

 

Please help, it sounds so cool.

Edited by illspirit

Share this post


Link to post
Share on other sites
jan_SI

try to zoom in

Share this post


Link to post
Share on other sites
grovespaz

Sorry, im a total newb at gmax, how? dontgetit.gif

Share this post


Link to post
Share on other sites
jan_SI

you must know gmax well before you try to make some animations. in 3d studio max i use scroll wheel to zoom in/out

 

by the way: does anybody knows a pair of model and animations that fit togheter (with moving bones is moving a model)?

Share this post


Link to post
Share on other sites
grovespaz

Thanks for your advice.

Edit: Noticed that besides the scrollwheel, at the botton right, there's a set of tools to adjust your pov.

 

Edit2: Seems that when i click apply animation, it wont apply the animation.

I only succeeded once, using some motor animation

Edited by grovespaz

Share this post


Link to post
Share on other sites
Kam
Edit2: Seems that when i click apply animation, it wont apply the animation.

I only succeeded once, using some motor animation

Be sure you had turn on the 'Animate' button before you rotate bones, otherwise, no animated keys will generate!

 

And make sure you had selected bones before 'Apply Animation'.

 

Hope these help!

Share this post


Link to post
Share on other sites
grovespaz

Yeah, they sure did.

I forgot to select the bones. blush.gif

 

Thanx, gonna try it right now.

Edited by grovespaz

Share this post


Link to post
Share on other sites
jan_SI

is there any tutorial that is more clearly and gives more information?

i can't undersand some parts :-(

Share this post


Link to post
Share on other sites
jacob.
is there any tutorial that is more clearly and gives more information?

i can't undersand some parts :-(

This is as clear as it gets for now. Unfortunately, to completely re-do any animation to your liking will require some firsthand experience in the program you're doing it in, whether that be gmax or 3dsmax. In some cases you can pick up a program and a tutorial and expect satisfying results; this is not the case. Which is why, like, no official animation mods have been released yet.

 

If someone could configure the bones to somehow accept pre-defined MAX animations downloadable off the net, which there are a lot, there would no doubt be a lot more feedback/mods/releases coming from this animation stuff. Atleast from me anyways.

Share this post


Link to post
Share on other sites
deltadude

When you import it back into the game how can you acctualy see it happening in the game? Is it possible to set an animation for the players character and press to key to start the animation?

 

 

Share this post


Link to post
Share on other sites
jacob.

Is it possible to set an animation for the players character and press to key to start the animation?

Yeah, theres an SCM opcode that deals with 'wait states'. Just change the animation of one of these wait states, set up a thread that waits for a keypress, then call that wait state in the scm to play the custom animation.

Share this post


Link to post
Share on other sites
Zom-B

is there a character animation viewer that allows you to view a textured model?

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.

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.


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