Garry's Mod Logo
Changes Header

Changes

What’s changed in Garry's Mod in each patch.

add_circle

Features

  • Added "distance to camera" button for func_areaportalwindow's FadeStartDist/FadeDist keyvalues in Hammer Editor
  • Added GMod specific mapping key values to more entities such as prop_door_rotating, func_brush in Hammer Editor
  • You can now use Middle Mouse Click to pan 2D views in Hammer Editor
  • Added func_detail_blocker support
  • Added support for -allowdynamicpropsasstatic to vbsp.exe
  • studiomdl.exe now can handle infinite bodygroups instead of just 32
  • Lua cache of the client gets reset on disconnect
  • Added fallback textures for "painted" skybox to prevent console warnings and allow cubemaps to be built with the "painted" skybox
  • Added SetMaxLookDistance (float) input to all NPCs (It's also added to the .fgd)
  • Added Half-Life: Source ammo types and their Console Variables
arrow_circle_up

Improvements

  • Unsupported staticproplump versions will now exit the game with a neat-ish message
  • Added support for staticproplump v11 including scale (visually only), makes the CS:GO battle royale map work
  • Translated shaders "lightmapped_4wayblend" to "LightmappedGeneric" and "grass" to "UnlitGeneric"
  • Restored activator filter func_door functionality from Half-Life: Source
  • Removed leftover debug output from Remove property
  • Half-Life: Source Human Grunts no longer spam console about forming squads
  • Automatically switch the default detailsprites material for an Half-Life 2: Episode 2 one if the map appears to have Episode 2 detail sprites
  • Prevented Sandbox spawning console commands from generating errors when entered into Dedicated Server console
  • Added default value for gordon_precriminal criteria so citizens won't greet the player if they're not a criminal
  • Increased limits:
  • * MAX_MAP_ENTITIES - 8192 to 20480
  • * MAX_MAP_AREAS - 256 to 1024
  • * MAX_MAP_BRUSHES - 8192 to 16384
  • * MAX_NODES - 1500 to 4096
  • * Displacements - 2048 to 5500
handyman

Fixed

  • env_wind can no longer freeze the server when improperly configured
  • Fixed prediction errors when noclipping and changing underwater state
  • Client precipitation never tries to bind a NULL material causing console spam
  • Added GameData key to gameinfo.txt, fixing instances in vbsp.exe and reducing unnecessary output
  • Clientside Lua files are no longer rehashed multiple times during loading
  • Applied a fix for custom detail/detailsprites textures with different aspect ratios from the default one from Valve Developer Community
  • Console command "fogui" no longer overrides console variables on game start causing inconsistencies with the fog and farz between different clients
add_circle

Features

  • Added input.WasMouseReleased( key )
  • Added surface.GetAlphaMultiplier()
  • Added surface.GetDrawColor()
  • Added surface.GetTextColor()
  • Added Entity.IsMarkedForDeletion()
  • Added hook GM:PlayerClassChanged
  • Added hook PANEL.OnSizeChanged( newW, newH )
  • Added hook NextBot.FireAnimationEvent clientside hook
  • Added hook NextBot:HandleAnimEvent
  • Added 4th argument to DComboBox.AddChoice - icon (Community Contribution)
arrow_circle_up

Improvements

  • Added names to the "A net message is already started" message to help pinpoint the message source
  • PANEL.OnScreenSizeChanged now has 2 arguments - the old width and height
  • ModelImage.SetSpawnIcon will no longer display an error image when given non-existent .png, now displays the usual broken image material
  • Wordclicker view model animations now use proper variables for 2nd and 3rd viewmodels, instead of using the variable for the 1st view model
  • Entity.EnableConstraints( false ) now deletes the constraints (experimental)
  • DModelPanel now properly works when being dragged by the drag'n'drop system
  • Deletion of orphaned entities no longer deletes world or players
  • You can no longer call Entity.SetParent on world
  • PNG and JPG textures are now loaded without automatic conversion to Power of 2 sizes
  • Panel.IsEnabled now visibly affects DMenuOption
  • Invisible children of DHorizontalScroller will no longer affect position of the visible panels
  • Entity.Fire and Entity.Input also support booleans just like GM:AcceptInput
  • Player classes are set on all clients automatically clientside
  • Player classes are initialized as soon as they are set on a player, instead of whenever a first hook call happens
  • Display a message when an scripted entity was refused to be loaded due to missing Base and Type keys
  • Display a console warning when scripted_ents library was overridden and is no longer a table instead of silently doing nothing
  • More friendly errors when the weapons library is overridden with a non table
handyman

Fixed

  • Fixed Player.Say appending a trailing space
  • Fixed ViewModelFlip stopping worldclicker aiming animation for view models
  • Fixed SpawnIcon's SetSize affecting the child element's size too late
  • Fixed a crash issue with ModelImage.SetSpawnIcon
  • Fixed EmitSentence() not working on clients
  • DLabel and its derivatives can be properly dropped with drag'n'drop when they are not initially pressed
  • Invalid panels for tooltips will no longer create errors
  • Fixed table.GetWinningKey with keys lower than -10000 (Community Contribution)
  • Fixes for toolgun Think not running in edge cases (Community Contribution)
  • Fixed gmod_(admin_)cleanup not updating Player.GetCount on clients properly
  • Fixed Entity.GetTable being recreated when one already exists upon loading the entity table from .lua file
  • Fixed engine.ActiveGamemode() not returning current gamemode correctly in clientside autorun scripts
  • Fixed Panel.GetTextSize() only working after the text has been rendered at least once
handyman

Fixed

  • Fixed an exploit to do with gm_giveswep
  • Fixed an exploit relating to SQLite
arrow_circle_up

Improvements

  • Changed Lua file hashing algorithm to improve security
handyman

Fixed

  • Fixed a crash with decals on high poly models
  • Fixed a crash with Projected Textures
  • Fixed crash issues on some TF2 maps
  • Fixed crash issue with physenv.AddSufraceData()
  • Fixed not being able to start a new game with too many game.AddDecal() calls
  • Fixed a crash issue with env_fog_controller
  • Fixed crash exploits with parenting of unremovable entities to removable ones and deleting them this way
  • Fixed certain players not being able to be muted on servers with large populations
add_circle

Features

  • Keys in mount.cfg are now marked as mounted ( for IsMounted() ), if they are in the list of mountable games
  • Restored Gib Model functionality of func_breakable from HL1
  • mountdepots.txt will now be automatically created if it doesn't exist so dedicated server owners can edit it
arrow_circle_up

Improvements

  • Nav file errors now properly displays the actual error by name, not error ID
  • Updated surfaceproperites.txt to remove some entries to fit the 128 entry limit
  • Bumped maxiumum key length of key values in bsp to 64 (from 32)
handyman

Fixed

  • Fixed nav file error 4 (out of date) being displayed when the nav file is in fact up to date