[1.1.97] Pump connects misaligned to train
-
- Inserter
- Posts: 40
- Joined: Mon Dec 18, 2017 8:33 pm
- Contact:
[1.1.97] Pump connects misaligned to train
oil train outpost blueprint attached.
the pumps don't align graphically but attached to the train ok- Attachments
-
- Oil Blueprint.txt
- (6.84 KiB) Downloaded 71 times
Re: [1.1.97] Pump connects misaligned to train
Last edited by disentius on Tue Nov 21, 2023 9:30 am, edited 1 time in total.
-
- Inserter
- Posts: 40
- Joined: Mon Dec 18, 2017 8:33 pm
- Contact:
Re: [1.1.97] Pump connects misaligned to train
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
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
Re: [1.1.97] Pump connects misaligned to train
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.
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.
Re: [1.1.97] Pump connects misaligned to train
I had not looked properly... excuse me.