Additional references

Animation speed

House, industry and airport tiles can define an animation speed. This property gives the animation speed in ticks, spaced by powers of two. For houses the minimum value is 2 (=4 ticks). The ingame length as well real length is given as rounded values for reference only, assuming normal game speed.
valueanimation
length in ticks
ingamereal time
010.03 s
120.06 s
240.11 s
380.22 s
4160.45 s
532half a day0.9 s
664nearly 1 day1.8 s
71282 days3½ s
82563½ days7 s
95127 days15 s
10102414 days30 s
11204828 days1 min
12409655 days2 min
1381923½ months4 min
14163847½ months7½ min
153276815 months15 min
16655362½ years30 min

Default industries

Default industry tiles

00..06coal mine
07..10power station
11..15sawmill
16..17forest
18..23oil refinery
24..28oil rig
29..32oil wells
33..38farm
39..42factory (temperate climate)
43..45printing works
47..51copper ore mine
52..57steel mill
58..59bank (temperate climate)
60..63food processing plant
64..71paper mill
72..88gold mine
89..90bank (sub-arctic or sub-tropical climate)
91..99diamond mine
100..115iron ore mine
116fruit plantation
117rubber plantation
118..119water supply
120water tower
121..124factory (sub-tropical climate)
125..128lumber mill
129..130candyfloss forest
131..134sweet factory
135..136battery farm
137cola wells
138..141toy shop
142..147toy factory
148..155plastic fountains (various stages of cyclic animation)
156..159fizzy drink factory
160..163bubble generator
164..166toffee quarry
167..174sugar mine

Base cost table

