Trainz/refs/Content Configuration

From Wikibooks, open books for an open world
< Trainz‎ | refs
Jump to navigation Jump to search
logo
Trainz Annotated References
TOC | BeginningsFun | AM&C | Creation | InBook Refs ORP Refs:  • Index • Containers • Kinds • Tags | Appendixes  • Vers
For a new-user walk-through explaining how to create various types of content, see the How-To-Guides index page instead.

Overview of Trainz Content[edit]

This page acts as reference manual for all Trainz content, and its legal asset-oriented data types (KINDs) and other aggregate data structures (generally, containers as computer science defines such).

Every Trainz asset from the mighty collection of assets contained in a route to the lowliest scenery item such as imitation grass, the color of a rock or field—all have two things in common: The list of common legal keyword names (tags, kinds and containers) which begin the definition of the asset found in the TrainzBaseSpec and the satisfactory completion of their applicable requisite data elements in a config.txt file.

Unlike the N3V Games controlled Trainz Wiki with the narrow focus mainly intended to provide accurate and concise description of the capabilities and configuration of Trainz current-version content, this work, the TWBK aims to cover the relations of the older data forms to the new and the rationales in their evolution, regrouping, or inception. To the new user, particularly those with no familiarity with programming language practices, the information on this page can become a starting point to understanding.

Structure of a Trainz Asset[edit]

Main basics are covered in: Anatomy of an asset, the beginners and AM&C Config.txt files pages linked (respectively) in the paragraph below:

Each item of Trainz content ("an asset") is created as the contents of a single operating system folder, containing a config.txt file and some number of supporting files and/or folders and their files. Files located in the content folder must obey the Filename character restrictions and each item should be directly relevant to the asset in question. When committed or as in newer Trainz releases, tested for validation before commitment, the asset's folder contents and the config.txt file will be validated against one another, the ideal minimum definitions will be bounced against those and each must be in balance and correct with respect to one another.

Content Types[edit]

Each asset built for the Trainz environment follows a preset template, which defines what tags can be included in the config.txt file, what capabilities the asset will have, and how the user can manipulate the asset in-game. The following types of custom content are supported by Trainz:

Kinds of KINDs[edit]

All the below Child Classes are considered to have the TrainzBaseSpec as their Parent Class of data.[note 1] Kinds below which are underlined are legacy kinds antedating changes to the Trainz data model in the release of TS2009 (i.e. since late 2008), with only gradual (incremental) changes imposed since by the N3V programmers. Details for fixing assets based on these legacy kinds can currently be found in the Content Creator's Guide section of the N3V Trainz Wiki TrainzOnline site here with illuminating examples of legacy Kinds here. Perusal of the CCG (the one online is the TC1&2/TC3 version, containing the altered Enginespecs Locomotive kinds from the TRS2004/TRS2006 AND UTC data models.) is highly recommended to any users of the Trainz Download Station or anyone contemplating creating content.

TrainzBaseSpec Child Class KINDs (type asset groups)

 


Category Tags[edit]

File:A Category in CM are an aid to sorting and selecting appropriate content varieties which are classified into groups by N3V loosely based on category-class and Kinds
A Category in CM are an aid to sorting and selecting appropriate content varieties which are classified into groups by N3V loosely based on category-class and Kinds.

A list Category in content manager (CM) are implemented as an aid to sorting and selecting appropriate content varieties which are classified into groups by N3V loosely based on category-class and Kinds.

Category-era and Category-region in Trainz's CM are separate dropdown entries for sorting and selecting appropriate mixes of criteria when narrowing down content numbers

Category-region and category-era are classification tags identifying assets that would be found in a time or place—note they are not searched by using the category dropdown list, but are separate line entries. Each of these tags have the job of classification, which are used in narrowing down a particular sort of asset search when running Content Manager or such searches can be used to group assets, which are then useful mainly in filters inside Surveyor.

For Asset by enumerated categories search. The 'CM search by Category' is defined by N3V's programmers, and does not directly correspond to all asset Kinds and category-class tagses.
For Region (country or countries) searching
For Era Searching

Feedback[edit]

Content Configuration Feature Requests - ask here for new config.txt files features


Categories[edit]

Categories are the sometimes overlooked superhighways of getting around in a Wiki project, and the user will find these listed are index pages to finding things faintly remembered efficiently and effectively:

See also[edit]

The following category pages will list and index Trainz specific articles throughout this Wikibook

  • Category:Book:Trainz — Trainz by divisions. Sub-categories will list knowledge-area grouped topics. Parent category for Wikibook readers.
  • Category:Introductory Trainz — From Windows setup management and creation of a good Trainz install to options for video and memory configurations, then a program of high interest step by step from introduction to intermediate-skills mastery.
Trainz Assets related how-to topics from running and using Software tools, repairing faults, to making progress as an world builder and modifying assets to suit your needs.
Trainz Assets related how-to topics from running and using Software tools, repairing faults, to making progress as an world builder and modifying assets to suit your needs.
Trainz Assets related how-to topics from running and using Software tools, repairing faults, to making progress as an world builder and modifying assets to suit your needs.