Search results
From GRFSpecs
Jump to navigationJump to search
- |1,0 |0,11 KB (165 words) - 18:47, 26 October 2011
- |0D||newairports||1 |0E||largestations||13 KB (356 words) - 21:56, 30 January 2023
- | 1 km/h = 0.2778 m/s | 1 mph = 0.4470 m/s683 bytes (104 words) - 20:44, 21 August 2011
- | [0 <nowiki>|</nowiki> 1] | 1 if this town is marked as a "city", 0 if it's not.2 KB (218 words) - 21:07, 30 August 2022
- if (param[1] == 1) {454 bytes (55 words) - 23:58, 3 September 2011
- |S||1 if the building should accept food/fizzy drinks instead of goods |g||If S is 1, the food acceptance in 1/8 units932 bytes (154 words) - 18:57, 16 June 2011
- 1, 0: small_airport_tiles_terminal; 0, 1: small_airport_tiles_taxi;2 KB (240 words) - 16:32, 21 August 2011
- | 1 | 1924 bytes (110 words) - 16:45, 21 August 2011
- ...roperty 1A. Currently only effect 0 (plant fields periodically) and effect 1 (cut nearby trees periodically) are supported. ...the low byte is always zero at this point. The default behaviour is giving 1/8 chance to plant a new field every 256 ticks.1 KB (228 words) - 13:31, 1 April 2012
- |0||1||Trigger vehicle trigger 10 |1||2||Update colour map via callback 2D469 bytes (76 words) - 18:58, 16 June 2011
- ...same height as the lower parts. Note: this returns height in increments of 1 (and not 8) |Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline1 KB (161 words) - 21:46, 6 May 2013
- ...certain conditions are met. You can return 0 to allow the destruction, or 1 to disallow it, except for human players, who can always remove any buildin ...ect as turning on bit 1 of property 19. When this callback is enabled, bit 1 of property 19 is ignored. If the callback fails, the destruction is allowe1 KB (198 words) - 18:58, 16 June 2011
- |40||B||{{ottdp|1.10}}||Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline. |41||B||{{ottdp|1.10}}||Enhanced tunnels; entrance has track above. Always 0 in OpenTTD.1 KB (143 words) - 11:27, 28 December 2019
- |40||B||{{ottdp|1.10}}||Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline. |41||B||{{ottdp|1.10}}||Enhanced tunnels; entrance has track above. Always 0 in OpenTTD.1 KB (143 words) - 11:29, 28 December 2019
- ...f -4 results in 1/16th of the cost. The minimum and maximum values are -8 (1/256th) and 16 (65536x), respectively. Some example code: ...ING: param[1]; // all running costs are set by the factor in grf parameter 11 KB (243 words) - 16:38, 21 August 2011
- other_newgrf_no_high_cost = param["NML\01", 1] < 5; reads parameter 1 (the first one, counting starts at 0) from the NewGRF with the grfID "NML\0702 bytes (109 words) - 09:48, 2 February 2013
- day_of_year(2, 1): 2; day_of_year(11, 1): 4;2 KB (313 words) - 17:57, 11 May 2014
- |10||D||{{ottdp|1.3|ottdrev=r24367}}||Additional information for sprite selection - See [[Act |18||D||{{ottdp|1.3|ottdrev=r24367}}||Additional information for sprite selection - See [[Act1 KB (198 words) - 16:10, 2 July 2012
- {{grfFrom|8}} Height of lowest corner of tile (multiple of 1) * Bits 0..2: Terrain type: 0 normal (grass), 1 desert, 2 rainforest, 4 on or above snowline.1 KB (165 words) - 13:32, 1 April 2012
- * {{ottd|≤1.11}} <code style="color:green">version_openttd(MAJOR, MINOR, BUILD)</code> ...name=versionopnettd>It should be <code style="color:green">version_openttd(1, MAJOR, MINOR)</code> if you are using NML with version ≤ 0.7.3</ref>10 KB (1,549 words) - 13:23, 28 June 2023
- |01 || ||B ||Short summary 1 ===Property 1 name (01)===2 KB (286 words) - 22:11, 22 July 2011
- |{{ottdp|1.1|2.6|ottdrev=r20352|ttdprev=r1573}} water for canals / locks |1 flat ground sprite followed by 4 slope sprites2 KB (337 words) - 20:56, 30 August 2022
- | 1 | 113 KB (1,232 words) - 21:28, 30 August 2022
- ...in 1/8 units)!! Mail acceptance (in 1/8 units)!! Goods/food acceptance (in 1/8 units)!! Remove ratings decrease!! Remove cost multiplier ...ck of flats|| temperate || 1, 2, 3|| 01h|| 1968|| none|| 40|| 20|| 8|| 3|| 1 || 90|| 10012 KB (1,046 words) - 13:12, 16 June 2011
- |08||B||{{ottdp|1.1|2.6|ottdrev=r20353|ttdprev=r1560}}||Canals / Rivers Callback flags, see bel |09||B||{{ottdp|1.1|2.6|ottdrev=r20352|ttdprev=r1573}}||Canals / Rivers Graphic flags1 KB (135 words) - 17:29, 1 September 2011
- text(" Bridge", 1), text("ton", 1),2 KB (311 words) - 22:07, 1 February 2014
- text("name1", 1), ...which means that <code style="color:darkgreen">name1</code> is picked with 1/6 chance, <code style="color:darkgreen">name2</code> has a 2/6 chance, and1 KB (217 words) - 22:10, 1 February 2014
- ...se/industry/object tile. To allow altering the ground, return 0. Returning 1 will disallow land modifications.370 bytes (51 words) - 13:31, 1 April 2012
- param[param[2] + 1] = param[3] * param[4];303 bytes (42 words) - 13:23, 26 August 2013
- | 1 | 13 KB (457 words) - 21:43, 23 April 2021
- ...of the 16 possible player colours. If the vehicle also has misc.flags bit 1 set ..., and only updated via [[Callbacks#32-day callback (32) |callback 32]] bit 1 (or when loading/starting a1 KB (175 words) - 18:58, 16 June 2011
- |1 |11 KB (149 words) - 13:20, 5 March 2012
- 1: <string>; version: 1;3 KB (469 words) - 07:18, 11 April 2015
- !#Houses!! Zone 0 !! Zone 1 !! Zone 2 !! Zone 3 !! Zone 4 | 24 || 8|| || 3|| || 11 KB (137 words) - 12:57, 16 June 2011
- ...ou release a new version you should increase the version field by at least 1. For a new NewGRF you should set the min_compatible_version to 1. Every time you change something in your newgrf which makes it incompatible3 KB (427 words) - 14:22, 27 May 2013
- ...on. These sprites should only use colour palette indices 0 (transparent), 1 (foreground), and 2 (shadow).2 KB (259 words) - 21:26, 3 March 2012
- ...her it can be selected in the station construction window. Returning 1 as callback return indicates the station can be built, and a return code of416 bytes (62 words) - 13:35, 1 April 2012
- ...of 0x400 while custom GRF texts start at 0x400 instead of 0. Return value 1 stands for "Land sloped in wrong direction" instead of "Site unsuitable". ...rsion of OpenTTD before r22658 and TTDPatch only support 0 for success and 1 for error.1 KB (190 words) - 13:18, 1 April 2012
- ...y, in a time interval specified by property 16. Return 0 to do nothing, or 1 to remove the building from the map as if the town decided to destroy it. Y446 bytes (67 words) - 13:24, 1 April 2012
- ...umber is accessible in the lowest byte of variable 10 (extra callback info 1) to decide if the sprite number needs an offset.377 bytes (55 words) - 12:33, 18 April 2015
- |1-3||Front facing: 0=SW, 1=NE, 2=NW, 3=SE, 4=E, 5=W, 6=S, 7=N |4-5||Presignals: 0=norm, 1=entrance, 2=exit, 3=combo5 KB (793 words) - 19:12, 19 June 2011
- ...|| 128 x 64 || 128 x 62 || 128 x 63 || -62, -1 ...X*16) || (X*32) x floor(X*15) || (X*32) x (X*16-1) || ceil(X*-31), ceil(X*-1/2) || Generalisation6 KB (866 words) - 16:29, 7 August 2016
- When an industry has bits 1 or 2 set in property 21, its production is changed. Instead of processing t ...;subtract-in-1> <subtract-in-2> <subtract-in-3> <add-out-1> <add-out-2> <again> </pre>7 KB (1,103 words) - 12:09, 4 November 2018
- ...s the signed X offset (that is 0h=0, 1h=+1 ... 7h=+7; 8h=-8, 9h=-7 ... Fh=-1), the high nibble contains the Y offset. Therefore the parameter 00h access : {{grfFrom|8}} For GRF version 8 and above: Multiple of 1.5 KB (864 words) - 13:10, 1 April 2012
- To activate the debugger, use the sign cheat "Cht: grfdebug 1 [<feature> [<id> [<callback>]]]". The "1" is there to activate the debugger. This creates a file "grfdebug.log" (del5 KB (749 words) - 06:46, 8 July 2011
- |3924 - 3942||all||bulldozed bare land (stage 1, no grass) |4126 - 4144||all||farm land stage 1 (brown)2 KB (274 words) - 12:18, 20 August 2023
- {{ottdp|1.2.2|no|ottdrev=r24361}} ...esets 0 to 4, and later a second Action1 redefines spriteset 0, spritesets 1 to 4 still refer to the first Action1. Spritesets are feature-specific, eac6 KB (953 words) - 09:51, 11 June 2023
- Since TTDPatch 2.0.1 alpha 51, this is no longer true, Action 6 will be applied both at initiali <pre>// First, set param 1 (<j>) to the old value of param 0 (<i>)5 KB (871 words) - 22:02, 30 August 2022
- ...each action correctly. In this error message (starting with TTDPatch 2.0.1 alpha 46), the ''code'' defines what kind of error occured, and the positio |1||A real graphics sprite was encountered where a pseudo sprite was expected5 KB (765 words) - 14:31, 23 July 2011
- ....6|2.5}}||4 slope sprites||{{ottdp|1.1|2.6|ottdrev=r20352|ttdprev=r1573}}||1 flat ground sprite followed by 4 slope sprites |03||Canal GUI||{{ottdp|no|2.5}}||1||{{ottdp|no|no}}||undefined3 KB (434 words) - 22:04, 2 December 2011
- * {{ottdp|1.1|no|ottdrev=r20250}} translations for the name and description of the GRF. ( * {{ottdp|1.1|no|ottdrev=r20254}} the palette (default (=DOS), legacy (=Windows)) the GRF13 KB (1,866 words) - 12:42, 18 December 2013
- Unlike actions 1 and 5, which add new sprites for new features or vehicles, action A modifie Unlike actions 1 and 5, the real sprites of action A do not count towards the sprite limit.4 KB (556 words) - 09:34, 29 December 2023
- {{ottdp|1.1|ottdrev=r19204}} |08||{{ottdp|1.1|ottdrev=r19204}}||B||Substitute airport tile type4 KB (577 words) - 22:48, 22 December 2019
- version: 1; min_compatible_version: 1;3 KB (427 words) - 18:43, 21 August 2011
- ...| 17 || SOUND_DEPARTURE_OLD_RV_1 || Station departure: truck and old bus (1) (non-toyland) | 60 || 3C || SOUND_DEPARTURE_BUS_TOYLAND_1 || Station departure: bus (1) (toyland)9 KB (1,038 words) - 19:00, 1 June 2022
- | 1 | 14 KB (554 words) - 21:03, 30 August 2022
- {{ottdp|1.1|no}} === GRF version 0 and 1 ===9 KB (1,386 words) - 19:55, 27 June 2023
- |81||B||cargo type (climate independent, column 1, type A in the [[CargoTypes|cargo type list]]) ...uction number; for wagons: number of wagon; for stations 0=source station, 1=destination station4 KB (593 words) - 13:22, 1 April 2012
- |1||Freight/lorry stop |0||1||Bay stops: Draw road type ground sprite6 KB (906 words) - 18:57, 24 April 2024
- always_draw: 1; // also draw in transparent mode xextent: 1;14 KB (2,107 words) - 18:27, 2 October 2023
- |0D||{{ottdp|0.6|2.6|ottdrev=r11532|ttdprev=r2046}}||Decrement production by 1 |0E||{{ottdp|0.6|2.6|ottdrev=r11532|ttdprev=r2046}}||Increment production by 13 KB (527 words) - 17:15, 28 April 2012
- ...s action 2 references (to the sprite numbers within the grf file of action 1 sprites and references to variational/random action 2), executes actions 6, |1|| ||<center>I</center>|| ||<center>X</center>|| ||4 KB (616 words) - 14:26, 23 July 2011
- |Passengers||00||00||4297||1||0||24||3185||98h||98h||PASS||400h |Valuables||0A||0A||4307||2||1||32||7509||BFh||CAh||VALU||100h4 KB (490 words) - 14:17, 28 January 2012
- ...on Query tool, when enquiring a house. Bit 0 of variable 10 will be set to 1 if the house is complete, otherwise it will be 0. The return value is the "784 bytes (130 words) - 12:34, 18 April 2015
- {{ottdp|1.2|no|ottdrev=r22518}} The spritelayout defines fixed spritesets to use from the Action 1. The registers can be used to individually select sprites from the spritese10 KB (1,525 words) - 20:24, 30 November 2023
- |09||B||{{ottdp|0.6|2.0}}||Refittable (0 no, 1 yes) ...|0.6|2.0}}||Sound effect type (4=cargo ship, 5=passenger ship)<br/>{{ottdp|1.6|no|ottdrev=r27507}} Since OpenTTD r27507 also custom sound effects from A6 KB (869 words) - 14:08, 28 January 2024
- ...of 0x400 while custom GRF texts start at 0x400 instead of 0. Return value 1 stands for "Land sloped in wrong direction" instead of "Site unsuitable". ...rsion of OpenTTD before r22658 and TTDPatch only support 0 for success and 1 for error.2 KB (364 words) - 13:33, 1 April 2012
- | 1||MJS 250 (Diesel) ||bitmask(CLIMATE_ARCTIC, CLIMATE_TROPICAL)||date(1955,01 | 1||38||MJS 250 (Diesel)||80 km/h||-||RAIL||600 hp||RUNNING_COST_DIESEL||0||0|9 KB (996 words) - 21:34, 30 August 2022
- | XXX = [LOOPING <nowiki>|</nowiki> NON_LOOPING], 1..253 frames | [0 <nowiki>|</nowiki> 1]15 KB (2,334 words) - 20:56, 3 May 2024
- -1 * -1 02 04 02 -1 * -1 02 04 0114 KB (2,101 words) - 19:58, 16 January 2024
- ...tdprev=2.5 beta 2}} Available in the purchase list as well.</ref>||{{ottdp|1.2|2.5|ottdrev=r22848}}||D||Player info, see [[VarAction2Vehicles#Player inf |6A||{{ottdp|1.10|no|ottdrev=5df01bf}}||D||GRFID of nearby tiles11 KB (1,612 words) - 20:48, 29 January 2020
- ...to the feature-specific pages for more information. The default value is -1, which lets NML pick an id for you. The fourth (optional) argument is the s introduction_date: date(1940,1,1);4 KB (689 words) - 14:05, 5 November 2014
- |0A||B||{{ottdp|0.6|2.0}}||Is large? 0=no, 1=yes (i.e. can't safely land on small airports) ...r25115 the units for acceleration were messed up. The unit used was about 1 mph/tick, so aircraft accelerated more than twice as fast. Also values bigg6 KB (945 words) - 22:06, 30 January 2023
- ...40+x and 80+x are not available, instead variable 10 (extra callback info 1) contains the same information as variable 41 would contain. For the same r884 bytes (151 words) - 18:57, 16 June 2011
- |13||V||{{ottdp|1.9|no|ottdrev=e66cec8f}}||Tile acceptance list ...e current climate, while the high byte defines the degree of acceptance in 1/8 units. If you don't need all three cargo types, just zero out the high by8 KB (1,265 words) - 12:35, 4 November 2018
- ..."Beta" 00||<probability>/<part>: Second option for first part, probability 1/4 ...edæ" 00 ||<probability>/<part>: First option for second part, probability ~1/38 KB (1,371 words) - 17:33, 15 June 2011
- | {{nml|0.4}} Warn about semi-transparent pixels (1% - 99% alpha) in 32bpp sprites. [1, 1, 53, 14, -25, -10]5 KB (807 words) - 14:12, 6 June 2020
- {{nml|0.5}} {{ottd|1.9}} The <code style="color:darkgreen">produce</code> block is only availabl ...llback version 2 in the final GRF file, this is only understood by OpenTTD 1.9 and later.9 KB (1,308 words) - 21:01, 8 May 2019
- ...y understand [[Version_numbers#GRF_container_version|GRF container version 1]] resp. [[Version_numbers#NFO_version|info version 7]]. ..., no sprite may contain zero pixels; ysize and xsize must both be at least 1.10 KB (1,603 words) - 18:22, 12 December 2023
- |Airports || {{ottdp|1.1|no}} || Single preview image |Railtypes || {{ottdp|1.0|no|ottdrev=r19056}} || Depends on [[Action3/Railtypes#cargo-type| Action33 KB (437 words) - 12:31, 28 December 2019
- ...otes on the [[NML:Item|Item page]]), you need to set the 3rd parameter to -1. Example: item(FEAT_HOUSES, item_brewery, -1, HOUSE_SIZE_2X2) {20 KB (3,342 words) - 21:40, 30 August 2022
- |43||B||{{ottdp|0.6|2.5}}||Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline |64||B||{{ottdp|1.2|2.6|ottdrev=r23070|ttdprev=r1672}}||Cargo acceptance history of nearby st11 KB (1,735 words) - 08:05, 8 February 2016
- |08||D||{{ottdp|1.1|2.6|ottdrev=r20670|ttdprev=r2340}}||Class label, see below |09||W||{{ottdp|1.1|2.6|ottdrev=r20670|ttdprev=r2340}}||Text ID for class10 KB (1,562 words) - 07:29, 5 May 2023
- |1||7 to 38 months||increases from 48-73% to 75-100% |0||1||Temperate6 KB (926 words) - 14:27, 24 June 2014
- | 1 if the tile is water, 0 otherwise1 KB (249 words) - 01:31, 24 September 2023
- |Broad (1520 mm) gauge tracks with generic DC catenary 1,5kV. Speed limit 60 km/h |Broad (1520 mm) gauge tracks with generic DC catenary 1,5kV. Speed limit 100 km/h11 KB (1,683 words) - 12:55, 5 April 2024
- |1||<center>1</center>||4B3A||100||build track, also affects "rail maintenance" <ref name |48||<center>30</center>||4C54||1,000,000||funding industries, also affects "stuff with local authority", "bu8 KB (983 words) - 18:10, 22 October 2012
- |1||Bay||Facing south-east |1||Freight/lorry stop6 KB (856 words) - 19:45, 3 May 2024
- {{ottdp|1.0|no|ottdrev=r19056}} Railtypes are available only in OpenTTD > r19056 |6 flat and 4 slope, and 1 X crossing pieces ''with track'', and 5 junction pieces without track. Spri10 KB (1,589 words) - 03:14, 9 March 2019
- Airports and airport tiles can only be defined in OpenTTD {{ottd|1.1|r19459}} or later. {{ottd|1.1|r19459}} The id of airport to replace / override, see [[AirportTypes]]. '''8 KB (1,307 words) - 01:34, 24 September 2023
- bit 1 of variable B2. If set, the vehicle is currently stopped and if clear, the1 KB (205 words) - 13:29, 1 April 2012
- |1||TTD decided to build a new random industry during regular gameplay and nee2 KB (229 words) - 13:25, 1 April 2012
- Texts in TTD are mostly in the Latin-1 (ISO-8859-1) character set (except when using UTF-8 encoding; see below), however a few ...offset in next byte of string (variable space). Removed from OpenTTD since 1.3.2.18 KB (2,907 words) - 07:14, 10 September 2023
- Above syntax specifies two pseudo sprites. First an [[Action1]] defining 1 spriteset with 0 sprites, then the [[Action2]] referencing only that single1 KB (205 words) - 13:03, 13 November 2020
- ...days since year 0. If the year is a variable, the month and day should be 1. ...ndustries, airports, towns only). Addresses {{ottd|<1.9}} 0..15, {{ottd|1.9}} 0..255 are available for the GRF to use. Note that accessing permanent8 KB (1,304 words) - 21:26, 27 June 2023
- * Tile types 1, 3, 5 and 7 are used for station sections with tracks in Y direciton (⤡). ...yle="color:darkgreen">select_tile_type</code> decides between the pairs (0,1), (2,3), (4,5), (6,7) during construction. The orientation is always picked25 KB (3,819 words) - 14:10, 31 May 2023
- ...cargo type. You must return zero if you don't want to accept the cargo, or 1 to accept it. Other return values are reserved for future use.2 KB (264 words) - 02:59, 23 July 2011
- default slope graphics and 1 to enable them.1 KB (163 words) - 13:28, 1 April 2012
- ...xpressed in "speed units". For trains and road vehicles, the speed unit is 1 km/h; for ships, it's 0.5 km/h; for aircraft, it's 8 mph. If the max. speed |1||20 (8%)5 KB (782 words) - 21:34, 21 June 2011
- ...le trigger 10 (bit 0) and Update colour map via VEH_CB_COLOUR_MAPPING (bit 1) 1..2: return rail_wagon; // middle parts use rail wagons12 KB (1,924 words) - 21:20, 30 August 2022
- Since TTDPatch 2.0.1 alpha 48, it has been possible to use action D to read various special Patc * bit 1 set: Y is the bigger edge(bit 0 is clear).Clear : X is the bigger edge.4 KB (558 words) - 13:20, 13 March 2022
- ...ne if the given building type can be built on a position. It should return 1 to allow building and 0 to cancel it.1 KB (240 words) - 13:22, 1 April 2012
- |5F|| ||{{ottdp|1.1|no|ottdrev=19744}}||Random bits the industry starts with after construction * {{grfFrom|8}} For GRF version 8 and above: Multiple of 1.4 KB (609 words) - 13:26, 1 April 2012
- | Number of the cargo for bitmasks. Prior to {{ottd|1.9}} this was clamped to 0..31. This mostly affects old NewGRFs that don't h ...on the vehicle used (see vehicle property 'cargo_age_period'), by default 1 unit = 2.5 days.13 KB (2,057 words) - 13:57, 3 February 2024
- |40||D||{{ottdp|1.1|2.6|ottdrev=r20670|ttdprev=r2340}}||Relative position, like [[VarAction2Ind |41||W||{{ottdp|1.1|2.6|ottdrev=r20670|ttdprev=r2088}}||Tile information, see below6 KB (878 words) - 23:00, 7 February 2014
- If, for example, parameters 0 and 1 are set in the newgrf(w).cfg file, and action D sets parameter 4, then para You can do a bitwise NOT of <param> by calculating "-1 - <param>", i.e. operation=02, source1=FF, source2=param, data=FF FF FF FF.5 KB (746 words) - 16:56, 18 March 2015
- During this callback, variable 10 (extra callback info 1) contains information about the context where the name is shown.2 KB (284 words) - 20:53, 30 November 2023
- ...ch (FEAT_TRAINS, PARENT, some_vehicle_switch, (position_in_consist + param[1]) % 4) { 401: return num_vehs_in_consist + 1; //return a value with a variable access5 KB (880 words) - 21:31, 30 August 2022
- {{ottdp|1.10}} Tramtypes are available only in OpenTTD > 1.10 |{{ottd|13|}} 1 sprite for each direction. Sprite is overlay for tram in existing tunnel gr6 KB (922 words) - 23:02, 26 December 2022
- {{ottdp|1.5|no|ottdrev=r26747}} | 0-1 || Amount of effects to spawn (0 to 3), details are specified via register2 KB (259 words) - 13:48, 23 August 2014
- {{ottdp|1.2|no|ottdrev=r23045}} Since OpenTTD r23045 the contents of registers 100h.. ...ring with ID D001 for featur 01. Bit 7 of the language byte must be set to 1, because the string ID is a word.2 KB (253 words) - 19:42, 17 October 2013
- | XXX = [LOOPING <nowiki>|</nowiki> NON_LOOPING], 1..253 frames | 1, 2 or 413 KB (2,191 words) - 07:03, 10 September 2023
- ...action 2. Instead, use the first byte of variable 10 (extra callback info 1), which is set to 01 for the first articulated part, 02 for the second and2 KB (291 words) - 12:21, 18 April 2015
- {{ottdp|1.0|no|ottdrev=r18969}} 16 railtypes can be defined. {{ottdp|1.9|no|ottdrev=bf8d7df7}} 64 railtypes can be defined.12 KB (1,924 words) - 15:21, 9 December 2023
- {{ottdp|1.9|no|ottdrev=11ab3c4e}} OpenTTD 1.9 increases the number of cargos to 64. |0B||W||{{ottdp|0.6|2.5}}||TextID to be displayed for 1 unit of cargo18 KB (2,894 words) - 13:51, 3 February 2024
- {{ottdp|1.10}} Roadtypes are available only in OpenTTD > 1.10 |{{ottd|13|}} 1 sprite for each direction. Sprite is overlay for road in existing tunnel gr6 KB (964 words) - 23:00, 26 December 2022
- |44||||{{ottdp| |2.6|ttdprev=r1594}}||Layout number (1-based) |47||||{{ottdp|1.11|no }}||GameScript control status13 KB (2,052 words) - 17:22, 16 July 2023
- ...ring initialization. Note that this only works properly since TTDPatch 2.0.1 alpha 66, for earlier versions the error popup that is shown is corrupted i Message IDs 04 and 05 are available since TTDPatch 2.6 alpha 1 (r858).5 KB (827 words) - 13:13, 13 November 2020
- ...ick sprites for different GUI windows - See [[Action2/Vehicles]].||{{ottdp|1.2|no|ottdrev=r23080}} |44||D||{{ottdp|0.6|2.5|ttdprev=2.0.1 alpha 48}}||Aircraft info||no19 KB (2,953 words) - 18:37, 1 September 2021
- |13,14||V||{{ottdp|1.1|no|ottdrev=r21208}} {{grfFrom|7}}||Gender/case translation table |15||B||{{ottdp|1.1|no|ottdrev=r21216}} {{grfFrom|7}}||Plural form12 KB (1,877 words) - 19:00, 20 February 2020
- |69||D||{{ottdp|1.2|no}}||Information about cargo accepted in the past ...elow). The return value contains the acceptance of the given cargo type in 1/8 units. The station accepts the cargo if its acceptance is at least 8/8 un5 KB (734 words) - 19:47, 29 August 2011
- ...e-id</code>, the second replaces <code style="color:darkgreen">sprite-id + 1</code> and so on. Sprite templates can be used as well. For example:2 KB (359 words) - 06:35, 28 February 2013
- |1||largertowns is enabled, and it allows to grow this town larger2 KB (266 words) - 10:29, 1 August 2011
- {{nml|0.5}} {{ottdp|1.9|no}}Array with up to 16 [cargo_id, amount]-pairs. ...ur cargo translation table, amount is the acceptance of the given cargo in 1/8 units.<br /> Example: to make a tile accept both COAL and IORE you could10 KB (1,590 words) - 21:15, 30 August 2022
- 7002 (Player 1) 7063 \98\0ePayment for delivering 10 units (or 1,000 litres) of cargo a distance of 20 squares4 KB (463 words) - 21:51, 17 June 2011
- |20||V||{{ottdp|1.2|2.6|ottdrev=r23072|ttdprev=r1677}}||Cargo acceptance watch list |23||V||{{ottdp|1.9|no|ottdrev=48b334cf}}||Tile acceptance list21 KB (3,310 words) - 12:28, 25 November 2023
- | {{nml|0.5}} {{ottd|1.9}} Types of cargo accepted and produced by the industry, and their product | 0 .. 1 (float)31 KB (4,816 words) - 23:40, 3 June 2023
- STR_GRF_NAME :{TITLE} 0.1.0 - {VERSION} |PUSH_COLOUR || {{ottdp|1.10|no}} Push current colour onto colour stack. Use this if you need to swit12 KB (1,617 words) - 07:21, 10 September 2023
- error(FATAL, string(STR_REGRESSION_ERROR), string(STR_ANSWER), 14, param[1] + 12 * param[2]);3 KB (472 words) - 13:02, 18 September 2013
- |08||02..08|| - || {{ottd|1.2|r23159}} |07||02..07||2.5 beta 1 or higher|| {{ottd|0.6}}9 KB (1,439 words) - 16:54, 20 April 2024
- |05||B||{{ottdp|1.10|no}}||Roadtype / tramtype (see below)||should be same as front ...6|2.0}}||Sound effect: 17/19/1A for regular, 3C/3E for toyland<br/>{{ottdp|1.6|no|ottdrev=r27507}} Since OpenTTD r27507 also custom sound effects from A10 KB (1,493 words) - 22:06, 30 January 2023
- Railtypes can only be defined in OpenTTD {{ottd|1.0|r18969}} or later. {{ottd|1.1|r21842}} Valid range for yyyy is 0 ... 5000000.18 KB (2,673 words) - 15:20, 9 December 2023
- | 113 {{ottdp|1.10|no}} {{nml|0.5}} 119 | 13 KB (483 words) - 21:18, 27 June 2023
- |0D||8D|| ||B||{{ottdp|0.6|2.5}}|| TTD version, 0=DOS, 1=Windows |10|| || ||D||{{ottdp|0.6|2.5}}|| Extra callback info 1, see [[#Extra_callback_info_.2810_.2F_-.29_and_.2818_.2F_-.29|below]].18 KB (2,772 words) - 19:48, 27 June 2023
- | 14 KB (529 words) - 17:27, 16 October 2016
- |1A||V||{{ottdp|1.2|no|ottdrev=r22518}}||Advanced sprite layout with register modifiers ...If this property is set, the num-ent in the corresponding [[Action1|action 1]] need not be equal to 12 (hex), it can in fact be any number, and any numb25 KB (3,955 words) - 10:16, 1 April 2024
- |1||Start sound, called when leaving a station or depot, take-off sound for pl2 KB (386 words) - 12:24, 18 April 2015
- ...l element, that is a regular action 2 which contains definitions of action 1 sets, or a callback result. |7B||-||{{ottdp|1.1|2.6|ottdrev=r21604|ttdprev=r2359}}||A special 60+x variable to be used in A13 KB (1,919 words) - 17:57, 10 September 2023
- |1 (sprite blk)||yes||yes|| |6 (apply param)||n/a*||yes||* "yes" since TTDPatch 2.0.1 alpha 5113 KB (1,990 words) - 20:26, 18 February 2020
- This is the list of action 1 sets to use, first num-ent1 for the first range, then num-ent2 entries for3 KB (452 words) - 09:52, 11 June 2023
- ...or several new features of OpenTTD and TTDPatch. This is similar to action 1. |04,84<ref name="offset">Offset allowed since {{ottdp|1.2|no|ottdrev=r23005}}</ref>||{{ottdp| |2.5|ttdprev=alpha 41}}||Pre-signal,15 KB (2,124 words) - 19:48, 23 April 2024
- |1||<center>01</center>||<center>1</center>||MJS 250 (Diesel) |117||<center>01</center>||<center>1</center>||Hereford Leopard Bus19 KB (2,310 words) - 11:39, 5 November 2012
- |{{ottdp|1.10}} |{{ottdp|1.10}}8 KB (1,356 words) - 19:47, 20 May 2020
- |{{ottdp|1.10}} |{{ottdp|1.10}}8 KB (1,345 words) - 19:47, 20 May 2020
- ...icle itself. Uses register 0x100 if x is not a constant expression between 1 and 15</ref> | 32-day callback returned 110 KB (1,494 words) - 07:30, 10 September 2023
- 3020 \80 Buoy 13 KB (324 words) - 21:51, 17 June 2011
- {{ottdp|0.6|2.5|ttdprev=2.0.1 alpha 73}} ...size proportional font, 2 for the large size proportional font, or {{ottdp|1.2|no|ottdrev=23274}} 3 for the normal size non-proportional font.3 KB (514 words) - 11:57, 20 November 2011
- |08||B||{{ottdp|0.6|2.0}}||AI special flag: set to 1 if engine is 'optimized' for passenger service (AI won't use it for other c |09||W||{{ottdp|0.6|2.0}}||Speed in mph*1.6 (see below)||no27 KB (4,264 words) - 10:15, 19 March 2023
- ...between) (This requirement is no longer present starting from TTDPatch 2.0.1 alpha 41.) ...they must not be interrupted by other sprites (except, since TTDPatch 2.0.1 alpha 41, a possible action 6).3 KB (527 words) - 22:30, 27 August 2011
- * {{ottd|<1.6}} OpenTTD < 1.6: 64 * {{ottd|1.6}} OpenTTD ⩾ 1.6: 128 per NewGRF, 240 in total22 KB (3,242 words) - 21:47, 18 January 2021
- |EXM1||Example 1||An example label listing||your name here||Forum link goes here4 KB (615 words) - 20:42, 11 August 2020
- This text class exists only in TTDPatch 2.0.1 alpha 59 and later. It contains language-dependent texts that didn't have t E04A kmh-13 KB (416 words) - 22:18, 17 June 2011
- ...existing NML files. NewGRFs thus will require a minimum OpenTTD version of 1.2.0 (r23166). ...allows answering the question: How much units of cargo X are equivalent to 1 ton of coal, resp. 1000 litres of water?4 KB (538 words) - 13:04, 13 November 2020
- |08||B||{{ottdp|1.1|no|ottdrev=r19459}}||Airport type override |0A||V||{{ottdp|1.1|no|ottdrev=r20377}}||Set airport layout(s)3 KB (537 words) - 13:09, 5 December 2011
- | 1 | 111 KB (1,128 words) - 21:30, 9 March 2023
- {{ottdp|0.6|2.5|ttdprev=2.0.1 alpha 57}} * 8-bit or {{ottdp|1.0|no}} 16-bit4 KB (618 words) - 15:38, 15 May 2013
- |1||01||Concrete Bridge |08<ref>The meaning of prop. 08 has changed in TTDPatch 2.0.1 alpha 34, it used to be what is now prop. 0D.</ref>||B||{{ottdp|0.6|2.5|ttd14 KB (1,862 words) - 17:17, 21 February 2023
- | {{ottdp|1.2|no|ottdrev=r23291}} A list of cargo types to allow refitting to, irrespec | {{ottdp|1.2|no|ottdrev=r23291}} A list of cargo types to disallow refitting to, irres63 KB (9,869 words) - 10:00, 10 May 2024
- Tramtypes can only be defined in OpenTTD {{ottd|1.10}} and {{nml|0.5}} or later. | 1 sprite for each direction. Sprite is overlay for tram in existing tunnel gr12 KB (1,715 words) - 21:43, 30 August 2022
- 2053 \94\80\0d\90 Buy 1 year's exclusive transport rights in town. Town authority will only allow p4 KB (512 words) - 21:51, 17 June 2011
- |c ||Horse-drawn Wagonway ||1 metric tonne (1000kg) per axle || style="text-align:right;"|1594 |b ||Iron Plateway ||1 metric tonne (1000kg) per axle || style="text-align:right;"|179933 KB (5,441 words) - 01:41, 1 May 2024
- | 1 | {{ottdp|1.0|no|ottdrev=r18283}}8 KB (1,018 words) - 21:31, 30 August 2022
- Roadtypes can only be defined in OpenTTD {{ottd|1.10}} and {{nml|0.5}} or later. | {{ottd|13}} and {{nml|0.7.2}} 1 sprite for each direction. Sprite is overlay for road in existing tunnel gr12 KB (1,731 words) - 08:41, 10 September 2023
- |1 |116 KB (2,164 words) - 20:17, 26 December 2011
- To avoid ambiguity, dword-sized dates before 1 Jan 32 must be specified with the YMD formats, not the DMY formats. eg 10 F5 KB (817 words) - 10:59, 18 June 2011
- |Objects || {{ottdp|1.1|2.6|ttdprev=alpha r2023}} |Airport Tiles || {{ottdp|1.1|no}}5 KB (865 words) - 20:24, 30 November 2023
- Since TTDPatch 2.0.1 alpha 51, it has been possible to use action D to participate in cooperativ ...y like their regular counterparts, but they set the <target> parameter to -1 (FFFFFFFF) if the resources are unavailable, which can be checked with acti7 KB (1,069 words) - 13:45, 13 February 2012
- |1 || 0x01 || pale green || dark blue6 KB (950 words) - 20:35, 4 August 2011
- For features 0, 1, 2 and 3 (vehicles), Action2 is mainly used to define sets of sprites that | 0 - 7 || {{ottdp|1.2|no|ottdrev=r23080}} Specifies, where the sprite is being displayed. See b6 KB (1,031 words) - 17:04, 4 May 2022
- ...r \2sto <ref name="renum1265">Supported since grfcodec and nforenum r1265 (1.0.0 and 3.4.4, respectively.)</ref>||var7D[val2] = val1, result = val1||{{ |10||\2psto <ref name="grfcodec100">Supported since grfcodec 1.0.0 and nforenum 4.0.0.</ref>||var7C[val2] = val1, result = val1||{{ottdp|09 KB (1,376 words) - 19:06, 22 August 2011
- |1||02||English |{{ottd|1.7|rev=r27769}} Useable like DCxx in Action 0 and for inclusion via string c9 KB (1,484 words) - 15:58, 11 February 2023
- 80E1 Yate Aerospace YAC 1-116 KB (896 words) - 21:51, 17 June 2011
- 01D9 \0eCustom 1 01F6 \98Select 'Custom 1' (user-defined) program19 KB (2,506 words) - 21:24, 17 June 2011
- !ID!!Land shape flags (0D)!!Acceptance 1 (0A)!!Acceptance 2 (0B)!!Acceptance 3 (0C)!!ground sprites!!building sprite12 KB (1,149 words) - 13:17, 13 November 2020
- |18h||Farm (sub-tropical)||0||0||0||0||2||1||0||013 KB (1,673 words) - 10:45, 25 March 2012