Results 1 to 7 of 7

Thread: Yard Cams

  1. #1
    Join Date
    Aug 2004
    Location
    Wichita, Kansas, USA.
    Posts
    563

    Default 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



  2. #2
    Join Date
    Dec 2002
    Languages
    English, SQL
    Posts
    5,579

    Default

    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.

  3. #3
    Join Date
    Aug 2004
    Location
    Wichita, Kansas, USA.
    Posts
    563

    Default

    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



  4. #4
    Join Date
    Dec 2002
    Languages
    English, SQL
    Posts
    5,579

    Default

    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.

  5. #5
    Join Date
    Aug 2004
    Location
    Wichita, Kansas, USA.
    Posts
    563

    Default

    Not 200 corrupted files though.
    Cody



  6. #6
    Join Date
    May 2010
    Location
    Germany
    Languages
    German + a little bit English
    Posts
    54

    Default

    @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

  7. #7
    Join Date
    Aug 2004
    Location
    Wichita, Kansas, USA.
    Posts
    563

    Default

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



Posting Permissions

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