Render planet graphics from lua code

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
front
Inserter
Inserter
Posts: 41
Joined: Tue Dec 03, 2024 4:54 pm
Contact:

Render planet graphics from lua code

Post by front »

I did not see anything relevant in the api, but it would be nice if we could display a planet's space rendering from lua. Mainly to cover for one feature of visible planets in space, where it also displays planetslib moons around the planet you currently orbit.
Also to let Cerys use those graphics in the background as you look down at Fulgora, so it does not need to be a static sprite anymore.
FluidNatalie
Burner Inserter
Burner Inserter
Posts: 10
Joined: Tue Oct 14, 2025 7:52 pm
Contact:

Re: Render planet graphics from lua code

Post by FluidNatalie »

+1
front
Inserter
Inserter
Posts: 41
Joined: Tue Dec 03, 2024 4:54 pm
Contact:

Re: Render planet graphics from lua code

Post by front »

I know exactly what I want now. Make this field an array, and let us add multiple backdrop definitions.

https://lua-api.factorio.com/latest/typ ... m_backdrop

It has a position and a radius, and we can use those to place and position multiple ones of them.

We also tried doing a ringworld, and this may work if we could place two, and flip the normals on one of them so it curves inside instead of outside forming a circle. That may also be hackable to make something visually orbit the planet.
06-26-2026, 16-17-42.png
06-26-2026, 16-17-42.png (614.18 KiB) Viewed 42 times
Post Reply

Return to “Modding interface requests”