jonty-comp wrote:Hey, would someone please mind giving me an idiot's guide to making steam engines with tenders?
... I can't figure out how you make it attach to the rest of the engine when you buy it.
Callback 16
lws1984 wrote:ERm.... thanks DaleStan, but there appears to not be a CB19 section of an Action 2 chain, nor is there a place for variables in the graphics section.
"CB19" is my lazy way of referring to callback 19. Do something like:
Code: Select all
1*0 04 00 9F 02 00 D0 " first livery" 00 " second livery" 00
2*0 01 00 02 08
//sprites for first livery
//sprites for second livery
3*0 02 00 00 01 01 00 00 00 00
4*0 02 00 01 01 01 01 00 01 00
5*0 02 00 02 81 F2 00 FF 01 00 00 00 00 01 00 // Select graphics (first livery if F2==00, second livery else (if F2==01))
6*0 02 00 03 81 F2 00 FF 02 00 FF 00 00 01 FF 01 01 FF FF // return texts for CB19 ((D0)00 for F2==00, (D0)01 for F2==01, FF else)
7*0 02 00 04 81 0C 00 FF 01 03 00 19 19 02 00 // Check for CB19
8*0 03 00 01 XX 00 04 00
As I've mentioned, I don't use GRFMaker, but that's the NFO for doing two liveries.
To add a third livery, add a third string to sprite 1, a third set of sprites after sprite 2, a third copy of sprite 3/4, and an additional option to sprites 5 and 6.