HowTo/Bridge

From TrainzOnline
< HowTo(Difference between revisions)
Jump to: navigation, search
(fixed formatting of indented code sections by using non-breaking spaces)
Line 26: Line 26:
  
 
[[/thumbnails/]]
 
[[/thumbnails/]]
 +
 
{
 
{
  0
+
 
  {
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0
    [[/image/]]                              "$screenshot$.jpg"
+
 
    [[/width/]]                              240
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
    [[/height/]]                              180
+
 
  }
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/image/]]                              "$screenshot$.jpg"
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/width/]]                              240
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/height/]]                              180
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 +
 
 
}
 
}
  
Line 41: Line 49:
  
 
[[/track/]]
 
[[/track/]]
 +
 
{
 
{
  [[/adjust-cross-section-to-ground/]]        0
+
 
  [[/follows-spline-gradient/]]              1_shadows
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/adjust-cross-section-to-ground/]]        0
  [[/mesh-length/]]                          18
+
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/follows-spline-gradient/]]              1_shadows
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/mesh-length/]]                          18
 
    
 
    
  [[/track-lod-tree/]]
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/track-lod-tree/]]
  {
+
 
    [[/mesh/]]                                "default"
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  }
+
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[/mesh/]]                                "default"
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 +
 
 
}
 
}
  
 
endcap-prev
 
endcap-prev
 +
 
{
 
{
  adjust-cross-section-to-ground        0
+
 
  follows-spline-gradient              1
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adjust-cross-section-to-ground        0
  mesh-length                          9
+
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;follows-spline-gradient              1
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mesh-length                          9
 
    
 
    
  track-lod-tree
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;track-lod-tree
  {
+
 
    mesh                                "initiator"
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  }
+
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mesh                                "initiator"
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 +
 
 
}
 
}
  
 
endcap-next
 
endcap-next
 +
 
{
 
{
  adjust-cross-section-to-ground        0
+
 
  follows-spline-gradient              1
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adjust-cross-section-to-ground        0
  mesh-length                          9
+
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;follows-spline-gradient              1
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mesh-length                          9
 
    
 
    
  track-lod-tree
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;track-lod-tree
  {
+
 
    mesh                                "terminator"
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  }
+
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mesh                                "terminator"
 +
 
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 +
 
 
}
 
}
  
 
attached-splines
 
attached-splines
 +
 
{
 
{
  track0
 
  {
 
    follows-spline-gradient            1
 
    lateral-offset                      0
 
    spline-kuid                        <kuid:103179:100019>
 
    use-same-direction                  1
 
  }
 
}
 
  
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/category-region category-region]]                        "AU"
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;track0
  
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/category-era category-era]]                            "1970s;1980s;1990s;2000s;2010s"
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/category-class category-class]]                          "TB"
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;follows-spline-gradient            1
  
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lateral-offset                      0
 +
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;spline-kuid                        <kuid:103179:100019>
 +
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use-same-direction                  1
 +
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 +
 +
}
  
 
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/description description]]                            "Tells the user all about your asset can be as much of a description as you like"
 
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/description description]]                            "Tells the user all about your asset can be as much of a description as you like"
 +
 +
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/category-class category-class]]                          "TB"
 +
 +
 +
The following tags are '''optional'''
 +
 +
 +
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/category-region category-region]]                        "AU"
 +
 +
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/category-era category-era]]                            "1970s;1980s;1990s;2000s;2010s"
  
 
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/author author]]                                  "who made the asset"
 
[[https://online.ts2009.com/mediaWiki/index.php/HowTo/Scenery/author author]]                                  "who made the asset"

Revision as of 14:43, 20 February 2022

kuid <kuid2:######:#####:#>

kind "track"

trainz-build 4.5

username "Bridge name"

kuid-table {

}

obsolete-table {

}


mesh-table

{

}

thumbnails

{

      0

      {

            image "$screenshot$.jpg"

            width 240

            height 180

      }

}


istrack 1

casts_shadows 1

track

{

      adjust-cross-section-to-ground 0

      follows-spline-gradient 1_shadows

      mesh-length 18

      track-lod-tree

      {

            mesh "default"

      }

}

endcap-prev

{

      adjust-cross-section-to-ground 0

      follows-spline-gradient 1

      mesh-length 9

      track-lod-tree

      {

            mesh "initiator"

      }

}

endcap-next

{

      adjust-cross-section-to-ground 0

      follows-spline-gradient 1

      mesh-length 9

      track-lod-tree

      {

            mesh "terminator"

      }

}

attached-splines

{

      track0

      {

            follows-spline-gradient 1

            lateral-offset 0

            spline-kuid <kuid:103179:100019>

            use-same-direction 1

      }

}

[description] "Tells the user all about your asset can be as much of a description as you like"

[category-class] "TB"


The following tags are optional


[category-region] "AU"

[category-era] "1970s;1980s;1990s;2000s;2010s"

[author] "who made the asset"

[organisation] "your organisation"

[contact-email] "your email"

[contact-website] "maybe you have a website"

[license] "can be how you want your asset distributed"

Personal tools