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

Add cb15e - will this wagon permit attaching to a consist? #4437

Closed
DorpsGek opened this issue Jan 22, 2011 · 8 comments
Closed

Add cb15e - will this wagon permit attaching to a consist? #4437

DorpsGek opened this issue Jan 22, 2011 · 8 comments
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

andythenorth opened the ticket and wrote:

Callback 15E is intended to complement cb 1D.

This new cb allows a wagon to determine if it can be attached to a consist (cb 1D does a similar thing, but lead vehicle determines attachment).

Attachments

Reported version: trunk
Operating system: All


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

andythenorth wrote:

Test version of HEQS grf using cb 15E (use Gmund Mog rail vehicle).

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4437#comment9522

@DorpsGek
Copy link
Member Author

djnekkid wrote:

it isnt possible to use 'type' 82 on a wagon to do this? (-1 * 0 02 00 ID 82 0C 00 FF .......)


This comment was imported from FlySpray: https://bugs.openttd.org/task/4437#comment9524

@DorpsGek
Copy link
Member Author

andythenorth wrote:

What's the related item in 1D? The wagon trying to attach? If that's the case, we missed it :o


This comment was imported from FlySpray: https://bugs.openttd.org/task/4437#comment9525

@DorpsGek
Copy link
Member Author

frosch wrote:

For both callbacks the main vehicle is the wagon and the related vehicle is the front engine.

(CB 1D is a very special case, which is called for the engine's action3 but with the wagon as main vehicle for the variables.)


This comment was imported from FlySpray: https://bugs.openttd.org/task/4437#comment9530

@DorpsGek
Copy link
Member Author

andythenorth wrote:

Thought so :) When I tried, I couldn't see a way to have 1D do what 15E does.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4437#comment9532

@DorpsGek
Copy link
Member Author

djnekkid wrote:

as i assume you dont want to, for example, attach a coal waggon when a pax coach is in the consist, i would think that useing 'type 82' and callback 1D on the pax wagon you would not be able to attach the coal wagon. I have not tested this tho, but it seems 'logical' :D


This comment was imported from FlySpray: https://bugs.openttd.org/task/4437#comment9535

@DorpsGek
Copy link
Member Author

andythenorth wrote:

He :) Might work.

But it means (for example) if I want to control how a wagon in my set attaches to a consist, I have to go and enable cb 1D for every other vehicle that it shouldn't attach to in every other trainset that exists. It's possible, but unlikely :D


This comment was imported from FlySpray: https://bugs.openttd.org/task/4437#comment9536

@DorpsGek
Copy link
Member Author

peter1138 closed the ticket.

Reason for closing: Requested by user


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

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) component: NewGRF This issue is related to NewGRFs patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant