2x2 Grid Placement

Place to get help with not working mods / modding interface.
Post Reply
galatex
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Feb 18, 2019 4:16 pm
Contact:

2x2 Grid Placement

Post by galatex »

Hello, I'm working on small train station mod and I would like to know, if there is a way to make item/entity be placeable in same 2x2 grid as rails? I can place entities in the grid through code, but can't find a good way to make preview snap to the grid as well. Only way is to make the entity type straight-rail, which then requires special way of using images basicly hardcoded for rails. Is there a Prototype, that allows 2x2 grid snapping or is there a way to achiev it? Thanks for any help.

Post Reply

Return to “Modding help”