Mdx sanity tester

Level 16
Joined
Apr 12, 2018
Messages
455
I seem to get errors with Footprints where the Tester wants me to have a Footprint at the start of a Walk track sequence even if that is inappropriate for the model. I don't think having one at the start is strictly required...?

Most of the time I 'solved' this problem by removing the footprints entirely, but I also figured that there wasn't any particular reason why I couldn't just leave them.
 
Level 28
Joined
Jul 29, 2007
Messages
5,145
It doesn't want you to have a footprint at any point, it only wants you to form a proper timeline with a start and an end, the value at the start is irrelevant.
In other words, if your animation starts at frame 333 and ends at frame 1333, you are expected to have keyframes at frame 333 and at frame 1333, unless you have 0 or 1 keyframes.
With that being said, as mentioned many times in the past, warnings are lenient and you can usually ignore them - it's actually right there in the first post :p

Just for the sake of future comments, I am attaching a map that shows the issue in WE.
All of the boxes in the map are supposed to animate the same, some don't. If you make the units fly, or hide the terrain, you might see something interesting with the animation.
You can check the models themselves if you are interested, they are already in MDL so it's quite simple.
Technically now that Retera figured the logic of this weird animation behavior, I could test better for it and only warn when missing keyframes will actually cause an issue, but I don't have time to do this for the time being.
 

Attachments

  • MissingKeyframes.w3m
    21.5 KB · Views: 2
Last edited:
Level 16
Joined
Apr 12, 2018
Messages
455
It doesn't want you to have a footprint at any point, it only wants you to form a proper timeline with a start and an end, the value at the start is irrelevant.
In other words, if your animation starts at frame 333 and ends at frame 1333, you are expected to have keyframes at frame 333 and at frame 1333, unless you have 0 or 1 keyframes.

Event Tracks aren't done like that since the only thing they list is which keyframe to generate the event at.
 
Level 28
Joined
Jul 29, 2007
Messages
5,145
Event Tracks aren't done like that since the only thing they list is which keyframe to generate the event at.
I agree that event object tracks should be checked separately than other animation tracks.
Looking back at it, I am not quite sure why I merged the code to work with both. Probably just to share the other stuff like keyframes being in the wrong order etc.
Hopefully I'll have some time to change it soon-ish.

If you have other complaints I would like to hear them as well. This tool is for the community after all.
 
Level 28
Joined
Jul 29, 2007
Messages
5,145
  • Missing the Origin Ref attachment is now a warning, since it stops effects from attaching to the model (source). This is likely irrelevant if the tested model is an effect itself, but only the user can know how the model is going to be used.
  • SD models no longer show the useless warning saying there aren't enough matrices, which are only used by HD models.
  • The missing opening/closing tracks spam warnings are gone. Instead the proper check is done now, and reported as a severe warning, thanks to Retera's research. This needs more testing. If you think it's reporting something it shouldn't, please look closely at the beginning of the animation of whatever you are looking at.
 
Top