John Cletheroe's
Trainz Hintz - A Step-By-Step Guide To Making A Very Simple TRS2004 Scenario


TRS2004 Scenario Creation Tutorial - Part Nine: Files And Folders

When Surveyor's "Export Scene Data" option is involved for the first time for a scenario, it creates the following folder:
C:\Program Files\Auran\TRS2004\World\Custom\scenarios\name
(where "name" is the name you gave the new scenario)

The scenario's folder will then contain the following files:

config.txt
Every Trainz asset, regardless of its type, has a config.txt file which contains fundamental information about the asset. This file is always in the top level of the asset's kuid folder tree. Since a scenario is a type of Trainz asset, it has a config.txt file. This file can be edited using a text editor program such as Notepad.

name.tso
(where "name" is the name of the scenario) The details of the trackside objects for this scenario. This file has an internal format and cannot be edited by any normal means.

name.tso.txt
(where "name" is the name of the scenario) A short file which contains a string-table. This file can be edited using a text editor program. I do not know the purpose of this file.

name.gs
(where "name" is the name of the scenario) This file contains the source code for the GameScript/TrainzScript program for this scenario. This file can be edited using a text editor program. The file initially contains a template which can be modified and added to.

Scenario asset folders can additionally contain other files, such as images and sounds that the scenario displays and plays. The use of such files is beyond the scope of this tutorial.


Index

Part Eight: Operations In Surveyor

Part Ten: Editing The Scenario's config.txt File


Overall Site Home Page
About this personal web site JohnCletheroe

EMail me

Most recently modified 16-Apr-10