Revision Difference
Update_Preview_Changelog#561850
<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 `dev` [beta branch](Dev_Branch), and possibly on the `prerelease` beta branch.
# Game Changes
## Additions
* Added `physcannon_instant` (defaults to 1)
* Exactly as it sounds, makes the gravity gun be able to be used instantly after switching to it, bypassing deploy animation (and `sv_defaultdeplyspeed`). The default value preserves the original HL2/GMod behavior
* Spawnmenu addon spawnlist generator for right click menu, similar to the one for mounted games
* Added some existing models to the Lamp Tool, for more variety
* Added the ability to auto join full servers when they get a free slot to the default server browser
* Added the ability to add servers to favorites by IP to the default server browser
* New spawnicon editor options - Move speed customization, FOV precise control, camera position copy/paste, quick rotate model +/- 45deg⤶
## Fixes
* Fixed playermodel drifting away in `prop_vehicle_crane` when holding W or S
* Fixed Winch right click not setting rope color correctly
* Fixed inflator tool no longer working on NPCs
* Fixed NPC kill related achievements not working
* Fixed Lua being able to make the main menu fully black on disconnect
* Fixed toolgun ghost entity fading out at distance in singleplayer on some maps
* Fixed Color Modify post processing effect defaults not resetting invert
* Fixed `fsd-overrun-toy.mdl` physics mesh being rotated 90 degrees (Community Contribution) & reduced its mass
* Fixed spawning normal combine soldiers from spawnmenu with shotguns having their skin set to the shotgunner one
* Fixed portal turret playing its disintegration sound twice when disintegrated via mods
* Fixed player disconnection message sometimes not appearing, due to the player object being gone too soon
* Fixed volume of certain sounds not being set briefly when first loading into a map - This fixes game making sounds when not focused when the option to specifically prevent that is enabled
## Changes
* Fixed tiny amount of damage (less than 0.1) taking a whole armor point
* Do not render first person Physics Gun effects during skybox pass
* Updated localization files
* Change "Filter" label on console to better represent what it does
* Strip certain unicode character groups from server & gamemode names - It's mostly the obnoxious box characters
* Moved extracted .gmas from addons/ to cache/workshop/ - This simplifies code and allows this:
* Reworked menu_cleanupgmas to take into account server downloads - Meaning, Workshop files downloaded from servers and extracted, then deleted by Steam in 2 weeks, now get detected as useless extracted versions and are prompted for deletion.⤶
* Reworked menu_cleanupgmas to take into account server downloads - Meaning, Workshop files downloaded from servers and extracted, then deleted by Steam in 2 weeks, now get detected as useless extracted versions and are prompted for deletion⤶
* Do not fully disable the crosshair if player is dead, so it is visible when spectating a player in first person view, or flying around the map in spectate mode and cl_observercrosshair is set to 1 (default)⤶
## TTT Changes
* Added TTTShowSearchScreen hook (Community Contribution)
* Optimized ragdoll search network traffic
* Fixed disconnected player networking (Community Contribution)
* Updated Russian localization (Community Contribution)
* Replace deprecated GetConVarNumber/GetConVarString usage (Community Contribution)
# Technical Changes
## Additions
* Build vbspinfo.exe
* Added `sv_maxunlag` convar
* Added `sv_log_client_errors` (defaults to 1) - Allows to disable logging of them to a file
* Added `sv_npc_full_pvs_checks` (Default to 1) - Fixes some NPCs flicking in multiplayer with more than 1 player on the server
* Added `host_workshop_autoupdate` (defaults to 1) - Set to 0 to disable dedicated server workshop auto updates.
## Fixes
* Fixed a longstanding crash with `CSoundPatch` usage
* Fixed a crash on exit to do with panels
* Fixed a crash with `gameui_show_dialog` and remove the concommand
* Potential crash fixes to do with traces
* Fixed a crash due to missing attacker in player takedamage hook
* Fixed a crash related to static props on map load for certain maps
* Fixed some crashes with DSPs
* Fixes towards crashes with poster command and insane size values
* Fixed crashes with huge font blur values
* Fixed a self-crash with `+vgui_drawtree`
* Fixed a crash with multicore rendering and logging
* Properly handle mounted addons disappearing (unmounted) - This fixes a crash with BASS.DLL trying to play addon files that are no longer there.
* Fixed a crash to do with static props when they change models - I.e. when a static prop goes from error.mdl to a more complex one.
* Move various crash fixes & security improvements
* Restored `"gamemenucommand RestartWithNewLanguage"`
* Fixed a warning about `"Invalid texture id -1"` on disconnect
* Fixed `env_blood` color setting, and add new colors, as well as fixed missing textures for some settings and restored hidden settings
* Fixed certain detail props not rendering on maps with more than 65k of them
* Prevent `ent_create player`⤶
* Prevent `ent_create player` to avoid issues from doing so⤶
* Fixed a memory leak with serverlist.Query⤶
## Changes
* Increase default value of `budget_panel_height` to `800`
* Allow `prop_vehicle_crane` to receive damage events when player hitbox is not hit
* Base Lua code clean ups
* Some minor memory usage optimizations
* Added convar descriptions to many default Lua-defined convars
* Hide `mod_load_*_async` convars - They are linked to a game hang when enabled, and they are disabled by default anyway
* Reset ammo types on map shutdown as well, so they are gone by the time another map is loaded
* Move some hardcoded values of `weapon_fists` to SWEP.* variables
* Default `cl_detail_allow_vertex_lighting` to 1
* Added `"resource/overviews/*.txt"` to BSP whitelist
* Ignore `\n` and `\t` in player names
* Optimized skypaint matproxy (Community Contribution)
* Reworked Portal Rocket Turret targeting to make the SetTarget input work
* Do not prevent C_BaseAnimating entities from rendering if sequence is set to -1
* Do not run animations on prop_prisoner_pod if its empty, to potentially save on network bandwidth⤶
## Deletions
* Removed `mat_stub`
* Removed full paths from "Adding Filesystem Addon" console messages
## Map compile tool changes
* Ported `-blocksize` for VBSP.EXE from CS:GO
* Minor fixes to map compile tool output text
* Added Ambient Occlusion for VRAD (CS:GO version) (-aoscale, -ambientocclusion)
* Fixed Hammer's expert config files not being treated as userconfig by Steam, thereforce getting wiped on validation
* VRAD: Add more info to "Patch Sample Radius Clamped" warning
* Alternative fix for traces not hitting transparent displacements
* Better consistency with brushes that use same materials - does not cast shadow and traces hit them
* Improve verbosity and detection of "CMaterial::Draw(): StretchDIBits failed" in hammer
* Use ints, not shorts for leafs in map compile tools - I think this affects VRAD only, fixes warnings/issues on some complex maps
## Hammer changes
* More logical defaults for `func_button` in Hammer
* Fixed default detail types (Hammer Editor) having missing models and textures
* Fixed a crash with Hammer Model Viewer and bad models
* Hammer: Increase size of "size" status bar to be able to fit the entire text
* Added a bunch of new options for Hammer's Run Map dialog so they are not hidden from the average user https://files.facepunch.com/rubat/1b0411b1/sXVENkgcR7.png
* Hammer: Fixed "Point At" button always writing to "angles" KV instead of the selected KV
# Lua API Changes
## Additions
* Added `ENT.PhysicsSounds` for `anim` type SENTs - If set to true, re-enables physics impact sounds for the entity
* Added vgui.GetAll() - Internal, returns only Lua created panels. Used to fix PANEL:PreAutoRefresh() and PANEL:PostAutoRefresh() not working
* Middle mouse click for DColorCube/Mixer to reset to convar defaults
* Adds DColorCube.GetDefaultColor/DColorCube.SetDefaultColor
* Adds DSlider:ResetToDefaultValue (Was previously exclusive to DNumSlider)
* Added `"content_descriptors"` to steamworks.FileInfo result
* Added private activity functions
* util.GetActivityNameByID
* util.GetActivityIDByName
* util.GetAnimEventIDByName
* util.GetAnimEventNameByID is now also shared
* Added Panel:SetCookieName support for DNumSlider, DCheckbox(Label)⤶
* Added DAdjustableModelPanel:Get/SetMovementScale⤶
## Fixes
* Fixed <page>PhysObj:GetFrictionSnapshot</page> only returning 1 entry
* Fixed crashes with ENT.RenderGroup = RENDERGROUP_STATIC(_HUGE)
* Fixed a crash with Entity:PhysicsInitConvex and invalid input
* Potential fix for a crash with Nextbot:BodyMoveXY()
* Fixed render.SetLocalModelLights ignoring last light
* Fixed IMaterial:GetKeyValues sometimes returning nothing on srcds
## Changes
* Increase the limit of ManipulateBoneScale to 512 (from 32)
* Material() function can use .cache files from steamworks.Download
* DCollapsibleCategory items support disabled styles
* More consistent Vector/Angle optional argument handling - You can now do Vector( nil, 1, 2 ) and get the expected output. If you need to do that for some reason.
* Made new vgui.Create errors non halting to prevent breaking existing mods that are badly coded
* Block `mem_force_flush` from Lua access just in case - Having this enabled in autoexec causes issues, so lets disallow servers to force it on players
## Deletions
* Nothing so far.