Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad train alignment in stations #4545

Closed
DorpsGek opened this issue Mar 5, 2011 · 1 comment
Closed

Bad train alignment in stations #4545

DorpsGek opened this issue Mar 5, 2011 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Mar 5, 2011

mb opened the ticket and wrote:

When adjusting offsets for "short" train vehicles, I noticed that train positioning is weird in OTTD, see picture. The "test train" is composed of one 12px and two 16px vehicles (although 4 bounding boxes are shown ...). Dimensions and offsets are as follows:

12px:
11 8 -3 -12
12 12 -4 -9
12 12 4 -8
12 12 4 -4
11 8 -3 -2
12 12 -14 -4
12 12 -16 -8
12 12 -6 -9

16px:
15 8 -3 -12
13 14 -6 -9
12 16 0 -8
13 14 2 -5
15 8 -3 -4
13 14 -14 -5
12 16 -16 -8
13 14 -6 -9

Property 21 is set to "5" for the 12px and to "4" for the 16px vehicle.

(Twiddling offsets to compensate for this wouldn´t be a solution because of other nasty mis-positionings in succession.)

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4545
@DorpsGek
Copy link
Member Author

DorpsGek commented Mar 6, 2011

Rubidium closed the ticket.

Reason for closing: Fixed

(possibly, as I can't confirm you exact case due to the lack of a test NewGRF) in r22206.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4545

@DorpsGek DorpsGek closed this as completed Mar 6, 2011
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant