Day & Night System V2

Day & Night System V2 by AeroMatixツ

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.

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

As this did take me a long time to do, I would really appreciate it if you could check out my YouTube in return :)

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

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • day_&_night_system_v2 <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • day_&_night_system_v2/
    • lua/
      • autorun/
        • day_night_init.lua
      • day_night/
        • cl_init.lua
        • init.lua
        • shared.lua

BBCode:

HTML:

Social: