Electric Energy Interface Animations

Place to get help with not working mods / modding interface.
Pandemoneus
Fast Inserter
Fast Inserter
Posts: 127
Joined: Fri May 08, 2015 2:25 pm
Contact:

Electric Energy Interface Animations

Post by Pandemoneus »

Hi,

how do I add a (dis-)charge animation to electric-energy-interface entity types similar to the accumulator?
My goal is not to add a whole animation, but to simply change the sprite when the electric energy interface is outputting power to the network.

This is the base pic definition:

Code: Select all

    picture =
    {
      filename = "__biter_spire__/graphics/biter_spire_neutral.png",
      priority = "extra-high",
      width = 128,
      height = 128,
      shift = {1, -1}
    },
And this is what I've tried to get some "animation":

Code: Select all

      animation =
    {
      filename = "__biter_spire__/graphics/biter_spire_unload.png",
      width = 128,
      height = 128,
      shift = {1, -1},
      line_length = 1,
      frame_count = 1,
      animation_speed = 1,
    },
and

Code: Select all

      charge_animation =
    {
      filename = "__biter_spire__/graphics/biter_spire_unload.png",
      width = 128,
      height = 128,
      shift = {1, -1},
      line_length = 1,
      frame_count = 1,
      animation_speed = 1,
    },
My RSO+Bob's+Angel's modpack: Farlands (outdated)
Mods (current): Resource Labels
Mods (old): Biter Spires
Pandemoneus
Fast Inserter
Fast Inserter
Posts: 127
Joined: Fri May 08, 2015 2:25 pm
Contact:

Re: Electric Energy Interface Animations

Post by Pandemoneus »

So I guess nobody knows?
My RSO+Bob's+Angel's modpack: Farlands (outdated)
Mods (current): Resource Labels
Mods (old): Biter Spires
Post Reply

Return to “Modding help”