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

Stations: using property 1A sometimes shows incorrect railtype ground tile #6222

Closed
DorpsGek opened this issue Jan 26, 2015 · 3 comments
Closed
Labels
bug Something isn't working component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) needs triage This issue needs further investigation before it becomes actionable

Comments

@DorpsGek
Copy link
Member

mart3p opened the ticket and wrote:

I found this problem when a station is built with one particular railtype from NuTracks 2. The railtype is NuTracks' combined monorail/maglev. Other railtypes work as expected.

I have written a test GRF which is attached, along with a zip file with the source NFO and a sprite sheet. The GRF contains 2 stations. Both are coded using property 1A and are identical, except that the second station has bit 1 set (add offset to sprite) for its platform sprite. The register for this offset is always set to 0. In both cases the ground sprite has no flags set.

In the case of station 1 everything works as expected. Station 2 shows incorrect ground sprites when used with NuTracks combined monorail/maglev.

To reproduce:

  1. Load NuTracks 2 (available from online content download).
  2. Set NuTracks parameter "Force narrow gauge tracks" On. This also makes the combined monorail/maglev railtype available.
  3. Load the test grf supplied "Station property 1A test".
  4. Start a new game in 2020.
  5. Select "Maglev/monorail track construction".
  6. Open the station build menu and select "Station property 1A test".
  7. Build Station 1 - it works correctly and shows the correct ground sprite track graphics.
  8. Build Station 2 - it shows the wrong ground sprite track graphics.

At first, I thought this must be a bug in NuTracks, but I can't see what could cause this problem. And as I said, the ground sprites are coded identically. It is only the platform sprite coding that differs, yet it is effecting the ground sprites.

Using:
OpenTTD 1.5.0-beta1 (also occurs in 1.4.4)
NuTracks 2 r247

Attachments

Reported version: 1.5.0-beta1
Operating system: All


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

DorpsGek commented Mar 8, 2015

frosch wrote:

Test savegame

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6222#comment13809

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) NewStations labels Apr 7, 2018
@TrueBrain TrueBrain added needs triage This issue needs further investigation before it becomes actionable bug Something isn't working and removed bug from FlySpray labels Apr 13, 2018
@frosch123 frosch123 added component: NewGRF This issue is related to NewGRFs and removed NewStations labels Apr 14, 2018
@andythenorth andythenorth added the stale Stale issues label Jan 5, 2019
@andythenorth andythenorth removed the stale Stale issues label Jan 24, 2019
@stale
Copy link

stale bot commented Mar 25, 2019

This issue has been automatically marked as stale because it has not had any activity in the last two months.
If you believe the issue is still relevant, please test on the latest nightly and report back.
It will be closed if no further activity occurs within 7 days.
Thank you for your contributions.

@stale stale bot added the stale Stale issues label Mar 25, 2019
@LordAro
Copy link
Member

LordAro commented Mar 26, 2019

arbitrary bump

@stale stale bot removed the stale Stale issues label Mar 26, 2019
kiwitreekor added a commit to kiwitreekor/OpenTTD that referenced this issue Apr 2, 2019
@PeterN PeterN closed this as completed in bc9b47d Apr 8, 2019
PeterN pushed a commit to PeterN/OpenTTD that referenced this issue Apr 8, 2019
douiwby pushed a commit to douiwby/OpenTTD that referenced this issue Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) needs triage This issue needs further investigation before it becomes actionable
Projects
None yet
Development

No branches or pull requests

5 participants