Having fun with sprite replacement
Posted: 27 Apr 2004 00:14
A complete grf file:
All this is supposed to do is replace the bus that shows up in the colour selection window, so you can see a particular vehicle in all its player-colour permutations. Find attached an enlarged view of the unit in question, and how the thing looks in the colour selector.
Note that the actual .pcx file does not have the white border. Both pictures scaled to 200%.
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 4)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4 03 00 00 00
1 * 48 08 06 43 4A FF 01 4C 69 76 65 72 79 20 63 68 65 63 6B 65 72 00 32 30 30 34 20 43 68 72 69 73 20 4D 2E 20 4A 61 63 6B 73 6F 6E 20 2D 20 47 50 00
2 * 5 0A 01 01 1A 0C
3 E:\MPS\TTWin95\newgrf\SPRITES\replace.pcx 0 0 01 12 32 -16 -6
Note that the actual .pcx file does not have the white border. Both pictures scaled to 200%.