Graphics drawing order

Place to get help with not working mods / modding interface.
Post Reply
User avatar
ThaPear
Fast Inserter
Fast Inserter
Posts: 222
Joined: Fri May 30, 2014 8:05 am
Contact:

Graphics drawing order

Post by ThaPear » Sun Jul 13, 2014 12:59 pm

I'm having an issue with the order in which graphics are drawn, as seen in the image below.
I want my graphics to be drawn over the belts.

Another problem is that the top image is cut off on the right.

How can I resolve these issues?

Image

The images and entity definitions can be found in my mod thread

kolli
Inserter
Inserter
Posts: 27
Joined: Tue Jun 10, 2014 11:23 am
Contact:

Re: Graphics drawing order

Post by kolli » Sun Jul 13, 2014 4:50 pm

I think the render layer of inserter entities is hard coded. What you could do is use one entity for the logic and another for the graphics.

Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: Graphics drawing order

Post by Rahjital » Sun Jul 13, 2014 8:54 pm

Simple-entities do have a working render_layer property, so if you go with kolli's suggestion, that's a good graphics entity to use. First you should try using the render_layer property on the inserter itself, though, the wiki informations tend to be rather out of date.

Post Reply

Return to “Modding help”

Who is online

Users browsing this forum: No registered users