WIN7 x64 - Slaughterrfish animation [RESOLVED 0.10.24]

Locked
User avatar
King of Worms
Posts: 3286
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

WIN7 x64 - Slaughterrfish animation [RESOLVED 0.10.24]

Post 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?

User avatar
Interkarma
Posts: 5746
Joined: Sun Mar 22, 2015 1:51 am

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Post by Interkarma »

Thank you. :) Yep, looks like the frames should be reversed again as you say for fluid movement.

User avatar
mikeprichard
Posts: 1037
Joined: Sun Feb 19, 2017 6:49 pm

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Post 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.

User avatar
King of Worms
Posts: 3286
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Post 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 ;)

User avatar
pango
Posts: 2543
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Post 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).
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
King of Worms
Posts: 3286
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Post 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 :)

User avatar
Interkarma
Posts: 5746
Joined: Sun Mar 22, 2015 1:51 am

Re: WIN7 x64 - Slaughterrfish animation (version independent)

Post 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

Locked