Results 1 to 5 of 5

Thread: How "precache" anim?

  1. #1
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts

    How "precache" anim?

    Hello guys.
    How i can play anim (setAnim (by king)) my animation? How register anim? Help pls.

  2. #2
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    You dont need to precache. Just use
    Code:
    			case "anim":
    					playeranim = args[2];
    					self setAnim(playeranim);
    					self thread tellMessage("Anim: "+playeranim);
    And anim names are in iw_07.iwd/animtrees/multiplayer.atr

  3. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Friend you stupid?
    i put animation in xanim dir
    if i play my anim, i have error...(BG_ANIMATION...)
    RECOURSE:
    "HOW REGISTER ANIMATION?"

  4. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    And anim names are in iw_07.iwd/animtrees/multiplayer.atr
    have you tried editting that maybe.

    Edit: also, on your next stupid comment i'll go full-out on the insults, as you dont seem to have a problem with them yourself.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  5. The Following User Says Thank You to IzNoGoD For This Useful Post:

    serthy (7th February 2016)

  6. #5
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    The custom animation needs to be added to mp/playeranim.script

    However I should warn you that there is a bug from doing this; http://killtube.org/showthread.php?2...ll=1#post12692

  7. The Following User Says Thank You to filthy_freak_ For This Useful Post:

    maxdamage99 (8th February 2016)

Posting Permissions

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