PDA

View Full Version : Multiple animations for one event



Leal
15th December 2013, 00:28
Hello everybody,

I'm working on the following fists-weapon:

http://classic.xfire.com/video/6190d4/

Do you know if it's possible to have multiple melee animations that are run randomly?

Kind regards,
Leal

serthy
15th December 2013, 08:30
Navigate to your mp folder (iw_07.iwd), there you have to create a new animtype (fists) in the playeranimtypes.txt
Then edit and insert all your animations to the specific columns in playeranim.script
It is easy to implement, just look at those files for some minutes and you will see the sheme.
Iirc they will be played in a random order.
Just remember that these files have to go with your client-iwd

Good luck, this looks pretty good so far!


EDIT: could be that what i wrote wasnt that what you are looking for, since playeranimtypes are the visible one to others, not the viewhands/viewmodel animations

Leal
15th December 2013, 09:45
Thank you for the answer serthy.

Right, what you wrote is to manage worldmodel-, not viewmodel-animations.

RobsoN
15th December 2013, 13:30
Isn't that by Pluxy?

http://classic.xfire.com/video/34a444/

Ni3ls
15th December 2013, 13:52
No its different. But as you can see Pluxy used 1 melee anim and 1 shooting anim. So he has 2 melee anims

Leal
15th December 2013, 22:43
Yea this is probably what I'm going to do. Thank you.

Leal
19th December 2013, 22:00
As I didn't found much information about doing world animations for characters (playeranimtypes), do you know somebody that could help me with that?

kung foo man
19th December 2013, 22:17
I've made some beginning with BG_PlayAnim() in libcod, maybe you want to use that to play custom animations: https://github.com/kungfooman/libcod/blob/master/gsc.cpp

Rocky
21st January 2014, 19:18
nice one :]

It will be able for download?