.
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18

Thread: KUID or download for crossbuck only asset

  1. #16
    Join Date
    Jul 2014
    Location
    United States of America
    Posts
    12
     

    Default

    Quote Originally Posted by SailorDan View Post
    Do you mean that you altered the build number to 3.7 and this error appeared? If so, then it is likely due to an issue with the way that LOD has been implemented in that asset. It is not possible to simply change the build number for an asset without considering the differences that have occurred between the build numbers with respect to the features that are supported and the validation that is applied. In this case the LOD needs to be adjusted to the format previously available for simple scenery assets, instead of the more recent format. The relevant change to the config is:

    Code:
    mesh-table {
      lod0 {
        mesh                                  "lod0.im"
        auto-create                           1
        lod-level                             0
        effects {
          light1 {
            kind                              "corona"
            att                               "a.red0"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light2 {
            kind                              "corona"
            att                               "a.red1"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light3 {
            kind                              "corona"
            att                               "a.red2"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light4 {
            kind                              "corona"
            att                               "a.red3"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
        }
      }
      lod1 {
        mesh                                  "lod1.im"
        auto-create                           1
        lod-level                             1
        effects {
          light1 {
            kind                              "corona"
            att                               "a.red0"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light2 {
            kind                              "corona"
            att                               "a.red1"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light3 {
            kind                              "corona"
            att                               "a.red2"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light4 {
            kind                              "corona"
            att                               "a.red3"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
        }
      }
      lod2 {
        mesh                                  "lod2.im"
        auto-create                           1
        lod-level                             2
      }
    }
    mesh-detail-level-count                   3
    That did mostly work, however, the bells are silent (I made sure theyre turned on), and I'm still having trouble with the individual flashing lights being invisible.

    Here is the code from one of the flashing lights in case that helps

    mesh-table
    {
    default
    {
    mesh-asset <kuid:839374:1200>
    mesh "content/us grs light 1a.lm"
    auto-create 1

    effects
    {
    light1
    {
    kind "corona"
    att "a.red0"
    texture-kuid <kuid:378673:104065>
    object-size 0.15
    }
    }
    }
    }


    string-table
    {
    typeofcrossing "TRC"
    }

  2. #17
    Join Date
    Jul 2014
    Location
    United States of America
    Posts
    12
     

    Default

    Quote Originally Posted by SailorDan View Post
    Do you mean that you altered the build number to 3.7 and this error appeared? If so, then it is likely due to an issue with the way that LOD has been implemented in that asset. It is not possible to simply change the build number for an asset without considering the differences that have occurred between the build numbers with respect to the features that are supported and the validation that is applied. In this case the LOD needs to be adjusted to the format previously available for simple scenery assets, instead of the more recent format. The relevant change to the config is:

    Code:
    mesh-table {
      lod0 {
        mesh                                  "lod0.im"
        auto-create                           1
        lod-level                             0
        effects {
          light1 {
            kind                              "corona"
            att                               "a.red0"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light2 {
            kind                              "corona"
            att                               "a.red1"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light3 {
            kind                              "corona"
            att                               "a.red2"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light4 {
            kind                              "corona"
            att                               "a.red3"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
        }
      }
      lod1 {
        mesh                                  "lod1.im"
        auto-create                           1
        lod-level                             1
        effects {
          light1 {
            kind                              "corona"
            att                               "a.red0"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light2 {
            kind                              "corona"
            att                               "a.red1"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light3 {
            kind                              "corona"
            att                               "a.red2"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
          light4 {
            kind                              "corona"
            att                               "a.red3"
            texture-kuid                      <kuid:378673:104065>
            object-size                       0.15
          }
        }
      }
      lod2 {
        mesh                                  "lod2.im"
        auto-create                           1
        lod-level                             2
      }
    }
    mesh-detail-level-count                   3
    This did work, however the bells (and I checked that they were on) Failed to work, as well I am still having the problem where the individual flashers are invisible.

    The ones that are invisible are
    TRC DIY GRS 8x20 Light Flash-1A <kuid:839374:1213>
    TRC DIY GRS 8x20 Light Flash-1B <kuid:839374:1214>
    TRC DIY GRS 8x20 Light Flash-2A <kuid:839374:1215>
    TRC DIY GRS 8x20 Light Flash-2B <kuid:839374:1216>









    and the code in the config file is

    Code:
     mesh-table
    {
      default
      {
        mesh-asset                          <kuid:839374:1200>
        mesh                                "content/us grs light 1a.lm"
        auto-create                         1
        
        effects
        {
          light1
          {
            kind                            "corona"
            att                             "a.red0"
            texture-kuid                    <kuid:378673:104065>
            object-size                     0.15
          }
        }
      }
    }
    
    
    string-table
    {
      typeofcrossing                        "TRC"
    }

  3. #18
    Join Date
    Oct 2011
    Location
    New Caledonia
    Posts
    2,822
     

    Default

    Quote Originally Posted by Pluey200 View Post
    This did work, however the bells (and I checked that they were on) Failed to work, as well I am still having the problem where the individual flashers are invisible.
    The changes I posted solved the problem of "an error saying it failed to load mesh 'lod.lm'" created when the build number is changed. If you want the full functionality of the signals you probably have to address that with a rewrite of the trigger to cope with the differences between T:ane and TS12. If you are looking for a crossbuck only then lights and bells are not relevant.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •