Garry's Mod

Facepunch Studios · Simulation

Garry's Mod patch notes · Feb 26, 2018

Experiment

February 2018 Update is out!

What's new in February 2018 Update is out!: 57 changes to Garry's Mod, released Feb 26, 2018.

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 function
  • TTT was updated to the latest version.

    ttt version
  • An ENT:GetRenderMesh function was added.

    ent:getrendermesh function
  • IMesh:BuildFromTriangles now accepts userdata.

    imesh:buildfromtriangles userdata support
  • A GM.PlayerDroppedWeapon( ply, wep ) hook was added.

    gm.playerdroppedweapon hook

System · 12

  • A File.WriteUShort function was added.

    file.writeushort function
  • Servers 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 function
  • A NPC.GetCurrentSchedule function was added.

    npc.getcurrentschedule function
  • A PhysCollide:IsValid function was added.

    physcollide:isvalid function
  • base_anim was switched to CBaseAnimatingOverlay, allowing more functions on anim entities.

    base_anim base class
  • A PhysCollide:Destroy function was added.

    physcollide:destroy function
  • mesh.UserData was added.

    mesh.userdata
  • A File.WriteULong function was added.

    file.writeulong function
  • A PhysCollide:TraceBox function was added.

    physcollide:tracebox function
  • A CreatePhysCollideBox function was added.

    createphyscollidebox function
  • A 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 translation
  • The version button in the main menu now links to the new website.

    version button link in main menu
  • DProperty_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 crash
  • Support for mounting Zombie Panic! Source was fixed.

    zombie panic! source mounting support
  • DBinder no longer overrides SetSelected( bool ).

    dbinder setselected override
  • Deriving from DDragBase no longer requires defining OnModified.

    ddragbase derivation requiring onmodified
  • Thirdperson is now properly turned off on level shutdown.

    thirdperson not turning off on level shutdown
  • cam.Start() now errors when given no arguments.

    cam.start no-argument error
  • string.Comma now handles very large numbers correctly.

    string.comma with very large number
  • Clientside ragdolls of dead NPCs now properly inherit material override.

    clientside npc ragdoll material override
  • NextBot functions now properly error when used on an invalid entity.

    nextbot functions on invalid entity
  • Performance of vrad.exe was potentially improved.

    vrad.exe performance
  • "Error loading gamemode:" errors now describe the actual problem.

    gamemode loading error message
  • A potential fix was applied to stop tooltips appearing when they should not be displayed.

    tooltips displaying when not meant to
  • BASS.DLL was updated to version 2.4.13.8-mp3free.

    bass.dll version
  • Errors when calling Setup() without a second argument on DProperty_Float and DProperty_Int were fixed.

    setup() error without second argument
  • Serverside ragdolls of dead NPCs now properly inherit color and material override.

    serverside npc ragdoll color and material override
  • Certain tools no longer error when their console variables are set to "nan".

    tools erroring on nan console variable
  • Stunstuck sprites no longer render in odd positions.

    stunstuck sprite rendering position
  • Most render library functions no longer lock up when a Lua type error occurs.

    render library lockup on lua type error
  • DBinder now works when its convar is set to NaN.

    dbinder nan convar
  • The spawn offset for rollermine was increased to prevent it spawning below ground.

    rollermine spawning below ground
  • Ease values 0-1 in Panel.NewAnimation no longer behave oddly.

    panel.newanimation ease values 0-1
  • NextBot.GetRangeSquaredTo now returns squared range as intended.

    nextbot.getrangesquaredto return value
  • The hammer_update_entity console command no longer crashes the game.

    crash from hammer_update_entity command
  • A number of different exploits were fixed.

    multiple exploit
  • Panel.InvalidateChildren is no longer always recursive.

    panel.invalidatechildren recursion
  • The flashlight effect on custom entities was improved.

    flashlight effect on custom entity
  • Better type checking and error output were added to NextBot.GetRange(Squared)To().

    nextbot.getrange(squared)to type checking
  • A type error was added to render.Capture.

    render.capture type error handling
  • The maximum value of the Shutter slider was changed so it no longer causes a black screen.

    frame blend shutter slider maximum
  • NeedsDepthPass now works for addons.

    needsdepthpass for addon
  • util.GetModelInfo no longer crashes with an empty string.

    util.getmodelinfo crash with empty string
  • The utf8 library no longer fails with certain UTF8 strings.

    utf8 library failure on certain string
  • render.Capture can no longer capture the Steam Overlay.

    steam overlay capture
  • Calling SetAllowWeaponsInVehicle( false ) in the PlayerLeaveVehicle hook no longer breaks weapon selection.

    weapon selection breaking after setallowweaponsinvehicle
  • Potential 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.