What is wrong with this consist, and why will OR Not even load it?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Komachi
    1500 Post Veteran
    • Oct 2006
    • 1707
    • Lancaster, Pennsylvania

    #1

    What is wrong with this consist, and why will OR Not even load it?

    I've gone over this thing for the last twenty minutes now and I can't find ANY errors, yet OR in the list of locos, says the locomotive is unknown(And yes I have this loco and checked and TRIPLE CHECKED the name of the folder and .eng, it's there!), and upon viewing the consist in ShapeViewer, the consist cuts off after PCoach3... What the flippin' heck is goin' on?

    Code:
    SIMISA@@@@@@@@@@JINX0D0t______
    
    Train (
    	TrainCfg ( Amtrak_Crescent_1988
    		Serial ( 1 )
    		MaxVelocity ( 40.00000 1.00000 )
    		NextWagonUID ( 15 )
    		Durability ( 1.00000 )
    		Engine (
                            EngineData ( AMTRAK_F40PH_408 SLI_AMTRAK_ENGINES )
                            UiD ( 0 )
                    )
                    Engine (
                            EngineData ( AMTRAK_F40PH_398_HEP SLI_AMTRAK_ENGINES )
                            UiD ( 1 )
                    )
                    Wagon (
                           WagonData ( PBagdorm2 BLW_ZT_Amtrak_Pullman )
                           UiD ( 2 )
                    )
                    Wagon (
                           WagonData ( PCoach7 BLW_ZT_Amtrak_Pullman )
    	               UiD ( 3 )
                     )
                    Wagon (
                           WagonData ( Coach2 BLW_ZT_Amtrak_Budd )
                           UiD ( 4 )
                     )
                    Wagon (
                           Wagondata ( PCoach5 BLW_ZT_Amtrak_Pullman )
                           UiD ( 5 )
                     )
                    Wagon (
                           WagonData ( Coach5 BLW_ZT_Amtrak_Budd )
                           UiD ( 6 )
                     )
                    Wagon (
                           WagonData ( PSleeper4 BLW_ZT_Amtrak_Pullman )
                           UiD ( 7 )
                     )
                    Wagon (
                           WagonData ( PDiner1 BLW_ZT_Amtrak_Pullman )
                           UiD ( 8 )
                     )
                    Wagon (
                           WagonData ( Lounge1 BLW_ZT_Amtrak_Budd )
                           UiD ( 9 )
                     )
                    Wagon (
                           WagonData ( Coach7 BLW_ZT_Amtrak_Budd )
                           UiD ( 10 )
                     )
                    Wagon (
                           WagonData ( PCoach4 BLW_ZT_Amtrak_Pullman )
                           UiD ( 11 )
                     )
                    Wagon (
                           WagonData ( PCoach3 BLW_ZT_Amtrak_Pullman
                           UiD ( 12 )
                     )
                    Wagon (
                           WagonData ( Sleeper3 BLW_ZT_Amtrak_Budd )
                           UiD ( 13 )
                     )
                    Wagon (
                           WagonData ( Slumber1 BLW_ZT_Amtrak_Budd )
                           UiD ( 14 )
                     )
    	)
    )
  • Komachi
    1500 Post Veteran
    • Oct 2006
    • 1707
    • Lancaster, Pennsylvania

    #2
    Neeevermind, found it... Missing closing bracket, hillariously ON PCoach3... I hate how those brackets blurr together after awhile, hahah!

    Comment

    • mikeebb
      Senior Member

      • May 2010
      • 989
      • Pacific Time
      • ORTS

      #3
      I've found Notepad++ useful for things like that. It colors parenthesis pairs as you go over them, and can check for unclosed ones. Free. http://www.notepad-plus-plus.org/

      Comment

      • Komachi
        1500 Post Veteran
        • Oct 2006
        • 1707
        • Lancaster, Pennsylvania

        #4
        Thanks Mike, been using ConTEXT so far. I'll check out Notepad++ for sure!

        Comment

        • R. Steele
          3500 Post Veteran

          • Feb 2013
          • 3928
          • known universe
          • ORTS

          #5
          Originally posted by Komachi
          Thanks Mike, been using ConTEXT so far. I'll check out Notepad++ for sure!
          Context will perform the same test for brackets as Notepad++ - both are very good.
          Cheers, Gerry
          "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
          It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
          Forever, ridin' drag in railroad knowledge.
          Audi, Vide, Tace, Si Vis Vivere In Pace​

          https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

          Comment

          • Komachi
            1500 Post Veteran
            • Oct 2006
            • 1707
            • Lancaster, Pennsylvania

            #6
            Originally posted by R. Steele
            Context will perform the same test for brackets as Notepad++ - both are very good.
            How do I get it to do that?

            Comment

            • R. Steele
              3500 Post Veteran

              • Feb 2013
              • 3928
              • known universe
              • ORTS

              #7
              Originally posted by Komachi
              How do I get it to do that?
              "Edit" drop down >>>> "match braces" also "select text between braces" directly below.
              Place your cursor by the brace, Ctrl+M will jump the cursor to the companion (closing) brace. (loosely same as "parenthesis" and "bracket")

              There is also an add-on that allows highlight of matching braces.
              Notepad++ has this feature built in and does not have to be added. (as written in post #3)
              Last edited by R. Steele; 02-02-2015, 16:33.
              Cheers, Gerry
              "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
              It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
              Forever, ridin' drag in railroad knowledge.
              Audi, Vide, Tace, Si Vis Vivere In Pace​

              https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

              Comment

              Working...