Garry's Mod Logo
Changes Header

Changes

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

add_circle

Features

  • •
    Added NPC.GetCurrentSchedule
  • •
    Added File.ReadUShort
  • •
    Added File.ReadULong
  • •
    Added File.WriteUShort
  • •
    Added File.WriteULong
  • •
    Added CreatePhysCollideBox
  • •
    Added PhysCollide:TraceBox
  • •
    Added PhysCollide:Destroy
  • •
    Added PhysCollide:IsValid
  • •
    Added mesh.UserData
  • •
    Added ENT:GetRenderMesh
  • •
    Added GM.PlayerDroppedWeapon( ply, wep )
  • •
    Added CNavArea.SetCostSoFar( num )
  • •
    Added type error to render.Capture
  • •
    NextBot functions now properly error if used on invalid entity
  • •
    IMesh:BuildFromTriangles can do userdata too
arrow_circle_up

Improvements

  • •
    Switched base_anim to CBaseAnimatingOverlay, allowing more functions to be used on "anim" entities
  • •
    DProperty_VectorColor now works with standard colors as well ( vector color support unchanged )
  • •
    Added better type checking and error output to NextBot.GetRange(Squared)To()
  • •
    render.Capture can no longer capture Steam Overlay
  • •
    cam.Start() will now error when given no arguments
handyman

Fixed

  • •
    Fixed errors when calling Setup() without second argument on DProperty_Float and DProperty_Int
  • •
    Fixed deriving from DDragBase requiring to define OnModified
  • •
    Fixed Panel.InvalidateChildren being always recursive
  • •
    Fixed Panel.NewAnimation ease values 0-1 being weird
  • •
    Fixed calling SetAllowWeaponsInVehicle( false ) in PlayerLeaveVehicle hook breaking weapon selection
  • •
    Fixed DBinder not working when its convar is set to NaN
  • •
    Fixed DBinder overriding SetSelected( bool )
  • •
    Fixed util.GetModelInfo crashing with empty string
  • •
    Fixed a crash issue with Weapon functions
  • •
    Fixed NeedsDepthPass not working for addons
  • •
    Fixed string.Comma with very large numbers
  • •
    NextBot.GetRangeSquaredTo now actually works the way it's intended to, by returning squared range
  • •
    Updated most render library functions to not lock up when a Lua type error occurs during function execution
  • •
    Prevent potential stack overflows in scripted_ents.Get
  • •
    Fixed the utf8 library failing with certain UTF8 strings
remove_circle

Removed

  • •
    Removed NPC.RemoveMemory
arrow_circle_up

Improvements

  • •
    Added translations for env_fire and npc_fisherman when shown in the kill feed
  • •
    Updated TTT to the latest version
  • •
    Increased offset for rollermine to prevent it from spawning below ground
  • •
    Changed maximum value for Frame Blend's Shutter slider so it doesn't just black screen
  • •
    Changed the link on the version button in main menu to link to the new website
  • •
    Updated all built in weapons to work better with NPCs
handyman

Fixed

  • •
    Properly turn off thirdperson on level shutdown
  • •
    Fixed certain tools erroring when their console variables are set to "nan"
  • •
    Applied a potential fix to stop tooltips from being displayed when they are not meant to be displayed
  • •
    Improved flashlight effect on custom entities
  • •
    Fixed Stunstuck sprites rendering in weird positions
  • •
    Clientside ragdolls of dead NPCs will now properly inherit material override
  • •
    Serverside ragdolls of dead NPCs will now properly inherit color and material override
arrow_circle_up

Improvements

  • •
    Updated BASS.DLL to 2.4.13.8-mp3free
  • •
    Potentially improved vrad.exe performance
  • •
    Better "Error loading gamemode:" errors that actually describe what's wrong
handyman

Fixed

  • •
    Fixed support for Zombie Panic! Source mounting
  • •
    Fixed hammer_update_entity console command crashing the game
  • •
    Fixed a bunch of different exploits
arrow_circle_up

