[0.17.48] [Modding] Construction bot idle and in_motion animations don't use all the frames

Things that we don't consider worth fixing at this moment.
Post Reply
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2393
Joined: Fri Nov 06, 2015 7:41 pm

[0.17.48] [Modding] Construction bot idle and in_motion animations don't use all the frames

Post by Deadlock989 »

Hi,

Exactly the same set up as described in this report, with an identical sprite sheet arrangement for the three bot states and also the shadow sheet.

I can avoid the crash described in that post by simply doubling up the shadows so that all six sheets are specified identically (frame_count = 2, directions = 16, line_length = 2).

Everything works as expected then, except for one thing: only working uses both frames of the animation. idle and in_motion only use the first frame in the row and are "frozen". This may be intended behaviour for the vanilla use case, but it seems odd because they are AnimationPrototype definitions, I don't know of any other one that doesn't actually animate.
"If Stalin had a good writeup on programming, would linking that be dangerous?"

Rseding91
Factorio Staff
Factorio Staff
Posts: 12283
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.48] [Modding] Construction bot idle and in_motion animations don't use all the frames

Post by Rseding91 »

Thanks for the report. Construction and logicistc robots don't support animations when idle/in motion. It's just a side effect that the person who implemented the rendering for those states chose to use the "rotated animation" class instead of just "variations". Most likely they did it because it supported rotations easily.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Won't fix.”