NumberIdentifierCategoryDefault valueVersionRemarks
0PR_STATION_VALUE-100Used for some misc. purposes
1PR_BUILD_RAILPR_CONSTRUCTION100
2PR_BUILD_ROADPR_CONSTRUCTION95
3PR_BUILD_SIGNALSPR_CONSTRUCTION65
4PR_BUILD_BRIDGEPR_CONSTRUCTION275
5PR_BUILD_DEPOT_TRAINPR_CONSTRUCTION600Affects PR_BUILD_WAYPOINT_RAIL (*)
6PR_BUILD_DEPOT_ROADPR_CONSTRUCTION500
7PR_BUILD_DEPOT_SHIPPR_CONSTRUCTION700
8PR_BUILD_TUNNELPR_CONSTRUCTION450
9PR_BUILD_STATION_RAILPR_CONSTRUCTION200Cost per tile
10PR_BUILD_STATION_RAIL_LENGTHPR_CONSTRUCTION180Cost per platform (*)
11PR_BUILD_STATION_AIRPORTPR_CONSTRUCTION600
12PR_BUILD_STATION_BUSPR_CONSTRUCTION200
13PR_BUILD_STATION_TRUCKPR_CONSTRUCTION200
14PR_BUILD_STATION_DOCKPR_CONSTRUCTION350Affects PR_BUILD_WAYPOINT_BUOY (*)
15PR_BUILD_VEHICLE_TRAINPR_BUILD_VEHICLE400000 (**)
16PR_BUILD_VEHICLE_WAGONPR_BUILD_VEHICLE2000 (**)
17PR_BUILD_VEHICLE_AIRCRAFTPR_BUILD_VEHICLE700000 (**)
18PR_BUILD_VEHICLE_ROADPR_BUILD_VEHICLE14000 (**)
19PR_BUILD_VEHICLE_SHIPPR_BUILD_VEHICLE65000 (**)
20PR_BUILD_TREESPR_CONSTRUCTION20
21PR_TERRAFORMPR_CONSTRUCTION250Affects PR_BUILD_FOUNDATION (*)
22PR_CLEAR_GRASSPR_CONSTRUCTION20
23PR_CLEAR_ROUGHPR_CONSTRUCTION40Affects PR_*_UNMOVABLE (*)
24PR_CLEAR_ROCKSPR_CONSTRUCTION200
25PR_CLEAR_FIELDSPR_CONSTRUCTION500
26PR_CLEAR_TREESPR_CONSTRUCTION20
27PR_CLEAR_RAILPR_CONSTRUCTION-70
28PR_CLEAR_SIGNALSPR_CONSTRUCTION10
29PR_CLEAR_BRIDGEPR_CONSTRUCTION50Affects PR_CLEAR_AQUEDUCT (*)
30PR_CLEAR_DEPOT_TRAINPR_CONSTRUCTION80Affects PR_CLEAR_WAYPOINT_RAIL (*)
31PR_CLEAR_DEPOT_ROADPR_CONSTRUCTION80
32PR_CLEAR_DEPOT_SHIPPR_CONSTRUCTION90
33PR_CLEAR_TUNNELPR_CONSTRUCTION30
34PR_CLEAR_WATERPR_CONSTRUCTION10000Affects PR_*_CANAL, PR_*_LOCK and PR_BUILD_AQUEDUCT (*)
35PR_CLEAR_STATION_RAILPR_CONSTRUCTION50
36PR_CLEAR_STATION_AIRPORTPR_CONSTRUCTION30
37PR_CLEAR_STATION_BUSPR_CONSTRUCTION50
38PR_CLEAR_STATION_TRUCKPR_CONSTRUCTION50Affects PR_CLEAR_WAYPOINT_BUOY (*)
39PR_CLEAR_STATION_DOCKPR_CONSTRUCTION55
40PR_CLEAR_HOUSEPR_CONSTRUCTION1600Affects PR_CLEAR_INDUSTRY (*)
41PR_CLEAR_ROADPR_CONSTRUCTION40
42PR_RUNNING_TRAIN_STEAMPR_RUNNING5600 (**)
43PR_RUNNING_TRAIN_DIESELPR_RUNNING5200 (**)
44PR_RUNNING_TRAIN_ELECTRICPR_RUNNING4800 (**)
45PR_RUNNING_AIRCRAFTPR_RUNNING9600 (**)
46PR_RUNNING_ROADVEHPR_RUNNING1600 (**)
47PR_RUNNING_SHIPPR_RUNNING5600 (**)
48PR_BUILD_INDUSTRYPR_CONSTRUCTION1000000Affects PR_TOWN_ACTION, PR_BUILD_INDUSTRY_RAW and PR_BUILD_TOWN (*)
49PR_CLEAR_INDUSTRYPR_CONSTRUCTION1600OTTD r18283Affected by PR_CLEAR_HOUSE (*)
50PR_BUILD_UNMOVABLEPR_CONSTRUCTION40OTTD r18283Affected by PR_CLEAR_ROUGH (*)
51PR_CLEAR_UNMOVABLEPR_CONSTRUCTION40OTTD r18283Affected by PR_CLEAR_ROUGH (*)
52PR_BUILD_WAYPOINT_RAILPR_CONSTRUCTION600OTTD r18283Affected by PR_BUILD_DEPOT_TRAIN (*)
53PR_CLEAR_WAYPOINT_RAILPR_CONSTRUCTION80OTTD r18283Affected by PR_CLEAR_DEPOT_TRAIN (*)
54PR_BUILD_WAYPOINT_BUOYPR_CONSTRUCTION350OTTD r18283Affected by PR_BUILD_STATION_DOCK (*)
55PR_CLEAR_WAYPOINT_BUOYPR_CONSTRUCTION50OTTD r18283Affected by PR_CLEAR_WAYPOINT_BUOY (*)
56PR_TOWN_ACTIONPR_CONSTRUCTION1000000OTTD r18283Interactions with local authority, affected by PR_BUILD_INDUSTRY (*)
57PR_BUILD_FOUNDATIONPR_CONSTRUCTION250OTTD r18283Affected by PR_BUILD_FOUNDATION (*)
58PR_BUILD_INDUSTRY_RAWPR_CONSTRUCTION8000000OTTD r18283Directly building (not prospecting) raw industries, affected by PR_BUILD_INDUSTRY (*)
59PR_BUILD_TOWNPR_CONSTRUCTION1000000OTTD r18283Affected by PR_BUILD_INDUSTRY (*)
60PR_BUILD_CANALPR_CONSTRUCTION5000OTTD r19720Affected by PR_CLEAR_WATER (*)
61PR_CLEAR_CANALPR_CONSTRUCTION5000OTTD r19720Affected by PR_CLEAR_WATER (*)
62PR_BUILD_AQUEDUCTPR_CONSTRUCTION10000OTTD r19720Affected by PR_CLEAR_WATER (*)
63PR_CLEAR_AQUEDUCTPR_CONSTRUCTION2000OTTD r19720Affected by PR_CLEAR_BRIDGE (*)
64PR_BUILD_LOCKPR_CONSTRUCTION7500OTTD r19720Affected by PR_CLEAR_WATER (*)
65PR_CLEAR_LOCKPR_CONSTRUCTION2000OTTD r19720Affected by PR_CLEAR_WATER (*)

