![]() |
|
[Tutorial] New playeranimtypes | Setting other animations - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: [Tutorial] New playeranimtypes | Setting other animations (/Thread-Tutorial-New-playeranimtypes-Setting-other-animations.html) Pages:
1
2
|
New playeranimtypes | Setting other animations - Nekochan - 10-16-2011 Hey guys, I will tell how to make new player animation types and set other animation to player. You need:
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: Spoiler (Click to View) It will looks like this Spoiler (Click to View) 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 ) Spoiler (Click to View) 11. Add this line in your mod.csv Code: xanim,UR ANIMATIONCode: xanim,ai_zomx_idle13. 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.atr18. 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\\AResult ( NOTE, DOG don't have tag_weapon, so it will crash, do not use worldmodel/ for it ) Thanks for reading! RE: New playeranimtypes | Setting other animations - Yamato - 10-16-2011 How many s do I need?
RE: New playeranimtypes | Setting other animations - Rendflex - 10-16-2011 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 RE: New playeranimtypes | Setting other animations - Nekochan - 10-16-2011 (10-16-2011, 16:38)Rendflex Wrote: Last time I tried using a custom .atr file, it didn't work for me. I not stealed it
RE: New playeranimtypes | Setting other animations - Yamato - 10-16-2011 (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. ![]() RE: New playeranimtypes | Setting other animations - Pozzuh - 10-16-2011 You not learn english RE: New playeranimtypes | Setting other animations - Nekochan - 10-16-2011 (10-16-2011, 16:43)Pozzuh Wrote: You not learn english ![]() I learned 65% by internet, 15% by teacher ( Gibruish one ) RE: New playeranimtypes | Setting other animations - Rendflex - 10-16-2011 (10-16-2011, 16:45)Se7en Wrote:(10-16-2011, 16:43)Pozzuh Wrote: You not learn english https://www.google.com/search?gcx=w&sourceid=chrome&ie=UTF-8&q=gibruish ![]() O_O ...That's a cool teacher
RE: New playeranimtypes | Setting other animations - Nekochan - 10-16-2011 (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
RE: New playeranimtypes | Setting other animations - crAyon - 10-16-2011 Thanks se7en, nice post. |