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?
WIN7 x64 - Slaughterrfish animation [RESOLVED 0.10.24]
- King of Worms
- Posts: 4752
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
WIN7 x64 - Slaughterrfish animation [RESOLVED 0.10.24]
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- Interkarma
- Posts: 7238
- Joined: Sun Mar 22, 2015 1:51 am
Re: WIN7 x64 - Slaughterrfish animation (version independent)
Thank you. Yep, looks like the frames should be reversed again as you say for fluid movement.
- mikeprichard
- Posts: 1037
- Joined: Sun Feb 19, 2017 6:49 pm
Re: WIN7 x64 - Slaughterrfish animation (version independent)
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.
- King of Worms
- Posts: 4752
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: WIN7 x64 - Slaughterrfish animation (version independent)
Would be very cool if this mobs animations received some update, it looks glitched and the solution is there
And the Daedra Seducer transformation
And the Daedra Seducer transformation
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- pango
- Posts: 3349
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: WIN7 x64 - Slaughterrfish animation (version independent)
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).
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).
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
- King of Worms
- Posts: 4752
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: WIN7 x64 - Slaughterrfish animation (version independent)
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
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
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- Interkarma
- Posts: 7238
- Joined: Sun Mar 22, 2015 1:51 am
Re: WIN7 x64 - Slaughterrfish animation (version independent)
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