(*) Recent OpenTTD versions have added a number of base costs. To keep compatibility with earlier grfs, a number of 'old' base costs override the 'new' ones if the 'new' costs are not set separately. These cases are marked in the table. To avoid this behaviour always set the 'new' cost to 0 if you are changing the 'old' cost but want to keep the new one unchanged. Note that this may override other grfs that change base costs, but this is currently unavoidable.

(**) In TTDPatch and OpenTTD before r18268, setting these costs affects all vehicles. In OpenTTD after r18268, they apply only to vehicles defined by the grf, if said grf defines any vehicles of the related type itself. Else, they have an effect on all vehicles of the appropriate type.

List of sound effects

List of default vehicle IDs

List of default rail engines

NumberNameweight (ton)cargo_capacitycost_factorspeed (km/h)power (hp)running_cost_factorclimates
0Kirby Paul Tank (Steam) 47076430050Temperate
1MJS 250 (Diesel) 65088060065Arctic, Tropical
2Ploddyphut Choo-Choo 900107240090Toyland
3Powernaut Choo-Choo 13001596900130Toyland
4Mightymover Choo-Choo 1400191121000145Toyland
5Ploddyphut Diesel 950161201400125Toyland
6Powernaut Diesel 1200201522000135Toyland
7Wills 2-8-0 (Steam) 145014881100130Arctic, Tropical
8Chaney 'Jubilee' (Steam) 1310131121000120Temperate
9Ginzu 'A4' (Steam) 1620191281200140Temperate
10SH '8P' (Steam) 1700221441600130Temperate
11Manley-Morel DMU (Diesel) 32381111260085Temperate
12'Dash' (Diesel) 38401412070070Temperate
13SH/Hendry '25' (Diesel) 72015128125095Temperate
14UU '37' (Diesel) 1010171441750120Temperate
15Floss '47' (Diesel) 1120181602580140Temperate
16CS 4000 (Diesel) 150023964000135Arctic, Tropical
17CS 2400 (Diesel) 1200161122400105Arctic, Tropical
18Centennial (Diesel) 2070301126600155Arctic, Tropical
19Kelling 3100 (Diesel) 1100181041500105Arctic, Tropical
20Turner Turbo (Diesel) 950351603500205Arctic, Tropical
21MJS 1000 (Diesel) 1200211042200145Arctic, Tropical
22SH '125' (Diesel) 704202004500190Temperate
23SH '30' (Electric) 840261603600180Temperate
24SH '40' (Electric) 820301765000205Temperate
25'T.I.M.' (Electric) 900402407000240Temperate
26'AsiaStar' (Electric) 950432648000250Temperate

List of default rail wagons

NumberNameweight (ton)cargo_capacitycost_factor
27Passenger Carriage 2540247
28Mail Van 2130228
29Coal Truck 1830176
30Oil Tanker 2430200
31Livestock Van 2025192
32Goods Van 2125190
33Grain Hopper 1930182
34Wood Truck 1630181
35Iron Ore Hopper 1930179
36Steel Truck 1820196
37Armoured Van 3020255
38Food Van 2225191
39Paper Truck 1820196
40Copper Ore Hopper 1930179
41Water Tanker 2525199
42Fruit Truck 1825182
43Rubber Truck 1921185
44Sugar Truck 1930176
45Candyfloss Hopper 2030178
46Toffee Hopper 2030192
47Bubble Van 2120190
48Cola Tanker 2425182
49Sweet Van 2125181
50Toy Van 2120183
51Battery Truck 1822196
52Fizzy Drink Truck 1825193
53Plastic Truck 1830191

List of default monorail engines

NumberNameweight (ton)cargo_capacitycost_factorspeed (km/h)power (hp)running_cost_factorclimates
54'X2001' (Electric) 950523049000230Temperate
55'Millennium Z1' (Electric) 85256033610000240Temperate
56Wizzowow Z99 950533205000230Toyland

List of default monorail wagons

