

Moderator: Graphics Moderators
Code: Select all
12*19 03 00 8D 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 00 01 00
Since you never refered to the callback action2 to change the length of the wagon, the length of the wagons remained the same.Wile E. Coyote wrote:Could you tell me what is this error?
No, Sorry.Wile E. Coyote wrote:Lakie: Did you solved errors in EMU's GRF I sent you?
Code: Select all
// Offset of 08 FF to make it count from the last vehicle in the train
// Although, if the wagons do not appear inside you will get the same bug.
33 * 14 02 00 1A 81 40 08 FF 01 02 00 00 00 00 00
// Callback to avoid problems with the wrong length wagons.
// Basicly the same one as before, just refers to the carrage graphic now.
34 * 14 02 00 1B 81 0C 00 FF 01 00 FF 11 11 01 00
// Just changed it to refer to the action2 id above
35 * 7 03 00 01 37 00 1A 00
// Grouped all the override action3's, also refered them to the callback.
36 * 18 03 00 8D 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 00 1B 00
Code: Select all
// Offset of 08 FF to make it count from the last vehicle in the train
// If it's not the last vehicle it will be the wagon override graphics
33 * 14 02 00 1A 81 40 08 FF 01 02 00 00 00 01 00
// Callback to avoid problems with the wrong length wagons.
// Refers to the above action2 id
34 * 14 02 00 1B 81 0C 00 FF 01 00 FF 11 11 1A 00
35 * 7 03 00 01 37 00 00 00
// Grouped all the override action3's, also refered them to the callback.
36 * 18 03 00 8D 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 00 1B 00
It's common to use one ID for all tenders, but I'm not convinced it's necessary to have a tender ID at all. I think you should be able to use var. 41 to return the correct graphics/lengths/&c. for the different parts. I won't give out advice on how that might work until I have a chance to test it. Oracle, do you want to chime in here?Wile E. Coyote wrote:I coded [the loco and tender] separately in 2 IDs. Is it neceserry?
Users browsing this forum: Bing [Bot] and 6 guests