Garry's Mod Wiki

Revision Difference

Update_Preview_Changelog#548602

<cat>Play</cat>⤶ <title>Update Preview Changelog</title> This page contains upcoming changes to the game in the next update. The update date is available on the Steam News section for Garry's Mod. The update is already accessible on the `prerelease` and `dev` [beta branches](Dev_Branch). # Game Changes ## Additions * Added "Select Page" option in Addons menu * Added Half-Life 1 .357 Handgun & Shotgun to NPC usable weapon list (Community Contribution) ## Fixes * Fixed a visual bug in Lua Errors section of Problems menu * Fixed Gravity Gun ignoring `spin_none` interaction for props * Fixed Gravity Gun preferred carry angles ignoring player's pitch angles * Fixed vehicle collision group not being saved by duplicator ## Changes * Group NPC weapon overrides by category * Improved ladder prediction * Made NPC vs NPC killicon behavior consistent with NPC vs Player deaths * Switched `Outdated` tags in server browser to use the network version, not the build version, better representing if a server can be joined or not due to an update * Updated the server browser to no longer be limited to 256 servers per gamemode * Display disconnect reason in a pop up when encountering a host error in singleplayer * Reload spawnmenu on language change (Community Contribution) ## TTT Changes * None so far # Technical Changes ## Additions * Added `ClearAllOutputs` input to all entities ## Fixes * Fixed workshop fonts spamming pointless console messages trying to load from the `.gma` directly which won't work * Fixed `effects/base.lua` being included twice * Fixed `ai_debug_enemies` (and probably other NPC debug stuff) spewing nonsense to console * Fixed crashes when trying get model sprite size with a null sprite/model (and when trying to get model bounds of null model) * Fixed a crash when trying to spawn `ai_node` too early * Fixed a crash when calling `Spawn()` on an entity that deletes itself in the `Spawn()` function * Fixed crashes when an entity has negative skin value * Fixed a crash with base NPC when holstering weapon and having no weapon * Fixed `NPC_CraneDriver` crashing when the crane's magnet is removing * Fixed `prop_dynamic` crashing the game when given invalid break usermessage names * Added `(Cheap)BreakModel` user messages that some maps use * Fixed Hammer Inputs/Outputs duplicating from base classes * Fixed legacy `CBaseEntity::FireBullets` not setting attacker * Fixed `FCVAR_REPLICATED` cvars resetting to default/keeping server value when joining a server and leaving * Unspecified security improvements ## Changes * Added some crash checks to `CShaderSystem::TakeSnapshot` * Added a message to dedicated server console when not having GSLT about its impact on server ranking * Default weapon selection checks GMod's localization files * Added more info to `Overflow error writing string table baseline` host error for debugging ## Deletions * None so far # Lua API Changes ## Additions * Added `surface.GetTextureNameFromID()` * Added `NPC.Get/SetMaxLookDistance` * Added `Entity.ClearAllOutputs( str )` * Added `Entity:IsInBounds` * Added `Entity:SetSurroundingBounds( vec, vec )` * Added `Entity:SetSurroundingBoundsType( BOUNDS_ )` * Added `vec, vec = Entity:GetSurroundingBounds()` * Added optional `surfaceprop` argument to `PhysicsInitMultiConvex`, `PhysicsInitConvex`, `PhysicsFromMesh` and `PhysicsInitBox`. All of them now also get correct physical volume set which helps physics behave correctly * Added `util.IsBinaryModuleInstalled` (Community Contribution) * Added `string.StartsWith` (alias of `string.StartWith`, for consistency with `string.EndsWith`) (Community Contribution) * Added an option to `player_manager.AddValidHands` to match hands skin to player model selected skin automatically (Community Contribution) * Added `"readonly"` option to `DProperties` properties, for editable entities editor (Community Contribution) ## Fixes * Fixed `NPC.AddEntityRelationship` priority argument reading from the wrong argument. Also made it optional (defaults to 0) * Fixed non halting Lua error when `Derma_Install_Convar_Functions()` panels attempt to set empty console variable * Fixed static `CLuaParticles` not updating their lighting * Fixed a crash when setting player's hull size to nothing * Potential fix for a crash with `steamworks.DownloadUGC` * Fixed a bug with `Panel.SetCaretPos` * Fixed `IRestore.ReadString` having a limit on string length, affecting weapons and others on map transition * Fixed potential Lua error in Derma drag'n'drop system (Community Contribution) * Added color support and fixed a bug with `table.(De)Sanitise` (Community Contribution) ## Changes * Made `player_manager.AddValidHands` skin/body arguments optional * Added `gmod_language` to blocked convars (can still read it) * Added `sv_password` to list of convars Lua cannot read * `SWEP:HUDShouldDraw` is no longer required to return true to not break HUD (Community Contribution) * Minor adjustment to `DCheckBox:Toggle`'s internals (Community Contribution) ## Deletions * None so far