Page 1 of 1

access to the render_layer of more objects

Posted: Sat Nov 24, 2018 2:19 am
by rude_grass
I know this has been asked a couple of times before, but it would be amazing if we were able to change the render layer of more objects. Personally i right now need to change the render layer of a modded "power-switch", and it would just make things so much easier. Please please please?

Re: access to the render_layer of more objects

Posted: Sat Nov 24, 2018 8:41 am
by Bilka
What is your use case?

Re: access to the render_layer of more objects

Posted: Sat Nov 24, 2018 11:37 am
by rude_grass
I am creating a movable bridge for a train <-> ship crossing for my mod "cargo-ships". I used the power-switch entity because of it's easily triggerable on/off (open/close) animation. but a train driving over this entity is partly hidden by its graphics.

Re: access to the render_layer of more objects

Posted: Tue Feb 12, 2019 9:48 pm
by JAetherwing
I also have a use case:
I'm working on electric trains powered by overhead lines and I'm using signals as the basic entity for the poles. The reason is that they are 8-way rotatable and can be connected to the circuit network.
However, the render layer is lower than that of trains, making this approach infeasible:
https://imgur.com/a/iUdryEN

Re: access to the render_layer of more objects

Posted: Tue Feb 12, 2019 9:49 pm
by Bilka
There has always been opposition to exposing render layers so to get any render layer added, you will have to have some good points. I can understand wanting have a render layer exposed on an entity when using that entity for its intended purpose. However, adding a render layer on an abused entity doesn't have my support in any way since I implemented the script rendering. If you simply want to render something, use the script rendering.

Re: access to the render_layer of more objects

Posted: Wed Mar 06, 2019 10:53 am
by rude_grass
abused entity. ouch :D. but i wasn't aware of the script rendering, i will look into it! thanks!