• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Specific portrait animations?

Status
Not open for further replies.
Level 16
Joined
Sep 25, 2004
Messages
508
Simple question, I would like my unit to show different emotional states (angry, happy, etc). Making the animations is easy, but is there a way at all to control wich animations are displayed in the portrait? A script command or something?

If not, could it be a solution to make several portraits, each one with its own animation set?
 
Level 16
Joined
Sep 25, 2004
Messages
508
Mmm, for cinematics it wouldn't be a problem, I could make an invisible dummy model for every portrait and it should work just fine.
On the other hand, for other kind of maps, if the unit is under direct control from the player... the only solution would be using specific animation tags for every emote state, correct?
 
Level 16
Joined
Sep 25, 2004
Messages
508
Actually... after some testing things didn't really go as I expected. I'm posting here for reference: adding the "alternate" tag via trigger works, although not perfectly, the portait is updated instantly, but the model needs to perform an action before changing stance.

As for the "Upgrade" tag, that works too... but not for units. If the model is assigned to a building, then yes, portrait and model are changed right away. For units, the portrait doesn't change at all, and this ruins the whole point of using animation tags.

Looks like using separate portrait files is the only way to go, but if someone know a workaround, please let me know.
 
Status
Not open for further replies.
Top