OK, so I've thrown myself into coding trains. For the sake of learning, and the fact that I suck at drawing sprites, I have decoded AndersI's Swedish trains and try to recode parts of it from scratch by myself just to learn. Using the tutorial at TTWiki, GRFspecs and some reverse engineering I think I have learned quite a bit, although I have a question about a string of code I can't get my head around.
Code:
386 * 56 00 00 16 01 18 00 EA 74 03 20 04 32 06 07 05 00 09 B4 00 0B CE 13 0D F0 0E 3C 4C 00 00 13 00 14
00 15 00 16 4E 24 00 17 34 19 30 1B 00 00 1C 00 1F 4E 20 00 21 01 22 38
So far I've figured out the following:
00 - Action 0
00 - Feature (= Train)
16 - No. properties to set
01 - No. vehicles to change
18 - Vehicle ID
00 - ???
What does this 00 do?
Looking at GRFspecs there is no 00-property in Action0 to change.