Search results

From TrainzOnline
Jump to: navigation, search
  • ...tomatically saved and restored. It is the responsibility of the individual scripts to save and restored any necessary state across a Surveyor save session/loa ...-defined HTMLPropertyHandler classes also already exist in the core Trainz scripts, which script programmers can use to save time and avoid code duplication.
    17 KB (2,173 words) - 09:22, 5 April 2021
  • ... back at all assets prior to TS2009 the configs used the K&R style and the scripts used Allman style. I agree that standardization is a good idea but I also t
    13 KB (2,187 words) - 01:26, 7 November 2016
  • ...nderstood. They must always be instructed by the game. The mechanism that scripts use to accept instructions is the provision of standardised methods that wi This is the header for the ''Init()'' function, a method which all asset scripts must contain.
    6 KB (986 words) - 14:37, 28 December 2020
  • ... by scanning one or two copies of jetlog.txt from TC, together with the TC scripts folder and the TRS2006 copy of index.chm. There are probably many standard |A common custom message used by various scripts to implement timed polling.
    16 KB (2,177 words) - 13:43, 14 September 2019
  • ...ublic internet for security reasons. This means that it's not possible for scripts to connect to an IRC network. It's possible that someone could write a nati ... from James' comments, TS2009 custom signalling requires the use of Signal scripts. You may implement a library which coordinates state between signals if you
    12 KB (2,033 words) - 07:56, 25 February 2013
  • :''TS2009 now has the ability to cross-include scripts from another asset.'' ~chris
    18 KB (2,949 words) - 02:50, 14 October 2021
  • set include="C:\Program Files\Auran\TRS2006\Scripts" '''TrainzUtil.exe''' is used to compile scripts in TS2009 onwards.
    5 KB (892 words) - 14:34, 12 October 2022
  • ... purely by naming the controls correctly and relying on Trainz default cab scripts to make them work. A quite reasonable cab can be made for many locomotives ... deriving your cab script from the 'cabin' class, ignoring the default cab scripts, and implementing your required behaviour from scratch. This gives you a lo
    29 KB (3,975 words) - 04:54, 17 June 2021
  • NOTE: This is the native way of doing running numbers. There are Trainz scripts out there that might do it a different way.
    9 KB (1,478 words) - 12:08, 2 August 2018
  • *A trigger at each end of the track to allow the scripts to determine when a train is at the end of the platform.
    14 KB (2,053 words) - 17:39, 3 January 2023
  • More and more content creators are using scripts to extend the funciontallity of their contents,
    4 KB (582 words) - 23:15, 16 January 2018
  • Now that we have imported the file "nochelper.gs" in your scripts, all other needed steps will be done by calling some API functions defined ...ve available named objects, and using cache techniques enables to optimize scripts by sharing data between multiple assets and offers synchronous answers to
    20 KB (2,908 words) - 01:13, 2 March 2022
  • ... 'path' then the tower will take ownership of the object, preventing other scripts from modifying state. In this instance, passing a null SecurityToken will c
    5 KB (640 words) - 23:16, 25 February 2024
  • ...ding traincar DLC packs. It is expected that locomotives and rolling stock scripts will not break default functionality. ... with a locomotive that to them simply does not work. For startup/shutdown scripts there are two options for this, one is to simply have the loco on by defaul
    16 KB (2,759 words) - 21:05, 26 June 2023
  • ...enerally the result of messages posted either by the system or other asset scripts.
    47 KB (6,255 words) - 00:13, 5 March 2024

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

Views
Personal tools
Toolbox