8 Months Ago
Added 6th optional argument to util.ScreenShake - AirShake defaults to false Added SENT_AI:OnTaskFailed and others Added NPC:GetIdealYaw, NPC:GetArrivalDirection, NPC:SetUnforgettable Added CNavArea:MarkAsDamaging, CNavArea.IsDamaging Experimental: input.GetCursorPos returns 0,0 when cursor is not visible This matches behavior of gui.MousePos() Added .dem and .vcd to file.Write whitelist Rework and deduplicate Lua enums Added COND.* enums Added render.ComputePixelDiameterOfSphere SourceTV players are considered bots for player library Fix npc_rocket_turret spawn position Merged Pull Requests * Improvements to DComboBox * Improvements to MatSelect Minor adjustments Fixed Player:SprintEnable not working Also made Player:SprintEnable accept a bool optionally, and added Player.IsWalking minor changes Undo changes to input.GetCursorPos Causes issues with spawnicon editor, and probably other addons too. Delete serverplugin_empty.dll Fixed crashes when accessing out of bounds flex controllers This fixes crashes when rendering spawnicons of models that have more than 96 flex controllers. Probably fixes other cases as well. Enable connection reusage for HTTP Speeds up subsequent requests render.Push/PopRenderTarget overflow/underflow safeguards Also made certain render.Push* function overflowing not crash the game outright Adjust "Failed to find any models for this addon" error Mention what might be causing the issue Added OnPlayerLand/OnPlayerJump hooks Arguments are `Player, number`, where the number is the velocity/impulse of the landing/jump Should these 2 hooks be combined into 1? Remove OnPlayerLand hook (OnPlayerHitGround exists) Fixed a regression with spawnmenu "no models" message Safeguards against malformed .gma files New VertexLitGeneric parameters `$AllowDiffuseModulation` and `$NoTint` - both allow disabling color tint per material Vector:Mul() now supports VMatrix Make sure SourceTV bot is treated as bot in game code Fixes garrysmod-issues/issues/5575 Added navmesh.CreateNavLadder Arguments are: Vec top, Vec bottom, float width, Vec2D dir, float maxHeightAboveTopArea = 0 Weapon:GetTracerOrigin is now called for 3rd person view as well LuaMesh.BuildFromTriangles allows modifying the mesh This is only permitted when the vertex count matches between existing mesh, and the new mesh. EntityEmitSound blocks CSceneEntity close captions Added OnCloseCaptionEmit hook Arguments are: string soundScript number duration bool fromPlayer string fullText - can be nil if token is not registered Added gui.AddCaption( text, duration, fromPlayer ) More killicon aliases for physics kills New Portal NPCs can be duplicated sound.Play better optional argument handling New default crosshair + options Options > Multiplayer > Crosshair Customization Make 2nd arg actually set the sound position of Global.EmitSound Also default the 3rd parameter (entityID) to 0. Remove unintended console message from crosshair panel Bump gui.OpenURL limit to 2000 Added new optional argument to render.ClearDepth bool stencil - also clear stencil buffer, defaults to true for backwards compatibility Do not call GM:EntityRemoved and ENT:OnRemove during full updates garrysmod-issues/issues/4675 Allow GM:OnPhysgunFreeze to be ran on non vphysics entities The 2nd argument ( physobj ) will be NULL world clicker panels FOV adjustment Now uses view setup FOV, not Player:GetFOV, affects gui.ScreenToVector as well Fix branch specific compile error