Search results

From GRFSpecs
Jump to navigationJump to search
  • ...ly possible return values are 00, 02, 04 and 06. Their meaning is the same as in prop. 0E. ...ould contain. For the same reason, it uses the same cargo type in action 3 as the construction menu does (i.e., type FF if defined or else the default).
    884 bytes (151 words) - 18:57, 16 June 2011
  • ...d refit cost factor, cost base depends on the vehicle type and is the same as for the refit cost property. Negative cost factors allow refit revenue. ...llowed as an auto-refit as long as bit 4 of the miscellaneous flags is set as well.
    1 KB (201 words) - 20:15, 22 September 2013
  • ...ormal gameplay, that means exactly four times). Can return the same values as callback 1B. Variable 40 contains the new stage. You can return FF for stag ...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
    521 bytes (82 words) - 18:57, 16 June 2011
  • |00..FE|| Display error message using D0xx (D000..D0FE) text as second line. |100..1FE|| Display error message using D0xx (D100..D1FE) text as second line.
    1 KB (205 words) - 13:29, 1 April 2012
  • ...s, which made pure white images with sprites common in NewGRF development. As such the pure white pixel test is also a way to detect so cases where the p ...iven in the source (image or sound file) does not match the capitalization as found in the file system.
    1 KB (224 words) - 22:28, 20 February 2021
  • ...frame should last. The value of the delay should be given in the same way as for property 1B/10/17. Decreasing the return value speeds the animation up Note: This is one of the most time consuming callbacks as it is called for every animated tile every ≈30 milliseconds. For better p
    788 bytes (127 words) - 18:57, 16 June 2011
  • The above example will remap colour 0xC6 as 0x28, 0xC7 as 0xF5 and the range 0xC8 to 0xCD to the colours 0x0A..0x0F. This is one of t
    878 bytes (146 words) - 13:22, 18 December 2013
  • ...ic action 3 must be used. It must be processed by a VarAction2 feature 0E, as indicated in the following link: [[VarAction2NewSignals]].
    252 bytes (37 words) - 16:33, 19 June 2011
  • ...re identical to that of <code style="color:darkgreen">railtypetable</code> as described below ...ype. If the railtype SHNY is not available then trains using RT_SHINY_RAIL as track type will fallback to RAIL.
    2 KB (265 words) - 19:35, 27 February 2020
  • Works exactly the same way as [[Callbacks#Random production change (29) |callback 29]], except that it's
    235 bytes (28 words) - 18:58, 16 June 2011
  • ...to upgrade the current vehicle to and the vehicle variables are available as usual to decide which IDs would be appropriate to upgrade to. ...t that is available to the player and has the required minimum reliability as set by the autoreplace switch, and abort the callback sequence at this poin
    2 KB (288 words) - 22:12, 30 August 2022
  • |FE||continue with next frame as usual. You can return this for stages where you don't want to do anything s ...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
    908 bytes (142 words) - 07:13, 11 January 2013
  • The format is as follows. Optional parts are placed between parentheses: ...ted below, all parameters are numbers. They can be any expression, as long as they evaluate to a compile-time constant.
    5 KB (807 words) - 14:12, 6 June 2020
  • ...anslation on every player. However, GRFs with only action 13 can be loaded as [[OpenTTD static NewGRF]]. {{grfFrom|8}} GRF version 8 alleviates this prob The data looks as follows:
    2 KB (254 words) - 23:25, 27 January 2022
  • ...imum value is 2 (=4 ticks). The ingame length as well real length is given as rounded values for reference only, assuming normal game speed.
    924 bytes (110 words) - 16:45, 21 August 2011
  • The following values can be used as return values for the <code style="color:darkgreen">location_check</code> c | Item can't be built, show the string as error message.
    2 KB (249 words) - 20:59, 30 August 2022
  • If this callback is in use, additional vehicles will be added as long as the callback says so. ...n the first vehicle contains cargo, the callback must work in the buy menu as well. This means that it will be called with cargo type FF in the action 3.
    2 KB (291 words) - 12:21, 18 April 2015
  • With this statement, you can deactivate other NewGRFs. As parameters, you can supply any number of grfids (4-byte strings) to deactiv
    409 bytes (59 words) - 16:34, 21 August 2011
  • * Statistics on the NewGRF on used IDs for vehicles, houses, etc as well as available switches, parameters etc
    2 KB (227 words) - 13:21, 19 February 2015
  • ...of the returned value is different in GRF version 7; it works the same way as [[Callbacks#Industry location permissibility (28) |callback 28]]. {{ottdp| are the same as the lowest byte of variable 18 of callback 28.
    2 KB (290 words) - 13:28, 1 April 2012

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