Cabview errors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • crstagg
    4500 Post Veteran


    • Nov 1999
    • 4885
    • Huntsville, AL
    • Texan
    • MSOR

    #1

    Cabview errors

    What is causing ORTS to report these errors? I have included the lines and those before them below.

    Warning: Ignoring additional positional parameters in C:\MSTS\trains\trainset\3DTrains_WP_Zephyr\CABVIEW \3DTrains_v4FUnit.cvf:line 78

    Warning: Ignoring additional positional parameters in C:\MSTS\trains\trainset\3DTrains_WP_Zephyr\CABVIEW \3DTrains_v4FUnit.cvf:line 99

    Here they are from 3DTrains_v4FUnit.cvf:
    Lines 76-78
    Lever (
    Type ( THROTTLE LEVER )
    Position ( 130 304 283 108 60 )

    Lines 87-99
    TriState (
    Type ( DIRECTION TRI_STATE )
    Position ( 162 422 416 144 58 )
    Charles
  • lindsayts
    Senior Member
    • May 2010
    • 194

    #2
    Originally posted by crstagg
    What is causing ORTS to report these errors? I have included the lines and those before them below.

    Warning: Ignoring additional positional parameters in C:\MSTS\trains\trainset\3DTrains_WP_Zephyr\CABVIEW \3DTrains_v4FUnit.cvf:line 78

    Warning: Ignoring additional positional parameters in C:\MSTS\trains\trainset\3DTrains_WP_Zephyr\CABVIEW \3DTrains_v4FUnit.cvf:line 99

    Here they are from 3DTrains_v4FUnit.cvf:
    Lines 76-78
    Lever (
    Type ( THROTTLE LEVER )
    Position ( 130 304 283 108 60 )

    Lines 87-99
    TriState (
    Type ( DIRECTION TRI_STATE )
    Position ( 162 422 416 144 58 )

    The possible reason is that as far as I know "Position" only takes 4 arguments. The first two being the X Y coordinates of the graphic the second 2 being the size of the graphic as in the following......

    TriState (
    Type ( DIRECTION TRI_STATE )
    Position ( 531 386 72 27 )
    Graphic ( "..\\..\\GP38\\CABVIEW\\reverser.ace" )
    NumFrames ( 3 1 3 )
    Style ( NONE )
    MouseControl ( 1 )
    Orientation ( 0 )
    DirIncrease ( 1 )

    Cabview coordinate for the whole cabview is 640x480. In the above case the graphics is 531 units from the left edge and 386 units from the top, the size of the graphic "reverser.ace" being 72 wide by 27 high.
    The reference point (0 point for both coordinates) for the graphics is the top left edge.

    Lindsay
    Last edited by lindsayts; 02-05-2012, 16:05.

    Comment

    • Bananarama
      5500 Post Veteran
      • Nov 1999
      • 5606
      • Another Planet

      #3
      Yes, I believe the middle values can be dropped - I'm not 100% certain, however, as it's been several years since tinkering with the sets.
      Cheers!

      Melanie - 3DTrains

      Comment

      • crstagg
        4500 Post Veteran


        • Nov 1999
        • 4885
        • Huntsville, AL
        • Texan
        • MSOR

        #4
        Originally posted by Hack
        Yes, I believe the middle values can be dropped - I'm not 100% certain, however, as it's been several years since tinkering with the sets.
        Yes the Middle Value can be dropped. I edited them out and tested with MSTS. No error. And also ORTS no longer records an error.
        Charles

        Comment

        Working...