How do I create a car spawner?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jonpd
    Senior Member
    • Oct 2008
    • 534
    • Lubec ME USA

    #1

    How do I create a car spawner?

    I added roads but I do not see an option in TSRE to add a car spawner. Is there something that I need to add to the ref file? I have a carspawn.dat with several cars in it.
  • rdayt
    1000 Post Veteran

    • Nov 2007
    • 1291
    • SW MO
    • ORTS

    #2
    Yes. The top of the ref file should look like this.

    SIMISA@@@@@@@@@@JINX0r1t______
    Dyntrack (
    FileName ( DYNTRACK )
    Class ( "Track Sections" )
    Align ( None )
    Description ( "Dynamic track piece" )
    )
    Platform (
    Class ( "Mainline Stations" )
    Description ( Platform )
    StoreMatrix ( )
    )
    Siding (
    Class ( "Mainline Stations" )
    Description ( Siding )
    StoreMatrix ( )
    )
    CarSpawner (
    Class ( "Vehicles" )
    Description ( "Car Spawner" )
    StoreMatrix ( )
    )

    This is the default, you can put then under any class you want.

    Comment

    • jonpd
      Senior Member
      • Oct 2008
      • 534
      • Lubec ME USA

      #3
      Thanks! That did the trick.

      Comment

      • Don6218
        1500 Post Veteran
        • Jun 2009
        • 1834
        • Oshawa ON

        #4
        Just an added question, to create/include multiple Car Spawners, which of those lines do you number "Car Spawner - 1" or something else added to make them separate?

        )

        CarSpawner (
        Class ( "Vehicles" )
        Description ( "Car Spawner" )
        StoreMatrix ( )
        )

        Thank you.

        Comment

        • Vince
          6500 Post Veteran

          • Nov 1999
          • 6961
          • Mohave

          #5
          Car Spawners

          ".....which of those lines do you number "Car Spawner - 1" or something.........?"
          None. A single entry in the Ref file does it.
          Car Spawners are placed on roads using TSRE, as many as you want. The vehicle mix is controlled by the carspawn.dat file.

          regards,
          ............Vince ..............
          ...... Author NECv4 .......
          .... LIRR BUILD PHOTOS ....
          ...... Eschew Obsfucation ......

          On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
          "Give me your tired, your poor, your huddled masses yearning to breathe free,
          the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
          I lift my lamp beside the golden door!"

          Comment

          • rdayt
            1000 Post Veteran

            • Nov 2007
            • 1291
            • SW MO
            • ORTS

            #6
            I know I've read about this somewhere but I'm old and can't remember where. A search does no good.
            You wouldn't happen to have a link would you. Or maybe the time to give a quick how to.

            Thanks
            Randy

            Never mind I found it right here on my handy dandy little hard drive.
            Last edited by rdayt; 10-31-2020, 15:21.

            Comment

            • Don6218
              1500 Post Veteran
              • Jun 2009
              • 1834
              • Oshawa ON

              #7
              Originally posted by Vince
              None. A single entry in the Ref file does it.
              Car Spawners are placed on roads using TSRE, as many as you want. The vehicle mix is controlled by the carspawn.dat file.

              regards,
              So, you just create multiple
              ")
              CarSpawner (
              Class ( "Vehicles" )
              Description ( "Car Spawner" )
              StoreMatrix ( )
              )"

              Within the folder and then select which one you want on which road(s)? How can you "Label" them as to "Dirt Road Only" or "Path Only" or "Secondary Road Only"???

              Comment

              • ebnertra000
                1500 Post Veteran


                • Jun 2013
                • 1778
                • Minnesota

                #8
                Don,

                Here's a carspawn file I made for my CN route. This works in OR and TSRE. It should reside in your route's OpenRails folder, and probably in the route's root folder, as well (where the carspawn file has always been) - TSRE doesn't look in the OpenRails folder, unless that was fixed in the new version, which I don't have yet

                carspawn.zipcarspawn.zip

                Comment

                Working...