Provide a way to render entities (without creating entities)

Things that we aren't going to implement
Post Reply
GlassBricks
Inserter
Inserter
Posts: 25
Joined: Fri Jun 11, 2021 5:20 pm
Contact:

Provide a way to render entities (without creating entities)

Post by GlassBricks »

It would be useful to be able to "display" an entity, like in the cursor entity/blueprint preview.
Something like rendering.draw_entity { name, surface, target, tint, direction, etc... } could accomplish this.

I don't think there's currently way to do this:
Entity-ghost runs into too many problems and restrictions (can't overlap, can't change tint, sometimes can't be created, bots want to build them)
rendering.draw_sprite can only draw entities' item icon, not the entity; rendering.draw_animation doesn't expose entity pictures/animations.

User avatar
SupplyDepoo
Filter Inserter
Filter Inserter
Posts: 286
Joined: Sat Oct 29, 2016 8:42 pm
Contact:

Re: Provide a way to render entities (without creating entities)

Post by SupplyDepoo »

I agree, that would be very useful.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Provide a way to render entities (without creating entities)

Post by Rseding91 »

Given that's something we've wanted several times over the years and have still not found a way to do nicely. I don't see this happening. Sorry.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Won't implement”