Entity images in SpritePath

Things that we aren't going to implement
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Entity images in SpritePath

Post by darkfrei »

Hi!
https://lua-api.factorio.com/latest/Con ... SpritePath
SpritePath
It is specified by string. It can be either the name of the sprite prototype defined in the data or path in form "type/name". Supported types are.

"item" - for example "item/iron-plate" is the icon sprite of iron plate
"entity" - for example "entity/small-biter" is the icon sprite of the small biter
Why here is possible to use icon of item, icon of entity, but not image of entity? Can you please add it too?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14598
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Entity images in SpritePath

Post by Rseding91 »

Almost every entity does rendering different than the next and as such it's not possible to just "use the image for an entity".
If you want to get ahold of me I'm almost always on Discord.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Entity images in SpritePath

Post by darkfrei »

Rseding91 wrote: Thu Mar 14, 2019 8:58 pm Almost every entity does rendering different than the next and as such it's not possible to just "use the image for an entity".
How it was done by ghosts? They have sprites of all entities.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14598
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Entity images in SpritePath

Post by Rseding91 »

darkfrei wrote: Fri Mar 15, 2019 5:47 am
Rseding91 wrote: Thu Mar 14, 2019 8:58 pm Almost every entity does rendering different than the next and as such it's not possible to just "use the image for an entity".
How it was done by ghosts? They have sprites of all entities.
The actual entity exists and is owned by the ghost.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Won't implement”