Balance · 1
All built-in weapons were updated to work better with NPCs.
built-in weapons npc compatibility
Content · 5
A CNavArea.SetCostSoFar( num ) function was added.
cnavarea.setcostsofar functionTTT was updated to the latest version.
ttt versionAn ENT:GetRenderMesh function was added.
ent:getrendermesh functionIMesh:BuildFromTriangles now accepts userdata.
imesh:buildfromtriangles userdata supportA GM.PlayerDroppedWeapon( ply, wep ) hook was added.
gm.playerdroppedweapon hook
System · 12
A File.WriteUShort function was added.
file.writeushort functionServers must update before players can join them, so players may see an older-version message when connecting for a period after the update.
server version requirement for joiningdiscussed on Steam ↗A File.ReadUShort function was added.
file.readushort functionA NPC.GetCurrentSchedule function was added.
npc.getcurrentschedule functionA PhysCollide:IsValid function was added.
physcollide:isvalid functionbase_anim was switched to CBaseAnimatingOverlay, allowing more functions on anim entities.
base_anim base classA PhysCollide:Destroy function was added.
physcollide:destroy functionmesh.UserData was added.
mesh.userdataA File.WriteULong function was added.
file.writeulong functionA PhysCollide:TraceBox function was added.
physcollide:tracebox functionA CreatePhysCollideBox function was added.
createphyscollidebox functionA File.ReadULong function was added.
file.readulong function
UI · 3
Translations were added for env_fire and npc_fisherman when shown in the kill feed.
kill feed translationThe version button in the main menu now links to the new website.
version button link in main menuDProperty_VectorColor now works with standard colors as well as vector color.
dproperty_vectorcolor standard color support
Fix · 35
A crash issue with Weapon functions was fixed.
weapon functions crashSupport for mounting Zombie Panic! Source was fixed.
zombie panic! source mounting supportDBinder no longer overrides SetSelected( bool ).
dbinder setselected overrideDeriving from DDragBase no longer requires defining OnModified.
ddragbase derivation requiring onmodifiedThirdperson is now properly turned off on level shutdown.
thirdperson not turning off on level shutdowncam.Start() now errors when given no arguments.
cam.start no-argument errorstring.Comma now handles very large numbers correctly.
string.comma with very large numberClientside ragdolls of dead NPCs now properly inherit material override.
clientside npc ragdoll material overrideNextBot functions now properly error when used on an invalid entity.
nextbot functions on invalid entityPerformance of vrad.exe was potentially improved.
vrad.exe performance"Error loading gamemode:" errors now describe the actual problem.
gamemode loading error messageA potential fix was applied to stop tooltips appearing when they should not be displayed.
tooltips displaying when not meant toBASS.DLL was updated to version 2.4.13.8-mp3free.
bass.dll versionErrors when calling Setup() without a second argument on DProperty_Float and DProperty_Int were fixed.
setup() error without second argumentServerside ragdolls of dead NPCs now properly inherit color and material override.
serverside npc ragdoll color and material overrideCertain tools no longer error when their console variables are set to "nan".
tools erroring on nan console variableStunstuck sprites no longer render in odd positions.
stunstuck sprite rendering positionMost render library functions no longer lock up when a Lua type error occurs.
render library lockup on lua type errorDBinder now works when its convar is set to NaN.
dbinder nan convarThe spawn offset for rollermine was increased to prevent it spawning below ground.
rollermine spawning below groundEase values 0-1 in Panel.NewAnimation no longer behave oddly.
panel.newanimation ease values 0-1NextBot.GetRangeSquaredTo now returns squared range as intended.
nextbot.getrangesquaredto return valueThe hammer_update_entity console command no longer crashes the game.
crash from hammer_update_entity commandA number of different exploits were fixed.
multiple exploitPanel.InvalidateChildren is no longer always recursive.
panel.invalidatechildren recursionThe flashlight effect on custom entities was improved.
flashlight effect on custom entityBetter type checking and error output were added to NextBot.GetRange(Squared)To().
nextbot.getrange(squared)to type checkingA type error was added to render.Capture.
render.capture type error handlingThe maximum value of the Shutter slider was changed so it no longer causes a black screen.
frame blend shutter slider maximumNeedsDepthPass now works for addons.
needsdepthpass for addonutil.GetModelInfo no longer crashes with an empty string.
util.getmodelinfo crash with empty stringThe utf8 library no longer fails with certain UTF8 strings.
utf8 library failure on certain stringrender.Capture can no longer capture the Steam Overlay.
steam overlay captureCalling SetAllowWeaponsInVehicle( false ) in the PlayerLeaveVehicle hook no longer breaks weapon selection.
weapon selection breaking after setallowweaponsinvehiclePotential stack overflows in scripted_ents.Get were prevented.
stack overflow in scripted_ents.get
Also in this patch1
NPC.RemoveMemory was removed.
npc.removememory removal
The next Garry's Mod update is planned for release next week.; The Pre-Release Steam branch has been updated and contains all changes that will be included in the next update.; The pre-release update is not backwards compatible with the current game version, so players cannot join normal servers with it.
generaldiscussed on Steam ↗
Before the patch · 1


