Page 1 of 1

Tank animation while rotating

Posted: Fri Jun 21, 2024 4:17 pm
by TheKingJo
TL;DR
Vanilla tank should have animated tracks while turning on the spot

What ?
Right now the tank's tracks are not moving when you turn on the spot. But with some simple spritesheet rearrangements and image splitting and remerging done, it can be animated while rotating. I have tried that already and it works and looks way better than before.
This is vanilla:
original.gif
original.gif (957.18 KiB) Viewed 779 times
This is adjusted:
modded4.gif
modded4.gif (1.38 MiB) Viewed 779 times
I have also attached a simple mod as demonstration that adjusts those frames.
(I also discussed it shortly in the modding discussion channel on the official Discord here: https://discord.com/channels/1396775903 ... 8475154499)
If any Dev would wanna know how and what exactly I did, I'll happily provide the info.
Why ?
In my opinion it's worth to be implemented into vanilla instead of making it a mod because it's improving the visual looks of the tank without adding anything new to it. And tbh a tank that rotates without chain movements I'd consider a visual bug X3

Re: Tank animation while rotating

Posted: Fri Jun 21, 2024 5:36 pm
by Illiander42
Post the mod to the portal anyway.

Does it get the track rotations right for turning left vs right?

Re: Tank animation while rotating

Posted: Fri Jun 21, 2024 6:30 pm
by mmmPI
Illiander42 wrote:
Fri Jun 21, 2024 5:36 pm
Does it get the track rotations right for turning left vs right?
I think it is the case that the track rotate exactly the distance necessary for a bright stripe and a dark stripe to exchange position, as such it can act as optical illusion, if you think it's going one way you can see it going this way, and i think the added rotation of the tank will be enough to trick the brain given the size it will be on a screen.

I'm saying this because i thought it was the case at first , i looked at it a lot and thought it was correct, but then i rewatched it again thinking it was not, and saw it going the wrong way....

Re: Tank animation while rotating

Posted: Sat Jun 22, 2024 8:13 am
by Illiander42
mmmPI wrote:
Fri Jun 21, 2024 6:30 pm
I think it is the case that the track rotate exactly the distance necessary for a bright stripe and a dark stripe to exchange position, as such it can act as optical illusion,
That's a neat trick! :D

Re: Tank animation while rotating

Posted: Sat Jun 22, 2024 9:12 pm
by TheKingJo
Illiander42 wrote:
Fri Jun 21, 2024 5:36 pm
Does it get the track rotations right for turning left vs right?
Since the animation while rotating counter clockwise is backwards and while clockwise its forward, yes

Re: Tank animation while rotating

Posted: Sun Jun 23, 2024 3:02 am
by mmmPI
Illiander42 wrote:
Sat Jun 22, 2024 8:13 am
That's a neat trick! :D
No it's my mistake x)

Re: Tank animation while rotating

Posted: Mon Jun 24, 2024 9:27 am
by TheKingJo
Illiander42 wrote:
Fri Jun 21, 2024 5:36 pm
Post the mod to the portal anyway.
Done! https://mods.factorio.com/mod/better-tank-animation