Rolling Stock Collision Box Snap
Posted: Wed Dec 08, 2021 6:07 pm
I would like to see a rework to the way collision boxes for rolling stocks work.
The issue is that trying to align rolling stock is only feasible using straight rails, which kind of forces the player to the short train play style. Most people happily use the golden 1:2 train setup, but I would like to be able to use large trains that encircle a mine many times over etc. The problem is, of course, aligning the stops.
I propose a solution: A rework to rolling stock collision boxes that would allow them to snap to regular positions behind the scenes. There would literally be zero difference in the UI or player perspective.
Here is an attempt to explain: In both examples below, the train head and stop are off the page to the left and across curved rails.
Before:
======-======-======
^^^^^^
Train wagon collision box relative to inserter is a real number. At some values the number pushes off inserter ^ 1 or 6 (or both).
After
======-======-======
^^^^^^
Train visibly is still "off" a little bit, the train is represented graphically how it always was before, but this time the actual collision box that the inserters would interact with is snapped to a number that is aligned with the possible positions of a train stop. Now all 6 inserters would "work" because the collision box was aligned internally.
This wouldn't change the popular 1:2 setup, or any straight rail scenario.
The issue is that trying to align rolling stock is only feasible using straight rails, which kind of forces the player to the short train play style. Most people happily use the golden 1:2 train setup, but I would like to be able to use large trains that encircle a mine many times over etc. The problem is, of course, aligning the stops.
I propose a solution: A rework to rolling stock collision boxes that would allow them to snap to regular positions behind the scenes. There would literally be zero difference in the UI or player perspective.
Here is an attempt to explain: In both examples below, the train head and stop are off the page to the left and across curved rails.
Before:
======-======-======
^^^^^^
Train wagon collision box relative to inserter is a real number. At some values the number pushes off inserter ^ 1 or 6 (or both).
After
======-======-======
^^^^^^
Train visibly is still "off" a little bit, the train is represented graphically how it always was before, but this time the actual collision box that the inserters would interact with is snapped to a number that is aligned with the possible positions of a train stop. Now all 6 inserters would "work" because the collision box was aligned internally.
This wouldn't change the popular 1:2 setup, or any straight rail scenario.