[1.1.97] Pump connects misaligned to train

Things that we don't consider worth fixing at this moment.
studix2002
Inserter
Inserter
Posts: 40
Joined: Mon Dec 18, 2017 8:33 pm
Contact:

[1.1.97] Pump connects misaligned to train

Post by studix2002 »

oil train outpost blueprint attached.
Graphical Glitch.png
Graphical Glitch.png (545.87 KiB) Viewed 1481 times
the pumps don't align graphically but attached to the train ok
Attachments
Oil Blueprint.txt
(6.84 KiB) Downloaded 71 times
User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: [1.1.97] Pump connects misaligned to train

Post by disentius »

Not a bug. your train (including locomotive) has to be on a straight section of track for pumps to align.
Last edited by disentius on Tue Nov 21, 2023 9:30 am, edited 1 time in total.
studix2002
Inserter
Inserter
Posts: 40
Joined: Mon Dec 18, 2017 8:33 pm
Contact:

Re: [1.1.97] Pump connects misaligned to train

Post by studix2002 »

you are incorrect disentius

1. the lead locomotive only has to on straight rail.
2. the pumps are working but graphically are misaligned...so there is a bug there somewhere...either the pumps should'nt work in their current position or the graphics should align correctly
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3188
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.97] Pump connects misaligned to train

Post by boskid »

Thanks for the report. I am going to move this to "wont fix".

Pump to fluid wagon sprites are prepared for a specific fluid wagon offsets under assumption that entire train is standing only on straight rails. In this specific scenario front rolling stock is standing partially on the curved rails which causes all fluid wagons sprites to be slightly shifted because of vertical selection shift logic. GFX team is not willing to rework pump sprites right now and is not willing to give up on the vertical selection logic, whenever any part of the train is on curved rails there may or may not be misalignment happening and it goes into undefined behavior because vertical selection shift is ugly hack which makes them apparently look better in some cases. If that train would not have locomotives facing the other way then it would work correctly because front rolling stock would be deduced to be on the bottom of this contraption and fluid wagons would have 0 vertical selection shift applied however directly after this blueprint is built, given there is equal amount of locomotives facing both train ends, selected front is not one next to the train stop in this specific case, vertical selection shift over fluid wagons is large and so the pumps misalignment.
User avatar
disentius
Filter Inserter
Filter Inserter
Posts: 694
Joined: Fri May 12, 2017 3:17 pm
Contact:

Re: [1.1.97] Pump connects misaligned to train

Post by disentius »

I had not looked properly... excuse me.
Post Reply

Return to “Won't fix.”