Animating construction robots

Place to get help with not working mods / modding interface.
Hamtato
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jan 30, 2020 5:56 am
Contact:

Animating construction robots

Post by Hamtato »

Having trouble animating construction bots. I am trying to get the robots to have 2 frames per direction, but they are only displaying the first frame of each direction. They appear the same when frame_count = 1 or 2.

My sprite sheet has 2 frames per line, and 4 rows for directions. What am I doing wrong?

Code: Select all

    
    in_motion =
    {
      filename = "__CatMod__/graphics/entity/cat/hr-cat.png",
      priority = "high",
      line_length = 2,
      width = 112,
      height = 59,
      frame_count = 2,
      direction_count = 4,
      shift = {0, 0.015625},
      scale = 0.5
    },
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: Animating construction robots

Post by Deadlock989 »

The flying bot entities don't support multiple animation frames per direction for normal motion, even though it's possible to specify them in the prototype. I reported it before, it was a "won't fix".

viewtopic.php?f=58&t=71940
Hamtato
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jan 30, 2020 5:56 am
Contact:

Re: Animating construction robots

Post by Hamtato »

That’s unfortunate. Thanks for the reply.
Post Reply

Return to “Modding help”