Content · 3
Added support for BodyGroups in the Sandbox NPC list.
bodygroups support in sandbox npc listAdded vid_sound 1/0 to control sound recording of gm_video (community contribution).
gm_video sound recording controlUpdated default spawnlists with Portal 1, Builder and HL2: Characters categories and added a Garry's Mod category; affects only new players.
default spawnlist
Controls · 2
Eye Poser and Finger Poser Tools can now be used on Effects.
eye and finger poser tool usageMiddle mouse clicking a slider's knob now resets it to its default value.
slider reset
System · 41
Added better bounds checking to Entity:GetSequenceActivity.
getsequenceactivity bounds checkingEntity.AddCallback now errors instead of silently failing when the second argument is not a function.
addcallback error handlingAdded PhysObj.ApplyTorqueCenter function.
physobj.applytorquecenter apiAdded Angle.Add function.
angle.add apiRemoved game/bin/sdk.fgd, as it was unused and contained non-existent or duplicate entities.
sdk.fgd fileGMPublish now works better with big addons.
gmpublish large addon handlingAdded render.OverrideBlend, replacing render.OverrideBlendFunc.
render.overrideblend apiAdded PhysObj.SetContents and GetContents functions.
physobj contents accessorAdded game.GetAmmoNPCDamage, GetAmmoPlayerDamage, GetAmmoForce and GetAmmoDamageType functions.
ammo damage apiAdded Player.IsSprinting function.
player.issprinting apiBetter and faster implementations of SortedPairs and similar functions (community contribution).
sortedpairs performanceAdded BLENDFUNC enums.
blendfunc enumAdded Angle.Sub function.
angle.sub apiAdded TYPE_PHYSCOLLIDE enum.
type_physcollide enumImplemented DNumSlider.GetText.
dnumslider.gettextutil.TableToJSON returns nil unless the top-most element is an object or array.
util.tabletojson return valueAdded Angle.Mul function.
angle.mul apiVector/Angle Mul and Div methods now have correct type checking and errors.
vector/angle mul and div type checkingMicro optimisation to IsValid (community contribution).
isvalid performanceChanged the default value of r_hunkalloclightmaps to 0.
r_hunkalloclightmaps defaultLanguage files were updated.
language fileAdded CNavLadder.GetTop, GetBottom and GetWidth functions.
cnavladder accessorAdded PhysObj.GetShadowPos, GetShadowAngles and GetVelocityAtPoint functions.
physobj shadow and velocity accessorAdded Entity.GetSequenceMovement function.
entity.getsequencemovement apiAdded ents.FindAlongRay function.
ents.findalongray apiPlayer.SetAmmo now has proper ammo typeID bounds checking and a max ammo check (0-9999).
player.setammo bounds checkAdded PLAYERANIMEVENT_CANCEL_RELOAD enum.
playeranimevent_cancel_reload enumAdded file.Rename function with the same restrictions as file.Write/file.Open.
file.rename apifile.Exists and file.IsDir now return false where they previously returned nil.
file.exists and file.isdir return valueSlightly improved performance of player animations (community contribution).
player animation performanceAdded CreatePhysCollidesFromModel function.
createphyscollidesfrommodel apiAdded DNumSlider.GetDefaultValue, SetDefaultValue and ResetToDefaultValue functions.
dnumslider default value apiFaceposer now supports 128 flexes instead of 64.
faceposer flex limitAdded Angle.Div and Angle.__div functions.
angle.div and __div apiAdded serverlist.AddCurrentServerToFavorites and CanAddServerToFavorites functions.
serverlist favorites apiAdded engine.TickCount function.
engine.tickcount apiReduced lag caused by a very large number of Sandbox notifications.
sandbox notification lagAdded navmesh.GetGroundHeight function.
navmesh.getgroundheight apiAdded Vector.Div function.
vector.div apiUpdated .fgd files for Hammer to include GMod specific Sandbox key values.
hammer .fgd fileAdded ConVar support for plydmg, npcdmg and maxcarry keys of game.AddAmmoType.
ammo type convar support
UI · 10
Some HL2 map icons were updated to be more recognizable.
hl2 map iconDecimal changes made to the DNumberScratch pop up window (community contribution).
dnumberscratch pop-up decimalFlex names are now displayed more prettily.
flex name displayAdded a 'Favourite this server' button to the bottom bar of the main menu when on a server.
favourite server buttonFlex list text is no longer cut off at the bottom.
flex list text clippingSecondary presets no longer occupy 3 rows when only 1 or 2 rows are populated.
secondary presets layoutFaceposer has a quick filter feature for searching flexes by name.
faceposer quick filterMoved the Map and Source Engine Version text when console is open a bit down so it can be read.
console map and engine version text positionThe orange ring around the face is better placed so it no longer sits in the stomach of certain TF2 models.
orange face ring placementAdded entity classname and index to the collision rules error message.
collision rule error message
Fix · 40
Fixed prediction errors caused by using Player.SetHull(Ducked).
prediction errors from sethullRestored functionality of env_wind.
env_wind functionalityHalf-Life: Source Headcrabs no longer break Half-Life 2 Headcrabs and vice versa.
headcrab cross-breakingFixed Paint Tool's reload not removing duplicator entity modifiers (community contribution).
paint tool reload duplicator modifierPlayer.IsFullyAuthenticated no longer returns the player object in some cases.
isfullyauthenticated return valueReduced probability of the game crashing when saving a dupe.
game crash when saving dupeContext panel now properly clears itself when the targeted entity becomes invalid.
context panel clearingFL_ANIMDUCKING is now used and set automatically.
fl_animducking flagGetCreator now returns NULL for no creator instead of nil (community contribution).
getcreator return valueEntity.DeleteOnRemove can no longer remove players or the world.
deleteonremove removing players or worldBone manipulation now properly affects hit boxes of Players and NPCs.
bone manipulation hit boxToolgun holdtype changed from pistol to revolver to match the view model (community contribution).
toolgun holdtypeFixed Entity.GetAnimInfo not working at all.
getaniminfo not working3rd person crouching animations were improved to better represent what happens in 1st person.
3rd person crouching animationFixed util.DecalEx not working on entities with brush models.
util.decalex on brush modelgame.CleanUpMap no longer crashes on LZMA compressed maps.
crash on lzma maprender.DrawSphere no longer draws one less longitude step than specified.
render.drawsphere longitude stepFixed a stack overflow in DListView.
stack overflowFixed Half-Life: Source Scientists always having random skins.
scientist random skinRestored functionality of monster_mortar to fix a crash on a Half-Life Source map.
crash on half-life source mapThese functions now return NULL entity instead of nil where they previously returned nil.
null entity return typeFixed a crash having to do with playing sounds.
crash related to sound playback3rd person reload animations are now automatically stopped when switching weapons.
3rd person reload animationScriptedEntityType field now works equally on all entity types.
scriptedentitytype field consistencyFixed Entity.SetGravity resetting on players when they use ladders.
gravity resetting on ladderFaceposer clear function now properly resets all values to defaults so faces are no longer broken.
faceposer clear functionFixed Half-Life: Source Tentacles not dealing damage.
tentacle damageFixed game.AddDecal not precaching added decals, which broke util.DecalMaterial in some cases.
game.adddecal precachingPrintTable will no longer try to print the table it is currently printing (community contribution).
printtable self-recursionFixed calling Player.Spawn() on a player inside a vehicle leaving NPCs unable to see them.
spawn inside vehicle invalid stateFixed util.Base64Encode output for 0 and 1 byte inputs.
base64 encoding of 0 and 1 byte inputBone manipulation now works properly on players.
bone manipulation on playerEntity.IsRagdoll attempts to return the proper value when the entity is marked for deletion.
isragdoll return valueFixed pick up HUD (ammo, weapons, etc.) not working properly for some time after HL2 campaign loading screens.
pickup hud after loading screenFixed util.DecalEx scale arguments not working.
util.decalex scale argumentFixed entities inside player clip brushes not being usable by +use on Half Life Source maps.
+use on entities inside player clip brushFixed util.DecalEx using an inverted normal for non brush entities.
util.decalex normal inversionMedkit Weapon now heals up to max health properly and lag compensates when used by players (community contribution).
medkit healing and lag compensationVectors now work in Entity.GetKeyValues, with added support for FIELD_SOUNDNAME and FIELD_EHANDLE.
entity.getkeyvalues vectors and field typeRight clicking a model no longer breaks the face on certain models like HWM TF2 models or Alyx.
face breaking on right click


