ItsMods

Full Version: New playeranimtypes | Setting other animations
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey guys,
I will tell how to make new player animation types and set other animation to player.

You need:

  • mp/playeranim.script file
  • animtrees/multiplayer.atr
  • mod.csv
  • mp/playeranimtypes.txt
  • Mod Tools
  • Some OMA s
  • Your Animations ( Or from SP - if you using SP model, etc )



1. Place your animations to mp_YOURMOD/xanim ( IF animation is not CUSTOM, ignore it. You can load animations from raw/xanim )
2. Place mp/playeranimtypes.txt to mp_YOURMOD/mp
3. Open this file
4. You will see thoose lines:
5. Add your custom type ( I will use 'zombie' type )
It will looks like this
6. Save file
7. You added type for animations. Now you need to SET animations.
8. Place raw/animtrees/multiplayer.atr file to mp_YOURMOD/animtrees/multiplayer.atr
9. Open this file, you will see many things, stuff. You need to add anims names. This is IMPORTAND.
It will looks like this ( Not full file )
10. Save file
11. Add this line in your mod.csv
Code:
xanim,UR ANIMATION
ex.
Code:
xanim,ai_zomx_idle
12. Save file.
13. Place playeranim.script file to mp_YOURMOD/mp
NOTE: This is main file.
14. Open this file, again... there are too many lines etc.
15. Adding stuff:
Example: I want to add animation for IDLE status:
Code:
blablabla
........................
    idle
    {
        // ZOMBIE ANIMS
        playerAnimType zombie // ANIM TYPE, WHICH YOU ADDED IN TXT file
        {
            both ai_zomx_idle
        }

blablabla
........................

both - All body
torso - Torso

And use other animation for other statuses like run etc.

16. Save file
17. Open your mod.csv and add thoose lines:
Code:
xanim,UR ANIMATION
rawfile,mp\playeranim.script
rawfile,mp\playeranimtypes.txt
rawfile,animtrees\multiplayer.atr

18. USING TYPE
You can use type only with weapons
Open weapon file and search for: playeranimtype/
IT looks like: (hk21_reflex_mp)
Code:
WEAPON_HK21_REFLEX\modeName\\playerAnimType\default\altWeapon\\DualWieldWeapon\\A
Change type and use it !

Result ( NOTE, DOG don't have tag_weapon, so it will crash, do not use worldmodel/ for it )


Thanks for reading!
How many OMA s do I need?
Last time I tried using a custom .atr file, it didn't work for me.
I had to do as @Nukem said, to replace the anims there :S


Oh, and this looks very similiar to a COD4 tutorial I've seen long time ago... lol
(10-16-2011, 16:38)Rendflex Wrote: [ -> ]Last time I tried using a custom .atr file, it didn't work for me.
I had to do as @Nukem said, to replace the anims there :S


Oh, and this looks very similiar to a COD4 tutorial I've seen long time ago... lol

I not stealed it Troll
(10-16-2011, 16:40)Se7en Wrote: [ -> ]
(10-16-2011, 16:38)Rendflex Wrote: [ -> ]Last time I tried using a custom .atr file, it didn't work for me.
I had to do as @Nukem said, to replace the anims there :S


Oh, and this looks very similiar to a COD4 tutorial I've seen long time ago... lol

I not stealed it Troll

Dodgy
You not learn english
(10-16-2011, 16:43)Pozzuh Wrote: [ -> ]You not learn english

Confused

I learned 65% by internet, 15% by teacher ( Gibruish one )
(10-16-2011, 16:45)Se7en Wrote: [ -> ]
(10-16-2011, 16:43)Pozzuh Wrote: [ -> ]You not learn english

Confused

I learned 65% by internet, 15% by teacher ( Gibruish one )

https://www.google.com/search?gcx=w&sour...q=gibruish

[Image: f68d8235.png]

O_O

...That's a cool teacher Awesome
(10-16-2011, 16:47)Rendflex Wrote: [ -> ]
(10-16-2011, 16:45)Se7en Wrote: [ -> ]
(10-16-2011, 16:43)Pozzuh Wrote: [ -> ]You not learn english

Confused

I learned 65% by internet, 15% by teacher ( Gibruish one )

https://www.google.com/search?gcx=w&sour...q=gibruish

[Image: f68d8235.png]

O_O

...That's a cool teacher Awesome

Troll
Superman
Thanks se7en, nice post.
Pages: 1 2