Yard Cams

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grundge69
    Senior Member
    • Aug 2004
    • 316
    • Wichita, Kansas, USA.

    #1

    Yard Cams

    I went and manually added Yard Cams into my world files. Went into MSTS RE and verified, raised them to ground level. Decided to load it into TSRE dude to a high number of objects in a few world tiles. TSRE went nuts, and all road objects were suddenly vertical to the sky. Does anybody else have this issue? I did a search for this issue and came up with nothing.

    Cody
  • eolesen
    9500 Post Veteran and Administrator



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

    #2
    OK, I'm old. How are the yard cams defined in the .W file?...

    It's possible that TSRE didn't account for these objects since ORTS has a free-roam camera.
    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

    • grundge69
      Senior Member
      • Aug 2004
      • 316
      • Wichita, Kansas, USA.

      #3
      They are defined as a Forrest Object. Something similar to this

      Forest (
      UiD ( 0 )
      ScaleRange ( 0 2.69049e-043 )
      Area ( 2048 2048 )
      Population ( 2 )
      TreeSize ( 0 0 )
      StaticFlags ( 00100000 )
      Position ( 0 0 0 )
      QDirection ( 0 0 0 1 )
      VDbId ( 0 )
      StaticDetailLevel ( 0 )
      )

      Cody

      Comment

      • eolesen
        9500 Post Veteran and Administrator



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

        #4
        Ah... no TreeTexture() declaration and a different static flags bitmask.

        I threw one in one of my routes, and it came up fine, so something must be corrupted in the W file somewhere.
        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

        • grundge69
          Senior Member
          • Aug 2004
          • 316
          • Wichita, Kansas, USA.

          #5
          Not 200 corrupted files though.
          Cody

          Comment

          • kapitaen
            Senior Member

            • May 2010
            • 331
            • Germany
            • German + a little bit English
            • MSOR

            #6
            @grundge69
            I think there is a problem with your data in YardCam. My YardCam is only over a station and therefore much smaller. By the way, in TSRE5 this is NOT displayed and it does not lead to any display errors.... But the biggest difference is in the parameter ScaleRange. What is the meaning of this infinitely high value in your YardCam?

            Code:
            	Forest (
            		UiD ( 847 )
            		ScaleRange ( 0 0 )
            		Area ( 445 455.25 )
            		Population ( 46 )
            		TreeSize ( 0 0 )
            		StaticFlags ( 00100000 )
            		Position ( 388.606 650.781 507.395 )
            		QDirection ( 0 -0.591778 0 0.806101 )
            		VDbId ( 0 )
            		StaticDetailLevel ( 0 )
            	)

            Greetings Jan

            Comment

            • grundge69
              Senior Member
              • Aug 2004
              • 316
              • Wichita, Kansas, USA.

              #7
              I'm not sure. Thats just what MSTS RE put in. My original coding also had values for TreeSize.
              Cody

              Comment

              Working...