Entity interaction preview

Place to get help with not working mods / modding interface.
Post Reply
mami
Burner Inserter
Burner Inserter
Posts: 18
Joined: Fri Oct 21, 2022 12:27 am
Contact:

Entity interaction preview

Post by mami »

I would like to create an entity sort of like a beacon that affects the entities around it, so I want my item to show something like the beacon or power pole effect range preview when the player is holding it to place it. Is there any way to get this preview on a non-beacon, non-power pole prototype?

User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 492
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Entity interaction preview

Post by Silari »

https://wiki.factorio.com/Prototype/Ent ... cification does that. You can see a version of it on the electric miner - it highlights the given radius with the given sprite. I use it to illustrate the range of the fisheries, farms, and terraformers in Homeworld Redux.

Post Reply

Return to “Modding help”