Search results

From GRFSpecs
Jump to navigationJump to search

Page title matches

  • switch (&lt;feature&gt;, (SELF|PARENT), &lt;ID&gt;, &lt;expression&gt;) { ...style="color:darkgreen">&lt;feature&gt;</code>: The feature for which this switch is used (see [[NML:Features|Features]]).
    5 KB (880 words) - 21:31, 30 August 2022
  • While a [[NML:Switch|switch-block]] allows making a predictable decision, a random_switch allows a rand ...">&lt;ID&gt;</code> can be used to refer to this block from other (random-)switch-blocks.
    10 KB (1,494 words) - 07:30, 10 September 2023

Page text matches

  • [[NML:Switch|Switch]] [[NML:Random switch|Random switch]]
    1 KB (180 words) - 06:41, 22 December 2019
  • NML allows a syntax to directly access (unnamed) variables in a switch-block by their NFO number: NML allows to specify the used callbacks in the switch chain instead of the graphics block.
    976 bytes (155 words) - 13:28, 27 May 2013
  • switch (&lt;feature&gt;, (SELF|PARENT), &lt;ID&gt;, &lt;expression&gt;) { ...style="color:darkgreen">&lt;feature&gt;</code>: The feature for which this switch is used (see [[NML:Features|Features]]).
    5 KB (880 words) - 21:31, 30 August 2022
  • ...to use action D to read various special Patch variables. These are usually switch values, but there are also a few other useful values. !variable!!Switch!!Version!!Value
    4 KB (558 words) - 13:20, 13 March 2022
  • ...ays set when TTDPatch is active. Thus feature 0x48 was not disabled by any switch. (today TTDPatch does not depend on the switches being in order of the feat
    6 KB (627 words) - 10:48, 28 December 2019
  • |TINYFONT || switch to small font || |BIGFONT || switch to big font ||
    12 KB (1,617 words) - 07:21, 10 September 2023
  • ...s 8C..EB directly. The meaning of these variables changes if the newcargos switch is on. Use the variables 60..64 instead (common stations variables). Those
    994 bytes (133 words) - 20:50, 1 August 2011
  • **[[NML:Switch|Switch]] **[[NML:Random switch|Random switch]]
    7 KB (840 words) - 07:26, 10 September 2023
  • switch(FEAT_INDUSTRIES, SELF, warehouse_prod_cb2, [ switch(FEAT_INDUSTRIES, SELF, warehouse_prod_cb1, [
    9 KB (1,308 words) - 21:01, 8 May 2019
  • ...many engine ticks, so that it is played at a constant rate, or, of course, switch between both modes depending on vehicle speed. Note that if the planespeed switch is active, planes move the given number of times per engine tick. This mean
    2 KB (386 words) - 12:24, 18 April 2015
  • !'''Bit'''!!'''Switch (bit set = switch on)'''!!'''Correspondence in OpenTTD'''
    3 KB (356 words) - 21:56, 30 January 2023
  • A number of global variables are available. Some are only available in switch-blocks, while others can be used in any expression. This is indicated by th ! Available outside switch blocks
    10 KB (1,549 words) - 13:23, 28 June 2023
  • ...ssical way of defining callbacks, which is handling them within a chain of switch-blocks. It is not recommended to use this method, but it is still supported ...ms that have triggers associated with them. See [[NML:Random switch|random switch]] for more information.
    12 KB (1,924 words) - 21:20, 30 August 2022
  • While a [[NML:Switch|switch-block]] allows making a predictable decision, a random_switch allows a rand ...">&lt;ID&gt;</code> can be used to refer to this block from other (random-)switch-blocks.
    10 KB (1,494 words) - 07:30, 10 September 2023
  • ...back a return value may be specified, in the same way as for [[NML:Switch| switch-blocks]]. Note that all callbacks have to be defined in a '''single''' grap
    4 KB (689 words) - 14:05, 5 November 2014
  • ...player and has the required minimum reliability as set by the autoreplace switch, and abort the callback sequence at this point.
    2 KB (288 words) - 22:12, 30 August 2022
  • ...s 8C..EB directly. The meaning of these variables changes if the newcargos switch is on. Use the variables 60..64 instead (see below). Those always work corr ...h setting, in a future alpha version it will actually refer to whether the switch is on ''and'' the current block actually uses PBS.
    11 KB (1,612 words) - 20:48, 29 January 2020
  • See [[NML:Random switch|random switch]] for more information.
    10 KB (1,590 words) - 21:15, 30 August 2022
  • // A pseudo-switch which sets the temporary parameters for the sprite layout, storing the spri switch (FEAT_OBJECTS, SELF, company_land_terrain_switch, [
    14 KB (2,107 words) - 18:27, 2 October 2023
  • ...e usual way as described in sections [[NML:Switch|switches]], [[NML:Random switch|random switches]] and [[NML:Graphics|graphics block]] sections.
    12 KB (1,715 words) - 21:43, 30 August 2022
  • ...e usual way as described in sections [[NML:Switch|switches]], [[NML:Random switch|random switches]] and [[NML:Graphics|graphics block]] sections.
    12 KB (1,731 words) - 08:41, 10 September 2023
  • |||<data> should be the switch number written out ("5")
    5 KB (827 words) - 13:13, 13 November 2020
  • ...s 8C..EB directly. The meaning of these variables changes if the newcargos switch is on. Use the variables 60..64 instead (see the specific station type's de
    5 KB (734 words) - 19:47, 29 August 2011
  • | 8 random bits, also used for [[NML:Random_switch|random switch]]-blocks. Initially these are the same for all tiles of a multi-tile house. See [[NML:Random switch|random switch]] for more information.
    20 KB (3,342 words) - 21:40, 30 August 2022
  • If the newagerating switch is turned on, the calculation changes. You get 33 points for vehicles young
    5 KB (782 words) - 21:34, 21 June 2011
  • | Random triggers waiting to be matched. (see [[NML:Random switch|Random switch]])
    15 KB (2,334 words) - 20:56, 3 May 2024
  • | Freight status (for the freighttrains switch); 0=not freight, 1=is freight In TTDPatch this changes when the 'newagerating' switch is enabled
    13 KB (2,057 words) - 13:57, 3 February 2024
  • * [[VariationalAction2]] - A conditional switch that determines a [[Callbacks|callback]] result or chains to another Action
    7 KB (832 words) - 09:51, 11 June 2023
  • The [[ttwiki:NewCargos|NewCargos]] switch of TTDPatch allows modifying the existing 12 cargos per climate, and allows ...if you intend to maintain compatibility with GRFs unaware of the newcargos switch. Further assuming that no active GRFs support the toyland climate, you can
    18 KB (2,894 words) - 13:51, 3 February 2024
  • ...e usual way as described in sections [[NML:Switch|switches]], [[NML:Random switch|random switches]] and [[NML:Graphics|graphics block]] sections.
    18 KB (2,673 words) - 15:20, 9 December 2023
  • ...rage. Temporary storage holds data until the final "return" of the current switch-chain of the current callback. Addresses 0..127 are available for the GRF t
    8 KB (1,304 words) - 21:26, 27 June 2023
  • |99||{{ottdp|no|2.5|ttdprev=2.0.1 alpha 1}}||Switch to company colour that follows in next byte (enabled by enhancegui) ...df}}||9A 1F Push current colour onto colour stack. Use this if you need to switch colour and restore later.
    18 KB (2,907 words) - 07:14, 10 September 2023
  • {{ottdp|no| }} Note that in TTDPatch the officefood switch may modify acceptance in the sub-arctic and subtropical climates. The default value is 2, which means the switch occurs every 108 milliseconds. Increasing this value by one doubles the wai
    21 KB (3,310 words) - 12:28, 25 November 2023
  • ...urv_info_cur_next == b)</code>, however the former can easily be used in a switch-block. Random triggers waiting to be matched. (see [[NML:Random switch|Random switch]])
    63 KB (9,869 words) - 10:00, 10 May 2024
  • |Boolean. The GUI displays a toggle button to switch the setting on or off.
    13 KB (1,866 words) - 12:42, 18 December 2013
  • ...ytes that are used as multipliers for track costs when the "trackcostdiff" switch is on. The value of 08 is the baseline value that is used by standard TTD. This is only active if the tempsnowline switch is on. It defaults to FF (no snow) and 38 (GRF version < 8) resp. 07 (GRF v
    18 KB (2,772 words) - 19:48, 27 June 2023
  • ...icles are set to realistic acceleration in the NewCurveAndMountainHandling switch. They are ignored otherwise.
    10 KB (1,493 words) - 22:06, 30 January 2023
  • ...stop at WAYP stations, regardless of the non-stop order and/or the nonstop switch. ...eded). &nbsp;Property 10 specifies at what amount of cargo the patch is to switch from one to the other subrange. &nbsp;See [[Action2Stations|Action 2 for st
    25 KB (3,955 words) - 10:16, 1 April 2024
  • For wagons, this value is only used if the "wagonspeedlimit" switch is on, and it limits the speed of the train to that of the lowest wagon spe ...icles in the train have this bit set. In TTDPatch it requires the "curves" switch to be on. For realistic curves, it gives the train two free curving pieces
    27 KB (4,264 words) - 10:15, 19 March 2023
  • The [[ttwiki:GeneralFixes|GeneralFixes]] switch fixes this problem unless the [[ttwiki:MiscellaneousModifications|miscmods.
    13 KB (1,673 words) - 10:45, 25 March 2012
  • |144 || switch toolbar
    15 KB (2,124 words) - 19:48, 23 April 2024
  • ...n be used to randomize certain descisions. (see [[NML:Random_switch|Random switch]]) (NML r1666)
    31 KB (4,816 words) - 23:40, 3 June 2023