How do I convert OR Loads to freight animations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RobGuru
    Senior Member

    • Jun 2020
    • 283
    • USA
    • MSOR

    #16
    Thanks!

    Comment

    • RobGuru
      Senior Member

      • Jun 2020
      • 283
      • USA
      • MSOR

      #17
      Originally posted by uli2
      Looking at RobGuru's screenshot I assume he wants to convert the container/trailer loads on the cars from the NAVS Z-Series Gunderson 48-foot well car set (navs_dttx_456700_c2001.zip) to static freight animations.

      The FreightAnims section of the original NAVS .wag file for the car shown in the screenshot looks like this:

      ORTSFreightAnims (
      WagonEmptyWeight( 55000lb )
      LoadingAreaLength ( 14.6304 )
      AboveLoadingAreaLength ( 16.1544 )
      DoubleStacker ()
      Offset( 0 0.3429 0 )
      IntakePoint ( 0 6.0 Container)

      LoadData ( Container_40ft_6 NAVS_Container_Base Center Loaded )


      FreightAnimStatic (
      Shape( ../NAVS_COMMON/BNSF_Freight_c2001/Well_Gunderson_48ft/Decals/Well_Gunderson_48ft_Decal_A06.s )
      Offset( 0, 0, 0 )
      FreightWeight( 0lb )
      )
      )

      For the conversion the part for the container load (shown in blue) has to be replaced by a statement for a second static freight anim (in addition to the one already present for the decal):

      ORTSFreightAnims (
      FreightAnimStatic (
      Shape( ../NAVS_Container_Base/Container_40ft/NAVS_Container_40ft_6.s )
      Offset( 0, 0.3429, 0 )
      FreightWeight( 0lb )
      )

      FreightAnimStatic (
      Shape( ../NAVS_COMMON/BNSF_Freight_c2001/Well_Gunderson_48ft/Decals/Well_Gunderson_48ft_Decal_A06.s )
      Offset( 0, 0, 0 )
      FreightWeight( 0lb )
      )
      )

      For a car with two containers on top of each other the FreightAnim section would look like this:

      ORTSFreightAnims (
      FreightAnimStatic (
      Shape( ../NAVS_Container_Base/Container_48ft/NAVS_Container_48ft_9.s )
      Offset( 0, 0.3429, 0 )
      FreightWeight( 0lb )
      )
      FreightAnimStatic (
      Shape( ../NAVS_Container_Base/Container_53ft/NAVS_Container_53ft_4.s )
      Offset( 0,
      3.2429, 0 )
      FreightWeight( 0lb )
      )

      FreightAnimStatic (
      Shape( ../NAVS_COMMON/BNSF_Freight_c2001/Well_Gunderson_48ft/Decals/Well_Gunderson_48ft_Decal_A08.s )
      Offset( 0, 0, 0 )
      FreightWeight( 0lb )
      )
      )

      Note that the second figure after "Offset"​ (shown in red) has to be adjusted for the higher position of the top container.

      ​The shape files for the containers can remain where they are from the installation of the original NAVS set (as in my example) or placed into the same folder as the .wag file(s). The textures (.dds files) for the containers and the trailers, however, have to be copied from the "NAVS_Container_Base" folder into the folder with the .wag file(s).
      ​
      Here is an Idea, FreghtAnim Wag files for the NAVS Wellcars.

      Comment

      • eric
        9500 Post Veteran and Administrator



        • Dec 2002
        • 9583
        • NS MP245.4 CNO&TP South District
        • English, SQL
        • General

        #18
        The OR load was created for a purpose, which is to allow the game engine to load and unload cars on a route where this feature enabled and jncluded as part of a planned activity.

        I intentionally waited to ask this question because I knew somebody would tell you how to do exactly what you were trying to accomplish, but if it's already defined and functional using OR load, why would you convert it to a static freight animation?
        If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

        Comment

        • Erick_Cantu
          1000 Post Veteran


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

          #19
          Because he doesn't want to update OR to an version that supports that feature; he's posted about it before. At least he's not spamming developer threads demanding multiple versions of intermodal releases anymore.
          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...