HowTo/Example Station Config.txt

From TrainzOnline
< HowTo(Difference between revisions)
Jump to: navigation, search
(Created page with "This is the config.txt updated to TS12 standard for the station example: kuid <kuid:-18:10236> username "St...")
 
 
(One intermediate revision by one user not shown)
Line 312: Line 312:
 
  }
 
  }
  
Back to [[HowTo/Build Passeneger-Enabled Assets]]
+
;Updated to TS12 using AssetX by Andi06 and PEV.
 +
 
 +
;Back to [[HowTo/Build Passenger Enabled Assets]]

Latest revision as of 10:20, 19 August 2012

This is the config.txt updated to TS12 standard for the station example:

kuid                                    <kuid:-18:10236>
username                                "Station Basic Example"
kind                                    "industry"
trainz-build                            3.5
script                                  "Station"
class                                   "Station"
      
mesh-table
{
  default
  {
    mesh                                "Brick_Station.im"
    auto-create                         1
  }
}
nightmode                               "lamp"
icon-texture                            "icon_brickstation.tga"
username-fr                             "Gde_gare"
string-table-fr
{
  brickstation_platform1                "Plateforme 1"
}
username-de                             "Bahnhof_Groß"
string-table-de
{
  brickstation_platform1                "Bahnsteig 1"
}
username-es                             "Estación_gran"
string-table-es
{
  brickstation_platform1                "Andén 1"
}
username-it                             "Stazione_grande"
string-table-it
{
  brickstation_platform1                "Marciapiede 1"
}
category-class                          "BPF"
category-era                            "1990s;2000s;2010s"
category-region                         "00"
  
attached-track
{
  track_0
  {
    track                               <kuid:-1:15>
    vertices
    {
      0                                 "a.track0a"
      1                                 "a.track0b"
      2                                 "a.track0c"
      3                                 "a.track0d"
      4                                 "a.track0e"
    }
  }
}
attached-trigger
{
  trigger_track_0_a
  {
    att                                 "a.track0a"
    radius                              5
    track                               "track_0"
  }
  trigger_track_0_b
  {
    att                                 "a.track0b"
    radius                              27
    track                               "track_0"
  }
  trigger_track_0_c
  {
    att                                 "a.track0c"
    radius                              27
    track                               "track_0"
  }
  trigger_track_0_d
  {
    att                                 "a.track0d"
    radius                              27
    track                               "track_0"
  }
  trigger_track_0_e
  {
    att                                 "a.track0e"
    radius                              5
    track                               "track_0"
  }
}
  
processes
{
  passenger_spawn_0
  {
    start-enabled                       1
    duration                            20
    outputs
    {
      0
      {
        amount                          1
        queue                           "passengers_on_0"
      }
    }
  }
  passenger_delete_0
  {
    start-enabled                       1
    duration                            3
    inputs
    {
      0
      {
        amount                          1
        queue                           "passengers_off_0"
      }
    }
  }
}
     
soundscript
{
  dayloop
  {
    repeat-delay                        0,0
    distance                            8,130
    sound
    {
      0                                 "station_amb_2.wav"
    }
  }
}
      
string-table
{
  brickstation_platform1                "Platform 1"
}
      
thumbnails
{
  0
  {
    image                               "$screenshot$.jpg"
    width                               240
    height                              180
  }
}
      
