• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Show index per animation and stand animation by default in model viewer

Level 27
Joined
Feb 2, 2006
Messages
1,576
It would be useful for models like Villager 255 Animations (which is an extreme example) to show the index per animation, so you can use it with
JASS:
SetUnitAnimationByIndex
without manually opening the model in another program/MDL etc.

Besides, I made the suggestion to play the "Stand" animation by default when showing a model which would also be useful. Sometimes the death or birth animations are shown by default which is not that useful. See Preview "stand" animations by default, show the non-portrait model by default and broken team color preview
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,182
Just to get it more clear in my head.

Suggestion 1:
Add index for each animation in this list:

1703708353577.png


Suggestion 2:
Play "Stand" animation on load. But it already does. For this model in particular, it just happens to show the portrait as the first model. I am not sure I understand your suggestion.
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,182
Detecting which model is the portrait is kind of... Not basic. But it could search for the first model in the bundle that has a "Stand" animation I guess.

Exactly but it does not show the "Stand" animation for example for Garrison.
Oh. You're right. It just picks the first animation in the file. I can fix that.
 
Top