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

New var 60-x for vehicles #4399

Closed
DorpsGek opened this issue Jan 12, 2011 · 3 comments
Closed

New var 60-x for vehicles #4399

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

Comments

@DorpsGek
Copy link
Member

George opened the ticket and wrote:

R21699

The new 60-x var is required for development of xUSSR set - get vehicle ID at offset. Parameter - offset from the current vehicle (0-7f forward, 80-ff backward)

Reported version: trunk
Operating system: All


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

frosch wrote:

[00:42] can you post some examples what stuff can be archieved with that?
[00:50] The reson to do that is that when I create ARV I can use only first 128 IDs
[00:53] bit 7 would mean flip
[00:54] So, when I ran out of 128 IDs I had to use IDs below 128 to represent the graphics of several vehicles
[00:55] But I can't get information what graphics to use, because I do not know the ID of the previous part
[00:55] because it is a wagon, the ID of the train is useless
[00:57] so you are basically heading for the first articulated part


This comment was imported from FlySpray: https://bugs.openttd.org/task/4399#comment9443

@DorpsGek
Copy link
Member Author

George wrote:

Not only. There are also wagon sections (for example 5 wagon 16-3000 refrigerated section) - a group of wagons that should always go together, but can be assembled in several ways. So I have to check IDs of the 5 previous/ 5 next articulated wagons too.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4399#comment9444

@DorpsGek
Copy link
Member Author

michi_cc closed the ticket.

Reason for closing: Implemented

Can be done with var 61.


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

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