Search results

From GRFSpecs
Jump to navigationJump to search
  • ...ist_of_tiles|the tile list]] for a list of terrain sprites). The syntax is as follows: .../script.php?feature=spritesbyfile&q= OpenGFX author overview] can be used as a reference to look up these sprite numbers.
    2 KB (359 words) - 06:35, 28 February 2013
  • ...cles ({{ottd|1.1|r21238}} Since OpenTTD r21238 for road vehicles and ships as well). ...used instead.  For possible return values, refer to these properties as well.
    1 KB (200 words) - 23:16, 3 August 2011
  • ...elicopter rotors, and in the future, the look of train visual effects such as steam and diesel smoke. The format of a wagon override is the same as a regular action 3 entry, with the following special considerations:
    3 KB (527 words) - 22:30, 27 August 2011
  • This callback is intended for limiting your type as a whole, so you can't access any industry-specific variables, just the glob |0001..00FF|| Allow construction, and use the returned value as probability for appearance on the map. (Instead of using [[Action0/Industri
    2 KB (229 words) - 13:25, 1 April 2012
  • ...e entries for palette cycling to do some colour-animation, don't use these as regular colours. These entries are often called "action colours". ...web.archive.org/web/20121115112036/https://dev.openttdcoop.org/documents/1 as .zip.
    5 KB (818 words) - 12:30, 22 March 2024
  • The data looks as follows: The set of <num-sprites> and <first-sprite> is repeated as often as <num-sets> specifies.
    4 KB (556 words) - 09:34, 29 December 2023
  • ...r 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 0
    416 bytes (62 words) - 13:35, 1 April 2012
  • |Height above ground, top parts of locks have the same height as the lower parts. Note: this returns height in increments of 1 (and not 8) |Random byte for plain canals and river tiles, otherwise zero (under bridges as example, or old savegames)||
    1 KB (161 words) - 21:46, 6 May 2013
  • {{grfTill|7}} For GRF version 7 and below the return values are the same as for [[Callbacks#Industry_location_permissibility_.2828.29|callback 28]], bu {{grfFrom|8}} For GRF version 8 and above the return values are the same as for [[Callbacks#Industry_location_permissibility_.2828.29|callback 28]]. Re
    1 KB (190 words) - 13:18, 1 April 2012
  • ...perty 16. Return 0 to do nothing, or 1 to remove the building from the map as if the town decided to destroy it. You can use this for example to remove a
    446 bytes (67 words) - 13:24, 1 April 2012
  • <b>NOTE: As of OpenTTD 13, this feature is considered deprecated for most uses. Use var ...allback says to stop. &nbsp;All the returned variations are then displayed as refitting options, with all options that have the same cargo type and callb
    1 KB (229 words) - 09:59, 10 May 2024
  • ...is no longer true, Action 6 will be applied both at initialization as well as activation. You can therefore use either action 7 or 9 to skip it, whicheve The data looks as follows:
    5 KB (871 words) - 22:02, 30 August 2022
  • ...llbacks, if the high byte of the result is nonzero, it will be interpreted as a sound effect number, and the corresponding sound effect will be played at
    1 KB (241 words) - 22:39, 31 October 2011
  • ...ype of the value depends on the property, some properties require a string as value and some an expression. For some properties you can optionally specif ...tem-block. It allows to define the graphics for a particular item, as well as various callbacks. Callbacks are used to define various things at run time,
    4 KB (689 words) - 14:05, 5 November 2014
  • ...ter (i.e. those usually set as options in the newgrf(w).cfg file), as well as do math on them. The data looks as follows:
    5 KB (746 words) - 16:56, 18 March 2015
  • ...ly an integer from 1 up to and including 365, so you may also define a day as a number. The values can be any value between 0 and 255. 255 means 'no snow ...le="color:darkgreen">equal</code> mode, the height of the snow is the same as the day before, unless the day is listed in the <code style="color:darkgree
    2 KB (313 words) - 17:57, 11 May 2014
  • ...u can specify some parameter settings that the user will be able to change as part of the newgrf configuration. These can for example be used to disable This gives the parameter name as shown in the parameter configuration dialogue of OpenTTD.
    3 KB (469 words) - 07:18, 11 April 2015
  • ...via action3) that isn't defined, your request is ignored, but not reported as an error, either. This means that if you want to conditionally define an ID |10||W||{{ottdp|1.1|no|ottdrev=r19459}}||TextID to be used as airport name
    3 KB (537 words) - 13:09, 5 December 2011
  • ...note, though, that the text handler will see it as an array of bytes, not as an array of DWORDs, so you will have to pack two words into a register when
    2 KB (288 words) - 13:30, 1 April 2012
  • ...ed in two ways, as generator of (partial) town names for another block, or as top-level town names block, a starting point of town names in the grf file.
    2 KB (311 words) - 22:07, 1 February 2014

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