John Cletheroe's
Trainz Hintz
|
Scenario Creation And GameScript/TrainzScript Hints For Beginners
The information on this page and the documents which can be downloaded from it is specifically for TRS2004. Parts of the information may also be applicable to other versions of Trainz.
Scenarios are user activities, or challenges, which can be created for Trainz. TrainzScript is the computer programming language in which scenarios are written. TrainzScript is similar to the "C++" programming language, with numerous classes that control how trains and their worlds behave.
GameScript appears to be a synonym for TrainzScript. It might possibly refer to an earlier version of the language.
The following Microsoft Word documents, packaged as a single zip file, are my working notes on scenario creation and the TrainzScript language. As you will see, I am still at a very early stage of learning the language. However, these hints might prove useful for beginners.
I would appreciate any feedback regarding mistakes in these documents, or anything which isn't clear.
Download docs.zip (60KB)
The zip file contains the following documents:
- PC4103 Overview Of The Scenario Creation Process
- PC4110 Summary Of The C Programming Language (C Language, "C" Programming Language, "C" Language) With Relevance To GameScript/TrainzScript/GSC
- PC4112 GameScript/TrainzScript/GSC
- PC4116 How To Create A Scenario Based On An Existing Layout, Including Modifying The Layout To Add More Triggers Etc - Export Scene Data And Import Scene Data
- PC4136 GameScript/TrainzScript/GSC - Asynchronous Operations, Event Handling, AddHandler And Handler Functions
I certify that these files have been virus checked and that they will not perform any intentionally malicious act on your computer.
Trainz Hintz
Overall Site Home Page
About this personal web site JohnCletheroe
Email me
Most recently modified 23-Apr-07