Garry's Mod Wiki

Revision Difference

Update_Preview_Changelog#550609

<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 ability to invert colors in `Colour Modify` in spawnmenu ## Fixes * Create a world entity for naughty maps that are engineered to crash on load by not spawning the `worldspawn` entity * Fixed a crash when deleting `npc_manhack` too early * Batch server Workshop download queries to 50 addons at a time, which should fix addons past 100 not loading when joining servers ## Changes * Experimental: Completely removed Lua file limit for singleplayer * Game binaries are now code signed on windows * Better names for Texturize shader options in spawnmenu (Community Contribution) * Delete `materials/temp/` and `sounds/temp/` folders on game launch and shutdown * Added `gmod_delete_temp_files`, defaults to 1, which controls the behavior above * Refresh main menu subscription lists (addons, dupes, etc) if they are open when subscriptions change ## TTT Changes * Nothing so far. # Technical Changes ## Additions * Added Half-Life: Source difficulty configuration files * Changing skill level with Lua or the convar also runs/loads the appropriate skill config files * The game can now load and render Static Prop Lightmaps on maps that have them, such as select maps from Team Fortress 2 * Added `$phong`, `$envmapLightScale` and `$envmapLightScaleMinMax` parameter support for `LightmappedGeneric` shader * Added `$phongAlbedoBoost` parameter to `VertexLitGeneric` shader * Added `$phongDisableHalfLambert` parameter to `VertexLitGeneric` shader * Added `$pp_colour_inv` to `g_colourmodify` shader * Added `$envmapsphere` parameter to `VertexLitGeneric`, which restores how Half-Life: Source chrome materials render ## Fixes * Fixed "last known <page>CNavArea</page>" not updating for players, which is used by some internal nextbot functionality, and some <page>navmesh</page> editing functionality * Potential fix for `sv_parallel_sendsnapshot` and `sv_parallel_packentities` crashing the server randomly * Spawnmenu search properly invalid input from addons, instead of erroring * Workaround fix for `"../data/whatever"` <page>Global.Material</page> paths not working on Linux when `garrysmod/materials/` folder is missing * Fixed `gmpublish` on Linux not working out of the box ## Changes * Nothing so far. * Do not set PANEL.ClassName in <page>vgui.CreateFromTable</page> to a missing variable (Community Contribution) ## Deletions * Nothing so far. # Lua API Changes ## Additions * Added <page>ProjectedTexture:SetLightWorld</page> and <page>ProjectedTexture:GetLightWorld</page> * Added <page>Global.CreateParticleSystemNoEntity</page> * Added <page>CNavArea:GetSpotEncounters</page> * Added <page>CNavArea:GetVisibleAreas</page> * Added <page>surface.GetTextPos</page> * Added <page>engine.AbsoluteFrameTime</page> * Added flags of the world to <page>DIconBrowser</page> (Community Contribution)⤶ ## Fixes * Fixed <page>file.Find</page> ignoring `"Copy ("` files * Fixed <page>game.SetSkillLevel</page> always being forced to the value of `'skill'` convar * Apply cyclic parent hierarchy stack overflow fix to clientside <page>Entity:SetParent</page> * Reset value of <page>render.SetLightingMode</page> on map shutdown * Reset <page>render.EnableClipping</page> to `false` on map shutdown * Make <page>file.Exists</page> return correct values for folders in Lua paths ## Changes * Made <page>util.IsOBBIntersectingOBB</page> shared * <page>game.CleanUpMap</page> now respects the `EFL_KEEP_ON_RECREATE_ENTITIES` flag * Made <page>Entity:SetHealth</page> have an effect clientside for prediction purposes * <page>Entity:FireBullets</page> calls <page>WEAPON:DoImpactEffect</page> on active weapon serverside to mimic clientside behavior * Added safeguards against not popping <page>render.PushCustomClipPlane</page>s * <page>util.GetModelMeshes</page> now accepts "00000000" format bodygroups * <page>CNewParticleEffect:SetControlPointOrientation</page> can now accept an <page>Angle</page> instead of 3 directional <page>Vector</page>s * Made <page>Global.FrameNumber</page> shared * <page>DGrid</page> now works correctly with <page>Panel:Clear</page>, and ignores invisible items (Community Contribution) ## Deletions * Nothing so far.