OpenTTD

Tasklist

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

Attached to Project: OpenTTD
Opened by andythenorth (andythenorth) - Saturday, 22 January 2011, 21:48 GMT
Last edited by Peter Nelson (peter1138) - Monday, 13 March 2017, 21:06 GMT
Type Patch
Category NewGRF
Status Closed
Assigned To andythenorth (andythenorth)
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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).


This task depends upon

Closed by  Peter Nelson (peter1138)
Monday, 13 March 2017, 21:06 GMT
Reason for closing:  Requested by user
Comment by andythenorth (andythenorth) - Saturday, 22 January 2011, 22:00 GMT
Test version of HEQS grf using cb 15E (use Gmund Mog rail vehicle).
Comment by Thomas Mjelva (djnekkid) - Sunday, 23 January 2011, 16:55 GMT
it isnt possible to use 'type' 82 on a wagon to do this? (-1 * 0 02 00 ID 82 0C 00 FF .......)
Comment by andythenorth (andythenorth) - Monday, 24 January 2011, 09:47 GMT
What's the related item in 1D? The wagon trying to attach? If that's the case, we missed it :o
Comment by frosch (frosch) - Monday, 24 January 2011, 18:29 GMT
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.)
Comment by andythenorth (andythenorth) - Monday, 24 January 2011, 18:39 GMT
Thought so :) When I tried, I couldn't see a way to have 1D do what 15E does.
Comment by Thomas Mjelva (djnekkid) - Tuesday, 25 January 2011, 08:13 GMT
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
Comment by andythenorth (andythenorth) - Tuesday, 25 January 2011, 09:20 GMT
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

Loading...