Coding Help Please!
Posted: 25 Aug 2007 16:10
I'm looking for a little help. I'm in the process of writing my own industries GRF and have run into a problem. The problem is that I can't seem to figure out how action 1/2/3 work -> TTDPatch does not give me an error but the industry refuses to appear. I've managed to get other industries that I'm not changing the graphics for to work, but this is a new industry.
Below is the related code -> my question for you all is -> where did I go wrong?
Any help / comments is much appreciated! Of course, this GRF is far from complete, but once I can figure out how to properly add a new graphic, all will be better.
Below is the related code -> my question for you all is -> where did I go wrong?
Code: Select all
...
101 * 25 0C " Meat Processing Plant "
102 * 17 0C " MPP: Graphics "
103 * 4 01 09 04 03
104 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 642 24 03 32 64 -31 -1
105 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 722 24 03 50 64 -31 -19
106 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 2 88 09 59 64 -31 -28
107 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 82 88 03 31 64 -31 0
108 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 162 88 03 53 64 -31 -22
109 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 242 88 09 64 64 -31 -33
110 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 322 88 03 25 21 -10 -4
111 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 354 88 03 41 23 -11 -20
112 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 386 88 09 41 23 -11 -20
113 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 418 88 03 31 64 -31 0
114 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 498 88 03 31 64 -31 0
115 c:\games\ttwin95\newgrf\occsdefs/occsdefs.pcx 578 88 09 31 64 -31 0
116 * 14 0C " MPP: Tiles "
117 * 16 00 09 04 01 01 0A 04 08 0B 19 08 0C 00 00 0D 10
118 * 16 00 09 04 01 02 0A 04 08 0B 19 08 0C 00 00 0D 10
119 * 16 00 09 04 01 03 0A 04 08 0B 19 08 0C 00 00 0D 10
120 * 16 00 09 04 01 04 0A 04 08 0B 19 08 0C 00 00 0D 10
121 * 38 0C " MPP: Associate Graphics with tiles "
122 * 17 02 09 00 00 00 00 00 00 00 80 00 80 00 00 10 10 25
123 * 17 02 09 01 00 00 00 00 00 01 00 00 80 00 00 10 10 1A
124 * 17 02 09 02 00 00 00 00 00 02 00 00 80 00 00 10 10 11
125 * 17 02 09 03 00 00 00 00 00 03 00 00 80 00 00 10 10 40
126 * 7 03 09 01 00 00 00 00
127 * 7 03 09 01 01 00 01 00
128 * 7 03 09 01 02 00 02 00
129 * 7 03 09 01 03 00 03 00
...
182 * 25 0C " Meat Processing Plant "
183 * 124 00 0A 15 01 05 08 FF 06 07 0B 04 0F CF 10 16 FF 11 04 19 FF FF 12 00 13 00 14 15 15 00 17
05 18 03 19 A2 1A 00 00 00 00 1C 02 00 00 00 1D 00 00 00 00 20 FF FF FF FF 1F 1E DC 0A 01 3E 00 00 00 00
00 FE 00 00 01 00 FE 00 00 02 00 FE 00 00 00 01 FE 00 00 01 01 FE 00 00 02 01 FE 00 00 00 02 FE 00 00 01
02 FE 01 00 02 02 FE 01 00 00 03 FE 02 00 01 03 FE 02 00 02 03 FE 03 00
...