1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Join the 6th Melee Mapping Contest for a chance to have your map featured in this year's Hive Cup!
    Dismiss Notice
  4. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  5. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  6. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Making Jaina have 3 spell animations

Discussion in 'Modeling & Animation' started by darwin, Jan 11, 2018.

  1. darwin

    darwin

    Joined:
    Aug 30, 2004
    Messages:
    905
    Resources:
    2
    Maps:
    2
    Resources:
    2
    I have a unit based on the Jaina model. They have three spells, each with a different color. I would like to make the Jaina.mdx model have 3 spell animations (they can look the same) but each use a different BlizParticle with different colors.

    I don't know a lot about modelling, but I used the War3 Model Editor v1.07 to add a new BlizParticle emitter and color it appropriately. It now plays along side the original blue one when the spell animation is called.

    I also made two new animations called Spell 2 and Spell 3 by copying the same values in the "spell" animation. The model editor plays these animations fine; but they use both the original blue emitter and the green emitter I made.

    It looks like the emitters are assigned to only appear during one animation based on the sequence number. I don't know how to modify the sequences at all... is that something that can be done? I've attached the model here if that helps.

    Darwin
     

    Attached Files:

  2. Cuore

    Cuore

    Joined:
    Mar 11, 2017
    Messages:
    589
    Resources:
    8
    Models:
    8
    Resources:
    8
    Hi Darwin I've just had a glance at your model. If you open up the Sequence Editor tab in the Model Editor (Magos), you'll see that Spell, Spell 2, and Spell 3 share the same exact animation frames. That's the reason for the problem you're experiencing.

    For the way that models are set up in warcraft 3, you cannot re-use the frames of an existing animation to perform another (in your case to change the color of a particle).
    Making two alternate Spell sequences is the right way to go, but by doing what you did you actually just renamed the same old Spell sequence.
    You need to duplicate the same frames of Spell and put them at the end of the whole set of frames for all the animations in the model. At that point you can apply changes such as changes to the color of particles.

    Also, although I'm not an expert, I'd suggest to use names such as "Spell Throw" and "Spell Slam" instead of "Spell 2" and "Spell 3". This way you can be sure that the three differently-colored animations can be used by the correct abilities.
     
  3. darwin

    darwin

    Joined:
    Aug 30, 2004
    Messages:
    905
    Resources:
    2
    Maps:
    2
    Resources:
    2
    I'm afraid I don't know how to "duplicate the same frames of Spell and put them at the end of the whole set of frames." I think I know what you mean... essentially make three animations that are all the same. Can this be done in the War Model Editor?
     
  4. Cuore

    Cuore

    Joined:
    Mar 11, 2017
    Messages:
    589
    Resources:
    8
    Models:
    8
    Resources:
    8
    Here you are.
    Now she has a "Spell" which is blue like normal, a "Spell Slam" with a red hue, and a "Spell Throw" with a green hue.
    You just set the appropriate animation name tag in the spell data inside of the object editor

    Keep in mind that the three names that I suggested may not be optimal and that you can rename the sequences as "Spell One", "Spell Two", and "Spell Three" anytime you want.
     

    Attached Files:

  5. darwin

    darwin

    Joined:
    Aug 30, 2004
    Messages:
    905
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Beautiful, thanks so much!