Garry's Mod Logo
schedule 30 April 2025
update

April 2025 Patch

A small patch

Rubat
Programmer
Estonia
A new patch has been released. This one contains mostly fixes, some for regressions introduced by previous update, as well as some crash fixes, security improvements and a number of under the hood changes.
add_circle

Features

  • Added trigger_teleport_relative entity
  • Added m_bBreakable to prop_door_rotating data description, so it can be accessed from Lua
  • Added ability to put background behind console notify text (that appears with developer 1) via con_bgalpha & con_border convars
  • Added asset usage counters in Hammer Model Picker
  • Added a bunch of new data to util.GetModelInfo
  • Added "Inflictor" field to Bullet structure
  • Added Panel:GetContentAlignment
arrow_circle_up

Improvements

  • Added gmod_cleanup and gmod_camera commands to keyboard options
  • Replaced "Copy to Clipboard" icon with a button for Problems, hopefully will be more obvious what the button is, so players are more encouraged to copy the errors and send them to workshop addon developers
  • Added icons to Quick Fix button in Problems menu
  • Added "Copy to clipboard" button to gui.OpenURL dialog, and add icons to other buttons in the same dialog
  • Increase max voice chat channels to 16 (from 5), allowing more players to voice chat simultaneously
  • Changed "Toggle" to "Toggle Key" for Muscle and Hoverball key input customization (Community Contribution)
  • Revamped Sandbox scoreboard player volume scroller, so it's more obvious that it exists and that you can scroll
  • Allowed mat_picmip (Texture Quality) below -1 in multiplayer
  • Added Alien Swarm map icons
  • Force load HDR map lighting if there is no SDR lighting shipped in the map file, to avoid map having no lighting at all
  • Group mountable games by install state (Community Contribution)
  • Changed default hostname from "Garry's Mod" to "My Garry's Mod Server"
  • Throw a warning when trying to create non-precached particles
  • Added 2 new options to console quick options - vcollide_wireframe & cl_particle_show_bbox
  • Update Label center alignment with an inset - Basically instead of being a minimum value for the X position of the text, the text is centered using the inset as the 0 position, always taking it into account. This is useful for buttons with icons, so the text always appears centered.
  • Certain Sandbox entity spawning global functions (used for spawnmenu) return the entities they create (Community Contribution)
  • resource.AddFile no longer adds .jpg files when used on .mdl files
  • Cache Dedicated Server Workshop addons and load the cached list when can't connect to Steam
  • Mention that sv_no_ain_files should be set before map load in its description
  • Do not output ANSI control characters into dedicated server console for color_white
  • Do not write variables at default values to config.cfg
  • Gracefully exit when encountering invalid SubRect materials, instead of exiting without a message
  • Updated debug_dump - sorting, vertical alignment, added game version, fixed some convars at default values still being written
  • Micro optimize team.NumPlayers (Community Contribution)
  • DButton.SizeToContents now sets the text inset (when using an icon) before sizing to contents
  • Implemented Panel.SizeToContentsX for DButton (Takes into account the icon)
  • Panel:PaintAt will only set Z-position if there are any 0 values on the sibling panels, to maintain order
handyman

Fixed

  • Fixed tonemap system not getting a new controller on map cleanup, resulting in map cleanups causing bloom to get brighter on some maps
  • Fixed sv_max_usercmd_move_magnitude breaking some mods, such as 3rd person mods
  • Improve player head angle (yaw) when in vehicles, fixes the neck snapping when looking backwards from left to right, fixes 90 degree offset in prisoner pod
  • Fixed white-on-white text color for pressed-in drop down menus, such as when right clicking entities
  • Fixed spawning NPCs with creator tool not randomizing weapons (Now fully respects the "NPC Weapon" setting in spawnmenu)
  • Fixed Crossbow sparks effect only playing for non local clients
  • Fixed Crossbow load glow appearing on view model (therefore in mid air) when using built-in third person mode
  • Fixed Crossbow not setting correct bolt glow skin when using certain addons, such as infinite ammo addons
  • Fixed shooting sand on gm_construct producing green particle effects. Now correctly produces sand-colored particle effects. Applies to all maps.
  • SMG1 ejects rifle shells, not pistol ones
  • Reset wind/sun render parameters on level load, so they are not transferred from one map to another within a play session
  • Fixed jiggle bones not functioning for serverside ragdolls (basically, for the ones spawned from spawn menu)
  • Fixed jiggle bones not scaling with model scaling (Biggify/Smallify options on NPCs for example)
  • Fixed jiggle bones behaving incorrectly when model scale is above or below 1
  • Fixed particle precipitation not precaching the particles when only PCF particle based precipitation types are on the map
  • Make Linux use the same console.log code path as Windows so that ANSI command sequences are not written to console.log on Linux Dedicated Server
  • Fixed Lua errors with weapon_base when NPCs try to use it
  • Fixed not being able to select autocomplete options for DTextEntry
  • Try to prevent infinite loops when firing bullets from GM:EntityTakeDamage
  • Fixed regression where Hammer Model Picker would not scroll to selected item after first opened
  • Fixed a server crash to do with removed NPCs in NPC squads
  • Fixed Bugbait and Gravity Gun reporting 0 as their Clip1/2
  • Make SLAM weapon consistent with Grenade weapon internally - Use primary ammo type instead of secondary ammo type, correctly report Clip1/2 to Lua (as -1 for both instead 3/1)
  • Fixed City Scanners creating console warnings when spawned from spawnmenu
  • Fixed crashes when SubRect materials are used on a map brush
  • Fixed a crash with NPCs doing scripted sequences
  • Fixed crashes to do with material's representative texture used for impact particles
  • Fixed missing model for a specific option for npc_citizen in Hammer
  • Added env_wind's SetWindDir input to FGD
  • Added Alpha input to func_precipitation in Hammer (FGD)
  • Fixed a potential Lua error with constraint library
  • Fixed close button not doing anything for +showvprof window
  • Fixed sound handling of func_movelinear, and fixed its behavior when parented
  • Potential crash fixes to do with map loading
  • Fixed a regression with "Rotation Yaw Flip Random" particle operator
  • Default "randomly_flip_direction" to 0 for "Rotation Random" particle operator
  • Prevent crashes with render.Capture
  • Fixed potential Lua error with Playermodel Selector
  • util.TableToJSON - Throw halting errors at all times (instead of non halting ones)
  • util.TableToJSON - Clear any parsed data before throwing Lua errors, because the Lua errors prevent destructors from running
  • Colors returned from C++ functions now have their metatables
  • Call GM:PlayerLeaveVehicle after the player leaves the vehicle, not during, to prevent stack overflows and players being stuck in no clip when exiting a vehicle.
remove_circle

Removed

  • Removed cl_showpluginmessages console variable and the associated system.
  • Removed test_entity_blocker concommand
  • Remove -usetcp command line option as it is broken anyway and has unknown purpose
add_circle

Features

  • Add an option to disable the Karma system via the main menu "New Game" hosting (Community Contribution)
arrow_circle_up

Improvements

  • Updated localization files (Community Contribution)
  • Added FCVAR_NOTIFY to various ConVars (Community Contribution)
  • If voice drain is enabled, it will not be applied to admins anymore by default (Community Contribution)
  • Changed some text used in the main menu "New Game" section (Community Contribution)
  • Allow Innocents to pick-up dropped Detective hats by default (Community Contribution)
handyman

Fixed

  • Fixed inconsistency for default values in terrortown.txt (Community Contribution)
  • Fixed players sometimes being revealed as dead when they chat/voicechat right as they die again (Community Contribution)