1. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    Dismiss Notice
  2. Melee Mapping Contest #3 - Results are out! Congratulate the winners and check plenty of new 4v4 melee maps designed for this competition!
    Dismiss Notice
  3. The winners of our cinematic soundtrack competition have been decided! Step by the Music Contest #11 - Results to check the entries and congratulate the winners!
    Dismiss Notice

Animation Switching

Discussion in 'World Editor Help Zone' started by BiroN, Apr 28, 2016.

  1. BiroN

    BiroN

    Joined:
    Sep 10, 2013
    Messages:
    358
    Resources:
    0
    Resources:
    0
    If a model has two sets of attack animations (a set for 1 handed weapon and another for 2 handed weapon), do I have to use triggers to switch between the attack animation types, or is there another way? I heard of 'animation tags' but I don't know how to use them.

    For example if a unit has
    Attack First 1, Attack First 2 for 1 handed weapons, and
    Attack Second 1, Attack Second 2 for 2 handed weapons.

    Is there a way to select the animations without triggers?
     
  2. Nichilus

    Nichilus

    Joined:
    Sep 26, 2009
    Messages:
    1,967
    Resources:
    0
    Resources:
    0
    I will refer to the human peasant unit for the example of animation tags.
    The animation names for peasant are something like this: Stand, Stand Gold, Stand Lumber, Walk, Walk Gold, Walk Lumber, etc.

    The reason why you see the peasant unit return with gold bag in hands when returning with gold is because during that time, he has set the "Gold" animation tag, meaning he will play only animations which contain the word "Gold".

    Same with demon hunter unit. All the animations during metamorphosis are labeled as "Alternate", so all you need is set the animation tag for Alternate to play only those animations.

    The action for it is in the "Animation" submenu... something like "Animation - Add/Remove Animation Tag"

    So to use those, you need to see the pattern in animation names of your unit... if a set of animations contain a specific word (e.g. alternate, gold, etc.), you can set an animation tag to play only those animations.
     
  3. BiroN

    BiroN

    Joined:
    Sep 10, 2013
    Messages:
    358
    Resources:
    0
    Resources:
    0
    Extremely helpful. Thank you very much. I'm gonna have some fun with this :)