HowTo/Example Vehicle Config.txt

From TrainzOnline
< HowTo
Revision as of 22:22, 2 August 2018 by S301 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is the "config.txt" for the example passenger vehicle:

kuid                                    <kuid:-18:10069>
username                                "BR MK1 RMB Example"
kind                                    "traincar"
trainz-build                            3.5
engine                                  0
enginespec                              <kuid:-1:42004201>
  
mesh-table
{
  default
  {
    mesh                                "mk1_rmb_br_bld_custd_body/mk1_rmb_br_bld_custd_body.lm"
    auto-create                         1
  }
  
  shadow
  {
    mesh                                "mk1_rmb_br_bld_custd_shadow/mk1_rmb_br_bld_custd_shadow.im"
  }
   
  left-passenger-door
  {
    mesh                                "mk1_rmb_br_bld_custd_body/left_door/left_door.im"
    anim                                "mk1_rmb_br_bld_custd_body/left_door/left_door.kin"
    auto-create                         1
    att                                 "a.doors"
    att-parent                          "default"
  }
 
  right-passenger-door
  {
    mesh                                "mk1_rmb_br_bld_custd_body/right_door/right_door.im"
    anim                                "mk1_rmb_br_bld_custd_body/right_door/right_door.kin"
    auto-create                         1
    att                                 "a.doors"
    att-parent                          "default"
  }
}
   
bogeys
{
  0
  {
    bogey                               <kuid:-3:10061>
    reversed                            0
  }
  1
  {
    bogey                               <kuid:-3:10061>
    reversed                            0
  }
}
mass                                    28000
username-fr                             "MK1 RMB de BR"
username-de                             "BR MK1 RMB"
username-es                             "BR - MK1 RMB"
username-it                             "BR MK1 RMB"
category-era                            "1940s;1950s;1960s"
category-class                          "PC"
category-region                         "00"
description                             "BR MK1 RMB Example Asset"
soundscript
{
  door_open
  {
    trigger                             "door_open"
    nostartdelay                        1
    repeat-delay                        1,0
    distance                            5,170
    sound
    {
      0                                 "start.wav"
    }
  }
   
  door_close
  {
    trigger                             "door_close"
    nostartdelay                        1
    repeat-delay                        1,0
    distance                            5,170
    sound
    {
      0                                 "start.wav"
    }
  }
}
   
queues
{
  passengers
  {
    size                                44
    initial-count                       0
    passenger-queue                     1
    product-kuid                        <kuid:-3:10060>
    attachment-points
    {
      0                                 "a.sitpoint5a"
      1                                 "a.sitpoint1b"
      2                                 "a.sitpoint3c"
      3                                 "a.sitpoint2d"
      4                                 "a.sitpoint1e"
      5                                 "a.sitpoint0f"
      6                                 "a.sitpoint5g"
      7                                 "a.sitpoint0h"
      8                                 "a.sitpoint1a"
      9                                 "a.sitpoint4b"
      10                                "a.sitpoint1c"
      11                                "a.sitpoint1d"
      12                                "a.sitpoint0e"
      13                                "a.sitpoint1f"
      14                                "a.sitpoint4g"
      15                                "a.sitpoint1h"
      16                                "a.sitpoint2a"
      17                                "a.sitpoint3b"
      18                                "a.sitpoint4c"
      19                                "a.sitpoint0d"
      20                                "a.sitpoint2e"
      21                                "a.sitpoint5f"
      22                                "a.sitpoint2g"
      23                                "a.sitpoint2h"
      24                                "a.sitpoint3a"
      25                                "a.sitpoint2b"
      26                                "a.sitpoint0c"
      27                                "a.sitpoint5d"
      28                                "a.sitpoint4e"
      29                                "a.sitpoint3f"
      30                                "a.sitpoint3g"
      31                                "a.sitpoint5h"
      32                                "a.sitpoint4a"
      33                                "a.sitpoint0b"
      34                                "a.sitpoint2c"
      35                                "a.sitpoint4d"
      36                                "a.sitpoint3e"
      37                                "a.sitpoint4f"
      38                                "a.sitpoint1g"
      39                                "a.sitpoint4h"
      40                                "a.sitpoint0a"
      41                                "a.sitpoint5b"
      42                                "a.sitpoint5c"
      43                                "a.sitpoint3d"
      44                                "a.sitpoint5e"
      45                                "a.sitpoint2f"
      46                                "a.sitpoint0g"
      47                                "a.sitpoint3h"
      48                                "a.standpoint0"
      49                                "a.standpoint11"
      50                                "a.standpoint2"
      51                                "a.standpoint13"
      52                                "a.standpoint8"
      53                                "a.standpoint5"
      54                                "a.standpoint3"
      55                                "a.standpoint7"
      56                                "a.standpoint4"
      57                                "a.standpoint9"
      58                                "a.standpoint10"
      59                                "a.standpoint1"
      60                                "a.standpoint12"
      61                                "a.standpoint6"
      62                                "a.standpoint14"
    }
  }
}
   
kuid-table
{
  0                                     <kuid:-3:10164>
  1                                     <kuid:-3:10061>
  2                                     <kuid:-1:42004201>
  3                                     <kuid:-3:10060>
}
     
thumbnails
{
  0
  {
    image                               "$screenshot$.jpg"
    width                               240
    height                              180
  }
  1
  {
    image                               "mk1_rmb_br_bld_custd_art/mk1_rmb_br_bld_custd_art_icon.texture"
    width                               128
    height                              64
  }
  2
  {
    image                               "mk1_rmb_br_bld_custd_art/mk1_rmb_br_bld_custd_art_512.texture"
    width                               512
    height                              512
  }
}
Updated to TS12 using AssetX by Andi06 and PEV


Back to HowTo/Build Passenger Enabled Assets
Personal tools