Garry's Mod Logo
Changes Header

Changes

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

add_circle

Features

  • Ported -blocksize for vbsp from CS:GO
  • Added Ambient Occlusion for vrad (-aoscale, -ambientocclusion)
  • Added ficool2's VRAD ambient occlusion implementation
  • Added a new option to HLMV Flex tab for $boneflexdriver preview - It will move Flex sliders live as the animation plays
  • Added a bunch of new options for Hammer's Run Map dialog so they are not hidden from the average user
arrow_circle_up

Improvements

  • Alternative fix for traces not hitting transparent displacements (vbsp) - better consistency with brushes that use same materials - does not cast shadow and traces hit them
  • Improve verbosity and detection of "CMaterial::Draw(): StretchDIBits failed" in Hammer
  • Use integers, not shorts for leafs in map compile tools (vrad) - fixes warnings/issues on some complex maps
  • Move "Model X has mismatching model version" to -verbose (vbsp.exe)
  • More logical defaults for func_button in Hammer
  • Increased size of "size" status bar in Hammer to be able to fit the entire text
  • Add light position to some vrad.exe warnings
  • Also added info to the "Cast Entity Shadows" hammer key-value on lights about how to properly make it work
  • point_viewcontrol only gives invincibility if it freezes the player
  • GMad.exe: On windows, pause on error when using drag'n'drop so the user can see the errors
  • Only allow dx80/dx90.vtx files in gmpublisher, sw.vtx/xbox.vtx are useless files not used by the game, so no reason to allow them on workshop to waste disk space
  • Added more info to "Patch Sample Radius Clamped" warning in vrad
handyman

Fixed

  • Fixed Hammer's expert config files not being treated as userconfig by Steam, therefore getting wiped on validation
  • Minor fixes to map compile tool output text not having new lines in some cases
  • Fixed "Point At" button always writing to "angles" key-value pair instead of the selected key-value pair
  • Fixed improper model removal handling for LODs in studiomdl.exe, resulting in a crash
  • Fixed vrad.exe not writing light entity flags to the BSP, fixes "Cast entity shadows" option in Hammer not working
  • Fixed errors with singular static prop causing VRAD to stop for all remaining static props yet to be processed
  • Fixed default detail types (Hammer Editor) having missing models and textures
  • Fixed a crash with Hammer Model Viewer and bad models
  • Merge hlmv crash fixes from CS:GO - Related to high poly models and the debug rendering modes
  • studiomdl.exe no longer requires -nop4 every time it is used
remove_circle

Removed

  • Disabled .sw.vtx generation in studiomdl.exe
add_circle

Features

  • Added physcannon_instant (defaults to 1) - Makes the gravity gun be able to be used instantly after switching to it, bypassing deploy animation (and sv_defaultdeplyspeed). The default value preserves the original behavior
  • Added option to generate spawnlists for addons to spawnmenu right click menu, similar to the one for mounted games
  • Added some existing models to the Lamp Tool, for more variety
  • Added the ability to auto join full servers when they get a free slot to the default server browser
  • Added the ability to add servers to favorites by IP to the default server browser
  • New spawnicon editor options - Move speed customization, FOV precise control, camera position copy/paste, quick rotate model +/- 45deg, Fixed selecting text in spawnicon editor only working on second try, forced LOD to highest
  • Display SENT/SWEP usage info in spawnmenu tooltip
  • Added new Team Fortress 2 map icons
  • Added prop_disable_distance_fade convar (cheat) - If set to 1, disables prop fading out with distance set by the map, including static props and other entities. Useful for taking screenshots
arrow_circle_up

