[0.17.58] Fluid Wagons not aligned with pumps when train stop curves
Posted: Sun Jul 21, 2019 11:03 pm
by Celt
In an effort to compact my base, and given that train stops cannot be set on a curve, In sandbox mode I created/came upon (it's not very revolutionary so it's probably been done before, but not by me) this system, which can fit an extra two wagons - allowing me to have a 4-8 train rather than a 4-6 train in the same space. This works brilliantly for unloading materials, and I am very happy with the design. ( you can compare the left to the right to see how it fits in two extra wagons)
While testing it, however, while cargo wagons unload perfectly well, fluid wagons misalign; and there is no configuration of pumps that will unload it, as can be seen in the image above. I do not believe this is intended; as inserters work perfectly.
Re: [0.17.58] Fluid Wagons not aligned with pumps when train stop curves
Posted: Sun Jul 21, 2019 11:12 pm
by Celt
Observation I've made which makes me certain this is a bug: removing a locomotive at the back and adding it again will "start" the pumps (this seems to shift it the half-tile required to sync it; this may be related to viewtopic.php?f=7&t=73466 ?
Re: [0.17.58] Fluid Wagons not aligned with pumps when train stop curves
Posted: Mon Jul 22, 2019 7:59 am
by posila
Thanks for taking the time to write up the report.
This is not a bug. When we decided to make a pump to connect to fluid wagons from top, we knew wagons will have to be in some precise position in order to connector graphics (and mainly it's shadow) match the wagon graphics. At the time we thought this restriction would be of no consequences because nobody would build a train station on a curve, and the most annoying thing about it would be that you would have to build a new train outside of station and set it to ride into the station so it ends up being aligned correctly. We fixed that annoyence by making locomotives snap to a train stop when placing them. Well, it was wrong to think nobody builds stations on a curve, so if we ever get to redoing pump connector, we'll probably change it to connect differently, so the limitaion doesn't need to exist.
As for reconnecting the last locomotive. Connecting wagons or locomotives can shift the train a little bit, and in your case it does shift it to position that looks to pumps like it is aligned, but it is not (see the picture), so that's a minor bug.