Page 1 of 1

Problems coding callback 19 for aircraft

Posted: 26 Mar 2005 17:24
by DaleStan
I'm trying to code the Chinook to be refittable to:
...
Goods (peice)
Goods (bulk)
Goods (liquid)
...
but instead I'm getting
...
Goods (liquid)
Goods (liquid)
Goods (liquid)
...

If I've coded what I think I coded, 00 (sprite 36) is the CargoID for pax, 01 (sprite 40) for peice, 02 (41) for liquid, and 03 (37) for bulk. The graphics aren't what I want yet, but I thought I'd get this done so that the new sprites could just be dropped in.

Patchman, I have a bit set that says you play DOS TTD, so here's the DOS grf.

Posted: 27 Mar 2005 00:39
by Patchman
Stupid mistake in the docs. You should set misc grf texts using ID D0xx not D4xx. :oops: (The D4xx ID is used internally, which is why I made this mistake... basically, the text is set using D0xx but read using D4xx.)

I'm surprised it didn't blow up, actually...