queues
{
  passengers_on_0
  {
    passenger-queue                     1
    size                                80
    initial-count                       8
    product-kuid                        <kuid:-3:10060>
    attachment-points
    {
      0                                 "a.passon01"
      1                                 "a.passon02"
      2                                 "a.passon03"
      3                                 "a.passon04"
      4                                 "a.passon05"
      5                                 "a.passon06"
      6                                 "a.passon07"
      7                                 "a.passon08"
      8                                 "a.passon09"
      9                                 "a.passon10"
      10                                "a.passon11"
      11                                "a.passon12"
      12                                "a.passon13"
      13                                "a.passon14"
      14                                "a.passon15"
      15                                "a.passon16"
      16                                "a.passon17"
      17                                "a.passon18"
      18                                "a.passon19"
      19                                "a.passon20"
      20                                "a.passon21"
      21                                "a.passon22"
      22                                "a.passon23"
      23                                "a.passon24"
      24                                "a.passon25"
      25                                "a.passon26"
      26                                "a.passon27"
      27                                "a.passon28"
      28                                "a.passon29"
      29                                "a.passon30"
      30                                "a.passon31"
      31                                "a.passon32"
      32                                "a.passon33"
      33                                "a.passon34"
      34                                "a.passon35"
      35                                "a.passon36"
      36                                "a.passon37"
      37                                "a.passon38"
      38                                "a.passon39"
      39                                "a.passon40"
      40                                "a.passon41"
      41                                "a.passon42"
      42                                "a.passon43"
      43                                "a.passon44"
      44                                "a.passon45"
      45                                "a.passon46"
      46                                "a.passon47"
      47                                "a.passon48"
      48                                "a.passon49"
      49                                "a.passon50"
      50                                "a.passon51"
      51                                "a.passon52"
      52                                "a.passon53"
      53                                "a.passon54"
      54                                "a.passon55"
      55                                "a.passon56"
      56                                "a.passon57"
      57                                "a.passon58"
      58                                "a.passon59"
      59                                "a.passon60"
      60                                "a.passon61"
      61                                "a.passon62"
      62                                "a.passon63"
      63                                "a.passon64"
      64                                "a.passon65"
      65                                "a.passon66"
      66                                "a.passon67"
      67                                "a.passon68"
      68                                "a.passon69"
      69                                "a.passon70"
      70                                "a.passon71"
      71                                "a.passon72"
      72                                "a.passon73"
      73                                "a.passon74"
      74                                "a.passon75"
      75                                "a.passon76"
      76                                "a.passon77"
      77                                "a.passon78"
      78                                "a.passon79"
      79                                "a.passon80"
    } 
  }
       
  passengers_off_0
  {
    passenger-queue                     1
    size                                52
    initial-count                       0
    product-kuid                        <kuid:-3:10060>
       
    attachment-points
    {
      0                                 "a.passoff01"
      1                                 "a.passoff02"
      2                                 "a.passoff03"
      3                                 "a.passoff04"
      4                                 "a.passoff05"
      5                                 "a.passoff06"
      6                                 "a.passoff07"
      7                                 "a.passoff08"
      8                                 "a.passoff09"
      9                                 "a.passoff10"
      10                                "a.passoff11"
      11                                "a.passoff12"
      12                                "a.passoff13"
      13                                "a.passoff14"
      14                                "a.passoff15"
      15                                "a.passoff16"
      16                                "a.passoff17"
      17                                "a.passoff18"
      18                                "a.passoff19"
      19                                "a.passoff20"
      20                                "a.passoff21"
      21                                "a.passoff22"
      22                                "a.passoff23"
      23                                "a.passoff24"
      24                                "a.passoff25"
      25                                "a.passoff26"
      26                                "a.passoff27"
      27                                "a.passoff28"
      28                                "a.passoff29"
      29                                "a.passoff30"
      30                                "a.passoff31"
      31                                "a.passoff32"
      32                                "a.passoff33"
      33                                "a.passoff34"
      34                                "a.passoff35"
      35                                "a.passoff36"
      36                                "a.passoff37"
      37                                "a.passoff38"
      38                                "a.passoff39"
      39                                "a.passoff40"
      40                                "a.passoff41"
      41                                "a.passoff42"
      42                                "a.passoff43"
      43                                "a.passoff44"
      44                                "a.passoff45"
      45                                "a.passoff46"
      46                                "a.passoff47"
      47                                "a.passoff48"
      48                                "a.passoff49"
      49                                "a.passoff50"
      50                                "a.passoff51"
      51                                "a.passoff52"
    }
  }
}
   
kuid-table
{
  passenger                             <kuid:-3:10060>
  0                                     <kuid:-1:15>
}
Updated to TS12 using AssetX by Andi06 and PEV.
Back to HowTo/Build Passenger Enabled Assets
Personal tools