[0.17.76] Train Rectangle Misalignment

Bugs that are actually features.
wizard07ksu
Inserter
Inserter
Posts: 23
Joined: Fri Dec 29, 2017 11:00 am
Contact:

[0.17.76] Train Rectangle Misalignment

Post by wizard07ksu »

When placing an inserter next to a rail segment in a station when a train is in the station, the selector that appears showing the train car affected by the inserter is misaligned with the segment. See figure 1:
Shows misaligned selector.
Shows misaligned selector.
Horizontal misaligned.png (1.13 MiB) Viewed 896 times
This only happens when the inserter is actually adjacent to the rail segment, however:
Shows selector without adjacent inserter
Shows selector without adjacent inserter
Horizontal basic.png (3.59 MiB) Viewed 896 times
To highlight the incorrect placement, I marked up this image:
Highlights misaligned selector
Highlights misaligned selector
Horizontal misaligned (markup).png (1.08 MiB) Viewed 896 times
This even occurs when the target train object isn't a locomotive, or the first object in a train, or the inserter is pointing away from the train:
Misaligned on 3rd object in train, a wagon
Misaligned on 3rd object in train, a wagon
Horizontal wagon.png (1.83 MiB) Viewed 896 times
Since I was trying to place a blueprint when I noticed this, I tried without a blueprint. Same problem:
Misaligned with no blueprint
Misaligned with no blueprint
Horizontal no blueprint.png (627.44 KiB) Viewed 896 times
Vertical trains are still slightly off, though. Here's the basic selector for a vertical train:
Vertical selector without adjacent inserter
Vertical selector without adjacent inserter
Vertical basic.png (2.67 MiB) Viewed 896 times
And a vertical train when I'm placing an inserter adjacent to it:
Vertical selector with adjacent inserter
Vertical selector with adjacent inserter
Vertical misaligned.png (1.84 MiB) Viewed 896 times
But this issue ONLY happens when a train is in the station:
Horizontal no train.png
Horizontal no train.png (1.69 MiB) Viewed 896 times
Vertical no train.png
Vertical no train.png (1.78 MiB) Viewed 896 times
To show where I would expect the highlighting selector to appear, I marked up this image:
Shows where selector is expected to appear
Shows where selector is expected to appear
Vertical basic (markup).png (2.1 MiB) Viewed 896 times
Looking through the debug options all the collision boxes appeared to be correct, so this looks like it might just be a visual thing.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3016
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.17.76] Train Rectangle Misalignment

Post by boskid »

Not a bug

First is to show alignment with train station and is on rails and second is based on selection box for locomotive that renders to show that inserter will connect to given entity.
Post Reply

Return to “Not a bug”