Now, I want to add a second livery (large logo blue) to appear later on in time. As I understand it, I need to declare:
1 x action 2 for each set of sprites (green and blue)
1 x action 2 for the years each set is valid
1 x action 3 to connect the new vehicle to an existing slot
1 x action 3 for each livery to connect the set IDs to the slot
Making a total of four action 2s and three action 3s. Am I barking up the right tree here, or have I written down a load of essentially random bytes in an attempt to make it look like I know what I'm doing? Any help much appreciated!
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 4)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
// first pseudosprite
0 * 4 0f 00 00 00
// action 8 - 20 bytes - sf 37 - Class 37
1 * 15 08 06 73 66 03 07 43 6c 61 73 73 20 33 37 00
// action 1 - train - two sets of gfx - 4 views
2 * 4 01 00 02 04
// the sprites - BR green
3 C:\MPS\TTD alpha\newgrf\SPRITES\mytrain.pcx 66 8 01 18 8 -3 -10
4 C:\MPS\TTD alpha\newgrf\SPRITES\mytrain.pcx 82 8 09 15 20 -14 -6
5 C:\MPS\TTD alpha\newgrf\SPRITES\mytrain.pcx 114 8 01 12 28 -14 -6
6 C:\MPS\TTD alpha\newgrf\SPRITES\mytrain.pcx 162 8 09 15 20 -4 -7
// the sprites - BR large logo blue
7 C:\MPS\TTD alpha\newgrf\SPRITES\mytrain.pcx 193 8 01 18 8 -3 -10
8 C:\MPS\TTD alpha\newgrf\SPRITES\mytrain.pcx 209 8 09 15 20 -14 -6
9 C:\MPS\TTD alpha\newgrf\SPRITES\mytrain.pcx 241 8 01 12 28 -14 -6
10 C:\MPS\TTD alpha\newgrf\SPRITES\mytrain.pcx 289 8 09 15 20 -4 -7
// 7 - action 2 - train - cargo 0 - one set for moving - one set for loading - use first in both cases
// 8 - action 2 - train - cargo 1 - one set for moving - one set for loading - use second in both cases
7 * 9 02 00 00 01 01 00 00 00 00
8 * 9 02 00 01 01 01 01 00 01 00
9 * 14 02 00 10 81 01 00 ff 01 00 00 27 41 00 00
10 * 14 02 00 11 81 01 00 ff 01 01 00 42 ff 01 00
// action 3 - train - one vehicles - replaces UU 37 - no special graphics - cargo 0
// 11 * 7 03 00 01 0e 00 00 00
11 * 10 03 00 01 0e 01 FF 00 00 00 00
12 * 8 03 00 01 0e 00 00 00 00
13 * 8 03 00 01 0e 01 00 01 00
// action 0 - train - one property - one vehicle - starting at UU 37
// set prop 0 (intro date to 96 37 - 1959) prop 9 (speed to 80 00 - 128kmh)
// prop 0b (power to d6 06 - 1750hp) prop 12 (sprite type to FD - new graphics)
14 * 16 00 00 04 01 0e 00 96 37 09 80 00 0b d6 06 12 FD
// action 4 - train - english - 1 string - starting at UU 37 - 'BR Type 3 Class 37 (Diesel)'
15 * 33 04 00 02 01 0e 42 52 20 54 79 70 65 20 33 20 43 6c 61 73 73 20 33 37 20 28 44 69 65 73 65 6c 29 00