freightanimation well car question.....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slipperman
    3500 Post Veteran



    • May 2010
    • 3789
    • Worksop, UK
    • MSOR

    #16
    Hi Amtrak115,
    Some years ago, I included a sort of tutorial about aliasing/redirecting in my MSTS_Check utility readme.
    Applying that knowledge to your current problem, I believe I have a solution - well it works for me in some tests I've just done!
    If I correctly understand what you're looking for, it is a folder which contains all the container shapes and textures which you can "call" from each .wag file's 'FreightAnim' entries.
    If that is so, before I write any more, I need to know where your 'Containers' folder is to be located - is it within the stock folder containing all the .wag files or is it within the TRAINSET folder, in a similar way to how the common.snd folder works?

    I ask this because my current tests (and solution!) have only used a 'Containers' folder within the stock folder, but I'm about check out the second scenario!

    Cheers,
    Ged

    Comment

    • amtrak115
      Senior Member


      • Oct 2005
      • 297
      • Parker, TX
      • General

      #17
      Scott...FYI

      Got it working.....

      Wag files required double slashes for ORTS to see the path for the .s file. The .s file image link needed the link inclosed in quotes for it to work....

      Wag file...
      FreightAnim ( ..\\Amazon_Box\\53b-53b_Amazon.s 1 1 )

      .s file

      image ( "..\\Amazon_Box\\53b-53b_Amazon.ace" )


      Comment

      • slipperman
        3500 Post Veteran



        • May 2010
        • 3789
        • Worksop, UK
        • MSOR

        #18
        Hi amtrak115,
        Good to know you've sorted it!
        You can use \\ or // or / as separators, but not \. This seems to apply to Open Rails, as it did for MSTS!!

        Cheers,
        Ged

        Comment

        • Erick_Cantu
          1000 Post Veteran


          • Jun 2004
          • 1042
          • Brighton, MA 02135
          • General

          #19
          I think we're all missing the fundamental issue here.

          OR and TSRE both pull the textures from the folder the WAG or ENG file is in unless you hard-code paths in the shape file.

          This is actually a very good thing as it allows a single set of shape files to be used for multiple repaints. If you are referencing a shape in another folder, you need to hard-code the texture paths in the shape file (as I do with trucks) or put the textures in the folder where the car's WAG is (as I do with carbodies).

          If you are using the container functionality in OR as opposed to loading the containers as a conventional freight shape, then the container textures will load from the container folder, which is what you are trying to do here. This is because a container defined this way has its own load-or file that functions like an ENG or WAG file, and OR will load the container textures from wherever its load-or file is, just like a car or locomotive. See the default well car replacements I uploaded a couple years ago.

          Hard-coding the paths in a shape file works just like setting alias paths in an SMS or CVF file.
          Erick Cantu
          North American V-Scale
          Facebook | Email
          Those who would give up essential liberty, to purchase a little gasoline, deserve neither liberty nor gasoline.

          Comment

          Working...