Page 1 of 1

WIN7 x64 - Slaughterrfish animation [RESOLVED 0.10.24]

Posted: Wed May 08, 2019 8:57 pm
by King of Worms
The slaughter fish (cm 11 to spawn) has strange animation.



imo it plays the frames correctly

266_0-0
266_0-1
266_0-2
266_0-3
266_0-4
266_0-5

but than this particular mob should play it in reverted order. I tryed it and it creates a fluid movement

So 5, 4, 3, 2, 1, 0

Than it looks like this



Might it be possible that this mob has different code than other mobs for movement, and it was lost during the DFU transfer?

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Posted: Wed May 08, 2019 9:02 pm
by Interkarma
Thank you. :) Yep, looks like the frames should be reversed again as you say for fluid movement.

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Posted: Wed Apr 15, 2020 8:37 am
by mikeprichard
Thought I'd test one more old bug report and figured this one might have been an "easy" fix from the discussion, but confirmed as still a (minor) issue in 10.22.

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Posted: Wed Apr 15, 2020 9:57 am
by King of Worms
Would be very cool if this mobs animations received some update, it looks glitched and the solution is there :)
And the Daedra Seducer transformation ;)

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Posted: Fri May 22, 2020 11:57 pm
by pango
It seems that attack animations are driven by the frameIterator counter, that makes currentFrame progrress thru each frame taken from StateAnimFrames array:
https://github.com/Interkarma/daggerfal ... it.cs#L496

However during idle/moving animations, currentFrame is directly incremented until it reaches the last frame:
https://github.com/Interkarma/daggerfal ... it.cs#L493
So as written, there's a lot less flexibility for idle/moving animations...
I think the most flexible fix would be to add a second AnimFrames array for current idle/moving animation (and maybe a separate counter, not sure).

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Posted: Sun May 24, 2020 11:24 am
by King of Worms
Thanks for update Pango,

I think if we could extend the animation frame count for this specific mob iddle and let those frames play backwards when it reaches the last frame of the current set, it might work properly and would work with vanilla as well.

Would be cool to have this kind of a universal solution, so it doesnt require a modder to support those "new" frames thus restricting this to the mod territory.

But I really dont understand the coding part behind it, so I will leave the possible solution (or decision to scratch it) up to the folks who actually know what they are doing :)

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Posted: Wed Jul 01, 2020 12:56 am
by Interkarma
The following monster animation and appearance issues are resolved in 0.10.24:
  • Slaughterfish will play idle/move anim forward then in reverse for smoother motion
  • Daedra Seducer will transform into winged form and gain flight
  • Ghosts and Wraiths now look properly spectral and spooky