Garry's Mod Logo
Changes Header

Changes

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

add_circle

Features

  • chat.Open
  • chat.Close
  • render.SetLightmapTexture
  • render.PushRenderTarget
  • render.PopRenderTarget
  • GM:EntityEmitSound
  • NEXTBOT:OnRemove
  • timer.TimeLeft
  • render.OverrideAlphaWriteEnable
  • render.OverrideColorWriteEnable
  • render.SetWriteDepthToDestAlpha
  • Added a few requested ACT enums
  • PANEL:OnRemove
  • Removed PANEL:OnDeletion hook
  • Entity:GetMaterials
  • IGModAudioChannel:GetPos
  • IGModAudioChannel:GetVolume
  • IGModAudioChannel:SetTime
  • IGModAudioChannel:Set3DFadeDistance
  • IGModAudioChannel:Get3DFadeDistance
  • IGModAudioChannel:Set3DCone
  • IGModAudioChannel:Get3DCone
  • IGModAudioChannel:GetState
  • IGModAudioChannel:IsLooping
  • IGModAudioChannel:IsOnline
  • IGModAudioChannel:Is3D
  • IGModAudioChannel:GetLength
  • IGModAudioChannel:GetFileName
  • IGModAudioChannel:GetSamplingRate
  • IGModAudioChannel:GetBitsPerSample
  • IGModAudioChannel:GetLevel
  • IGModAudioChannel:FFT
  • IGModAudioChannel:GetPlaybackRate
  • IGModAudioChannel:SetPlaybackRate
  • GMOD_CHANNEL_*
  • sound.GetTable
  • sound.GetProperties
  • GM:StartCommand
  • GM:EntityFireBullets
  • util.GetSurfacePropName
  • system.FlashWindow
  • VMatrix objects can now be printed to the console
  • Added VMatrix support for the following operators: ==, ~=, +, -
  • VMatrix:ToTable
  • VMatrix:Set
  • VMatrix:Identity
  • VMatrix:IsIdentity
  • VMatrix:IsRotationMatrix
  • VMatrix:Invert
  • VMatrix:GetInverse
  • VMatrix:InvertTR
  • VMatrix:GetInverseTR
  • VMatrix:GetForward
  • VMatrix:GetRight
  • VMatrix:GetUp
  • VMatrix:SetForward
  • VMatrix:SetRight
  • VMatrix:SetUp
  • VMatrix:GetField
  • VMatrix:SetField
  • VMatrix:SetScale
  • Player:GetCurrentViewOffset
  • Player:SetCurrentViewOffset
  • Entity:AddFlags
  • Entity:RemoveFlags
  • Entity:IsFlagSet
  • FL_*
  • Player:GetViewPunchAngles
  • Player:SetViewPunchAngles
  • Added util.GetUserGroups
  • Added table.GetKeys(table)
  • Added spawnmenu.ActivateTool()
arrow_circle_up

Improvements

  • HTTP requests now accept a "headers" table
  • game.AddDecal now accepts a string table as its second argument
  • Entity:IsValid no longer returns true on entities which have been removed during the current frame
  • Removed IN_ key checking from lag compensation - Player:LagCompensation should now work in any predicted hook
  • Changed GM:CalcViewModelView, return a position and an angle to override viewmodel position
  • vm_origin and vm_angles fields in table returned from GM:CalcView are now deprecated
  • sound.PlayURL second parameter can now contain the “noblock” flag, which disables streaming in blocks.
  • IGModAudioChannel:Stop
  • IGModAudioChannel:SetPos
  • Improved command blacklisting for Player:ConCommand and game.ConsoleCommand, reducing false positives
  • sound.Add
  • Moved Vector:__unm from Lua to C
  • Moved Angle:__unm from Lua to C
  • Matrix
  • Matrices can now be multiplied by vectors
  • Player:ViewPunchReset
  • All trace functions from the util library now accept an ‘ignoreworld’ boolean parameter in their trace data
  • net.Start now starts an unreliable message if its second argument is true
  • Entity:DispatchTraceAttack
