completely replacing entity graphics

Place to get help with not working mods / modding interface.
CyberWizard2261
Inserter
Inserter
Posts: 33
Joined: Tue Jun 26, 2018 11:01 am
Contact:

completely replacing entity graphics

Post by CyberWizard2261 »

I want to replace the graphics of an entity (in this case a chest) with a custom animation, I know how to make an animation on top of the entity but my custom animation has transparent parts so I want to make the entity invisible after it is placed, do anyone know how to do it?
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3745
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: completely replacing entity graphics

Post by DaveMcW »

Set filename = "__core__/graphics/empty.png"
CyberWizard2261
Inserter
Inserter
Posts: 33
Joined: Tue Jun 26, 2018 11:01 am
Contact:

Re: completely replacing entity graphics

Post by CyberWizard2261 »

I actually wanted to be able to see the building when placing it and make it invisible after. The solution I found was to replace the entity with an invisible one and attach the animation to it
If anyone knows of a better way to do it please tell me
Post Reply

Return to “Modding help”