Pump fluid animation - tinting issue

Place to get help with not working mods / modding interface.
Post Reply
User avatar
moon69
Fast Inserter
Fast Inserter
Posts: 181
Joined: Sun Sep 18, 2016 6:53 pm
Contact:

Pump fluid animation - tinting issue

Post by moon69 »

I'm trying to repurpose a Pump for a mod, but can't seem to disable apply_runtime_tint .

I've got the main "animations" working fine, but I am struggling with the "fluid_animation"...

Code: Select all

fluid_animation =
    {
      north =
      {
        filename = "__base__/graphics/entity/pump/pump-north-liquid.png",
        apply_runtime_tint = true,
        width = 20,
        height = 13,
        line_length =8,
        frame_count =32,
        shift = util.by_pixel(-0.500, -14.500),
...
It is tinting my white animation with the fluid colour even when apply_runtime_tint = false.

Thanks.

Bilka
Factorio Staff
Factorio Staff
Posts: 3228
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Pump fluid animation - tinting issue

Post by Bilka »

You can't turn of the tinting in the prototype like that. There are only two ways to turn it off - don't have a fluid_animation or don't have fluid in the fluidbox.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Modding help”