NumberNameweight (ton)cargo_capacitycost_factor
57Passenger Carriage 2545247
58Mail Van 2135228
59Coal Truck 1835176
60Oil Tanker 2435200
61Livestock Van 2030192
62Goods Van 2130190
63Grain Hopper 1935182
64Wood Truck 1635181
65Iron Ore Hopper 1935179
66Steel Truck 1825196
67Armoured Van 3025255
68Food Van 2230192
69Paper Truck 1825196
70Copper Ore Hopper 1935179
71Water Tanker 2530199
72Fruit Truck 1830182
73Rubber Truck 1926185
74Sugar Truck 1925176
75Candyfloss Hopper 2035178
76Toffee Hopper 2035192
77Bubble Van 2125190
78Cola Tanker 2430182
79Sweet Van 2130181
80Toy Van 2125183
81Battery Truck 1827196
82Fizzy Drink Truck 1830193
83Plastic Truck 1835191

List of default maglev engines

NumberNameweight (ton)cargo_capacitycost_factorspeed (km/h)power (hp)running_cost_factorclimates
84Lev1 'Leviathan' (Electric) 10507040010000250Temperate
85Lev2 'Cyclops' (Electric) 12007444812000253Temperate
86Lev3 'Pegasus' (Electric) 13008248015000254Temperate
87Lev4 'Chimaera' (Electric) 15009564020000255Temperate
88Wizzowow Rocketeer 12007048010000250Toyland

List of default maglev wagons

NumberNameweight (ton)cargo_capacitycost_factor
89Passenger Carriage 2547247
90Mail Van 2137228
91Coal Truck 1837176
92Oil Tanker 2437200
93Livestock Van 2032192
94Goods Van 2132190
95Grain Hopper 1937182
96Wood Truck 1637181
97Iron Ore Hopper 1937179
98Steel Truck 1827196
99Armoured Van 3027255
100Food Van 2232191
101Paper Truck 1827196
102Copper Ore Hopper 1937179
103Water Tanker 2532199
104Fruit Truck 1832182
105Rubber Truck 1928185
106Sugar Truck 1937176
107Candyfloss Hopper 2037178
108Toffee Hopper 2037192
109Bubble Van 2127190
110Cola Tanker 2432182
111Sweet Van 2132181
112Toy Van 2127183
113Battery Truck 1829196
114Fizzy Drink Truck 1832193
115Plastic Truck 1837191

List of default busses

NumberName
00MPS Regal Bus
01Hereford Leopard Bus
02Foster Bus
03Foster MkII Superbus
04Ploddyphut MkI Bus
05Ploddyphut MkII Bus
06Ploddyphut MkIII Bus

List of default trucks

NumberName
07Balogh Coal Truck
08Uhl Coal Truck
09DW Coal Truck
10MPS Mail Truck
11Reynard Mail Truck
12Perry Mail Truck
13MightyMover Mail Truck
14Powernaught Mail Truck
15Wizzowow Mail Truck
16Witcombe Oil Tanker
17Foster Oil Tanker
18Perry Oil Tanker
19Talbott Livestock Van
20Uhl Livestock Van
21Foster Livestock Van
22Balogh Goods Truck
23Craighead Goods Truck
24Goss Goods Truck
25Hereford Grain Truck
26Thomas Grain Truck
27Goss Grain Truck
28Witcombe Wood Truck
29Foster Wood Truck
30Moreland Wood Truck
31MPS Iron Ore Truck
32Uhl Iron Ore Truck
33Chippy Iron Ore Truck
34Balogh Steel Truck
35Uhl Steel Truck
36Kelling Steel Truck
37Balogh Armoured Truck
38Uhl Armoured Truck
39Foster Armoured Truck
40Foster Food Van
41Perry Food Van
42Chippy Food Van
43Uhl Paper Truck
44Balogh Paper Truck
45MPS Paper Truck
46MPS Copper Ore Truck
47Uhl Copper Ore Truck
48Goss Copper Ore Truck
49Uhl Water Tanker
50Balogh Water Tanker
51MPS Water Tanker
52Balogh Fruit Truck
53Uhl Fruit Truck
54Kelling Fruit Truck
55Balogh Rubber Truck
56Uhl Rubber Truck
57RMT Rubber Truck
58MightyMover Sugar Truck
59Powernaught Sugar Truck
60Wizzowow Sugar Truck
61MightyMover Cola Truck
62Powernaught Cola Truck
63Wizzowow Cola Truck
64MightyMover Candyfloss Truck
65Powernaught Candyfloss Truck
66Wizzowow Candyfloss Truck
67MightyMover Toffee Truck
68Powernaught Toffee Truck
69Wizzowow Toffee Truck
70MightyMover Toy Van
71Powernaught Toy Van
72Wizzowow Toy Van
73MightyMover Sweet Lorry
74Powernaught Sweet Lorry
75Wizzowow Sweet Lorry
76MightyMover Battery Truck
77Powernaught Battery Truck
78Wizzowow Battery Truck
79MightyMover Fizzy Drink Truck
80Powernaught Fizzy Drink Truck
81Wizzowow Fizzy Drink Truck
82MightyMover Plastic Truck
83Powernaught Plastic Truck
84Wizzowow Plastic Truck
85MightyMover Bubble Truck
86Powernaught Bubble Truck
87Wizzowow Bubble Truck

