Search results

From GRFSpecs
Jump to navigationJump to search
  • |1,0 |0,1
    1 KB (165 words) - 18:47, 26 October 2011
  • |0D||newairports||1 |0E||largestations||1
    3 KB (356 words) - 21:56, 30 January 2023
  • | 1 km/h = 0.2778 m/s | 1 mph = 0.4470 m/s
    683 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 units
    932 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 | 1
    924 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 2D
    469 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 snowline
    1 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 allowe
    1 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 1
    1 KB (243 words) - 16:38, 21 August 2011
  • other_newgrf_no_high_cost = param["NML\01", 1] &lt; 5; reads parameter 1 (the first one, counting starts at 0) from the NewGRF with the grfID "NML\0
    702 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 [[Act
    1 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|&le;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 sprites
    2 KB (337 words) - 20:56, 30 August 2022
  • | 1 | 1
    13 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|| 100
    12 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 flags
    1 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, and
    1 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 | 1
    3 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 a
    1 KB (175 words) - 18:58, 16 June 2011
  • |1 |1
    1 KB (149 words) - 13:20, 5 March 2012
  • 1: &lt;string&gt;; 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|| || 1
    1 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 incompatible
    3 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. &nbsp;Returning 1 as callback return indicates the station can be built, and a return code of
    416 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. Y
    446 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=combo
    5 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) || Generalisation
    6 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&gt; &lt;subtract-in-2&gt; &lt;subtract-in-3&gt; &lt;add-out-1&gt; &lt;add-out-2&gt; &lt;again&gt; </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" (del
    5 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, eac
    6 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 expected
    5 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}}||undefined
    3 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 GRF
    13 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 type
    4 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 | 1
    4 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 station
    4 KB (593 words) - 13:22, 1 April 2012
  • |1||Freight/lorry stop |0||1||Bay stops: Draw road type ground sprite
    6 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 1
    3 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||100h
    4 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 spritese
    10 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 A
    6 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 01
    14 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 tiles
    11 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 bigg
    6 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 r
    884 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 by
    8 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/3
    8 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| Action3
    3 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 st
    11 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 class
    10 KB (1,562 words) - 07:29, 5 May 2023
  • |1||7 to 38 months||increases from 48-73% to 75-100% |0||1||Temperate
    6 KB (926 words) - 14:27, 24 June 2014
  • | 1 if the tile is water, 0 otherwise
    1 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/h
    11 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", "bu
    8 KB (983 words) - 18:10, 22 October 2012
  • |1||Bay||Facing south-east |1||Freight/lorry stop
    6 KB (856 words) - 19:45, 3 May 2024
  • {{ottdp|1.0|no|ottdrev=r19056}} Railtypes are available only in OpenTTD &gt; r19056 |6 flat and 4 slope, and 1 X crossing pieces ''with track'', and 5 junction pieces without track. Spri
    10 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, the
    1 KB (205 words) - 13:29, 1 April 2012
  • |1||TTD decided to build a new random industry during regular gameplay and nee
    2 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 single
    1 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|&lt;1.9}} 0..15, {{ottd|1.9}} 0..255 are available for the GRF to use. Note that accessing permanent
    8 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 picked
    25 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 wagons
    12 KB (1,924 words) - 21:20, 30 August 2022

View (previous 100 | next 100) (20 | 50 | 100 | 250 | 500)