Improvements

  • •
    Improved crazy physics prevention when welding world to certain props
  • •
    Better handling of version 49 model format that differs between games
  • •
    Mac OS builds use libc++ & 10.7 SDK
  • •
    Changed the default value for tv_maxclients from 128 to 64
  • •
    Dedicated Server will print P2P address to console when P2P is enabled
  • •
    Improved Version 21 map support
handyman

Fixed

  • •
    Fixed soundscapes on some custom maps not working in multiplayer
  • •
    Fixed off-by-one error with GMA FileHandle seeking
  • •
    Fixed potential deadlock in multicore rendering when messing with colour correction
  • •
    Fixed an issue where removing ai_network before game.CleanUpMap() will crash the game
  • •
    Fixed kickid command appending a space to kick reason
  • •
    Fixed crash issues with vehicle radars
  • •
    Fixed a client crash related to clientside bone manipulations
  • •
    Fixed a common material system crash with multicore rendering
  • •
    Properly handle VOX sentences that fail to load instead of crashing later
add_circle

Features

  • •
    Added engine.ServerFrameTime
  • •
    Added the missing TYPE_PROJECTEDTEXTURE enum
  • •
    Added a callback for steamworks.RequestPlayerInfo that is fired when the info is received
  • •
    Added DTextEntry.SetPlaceholderText
  • •
    Added DTextEntry.SetPlaceholderColor
  • •
    Added CNavArea.Remove
  • •
    Added CNavArea.SetCorner( int corner, Vector v )
  • •
    Added CNavLadder.Remove
  • •
    Added CNavArea.ConnectTo( CNavArea/CNavLadder )
  • •
    Added CNavArea.Disconnect( CNavArea/CNavLadder )
  • •
    Added CNavArea.PlaceOnGround( int corner )
  • •
    Added navmesh.CreateNavArea( Vector corner, Vector opposite_corner )
  • •
    Added CNavLadder.Disconnect( CNavArea )
  • •
    Added DTree_Node:Clear()
  • •
    Added DPropertySheet:OnActiveTabChanged( old, new )
  • •
    Added DPropertySheet.GetItems
  • •
    Added a second argument to search.GetResults (optional)
  • •
    Added mask as a 5th argument to ENT:TestCollision
arrow_circle_up

Improvements

  • •
    Changing value of SetAllowWeaponsInVehicle will now be applied immediately and it is no longer necessary to reenter the vehicle
  • •
    Entity.WorldSpaceCenter will no longer silently fail when used on a NULL entity
  • •
    Entity.IsLineOfSightClear will no longer silently fail when given no argument or a NULL entity
  • •
    Improved rendering of draw.RoundedBox corners at corner size > 64 and 16-32
  • •
    Implemented DTree:Clear()
  • •
    Implemented DHorizontalScroller:Clear()
  • •
    Better error checking for DPropertySheet
  • •
    Certain HL2 weapons ( pistol, smg1 ) now also set the attacker in GM:EntityTakeDamage
  • •
    Made DLabelEditable.OnLabelTextChanged's return value optional
  • •
    DColorCombo's palette will update the DColorMixer's color
  • •
    DNumberScratch.OnValueChanged will no longer have nil value as first argument in some cases
  • •
    DIconBrowser now also includes mountable game icons (materials/games/16/)
  • •
    Entity.SetMoveCollide is now shared
  • •
    Panel.GetText is no longer limited to 1023 characters for TextEntry element
handyman

Fixed

  • •
    Fixed DFileBrowser not working with root/empty base directory.
  • •
    Fixed SWEP.TranslateFOV set the FOV to 0 when invalid return value is given
  • •
    Fixed passing Lua's NULL to certain tables where non-Entity is expected causing a crash
  • •
    Fixed DColorCombo.GetColor returning nil
  • •
    Fixed DGrid.SortByMember's second parameter being forced to true
  • •
    Fixed a bug with DToolTip that prevented Panel.SetTooltipPanel from working properly
  • •
    Fixed crosshair disappearing when entering a vehicle with SetAllowWeaponsInVehicle set to true
  • •
    Fixed Entity.StartLoopingSound so that it actually starts playing the sounds it creates
  • •
    Fixed a crash with GetRenderTargetEx and ENVMAP texture flag, now displays a warning