List of default ships

NumberName
0MPS Oil Tanker
1CS-Inc. Oil Tanker
2MPS Passenger Ferry
3FFP Passenger Ferry
4Bakewell 300 Hovercraft
5Chugger-Chug Passenger Ferry
6Shivershake Passenger Ferry
7Yate Cargo ship
8Bakewell Cargo ship
9Mightymover Cargo ship
10Powernaut Cargo ship

List of default planes

NumberName
00Sampson U52
01Coleman Count
02FFP Dart
03Yate Haugan
04Bakewell Cotswald LB-3
05Bakewell Luckett LB-8
06Bakewell Luckett LB-9
07Bakewell Luckett LB80
08Bakewell Luckett LB-10
09Bakewell Luckett LB-11
10Yate Aerospace YAC 1-11
11Darwin 100
12Darwin 200
13Darwin 300
14Darwin 400
15Darwin 500
16Darwin 600
17Guru Galaxy
18Airtaxi A21
19Airtaxi A31
20Airtaxi A32
21Airtaxi A33
22Yate Aerospace YAe46
23Dinger 100
24AirTaxi A34-1000
25Yate Z-Shuttle
26Kelling K1
27Kelling K6
28Kelling K7
29Darwin 700
30FFP Hyperdart 2
31Dinger 200
32Dinger 1000
33Ploddyphut 100
34Ploddyphut 500
35Flashbang X1
36Juggerplane M1
37Flashbang Wizzer

List of default helicopters

NumberName
38Tricario Helicopter
39Guru X2 Helicopter
40Powernaut Helicopter

List of default houses and their properties

