Skip to product information
1 of 1

Day Night Cycle Simple Device

Day Night Cycle Simple Device

Title 1
Save/bookmark this page link/url for future downloads of files. You can also access file by login to your account.

Downloadable files along with this product

    No files to download


    Details

        Give your island a clock. The Day Night Cycle Simple Device alternates between a day phase and a night phase on timings you set, firing a trigger and showing a HUD message at every switch so your lights, sky, spawners and events can follow the time of day.

        Perfect for: survival maps, adventure and exploration games, roleplay and story-driven experiences.

        What Problem It Solves

        • A reliable, repeating day and night timer that other devices can react to.
        • Different lengths for day and night, for example long days and short, dangerous nights.
        • A visible countdown for players through a Timer device.

        How It Works

        The device starts in day. It counts time using the included Custom Tick device and, when Day Duration Seconds has passed, fires Night Trigger, shows the night HUD message and restarts the Timer with Night Duration Seconds. When night ends it does the same for day. The device does not change lighting itself: connect the Day and Night triggers to your Skydome, lights, spawners or any other device.

        Setup

        1. Copy the Scripts folder (CoreModule and DayNightCycleModule) into your project and run Verse > Build Verse Code.
        2. Place the Custom Tick device once in your level; the cycle needs it to run.
        3. Place the Day Night Cycle Manager and link two Trigger devices, a Timer device and two HUD Message devices.
        4. Set the day and night lengths in seconds.
        5. Connect the Day and Night triggers to whatever should change with the time of day.

        Settings

        • Day Duration Seconds and Night Duration Seconds: 300 each by default.
        • Day Trigger and Night Trigger: fired at the start of each phase.
        • Timer: shows the remaining time of the current phase.
        • Day HUD Message and Night HUD Message: shown at each switch.

        Project Outline

        Content/
        └── Scripts/
            ├── CoreModule/
            │   └── custom_tick.verse
            └── DayNightCycleModule/
                └── day_night_cycle_manager.verse
        

        Frequently Asked Questions

        Does the Day Night Cycle actually change the lighting?

        No. It is a timer that alternates between a day phase and a night phase, firing a Day Trigger and a Night Trigger and showing a HUD message at each switch. You connect those triggers to whatever should change, such as your sky or lights.

        How long are day and night?

        Both default to 300 seconds and are set separately in the Details panel, so you can have long days and short nights.

        Which devices do I need?

        Two Trigger devices (day and night), a Timer device that shows the countdown, two HUD Message devices, and the included Custom Tick device placed in the level.

        Do I need to write code?

        No. Everything is wired in the Details panel. It does need UEFN, since Verse devices can only be added there.

        NOTE: The device is sold as-is and updates may be available but are not guaranteed.

        View full details

        Join our server!

        Get support, ask questions or suggest ideas for new code!