handyman

Fixed

  • Fixed render.SetStencilWriteMask setting the test mask instead of the write mask
  • Fixed CLuaEmitter:Finish not freeing the emitter
  • Fixed util.TableToJSON not encoding floating point values with enough accuracy
  • Player:ScreenFade
  • Fixed GM:GravGunPickupAllowed not preventing the gravity gun from trying to pick up forbidden entities
  • Fixed GM:GravGunPunt not being called clientside when holding an object
  • Fixed CSoundPatch:Stop() not actually stopping the sound when the game is paused
  • Fixed memory leak when calling timer.Create on an already existing timer
  • Fixed surface.GetTextSize ignoring '&'
  • Fixed the gravity gun and crowbar being removed when dropped using Player:DropWeapon
  • Partially fixed functions from the render and surface library not writing alpha when drawing on a render target
  • Entity:GibBreakClient
  • Entity:MapCreationID
  • Fixed NEXTBOT:Use not being called
  • Fixed panels not feeding mousewheel events to their parent if the PANEL:OnMouseWheeled hook is defined
  • Fixed long-term performance issues with Entity:Remove
  • Fixed Entity:EnableMatrix not propagating matrix transform to child bones
  • Fixed an exploit with require
  • Fixed an exploit with Player:ConCommand and game.ConsoleCommand
  • Fixed nan and +/-infinity returning a non null terminated string when converted into a string
  • Fixed Pre/PostDrawOpaqueRenderables receiving incorrect arguments
  • Fixed file functions not working with file names containing certain special characters
  • Fixed VMatrix:SetAngles(ang) not preserving translation and scale
  • Fixed surface.CreateFont disconnecting clients when an invalid table is passed
remove_circle

Removed

  • Removed effects.halo.Add
handyman

Fixed

  • Fixed Lua exploits
  • Fixed broken startup under OSX Mavericks
  • Fixed mp_falldamage
  • Adjusted NPC default weapons
  • Improved Fist hit detection
  • Fixed Delay not updating on Dynamite tool
  • Fixed Keys not updating on Dynamite, Emitter, Hoverball, Lamp, Light and Thruster
  • Fixed slider tool bugs
  • TTT: fix thrown knife sometimes dealing double damage
  • Fixed texture for TextBox_Disabled
  • Fixed GM:GetVehicles()
  • Added blur recomputation to Derma_DrawBackgroundBlur
  • Fixed button Toggle State updating improperly
  • Fixed "Remove on Explode" not updating on dynamite
  • Fixed No Collide undo & remove all constraints
  • Changed all default keys to their Numpad counterparts
  • TTT: remove old resources.lua (clients already have all resources)
  • Reduced gap between entities in Axis, Motor, Wheel, Emitter & Weld Easy tools
  • Added ghosting for Hoverball, Emitter, Light & Lamp tools
  • Removed useless code parts/Improved code formatting
  • Improved positioning for Lamp & Light tools
  • Fixed Glow for Button & Light
  • Removed glow sprite for Light when light is off
  • Animations made faster for Button,
  • Award vehicle run-over kills to the driver
  • TTT: Clean up C4 timer positioning
handyman

Fixed

  • Fixed crash when using Matrix:Scale, Translate, Rotate wrong
  • Added extra debug to blue screen errors
  • If a startup crash is detected we will automatically verify install
  • Fixed gamemode name not updating with server changes
  • Fixed util.SteamIDTo64 spouting rubbish
  • Added GM:PreCleanupMap
  • Added GM:PostCleanupMap
  • Fixed large avatars being partially broken
  • Fixed NPCs not talking or playing scenes
add_circle

Features

  • Workshop addons can be downloaded when joining a server
  • resource.AddWorkshop
handyman

Fixed

  • Fixed fonts being invisible on resolution change
  • Fixed crash when starting map
  • Fixed sound.PlayURL not always calling the callback properly
add_circle

Features

  • Added a bunch of loose files into vpk's for faster load times