NumberNameClimateTown
zones
FlagsMinimum
year
built
Last
year
built
PopulationMail
generation
Passenger
acceptance
Mail
acceptance
Goods
acceptance
Remove
ratings
decrease
Remove
cost
multiplier
00tall office blocktemperateCENTRESIZE_1x11963 none18770834140150
01office blocktemperateINNER_SUBURB, CENTRESIZE_1x11957none8555 834130140
02small block of flatstemperate OUTSKIRT .. INNER_SUBURBSIZE_1x11968none4020831 90100
03churchtemperateEDGE ... INNER_SUBURBSIZE_1x11930 none5220023090
04large office blocktemperate, sub-arctic, subtropicalCENTRESIZE_1x1, ANIMATE1975none220851046160160
05large office blocksnow CENTRESIZE_1x1, ANIMATE1975none220851046 160160
06town housestemperateEDGE ... INNER_SUBURBSIZE_1x11930none30124108080
07hotel (N part)temperateOUTER_SUBURB, CENTRESIZE_1x21959none14022 612150180
08hotel (E part)N/A1959none022612150 180
09statuetemperate, sub-arctic, subtropicalINNER_SUBURB, CENTRESIZE_1x11945none 002004065
10 fountain temperate, sub-arctic, subtropicalCENTRESIZE_1x11945none002 004065
11park (with a pond)temperateOUTER_SUBURBSIZE_1x11930none0020075 60
12park (with an alley)temperateINNER_SUBURBSIZE_1x11935none002007560
13 office block temperateINNER_SUBURB, CENTRESIZE_1x11951none150658 24110130
14shops and offices 1temperateOUTER_SUBURB ... CENTRESIZE_1x1193019609548623100 110
15shops and offices 2temperateOUTER_SUBURB ... CENTRESIZE_1x119301960 9548623100105
16 shops and offices 3 temperateOUTER_SUBURB ... CENTRESIZE_1x11930196095486 23100107
17modern office buildingtemperate, sub-arctic, subtropicalCENTRESIZE_1x11977none130501036150 200
18warehousetemperateCENTRESIZE_1x11983none 610638110145
19 office block (with spiral stairway) temperateCENTRESIZE_1x11985none11055626110155
20stadium (N part)temperateEDGE ... INNER_SUBURBSIZE_2x21930none655400300 250
21stadium (E part)N/A1930none0 5400300250
22stadium (W part) N/A1930none05400 300250
23stadium (S part)N/A1930none 05400300250
24old houses temperateEDGE, OUTSKIRTSIZE_1x1193019511563 107570
25cottagestemperateEDGESIZE_1x11930195212731075 75
26housestemperateEDGE ... INNER_SUBURBSIZE_1x11931none 1383107571
27flats temperateOUTER_SUBURB ... CENTRESIZE_1x11935none100357 22100135
28tall office blocktemperateOUTER_SUBURB ... CENTRESIZE_1x11963none17050833170 145
29shops and officestemperateOUTER_SUBURB ... CENTRESIZE_1x119301955 10040623135132
30shops and offices temperate, subtropicalOUTER_SUBURB, CENTRESIZE_1x11973none180648 33180155
31theatretemperateINNER_SUBURB, CENTRESIZE_1x11930none3523822230 220
32stadium (modern style, N part)temperate, sub-arctic, subtropicalEDGE ... INNER_SUBURBSIZE_2x21958none 655400300250
33 stadium (modern style, E part) N/A1958none0540 0300250
34stadium (modern style, W part)N/A1958 none05400300250
35stadium (modern style, S part)N/A1958none054 00300250
36offices ('vertical tube' style)temperate, sub-arctic, subtropicalINNER_SUBURB, CENTRESIZE_1x12000none14065832250 170
37housessub-arcticEDGE, OUTSKIRTSIZE_1x119301960 15631-17570
38 houses snowEDGE, OUTSKIRTSIZE_1x1193019601563 1-17570
39cinematemperateOUTER_SUBURB ... CENTRESIZE_1x11945none3523822230 210
40shopping mall (N part)temperateOUTSKIRT ... CENTRESIZE_2x21983none 1805823300250
41 shopping mall (E part) N/A1983none0582 3300250
42shopping mall (W part)N/A1983none05823300250
43shopping mall (S part)N/A1983none058 23300250
44flatssub-arcticOUTER_SUBURB ... CENTRESIZE_1x11930none802052-290100
45flatssnowOUTER_SUBURB ... CENTRESIZE_1x11930none 802052-290100
46 houses sub-arcticEDGE ... INNER_SUBURBSIZE_1x11930none16631-27070
47housessnowEDGE ... INNER_SUBURBSIZE_1x11930none16631-270 70
48housessub-arcticEDGE ... OUTER_SUBURBSIZE_1x119301963 14631-27080
49 houses snowEDGE ... OUTER_SUBURBSIZE_1x1193019631463 1-27080
50tall office blocksub-arctic, subtropicalINNER_OUTSKIRT, CENTRESIZE_1x11966none13560834120150
51tall office blocksnowINNER_SUBURB, CENTRESIZE_1x11966none 13560834120150
52 tall office block sub-arcticINNER_SUBURB, CENTRESIZE_1x11970none170709 34130170
53tall office blocksnowINNER_SUBURB, CENTRESIZE_1x11970none17070934130 170
54tall office blocksub-arctic, subtropicalINNER_SUBURB, CENTRESIZE_1x11974none 210801035140200
55 tall office block snowINNER_SUBURB, CENTRESIZE_1x11974none2108010 35140200
56housessub-arcticEDGESIZE_1x11930none10521-16060
57housessnowEDGESIZE_1x11930none 10521-16060
58 shops and offices sub-arcticOUTSKIRT ... CENTRESIZE_1x11930none25203 1-180100
59shops and officessnowOUTSKIRT ... CENTRESIZE_1x11930none252031-180 100
60churchsub-arcticEDGE ... INNER_SUBURBSIZE_1x11930none 6220023085
61 church snowEDGE ... INNER_SUBURBSIZE_1x11930none6220023085
62housessub-arcticEDGE ... OUTER_SUBURBSIZE_1x11930none17731-18080
63housessnowEDGE ... OUTER_SUBURBSIZE_1x11930none 17731-18080
64 shops and offices sub-arcticOUTER_SUBURB ... CENTRESIZE_1x11930196090456 23110140
65shops and officessnowOUTER_SUBURB ... CENTRESIZE_1x1193019609045623110 140
66hotel (N part)sub-arcticOUTER_SUBURB ... CENTRESIZE_1x21972none 1402561-3160160
67 hotel (E part) N/A1972none02561 2160160
68hotel (N part)snowOUTER_SUBURB ... CENTRESIZE_1x21972none1402561-3160160
69hotel (E part)N/A1972none025612160160
70shops and officessub-arctic, subtropical OUTER_SUBURB ... CENTRESIZE_1x11963none10550723 105130
71shops and officessnowOUTER_SUBURB ... CENTRESIZE_1x11963 none10550723105130
72tall office blocksub-arcticINNER_SUBURB, CENTRESIZE_1x11978none19075 934135190
73tall office blocksnowINNER_SUBURB, CENTRESIZE_1x11978none19075934135190
74tall office block (N part)sub-arcticOUTER_SUBURB ... CENTRESIZE_2x11967none25060722200140
75tall office block (W part)N/A1967none0607 22200140
76tall office block (N part)snowOUTER_SUBURB ... CENTRESIZE_2x11967none25060722200 140
77tall office block (W part)N/A1967none0 60722200140
78houses (with a tree in a corner)subtropicalOUTSKIRT ... CENTRESIZE_1x11930none16631-28080
79housessubtropicalOUTSKIRT ... CENTRESIZE_1x1 1930none16631-28080
80housessubtropicalOUTSKIRT ... CENTRESIZE_1x11930none16531-28080
81houses (suburb-type) subtropicalEDGESIZE_1x11930none7431-13030
82flatssubtropicalOUTER_SUBURB ... CENTRESIZE_1x11930none451562195130
83churchsubtropicalOUTSKIRT ... INNER_SUBURBSIZE_1x11930none8 320020090
84houses (with two trees in front)subtropicalOUTSKIRT ... CENTRESIZE_1x11930none18731 -28080
85flatssubtropicalOUTER_SUBURB ... CENTRESIZE_1x1 1973none902462195110
86flatssubtropicalOUTER_SUBURB ... CENTRESIZE_1x11962none1202562195120
87tall office block (N part) subtropicalINNER_SUBURB, CENTRESIZE_2x11984none25080834140190
88tall office block (W part)subtropicalN/A1984 none080834140190
89flatssubtropicalOUTER_SUBURB ... CENTRESIZE_1x11930none802362195110
90tall office blocksubtropicalINNER_SUBURB, CENTRESIZE_1x11993none18090834150180
91churchtoylandEDGE ... CENTRESIZE_1x11930none8320020090
92toyland housestoylandEDGE ... CENTRESIZE_1x11930none185 6229090
93toyland housestoyland EDGE, OUTSKIRTSIZE_1x11930none733115070
94toyland housestoylandEDGE ... INNER_SUBURBSIZE_1x11930none1563127580
95toyland housestoylandEDGE ... INNER_SUBURBSIZE_1x11930none176 3127580
96toyland housestoyland EDGE ... INNER_SUBURBSIZE_1x11930none196312 7580
97toyland housestoylandEDGE ... INNER_SUBURBSIZE_1x11930none2163127580
98tall office blocktoylandOUTER_SUBURB ... CENTRESIZE_1x11930none7520 842130160
99shoe house (N part)toyland EDGE ... CENTRESIZE_1x21930none359412 8090
100shoe house (E part)N/A1930none 004128090
101 tall office block toylandOUTER_SUBURB ... CENTRESIZE_1x11930none85188 42130150
102iglootoylandEDGESIZE_1x11930none11331145 60
103tepeestoylandEDGESIZE_1x11930none 1033114560
104shops and offices toylandOUTER_SUBURB ... CENTRESIZE_1x11930none67228 4-4130140
105shops and officestoylandOUTER_SUBURB ... CENTRESIZE_1x11930none862384-4130 145
106tall office blocktoylandOUTER_SUBURB ... CENTRESIZE_1x11930none9528842130165
107 statue toylandOUTER_SUBURB ... CENTRESIZE_1x11930none30104 127090
108teapot-housetoylandEDGE ... CENTRESIZE_1x11930none2583126575
109piggy-banktoylandEDGE ... CENTRESIZE_1x11930none18732-49585

