TrainzScript is a C-syntax-family scripting language developed by Auran to allow third-party custom content to exercise some level of control over the game environment.
TrainzScript was created during the development of Trainz SP3 for the purpose of allowing third-party content creators the ability to customize assets in ways that were more specific than allowed by the native content configuration system. During development, it was determined that scripted scenarios would provide the most useful gameplay impact for the new system, so this feature was the first usage of TrainzScript in the Trainz game environment.
- Scripting - documentation index for Trainz scripting topics.
- TrainzScript Language Reference - learn the syntax and runtime environment of the TrainzScript language.