Sunset & Sunrise times

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amtrak1993
    Member
    • Jan 2012
    • 92

    #1

    Sunset & Sunrise times

    Just curious, but has any update been released and/or is there a way to modify the sunrise/sunset times in OR? I really love this simulator and all the hard work people have done, but this issue makes it hard to enjoy at times. Currently I'm running an activity in Western Ohio (my part of the world) set in summer. Not factoring DST, sunset is normally around 9PM however in this activity it's nearly pitch black by 6:30 p.m. Any input would be greatly appreciated. Many thanks.
  • ossie
    1000 Post Veteran and Moderator



    • May 2010
    • 1298
    • Melbourne, Australia
    • MSOR

    #2
    I asked this question about a year ago and received a response saying work was proceeding on integrating the MSTS .env files. If the ability to reflect "local" time has been added to ORTS since then though, I've missed it.

    Cheers!
    Peter
    Cheers!
    Pete

    Comment

    • RICHARD369
      Member
      • Jun 2015
      • 91

      #3
      Try this, no guarantees since I haven't tested it in ORTS.

      In MSTS open the ROUTES folder then make a backup copy of the sun.env file. The route name may preceed the word sun.


      Open the file. At the end of each section a line will refer to sun.ace as shown below.


      Code:
      world_sky_satellite
                  (
                      world_sky_satellite_low_scale ( 200 )
                      world_sky_satellite_high_scale ( 150 )
                      world_sky_satellite_rise_position ( 95 )
                      [U][B]world_sky_satellite_rise_time ( 06:00:00 )
                      world_sky_satellite_set_time ( 19:00:00 )[/B][/U]
                      world_sky_satellite_dir_rise_colour ( ffffee8b )
                      world_sky_satellite_dir_high_colour ( ffcdd6fb )
                      world_sky_satellite_dir_set_colour ( ffffb573 )
                      world_sky_satellite_amb_rise_colour ( ff202020 )
                      world_sky_satellite_amb_high_colour ( ff808080 )
                      world_sky_satellite_amb_set_colour ( ff202020 )
                      world_sky_satellite_light ( 1 )
                      world_anim_shader
                      (
                          world_anim_shader_frames
                          (
                              1
                              world_anim_shader_frame ( )
                          )
                          world_shader ( AddATexDiff
                              terrain_texslots ( 1
                                  [U][B]terrain_texslot ( sun.ace 1 0 )[/B][/U]
                              )
                              terrain_uvcalcs ( 1
                                  terrain_uvcalc ( 1 0 0 0 )
                              )
                          )
                      )
                  )
      The sunrise and set times can be changed to your preference in the bold underlines sections above.

      Rich
      .

      Save & exit.

      Comment

      • Vince
        6500 Post Veteran

        • Nov 1999
        • 6961
        • Mohave

        #4
        I believe you would need to have the "Use MSTS Enviorments" option enabled.

        When I tried this the enviorment ( the look of the sim) looked terrible).

        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

        • coolhand101
          Member
          • Jun 2008
          • 94

          #5
          Originally posted by amtrak1993
          Just curious, but has any update been released and/or is there a way to modify the sunrise/sunset times in OR? I really love this simulator and all the hard work people have done, but this issue makes it hard to enjoy at times. Currently I'm running an activity in Western Ohio (my part of the world) set in summer. Not factoring DST, sunset is normally around 9PM however in this activity it's nearly pitch black by 6:30 p.m. Any input would be greatly appreciated. Many thanks.
          In OR, Sunset in the UK (51d lat) is at 20:33, under summer. This is when the night textures are loaded, and the sky is at dusk.
          Around 9pm the sky is black.

          This is using OR version x3328

          Thanks

          Comment

          Working...