Improvements

  • Fixed tiny amount of damage (less than 0.1) taking a whole armor point
  • First person Physics Gun effects no longer render during skybox pass
  • Changed "Filter" label on console to better represent what it does
  • Strip certain disruptive Unicode character groups from server & gamemode names
  • Moved extracted Steam Workshop .gma files from addons/ to cache/workshop/ so that all addon files are in the same place
  • Reworked menu_cleanupgmas to take into account server downloads - Meaning, Workshop files downloaded from servers and extracted, then deleted by Steam in 2 weeks, now get detected as useless extracted versions and are prompted for deletion
  • Do not fully disable the crosshair if player is dead, so it is visible when spectating a player in first person view, or flying around the map in spectate mode and cl_observercrosshair is set to 1 (default)
  • Visually and physically disable (but not hide) disabled Sandbox tools
  • Display a warning when trying to activate tools without a toolgun
  • Force spawnlist file names to lower case on save
  • Moved "Delete multiple items" in spawnmenu multi-select right click to the bottom - This is consistent with normal spawnicon right click item order
  • Do not try to render and save icons for models without meshes - This mostly applies to character animation files. They will appear as "ERROR" models
  • Limited certain unintentional addon whitelist paths to old addons only
  • Reworked default Half-Life 2 spawnlists to include most models that are shipped with the game without requiring mounting, as well as re-grouped similar models together in the 2 topmost default spawnlists.
  • Also added default spawnlists for Half-Life 2 episodes and Lost Coast, which will appear if those games are mounted (Note: Updated default spawnlists will not appear if you already have played the game before the update - to get them you will need to delete your existing spawnlists completely)
  • Updated hundreds of default spawnicons, added even more spawnicons for the new spawnlists
  • If a spawnicon does not exist, try to look in addons first before generating one - This makes it so that you can still edit spawnicons, but if you do not have a spawnicon rendered, and a workshop addon provides one, the game will use the workshop one as a fallback
  • Workshop subscriptions appear as "Unknown Addon" while we fetch their details - they will not be mounted as they could be banned
  • Restored Half-Life 2 use sounds with gmod_suit 1
  • Restored angle alignment/snapping for +use pickup
  • When mat_viewportscale is set to a tiny, game breaking value, fire a "Problem" notification for the user with a quick fix
  • Display an error in console when .gma addon file list has failed to be read completely
  • Included modified Alyx, Kleiner and Vortigaunt models that include animations from Half-Life 2 episodes, improving compatibility with those games
  • Included Episode 2 floor turret models for its skins & gibs
  • Included Episode 2 combine mine model, so its skins appear on that one Episode 2 map
  • Included Episode 1 ceiling turret model so it functions correctly when dry firing on that one Episode 1 map
  • Improved kill feed NPC names for map spawned NPCs like Rebels, Antlion Workers, etc
  • Improved Episode 1 intro - Blue vortigaunt material conflicts with EP2 resolved, wake up sequence works
  • Make sure to restore gamemode on server disconnect to what it was before joining the server
  • Enabled Episodic behaviors for Vortigaunts - don't attack while carrying NPC, lower threshold for range attacks during episodic maps
  • Enabled Alyx darkness mode, flashlight blindness & other episodic behaviors
  • Fixed Alyx still following the player in darkness mode without flashlight
  • Fixed Alyx's darkness breathing breaking other voice lines
  • Enabled episodic behaviors for Zombies and Headcrabs
  • Replace default cubemap texture with the one map compilation generates by default - this only affects maps that are renamed after compilation, which used to make them look overly shiny
  • Changed default value of "skill" convar to 2 (normal difficulty, was easy before)
  • Increased severity of mat_hdr_level problem (HDR being disabled, which makes certain maps not have lighting)
  • Faceposer flexes (sliders) are now grouped - The groups are defined by the models themselves
  • Updated localization files
handyman

