GFX for Entity Showing Up Broken In-Game?

Place to get help with not working mods / modding interface.
Post Reply
TheLastRonin
Inserter
Inserter
Posts: 23
Joined: Thu Jan 22, 2015 8:22 pm
Contact:

GFX for Entity Showing Up Broken In-Game?

Post by TheLastRonin »

I created a test entity which is similar to the furnace but gave it a new colors for the base texture and the fire animation... The bottom of the furnace is totally transparent and does not show up in-game. The icon works fine. I tried replacing the textures with the old furnace GFX files but keeping the new entity and it still cuts the entity half off...

Image

Kexík
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Mon Dec 01, 2014 12:52 pm
Contact:

Re: GFX for Entity Showing Up Broken In-Game?

Post by Kexík »

Make sure that your picture have correct values for width, height and optionaly shift, x, y in prototype where you set path to your picture.

User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: GFX for Entity Showing Up Broken In-Game?

Post by FreeER »

Also, try deleteing the "crop-cache.dat" file within the Factorio directory, it tends to cause occasional issues when images get changed (such as during modding) :)

Post Reply

Return to “Modding help”