Garry's Mod

Garry's Mod

[Base] Left 4 Dead 2 map content
Combine  [developer] Aug 1, 2020 @ 6:11am
Lua & console command informations
Here are some important informations about the lua scripts & console commands.


Improving fps
gmod_mcore_test 1
- if you find this, don't go around enabling it and then complaining about issues


Day' Night cycle
Here are all the available console commands for the dnc script.
Get the current day length.
dnc_getdaylength

Get the current time.
dnc_gettime

Set the current time.
dnc_settime

Pause the dnc.
dnc_pause

Reset the whole dnc.
dnc_reset

dnc_sun_roll
- The inclination of the sun rotation plane in degrees. 90 makes the sun go an equator like path. Min: 15, Max: 165

dnc_sun_yaw
- The rotation of the sun rotation plane in degrees. 0 makes the sun go from West to East.

dnc_realtime
- Turns the real time mode on. It will lock the sun position to the system clock. 1 = On, 0 = Off

dnc_setdaylength
- The duration of one day in seconds. Min: 1 second, Max: 7 days ( 604800 seconds )


What about the map features? what can we do
Hold "C" click on "[CM] - Map settings" there can you disable or enable map features like rain etc.


How does the "multiple gamemode" thing works?
Choose your gamemode "Sandbox" or "Trouble in Terrorist Town" and start one of my maps.
A lua script will automatically scan your current gamemode and enable the required entities.
Last edited by Combine; Aug 1, 2020 @ 8:54am