Scenario City/station Lights-off And Lights-on

Discussion in 'General Discussion' started by fastleg, Dec 27, 2025 at 6:11 AM.

  1. fastleg

    fastleg Member

    Joined:
    May 21, 2025
    Messages:
    22
    Likes Received:
    36
    By my understanding the surrounding city/station lights go OFF (morning) or ON (evening) at the following times in the UK:-

    Winter OFF=08:00 ON=16:10
    Spring OFF=06:40 ON=17:35
    Summer OFF=05:00 ON=20:50
    Autumn OFF=07:15 ON=18:10

    And it also seems that in the evening (say) from Lights-ON to basically night-time is only about 30 mins, which is a pain-in-the-hole, plus it is a not super realistic when the whole surrounding city does a Lights-ON or OFF at the same time. Obviously it would also be useful to have lights ON during the day for Foggy or Dark stormy weather, say.

    So, does anyone know how this can be changed, especially within a Scenario?
     
    Last edited: Dec 27, 2025 at 7:09 AM
  2. cunningn#3154

    cunningn#3154 Well-Known Member

    Joined:
    Mar 22, 2023
    Messages:
    276
    Likes Received:
    325
    I've never seen a script control that alters it so I suspect that it is buried in the core code. It should be possible to create specific scenery objects that use a switchable lighting system so they can be turned on/off outside of the set night/day parameters but I'd guess that you are probably stuck with what the game does. You might jigger the latitude of the route so that the day/night period changes but I don't think that is what you want. Sorry.
     
  3. Oystein

    Oystein Well-Known Member

    Joined:
    May 24, 2018
    Messages:
    356
    Likes Received:
    335
    Nodes with names that ends with "_night" and "_day" are controlled by core and can't be scripted. It uses the route template or the time of day blueprints, so the times can be different from route to route. Sadly we do not have any script functions that can tell us if it is day or night. Instead we can use SysCall("ScenarioManager:GetTimeOfDay") and then check seconds since midnight. Using this method will be correct on one route but maybe not on another route.
    But again, trying to show/hide a node that the core is showing/hiding doesn't work well.
     
    • Like Like x 2

Share This Page