I was affraid of that...
I used fake trailer to display tram without trailer:
Code: Select all
110 * 9 02 01 00 01 01 00 00 00 00
//tram
111 * 9 02 01 01 01 01 01 00 01 00
//trailer
112 * 14 02 01 02 81 0C 00 FF 01 03 FF 11 11 00 00
//shortened tram, c-id 02
113 * 14 02 01 03 81 0C 00 FF 01 03 FF 11 11 01 00
//shortened trailer, c-id 03
114 * 4 01 01 01 01
115 c:\igre\ttwin95\sprites/srvttw.pcx 178 104 09 1 1 0 0
116 * 9 02 01 04 01 01 00 00 00 00
//fake trailer
117 * 14 02 01 05 81 0C 00 FF 01 08 FF 11 11 04 00
//shortened fake trailer, c-id 05
118 * 14 02 01 10 81 41 00 01 01 02 00 00 00 05 00
//sprite layout (tram + fake trailer)
119 * 14 02 01 11 81 10 00 FF 01 47 FF 01 01 FF FF
//build one more vehicle with ID 47
120 * 18 02 01 13 81 0C 00 FF 02 11 00 16 16 22 FF 15 15 10 00
//callbacks: build articulated vehicle, set refitted capacity, else sprite layout, c-id 13
121 * 14 02 01 20 81 41 00 01 01 02 00 00 00 03 00
//sprite layout (tram + trailer)
122 * 14 02 01 21 81 10 00 FF 01 47 FF 01 01 FF FF
//build one more vehicle with ID 47
123 * 18 02 01 23 81 0C 00 FF 02 21 00 16 16 44 FF 15 15 20 00
//callbacks: build articulated vehicle, set refitted capacity, else sprite layout, c-id 13
124 * 18 02 01 30 81 F2 00 FF 02 30 FF 00 00 31 FF 01 01 FF FF
//text cycle
125 * 14 02 01 31 81 F2 00 FF 01 23 00 01 01 13 00
//vehicles cycle
126 * 18 02 01 39 81 10 00 FF 02 49 FF 01 02 0E FF 03 03 4A FF
//sound effects
127 * 18 02 01 40 81 0C 00 FF 02 30 00 19 19 39 00 33 33 31 00
//callbacks: cargo sub-type cycle, sound effects, else vehicles cycle
128 * 7 03 01 01 47 00 40 00//assign c-id 40 to ID 47
Of course, I set bit for refitted capacity in Action 0 as well. But when I click on refit, Patch crashes without crashlog. Did I make mistake, or I wish impossible thing again, or it's bug in Patch?
(With OTTD there is no crash, but all capacities, even in buy list, are doubled.)