• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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

Level 25
Joined
Feb 2, 2006
Messages
1,689
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 77
Joined
Oct 6, 2004
Messages
10,101
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 77
Joined
Oct 6, 2004
Messages
10,101
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