Fixed

  • Fixed GMod force-adding "English (US)" keyboard layout which persists until PC restart
  • Fixed Winch right click not setting rope color correctly
  • Fixed inflator tool no longer working on NPCs
  • Fixed NPC kill related achievements not working
  • Fixed playermodel drifting away in prop_vehicle_crane when holding W or S
  • Fixed Lua being able to make the main menu fully black on disconnect
  • Fixed toolgun ghost entity fading out at distance in singleplayer on some maps
  • Fixed Color Modify post processing effect defaults not resetting invert
  • Fixed fsd-overrun-toy.mdl physics mesh being rotated 90 degrees (Community Contribution) & reduced its mass
  • Fixed spawning normal combine soldiers from spawnmenu with shotguns having their skin set to the shotgunner one
  • Fixed portal turret playing its disintegration sound twice when disintegrated via mods
  • Fixed player disconnection message sometimes not appearing, due to the player object being gone too soon
  • Fixed volume of certain sounds not being set briefly when first loading into a map - This fixes game making sounds when not focused when the option to specifically prevent that is enabled
  • Fixed auto generated spawnlists from mountable games disappearing on reload because they were incorrectly having "needs app" being set to the app ID, and not the app folder
  • Fixed addons over 2GB not loading correctly, the new limit is 4GB
  • Fixed "skill" console variable (selects difficulty) not doing anything for Half-Life 2 content
  • Finger poser and Faceposer correctly rebuilds UI on loss of entity
  • Fixed crazy mouse acceleration values completely breaking player view, making the game unplayable
  • Fixed faceposer breaking after 384 different flex names were loaded in a session - The limit is now 1024 and and if it is reached, a console warning is printed.
remove_circle

Removed

  • Removed Episode 2 exclusive soundscapes (wind gusts) from gm_construct
arrow_circle_up

Improvements

  • Increased some mapping limits:
  • MAX_MAP_OVERLAYS 1024 -> 8192
  • MAX_MAP_TEXDATA 2048 -> 8192
  • MAX_MAP_TEXINFO 12288 ->16384
  • Error checking in spawnicon context menu when spawnicons are removed while the player has the context menu open
handyman

Fixed

  • Fixed "cc_lang: invalid language" warning appearing with empty cc_lang
  • Fixed "Tried to Read into NULL memory!" warning appearing when mounting L4D2
  • Fixed random crashes to do with ClientsideModel & ents.CreateClientProp
  • Fixed a crash with NWVars
  • "Remember my choice for this server" is actually remembered when pressing "no" for the current session
arrow_circle_up

Improvements

  • CPropDoorRotatingBreakable does not try to precache NULL model breakables
  • Moved "render to video" temp file to videos/ folder
  • Allowed physgun_wheelspeed to go negative again
handyman

Fixed

  • Fixed symlinked autorefresh not working
  • More potential crash fixes to do with texture loading
  • Fixed net.WriteData warning not displaying correct data
  • Fixed async model loading system trying to load already loaded models
  • Fixed "bad sequence" warnings so they display correct max number
  • Fixed "Unable to initialize DirectSoundCapture" disabling voice chat
  • Fixed lua_refresh_file not working with gamemode or addon files
  • Fixed RecipientFilter global having its argument have a flipped meaning
  • Fixed some presets being erroneously treated as collection ID
  • Fixed "flush" concommand crashing on windows dedicated server
  • video library restores fps_max if it sets it
  • Fixed "render to video" not rendering while main menu is open
  • Fixed quitting while demo is being recorded writing invalid tick count to the demo count
  • Fixed a crash due to sounds failing to be loaded
  • Fixed a crash with the mesh library
  • Fixed DModelPanel having issues with depth buffer when 2 panels are overlayed
remove_circle

Removed

  • Removed some useless console commands - Test_CreateEntity, Test_RandomPlayerPosition, con_enable, con_drawnotify
add_circle

Features

  • Added Turkish translations (Community Contribution)
arrow_circle_up

Improvements

  • Prevent TTT weapon base creating Lua errors with NPCs (Community Contribution)
  • Transition to use SteamID64 where possible (Community Contribution)
  • Changed capitalization of certain weapon ammo types to match engine (Community Contribution)
  • Minor code clean ups and optimisations (Community Contribution)
  • Optimized radar ping network traffic (Community Contribution)
handyman

Fixed

  • Fixed a bug with Magneto Stick and the pinning convars (Community Contribution)