ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Trainz Config

by Daniel Gooß ST3

Language definition for Trainz Config.txt files for Sublime Text

Details

Installs

  • Total 77
  • Win 37
  • OS X 31
  • Linux 9
May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7
Windows 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Trainz Config

Language definition for Trainz Config.txt files for Sublime Text

Installation

Find it as Trainz Config through Package Conrol

Usage

This package is supposed to help you creating / editing Config.txt files for N3Vs Trainz Simulator. If you open a Config.txt file in Sublime Text it will automaticly choose Trainz Config as language definition, so no work for you here! For the best results set the indentation to spaces and set the tab size to 2.

The values are indented by 40 characters (20 tabs), containers are framed by curly brackets with a line break before and after them.

Example

kuid                                    <kuid:XXXXXX:XXXXXX>
kind                                    "track"
istrack                                 0
username                                "Demo Asset"
trainz-build                            3.9
category-era                            "2000s"
category-class                          "TR"
category-region                         "00"

mesh-table
{
  default
  {
    auto-create                         1
    mesh                                "mesh.im"
  }
}

kuid-table
{
}