Garry's Mod

Garry's Mod

1,728 ratings
Day & Night System
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Scenic, Realism
File Size
Posted
Updated
23.686 KB
4 Jan, 2019 @ 8:11pm
20 Feb @ 10:08am
5 Change Notes ( view )

Subscribe to download
Day & Night System

Description
This is an extremely optimized Day and Night cycle/system for those who do not like the weather mods and only want a cycle, you can control it in your utility menu.

Features;
Dawn, Day, Dusk, Night & Stars, Dynamic Sun,
Real-time,
Full cycle time control,
And most importantly... Optimized (unless you make the cycle mach 1).

Ready to go straight outta the box.

Made especially for server owners in mind.

To control the settings etc go to your utility menu > Day & Night

Base code
Server Commands
daynight_reset - resets the settings to default.
daynight_enabled 1/0 - enable or disable the day and night system.
daynight_paused 1/0 - pause the current cycle where it is.
daynight_realtime 1/0 - enable or disable whether the cycle uses your server's local time as the cycle.
daynight_log 1/0 - toggle console logs (for that slight extra performance I would leave this off, it's more for debug)
daynight_length_day 1-3600 - sets how long the day cycle will last.
daynight_length_night 1-3600 - sets how long the night cycle will last.
daynight_time - gets the current cycle time
daynight_settime 0-24 - sets the current cycle time
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
𝘿𝙤 𝙣𝙤𝙩 𝙖𝙙𝙙 𝙢𝙚 𝙚𝙭𝙥𝙚𝙘𝙩𝙞𝙣𝙜 𝙩𝙤 𝙜𝙚𝙩 𝙖𝙣𝙮 𝙨𝙪𝙥𝙥𝙤𝙧𝙩 𝙪𝙣𝙡𝙚𝙨𝙨 𝙩𝙝𝙚𝙧𝙚'𝙨 𝙖 𝙘𝙧𝙞𝙩𝙞𝙘𝙖𝙡 𝙞𝙨𝙨𝙪𝙚 𝙬𝙞𝙩𝙝 𝙩𝙝𝙚 𝙖𝙙𝙙𝙤𝙣.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━