How to have the weather change during an activity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ATSFMAN
    New Member
    • Feb 2026
    • 3
    • General

    #1

    How to have the weather change during an activity

    Are there any tutorials on how to have the weather change within an activity? Thanks in advance!
    ATSFMAN
  • adreid
    Senior Member


    • Jul 2019
    • 136
    • Toronto, Ontario, Canada
    • General

    #2
    I am not aware of any tutorials that may exist, but I can provide a working example -- paste these events into an activity with winter clear conditions, and watch a snow storm develop slowly into blizzard conditions. WEATHER-CHANGE-EXAMPLE.txt

    My advice is to read the Open Rails manual section 11.16.9 and experiment -- include a time event (00:00:00) that takes effect immediately; start the activity, observe the effect; then close the activity; adjust the parameters and repeat; make note of the settings that give the desired effects.

    Rain and snow intensity are noticeably reduced in recent versions of Open Rails -- for the best effect, I recommend v1.5.1.

    Regards,
    Dan Reid

    Comment

    • ATSFMAN
      New Member
      • Feb 2026
      • 3
      • General

      #3
      What ever you uploaded all I got was "Invalid File Specified".

      ATSFMAN

      Comment

      • derekmorton
        5500 Post Veteran



        • Nov 1999
        • 5699
        • Eltham, Victoria, Australia.
        • ORTS

        #4
        The txt file downloads ok here?

        Comment

        • ATSFMAN
          New Member
          • Feb 2026
          • 3
          • General

          #5
          I have been able to download the file now. Thanks!!!

          Comment

          • bnsfsd40-2
            Senior Member

            • May 2008
            • 106
            • Bad Elster, Germany

            #6
            Hello,

            This event is time-based, but can you explain how I can trigger a weather change at a specific location? How do I define the position and link it to the weather change?
            For the PTLAF task on the Shasta route, the following information is provided:

            EventCategoryLocation (
            EventTypeLocation ( )
            ID ( 48 )
            Activation_Level ( 1 )
            Outcomes ( )
            Name ( "Weather Change Macdoel" )
            Location ( -12937 14420 535.486 -869.002 10 )
            ORTSContinue ( 0 )
            ORTSWeatherChange (
            ORTSOvercast ( 0.4 600 )
            ORTSFog ( 2000 600 )
            ORTSPrecipitationIntensity ( 0.01 600 )
            ORTSPrecipitationLiquidity ( 0 600 )
            )
            )


            The Open Rails 11.16.9 manual does not provide a detailed explanation of how to set a weather change at a specific location. I find it difficult to understand some of the ORTS functions since I am not a programmer.
            Daniel Schmidt
            former MSTS painter -- now Open Rails driver

            Comment

            • adreid
              Senior Member


              • Jul 2019
              • 136
              • Toronto, Ontario, Canada
              • General

              #7
              Hi Daniel,
              I have discovered recently, that TSRE can assist with inserting weather events, eliminating the need for manually editing the .act file. To use this feature, you must create a file in your ROUTE directory, and name the file weathertransitions.dat (here is an example):

              weathertransitions.dat

              This file can be created with Notepad, and may contain several weather definitions, each named. TSRE can add a "weather change" outcome to any time event, location event, or action event. TSRE will display a drop-down list -- just select the name of the definition you desire.

              Regards,
              Dan

              Comment

              Working...