Prequel to Andi Smith's wiki tutorial shed house tutorial config

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
Back to: [[Prequel_Blender_to_Trainz#Intro]]
 
Back to: [[Prequel_Blender_to_Trainz#Intro]]
 
----
 
----
 
+
 
   kuid              "<kuid2:XXXXXX:2154891:1>"
+
   kuid              "<kuid2:0:2154891:3>"
 
   username          "Engineshed Tutorial Asset Prequel Blender"
 
   username          "Engineshed Tutorial Asset Prequel Blender"
 
   kind              "buildable"
 
   kind              "buildable"
Line 19: Line 19:
 
     }
 
     }
 
   }
 
   }
 
+
 
 
   mesh-table-lod-transition-distances    1000
 
   mesh-table-lod-transition-distances    1000
 
   mesh-detail-level-count                1
 
   mesh-detail-level-count                1
Line 25: Line 25:
 
   script                    "engineshed_tutorial_full.gs"
 
   script                    "engineshed_tutorial_full.gs"
 
   class                      "Tutorial"
 
   class                      "Tutorial"
 
+
 
 
   mesh-table {
 
   mesh-table {
 
    
 
    
     default-lod0 {
+
     shed-lod0 {
 
       mesh              "shed.trainzmesh"
 
       mesh              "shed.trainzmesh"
 
       lod-level          0   
 
       lod-level          0   
 
       auto-create        1
 
       auto-create        1
 
       effects {
 
       effects {
        doors {
 
          kind          "animation"
 
          anim          "shed_scene.kin"
 
          speed          1.0
 
          looped        0
 
          animation-starts-active              0
 
          animation-has-random-start-position  0
 
        }
 
 
    
 
    
 
         corona {
 
         corona {
Line 64: Line 56:
 
         }
 
         }
 
    
 
    
    }
+
      }
 
    
 
    
    roof-lod0 {
+
      doors-lod0 {
      mesh                   "roof.trainzmesh"
+
 
      lod-level         0   
+
        mesh               "doors.trainzmesh"
       auto-create           1
+
        lod-level         0   
    }
+
        auto-create       1
 +
 
 +
        effects {
 +
          opendoors {
 +
            kind          "animation"
 +
            anim          "opendoors_scene.kin"
 +
            speed          1.0
 +
            looped        0
 +
            animation-starts-active              0
 +
            animation-has-random-start-position  0
 +
          }
 +
          closedoors {
 +
            kind          "animation"
 +
            anim          "closedoors_scene.kin"
 +
            speed          1.0
 +
            looped        0
 +
            animation-starts-active              0
 +
            animation-has-random-start-position  0
 +
          }
 +
        }
 +
 
 +
      }
 +
 
 +
      roof-lod0 {
 +
        mesh              "roof.trainzmesh"
 +
        lod-level          0
 +
        auto-create       1
 +
      }
 
    
 
    
 
   }
 
   }
 
+
 
 
   kuid-table {
 
   kuid-table {
     skinskuid                <kuid2:XXXXXX:2154890:1>
+
     skinskuid                <kuid2:0:2154890:1>
 
   }
 
   }
 
+
 
 
   attached-track {
 
   attached-track {
 
    
 
    
Line 99: Line 118:
 
    
 
    
 
   }
 
   }
 
+
 
 
   attached-trigger {
 
   attached-trigger {
 
    
 
    
Line 109: Line 128:
 
    
 
    
 
   }
 
   }
 
 
----
 
----
 
Back to: [[Prequel_Blender_to_Trainz#Intro]]
 
Back to: [[Prequel_Blender_to_Trainz#Intro]]
 
----
 
----

Revision as of 03:06, 18 August 2023


Back to: Prequel_Blender_to_Trainz#Intro


 kuid              "<kuid2:0:2154891:3>"
 username          "Engineshed Tutorial Asset Prequel Blender"
 kind              "buildable"
 trainz-build      4.6
 
 category-region            "00"
 category-era               "2000s"
 category-class             "TF"
 
 thumbnails {
   0 {
     image          "engineshed_tutorial_thumbnail.jpg"
     width          240
     height         180
   }
 }
 
 mesh-table-lod-transition-distances    1000
 mesh-detail-level-count                1
 
 script                     "engineshed_tutorial_full.gs"
 class                      "Tutorial"
 
 mesh-table {
 
   shed-lod0 {
     mesh               "shed.trainzmesh"
     lod-level          0  
     auto-create        1
     effects {
 
       corona {
         kind               "corona"
         att                "a.corona"
         texture-kuid       <kuid:-3:10110>
         frequency          2
         directional        0
         object-size        0.2
       }
 
       name {
         kind               "name"
         fontsize           0.5 
         fontcolor          160,160,160
         att                "a.name"
         name
       }
 
       masonry {
         kind       "texture-replacement"
         texture    "engineshed_textureimage.texture"
       }
 
     }
 
     doors-lod0 {
 
       mesh               "doors.trainzmesh"
       lod-level          0  
       auto-create        1
 
       effects {
         opendoors {
           kind           "animation"
           anim           "opendoors_scene.kin"
           speed          1.0
           looped         0
           animation-starts-active               0
           animation-has-random-start-position   0
         }
         closedoors {
           kind           "animation"
           anim           "closedoors_scene.kin"
           speed          1.0
           looped         0
           animation-starts-active               0
           animation-has-random-start-position   0
         }
       }
 
     }
 
     roof-lod0 {
       mesh               "roof.trainzmesh"
       lod-level          0
       auto-create        1
     }
 
 }
 
 kuid-table {
   skinskuid                <kuid2:0:2154890:1>
 }
 
 attached-track {
 
   track1 {
     track                  <kuid:-10:137>
     useadjoiningtracktype  1
     vertices {
       0                    "a.track1"
       1                    "a.track2"
     }
   }
 
   track2 {
     track                  <kuid:-10:137>
     useadjoiningtracktype  0
     vertices {
       0                    "a.track2"
       1                    "a.track3"
     }
   }
 
 }
 
 attached-trigger {
 
   trigger1 {
     att                    "a.track1"
     radius                 26
     track                  "track1"
   }
 
 }

Back to: Prequel_Blender_to_Trainz#Intro


Personal tools