List of town zones

TOWNZONE_EDGE
TOWNZONE_OUTSKIRT
TOWNZONE_OUTER_SUBURB
TOWNZONE_INNER_SUBURB
TOWNZONE_CENTRE

List of tile classes

TILE_CLASS_GROUNDClear ground and farmland
TILE_CLASS_RAILRail and rail depots
TILE_CLASS_ROADRoad, road depots and level crossings
TILE_CLASS_HOUSEHouses
TILE_CLASS_TREESClear tile with trees
TILE_CLASS_STATIONStation, waypoint, station part of oilrig
TILE_CLASS_WATERSea, canal, ship depot
TILE_CLASS_INDUSTRYIndustry tile
TILE_CLASS_TUNNEL_BRIDGETunnel entrance or bridge ramp
TILE_CLASS_OBJECTSObjects

List default colour translation palettes

You can use the palette name directly. The numeric value is only given for reference and might come in handy when the values are to be used in calculations. PALETTE_USE_DEFAULT in conjunction with the recolour mode RECOLOUR_REMAP uses the normal company (and for NewObjects and airports the 2nd company colour) settings as defined by the player:

Palette namevalue
PALETTE_USE_DEFAULT 0
PALETTE_TILE_RED_PULSATING 771
PALETTE_SEL_TILE_RED 772
PALETTE_SEL_TILE_BLUE 773
PALETTE_CC_FIRST 775
PALETTE_CC_DARK_BLUE 775, # = first
PALETTE_CC_PALE_GREEN 776
PALETTE_CC_PINK 777
PALETTE_CC_YELLOW 778
PALETTE_CC_RED 779
PALETTE_CC_LIGHT_BLUE 780
PALETTE_CC_GREEN 781
PALETTE_CC_DARK_GREEN 782
PALETTE_CC_BLUE 783
PALETTE_CC_CREAM 784
PALETTE_CC_MAUVE 785
PALETTE_CC_PURPLE 786
PALETTE_CC_ORANGE 787
PALETTE_CC_BROWN 788
PALETTE_CC_GREY 789
PALETTE_CC_WHITE 790
PALETTE_BARE_LAND 791
PALETTE_STRUCT_BLUE 795
PALETTE_STRUCT_BROWN 796
PALETTE_STRUCT_WHITE 797
PALETTE_STRUCT_RED 798
PALETTE_STRUCT_GREEN 799
PALETTE_STRUCT_CONCRETE 800
PALETTE_STRUCT_YELLOW 801
PALETTE_TRANSPARENT 802
PALETTE_STRUCT_GREY 803
PALETTE_CRASH 804
PALETTE_CHURCH_RED 1438
PALETTE_CHURCH_CREAM 1439
base_sprite_2cc n/a

The base sprite for 2 company colours may vary. Following base_sprite_2cc are the 16x16 colour translations for all possible combinations of a company colour with an arbitrary 2nd company colour. The order of the colours is the same as for PALETTE_CC_XX:

PALETTE_CC_FIRSTPALETTE_CC_FIRST
PALETTE_CC_FIRSTPALETTE_CC_FIRST+1
PALETTE_CC_FIRST...
PALETTE_CC_FIRST+1PALETTE_CC_FIRST
PALETTE_CC_FIRST+1PALETTE_CC_FIRST+1
......
PALETTE_CC_FIRST+15PALETTE_CC_FIRST
PALETTE_CC_FIRST+15...
PALETTE_CC_FIRST+15PALETTE_CC_FIRST+15

List of tile slopes

Tiles in TTD can have various slopes. The slope is a 5-bit wide mask:

bitmeaning
0west corner is above the lowest corner.
1south corner is above the lowest corner.
2east corner is above the lowest corner.
3north corner is above the lowest corner.
4this tile is a steep slope (the corner opposite to the lowest corner is 2 units higher).

The resulting, possible values are 0 ... 14, 23, 27, 29 and 30. Their meaning is illustrated in this image: tile slopes

List direction constants