Adding a third rail spline to a track and making it a whole track

jamal17

Subways and railroads
I have a commuter rail route that I've been working on for the last five years and it uses third rail Power like the MTA LIRR, I wanted to know if I can use the "JR Dk Grey" track by "Norfolksouthern37" <kuid2:45324:38025:4> and add the "concrete post style 3rd Rail 2m/6ft" by "jaleel" <kuid:61015:37032> as an attachment to make it an official third rail track, is this possible?
 
I have a commuter rail route that I've been working on for the last five years and it uses third rail Power like the MTA LIRR, I wanted to know if I can use the "JR Dk Grey" track by "Norfolksouthern37" <kuid2:45324:38025:4> and add the "concrete post style 3rd Rail 2m/6ft" by "jaleel" <kuid:61015:37032> as an attachment to make it an official third rail track, is this possible?

It should be possible simply by adding an attached-spline container to the track.
Code:
attached-splines
{
   third-rail
   {
      follows-spline-gradient             1
      lateral-offset                      2
      spline-kuid                         <kuid:61015:37032>
      use-same-direction                  1
      visual-only                         0
   }
}
 
Tried it, didn't work, they're telling me :

-The Tag 'follows-spline-gradient' is not permitted within a container of type 'third-rail'.
-The Tag 'visual-only' is not permitted within a container of type 'third rail'.
 
Tried it, didn't work, they're telling me :

-The Tag 'follows-spline-gradient' is not permitted within a container of type 'third-rail'.
-The Tag 'visual-only' is not permitted within a container of type 'third rail'.

That should not happen. Perhaps you need to upgrade it to a higher build number.
Code:
kuid                                    <you cloned kuid goes here>
username                                "JR Dk Grey w- Third Rail"
kind                                    "track"
trainz-build                            3.5
mesh-table
{
  track-lod0
  {
    mesh                                "track_lod0.im"
  }
  
  track-lod1
  {
    mesh                                "track_lod1.im"
  }
  
  track-lod2
  {
    mesh                                "track_lod2.im"
  }
  
  track-lod3
  {
    mesh                                "track_lod3.im"
  }
  
  endcap_prev
  {
    mesh                                "endcap.im"
  }
  
  endcap_next
  {
    mesh                                "endcap1.im"
  }
}
istrack                                 1
visible-on-minimap                      1
track
{
  mesh-length                           4
  
  track-lod-tree
  {
    lod-distance                        80
    
    high-detail
    {
      lod-distance                      40
      
      high-detail
      {
        lod-distance                    20
        
        high-detail
        {
          mesh                          "track-lod0"
        }
        
        low-detail
        {
          mesh                          "track-lod1"
        }
      }
      
      low-detail
      {
        mesh                            "track-lod2"
      }
    }
    
    low-detail
    {
      mesh                              "track-lod3"
    }
  }
}
endcap-prev
{
  mesh-length                           1
  
  track-lod-tree
  {
    lod-distance                        100
    
    high-detail
    {
      mesh                              "endcap_prev"
    }
  }
}
endcap-next
{
  mesh-length                           1
  
  track-lod-tree
  {
    lod-distance                        100
    
    high-detail
    {
      mesh                              "endcap_next"
    }
  }
}
attached-splines
{
  third-rail
  {
    follows-spline-gradient             1
    lateral-offset                      2
    spline-kuid                         <kuid:61015:37032>
    use-same-direction                  1
    visual-only                         0
  }
}
category-class                          "TR"
thumbnails
{
  0
  {
    width                               240
    height                              180
    image                               "ballast.jpg"
  }
}
kuid-table
{
  0                                     <kuid:61015:37032>
}
 
Back
Top