Page 1 of 1

[0.17.2] Underground Belt appearing on top of other sprites

Posted: Wed Feb 27, 2019 8:23 pm
by kirazy
Caveat: The loader item is being skinned by a mod, and so the vanilla/native experience doesn't have this issue (since the loader isn't even enabled)

However, I'm not sure if this is something that I can fix with lua, or if the issue is deeper, or what:

Image

The underground belt sprite is rendering on top of the loader sprite.

Re: [0.17.2] Underground Belt appearing on top of other sprites

Posted: Wed Feb 27, 2019 8:26 pm
by Ranakastrasz
The first image seems to have the same top to bottom problem.
Are both of those modded, or is that vanilla?

Re: [0.17.2] Underground Belt appearing on top of other sprites

Posted: Wed Feb 27, 2019 8:28 pm
by kirazy
For clarity I've removed the first image (since it's a WIP sprite and is confusing the issue). The vanilla underground belt renders on top of whatever modded sprite is added to the vanilla loader entity.

Edit: Here's an image that perhaps is more clear:

Image

In this case, the mod is Loader Redux and the vanilla underground belt entity renders on top of the modded loader entity.

Re: [0.17.2] Underground Belt appearing on top of other sprites

Posted: Wed Feb 27, 2019 9:10 pm
by posila
Ok, I added structure_render_layer to loader prototype for 0.17.3. It defaults to current value "lower-object", underground belt and splitter structers use "transport-belt-circuit-connector"

Re: [0.17.2] Underground Belt appearing on top of other sprites

Posted: Fri Mar 01, 2019 1:50 pm
by Optera
Thanks for the fix.
Setting loader.structure_render_layer = "transport-belt-circuit-connector" makes them look nice alongside ug belts.