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

Make maximum speed of current track type accessible for NewGRFs #5052

Closed
DorpsGek opened this issue Feb 8, 2012 · 3 comments
Closed

Make maximum speed of current track type accessible for NewGRFs #5052

DorpsGek opened this issue Feb 8, 2012 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Feb 8, 2012

NG opened the ticket and wrote:

Useful with variable train running costs, would fill the upper two bytes of vehicle variable 4A.

Reported version: Version?
Operating system: All


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

DorpsGek commented Feb 9, 2012

NG wrote:

Little one-liner that should do the trick.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5052#comment10878

@DorpsGek
Copy link
Member Author

Pikka wrote:

Actually, it's more than just track speed limit that is an issue; bridges, too, for example. And most glaringly the new speed limit feature in 1.2.0 RC1.

A much better solution IMO, and one that would not necessarily require grfs to be updated, is for track, bridge, and ordered speed limits to change the vehicle maximum speed as found in var 98 and as reported in the train info window.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5052#comment10919

@DorpsGek
Copy link
Member Author

michi_cc closed the ticket.

Reason for closing: Implemented

In r24246, just differently.


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

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) 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