Page 1 of 1

Is it possible to make the Lamppost Mod by Klonan rotatable?

Posted: Fri Nov 11, 2016 1:14 pm
by Gords
I really like the look of the lampposts that klonan made for his Concrete Lamppost mod https://mods.factorio.com/mods/Klonan/Concrete_Lamppost
However I tried to arrange the lampposts as pictured in the second image of the information section and found that it never really arranged themselves in that orientation.
I would like to know if its possible to make the same entity but where we can choose its orientation by making it rotatable?

Re: Is it possible to make the Lamppost Mod by Klonan rotatable?

Posted: Sat Nov 12, 2016 10:20 pm
by aubergine18
I think you can rotate whilst placing, but not after they are placed. This is because the mod doesn't currently (last time I checked anyway) listen to the on_player_rotated_entity event. As long as the graphical sprites exist, it should be easy to update the mod to allow rotation both during and after placement.

Re: Is it possible to make the Lamppost Mod by Klonan rotatable?

Posted: Sun Nov 13, 2016 12:55 am
by Klonan
aubergine18 wrote:I think you can rotate whilst placing, but not after they are placed. This is because the mod doesn't currently (last time I checked anyway) listen to the on_player_rotated_entity event. As long as the graphical sprites exist, it should be easy to update the mod to allow rotation both during and after placement.
Electric poles don't fire on_player_rotated :)

If they did i could fairly easily make the poles rotatable - But since they can't, i don't consider it worth solving