Results 1 to 9 of 9

Thread: Multiple animations for one event

  1. #1
    Private Leal's Avatar
    Join Date
    Sep 2013
    Location
    Madrid
    Posts
    11
    Thanks
    6
    Thanked 3 Times in 3 Posts

    Multiple animations for one event

    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

  2. #2
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    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
    Last edited by serthy; 15th December 2013 at 07:36.

  3. #3
    Private Leal's Avatar
    Join Date
    Sep 2013
    Location
    Madrid
    Posts
    11
    Thanks
    6
    Thanked 3 Times in 3 Posts
    Thank you for the answer serthy.

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

  4. #4
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    "Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right

  5. #5
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    No its different. But as you can see Pluxy used 1 melee anim and 1 shooting anim. So he has 2 melee anims

  6. #6
    Private Leal's Avatar
    Join Date
    Sep 2013
    Location
    Madrid
    Posts
    11
    Thanks
    6
    Thanked 3 Times in 3 Posts
    Yea this is probably what I'm going to do. Thank you.

  7. #7
    Private Leal's Avatar
    Join Date
    Sep 2013
    Location
    Madrid
    Posts
    11
    Thanks
    6
    Thanked 3 Times in 3 Posts
    As I didn't found much information about doing world animations for characters (playeranimtypes), do you know somebody that could help me with that?

  8. #8
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    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...master/gsc.cpp
    timescale 0.01

  9. #9
    Private First Class
    Join Date
    Jul 2013
    Posts
    170
    Thanks
    44
    Thanked 16 Times in 11 Posts
    nice one :]

    It will be able for download?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •