1,139 Commits over 853 Days - 0.06cph!
env_screenoverlay SwitchOverlay forcing overlays on when the entity is disabled
Fix clicking a TextEntry sometimes setting invalid caret pos
Display an error in console when addon file list has failed to be read completely
Removing dead/redundant code from SENTs
sound.Generate now accepts table of samples, or direct binary data as a string
The table input should have float values from -1 to 1 (index starting with 1), and is about 4 times faster than using a function
string input must be raw 16bit sound data (each sample is a signed short), and is much faster than the 2 other methods.
EmitSound handles registered sounds a bit better clientside
You could, and still can add `.wav` to the end of the registered sounds to make them work with EmitSound, which is still useful for serverside, but clientside this is no longer necessary.
Added optional argument to sound.Generate - loopStart (sample ID)
Merge clientside and serverside physobj scaling code
Update button spawnicons to face the camera
mat_viewportscale tiny value Problem
Remove unintended label from HL2 spawnlist
Fixed stray "Other2" category name fallback in spawnmenu
Added PhysObj:MakeShadow( maxSpeed, maxAngSpeed )
This allows making any physics object a physics shadow, not just Entity:PhysicsInitShadow
Speed values of 0 or below mean do not allow movement.
Added RegisterMetaTable( name, table )
"anim" type SENTs move physics objects clientside for you
Hopefully this will not cause any issues
surface.PlaySound can accept soundscript names clientside
This will only translate the soundscript name to a file path, it will NOT affect ptich/volume, etc, since the function does not support that at all.
Fixed crashes due to recent changes to gib system
Let's try this again: unload unreferenced materials in more places
This is aimed at making sure content from maps is unloaded before content from another map is loaded
Fixed DMenuOptionCVar resetting from cvar too early in certain use cases
Fix detail.vbsp being broken by git merge
Rearrange the 2 default spawnlists to have props more logically grouped
Do not try to render and save icons for models without meshes
This mostly applies to character animation files. They will appear as "ERROR" models.
Fixed auto generated spawnlists from mountable games disapparing on reload
They were incorrectly having AppID and not the "folder" set as "needs app".
Moved "Delete multiple" items in spawnmenu right to the bottom
This is consistent with normal spawnicon right click item order.
Fixed selecting text in spawnicon editor only working on second try
Lost coast spawnicons & spawnlist
Fixed crashes when deleting nav ladders
Added some existing models to the Lamp Tool
Added "content_descriptors" to steamworks.FileInfo result
It is a table of possible values:
"general_mature",
"gore",
"suggestive",
"nudity",
"adult_only",
Rework Portal Rocket Turret targeting to make the SetTarget input work
Do not prevent C_BaseAnimating entities from rendering if sequence = -1
Change Matrix memory management to match Vector/Angle
This aims to fix stuttering when GCing lots of matrices, for example in rendering hooks.
Hammer: Fixed "Point At" writing to "angles" instead of the selected KV
Do not run animations on prop_prisoner_pod if its empty
Apparently it has "high network usage".
Do not fully disable the crosshair if player is dead
This change will make the crosshair appear when spectating players in first person, or when flying around in spectate mode and cl_observercrosshair is set to 1 (default)
Fixed a memory leak with serverlist.Query
More updated spawnicons
New spawnicon editor options
Move speed customization, FOV precise control, camera position copy/paste
SetCookieName support for DNumSlider, DCheckbox(Label)
Added DAdjustableModelPanel:Get/SetMovementScale
Spawnicons for HL2 models shipped with the game
Fix citadel pods not advancing their animation
force spawnlist file names to lower case
Remaining spawnicons for HL2 props shipped with the game
HL2:Episode 1 spawnicons
FIxed Spawnicon Editor move speed not loading on open
EP2 Spawnicons
Updated spawnlists to include All HL2 base props shipped with the game
This took way longer than expected. Also added Episode 1 and 2 spawnlists if they are mounted.
Added sv_npc_full_pvs_checks (Default to 1)
Change "Filter" label on console to better represent what it does
Make sure CL Lua entities are initialized before processing net messages
Fixed a crash due to recent changes when net messages sent to client too early
Rework player name retrieval for player disconnection chat message
Fixes the message sometimes not appearing, due to the player object being gone too soon.
Fix NPCs being sometimes blind due to recent changes
Fixed a crash with Hammer Model Viewer and bad models
Middle mouse click for DColorCube/Mixer to reset to convar defaults
Adds DColorCube.Get/SetDefaultColor
Adds DSlider:ResetToDefaultValue (Was previously exclusive to DNumSlider)
Increase the limit of ManipulateBoneScale to 512 (from 32)
Display SENT/SWEP usage info in spawnmenu tooltip
https://files.facepunch.com/rubat/2024/May02-67-YearlyElk.png
Fix the fix that fixes a fix relating to net messages and Lua ents clientside
Minor cleanups
Use ints, not shorts for leafs in map compile tools
I think this affects VRAD only, fixes warnings/issues on some complex maps.
▇▌▌▇▉ ▅▌▅▇ ▍▍▍█▉▋▆ ▍▄▆▅▊▇ ▌█▉▄ ▅▋▍▄▌
Added private activity functions
util.GetActivityNameByID
util.GetActivityIDByName
util.GetAnimEventIDByName
All are shared, including util.GetAnimEventNameByID
Added host_workshop_autoupdate (defaults to 1)
Set to 0 to disable dedicated server workshop auto updates.
Ignore \n and \t in player names
Remove white background from server browser filters/sort
Strip certain unicode character groups from server & gamemode names
It's mostly the obnoxious blocks
Fixed env_blood color setting, and add new ones
Also adjusted its FGD to unhide hidden settings and add the new blood colors
More logical defaults for func_button in the fgd
Fixed UTIL_BloodStream missing texture and blood color
Fixed up missing materials of some of the detail.vbsp models
Added missing textures for pefttest/grass_tuft models
Default cl_detail_allow_vertex_lighting to 1
Added grass_swamp_001a/b models used in detail.vbsp
Update detail.vbsp
garrysmod-requests/issues/2351
Merged Pull Request
TTT: Optimize ragdoll search network traffic + fix disconnected player networking
Added sv_log_client_errors (defaults to 1)
Above 0 = log clientside errors to 'clientside_errors.txt'. 0 = Log to console only. Below 0 = do not even print those errors on console.
Fixed FSD-overrun-toy physics mesh & Reduced its size
Limit certain old addon whitelist entries to old addons only
Added "resource/overviews/*.txt" to BSP whitelist
Fixed merge failure
Gibs inherit model scale of scaled props
Change clientside physobj scale to trigger from Activate()
Fixed scaled props scaling collision bounds twice
Added CLuaInterface::RegisterMetaTable
Use a different place to set fallbacks for VolumeClouds shader
Added CNewParticleEffect.GetRenderBounds
Improve consistency of trace surfaceID returns clientside
This only relates to usages of PhysicsObject shadows
vcollide_wireframe - draw the actual physics object clientside if it exists
Test version of clientside model physics scaling
Fixed trackspeed only working after ReturnToEyes input (point_viewcontrol)
Remove file.AsyncRead from menu state entirely, since its broken anyway
Added new shader parameters to `Core` shader
$ENTITYORIGIN
$DIAMETER
(They are case insensitive)
Added $BASETEXTURESPEED,BASETEXTURE(2/3)SPEED for VolumeClouds shader
forgot this file for asyncread
concommand autocomplete tokenized arguments argument
Port hack for Portal 2 .wavs that are actually .mp3s
Remove Episode 2 exclusive soundscapes from gm_construct
Restore angle alignment stuff for +use pickup
Print games that are mounted to console (like folder addons) with developer 1
Traces now have "whitelist" input property
This will turn the table filter into a whitelist, rather than ignore list. This will NOT affect function() filters
Added "hitclientonly" option to trace functions clientside
Fixed Static/Dynamic/Physics not being correctly displayed in Hammer due to recent changes
Added new data to util.GetModelInfo
MeshCount, BoneCount, Flags, StaticProp (specific flag)
GMad.exe: On windows, pause on error when using drag'n'drop
Added NPC:GetArrivalSpeed / NPC:GetArrivalDistance
Restore HL2 use sounds with `gmod_suit 1`
Added ability for traces to use a table of class names as filter
They can be mixed and matched with entities as well.
Added Entity:GetBoneFollowers, new argument to Entity:CreateBoneFollowers
Entity:CreateBoneFollowers( table of bone names )
Throw errors when ColorToHSL/ColorToHSV/physenv.SetPerformanceSettings gets not a table
Bone follower support for AI and Nextbot SENTs
Added Entity:Dissolve( type = 0, magn = 0, orign = EntOrigin )
Added a 3rd argument for PathFollower:Chase - cost function
Added NPC:Set/GetStepHeight
Can build vphysics now
No 64bit builds though, not shipping actual builds
Added optional argument to NPC:StopMoving - immediate (defaults to true)
Create Build-GameProjectsPhysics.bat
Prevent invalid input to render.DrawWireframeSphere
Fixed a long freeze on disconnect from maps with huge nav meshes
Remaining spawnicons for HL2 props shipped with the game
HL2:Episode 1 spawnicons
FIxed Spawnicon Editor move speed not loading on open
EP2 Spawnicons
Updated spawnlists to include All HL2 base props shipped with the game
This took way longer than expected. Also added Episode 1 and 2 spawnlists if they are mounted.
More updated spawnicons
New spawnicon editor options
Move speed customization, FOV precise control, camera position copy/paste
SetCookieName support for DNumSlider, DCheckbox(Label)
Added DAdjustableModelPanel:Get/SetMovementScale
Spawnicons for HL2 models shipped with the game
Fix citadel pods not advancing their animation
force spawnlist file names to lower case
Change Matrix memory management to match Vector/Angle
This aims to fix stuttering when GCing lots of matrices, for example in rendering hooks.
Hammer: Fixed "Point At" writing to "angles" instead of the selected KV
Do not run animations on prop_prisoner_pod if its empty
Apparently it has "high network usage".
Do not fully disable the crosshair if player is dead
This change will make the crosshair appear when spectating players in first person, or when flying around in spectate mode and cl_observercrosshair is set to 1 (default)
Fixed a memory leak with serverlist.Query
Added "content_descriptors" to steamworks.FileInfo result
It is a table of possible values:
"general_mature",
"gore",
"suggestive",
"nudity",
"adult_only",
Rework Portal Rocket Turret targeting to make the SetTarget input work
Do not prevent C_BaseAnimating entities from rendering if sequence = -1
Fixed crashes when deleting nav ladders
Added some existing models to the Lamp Tool
Fix the fix that fixes a fix relating to net messages and Lua ents clientside
Minor cleanups
Use ints, not shorts for leafs in map compile tools
I think this affects VRAD only, fixes warnings/issues on some complex maps.
Rearrange the 2 default spawnlists to have props more logically grouped
Do not try to render and save icons for models without meshes
This mostly applies to character animation files. They will appear as "ERROR" models.
Fixed auto generated spawnlists from mountable games disapparing on reload
They were incorrectly having AppID and not the "folder" set as "needs app".
Moved "Delete multiple" items in spawnmenu right to the bottom
This is consistent with normal spawnicon right click item order.
Fixed selecting text in spawnicon editor only working on second try
Lost coast spawnicons & spawnlist
Fixed a crash with Hammer Model Viewer and bad models
Middle mouse click for DColorCube/Mixer to reset to convar defaults
Adds DColorCube.Get/SetDefaultColor
Adds DSlider:ResetToDefaultValue (Was previously exclusive to DNumSlider)
Increase the limit of ManipulateBoneScale to 512 (from 32)
Display SENT/SWEP usage info in spawnmenu tooltip
https://files.facepunch.com/rubat/2024/May02-67-YearlyElk.png
Fixed a crash due to recent changes when net messages sent to client too early
Rework player name retrieval for player disconnection chat message
Fixes the message sometimes not appearing, due to the player object being gone too soon.
Fix NPCs being sometimes blind due to recent changes
Fixed FSD-overrun-toy physics mesh & Reduced its size
Limit certain old addon whitelist entries to old addons only
Added "resource/overviews/*.txt" to BSP whitelist
Added sv_npc_full_pvs_checks (Default to 1)
Change "Filter" label on console to better represent what it does
Make sure CL Lua entities are initialized before processing net messages
Fixed FSD-overrun-toy physics mesh & Reduced its size
WIP net channel processing time limits
Added missing textures for pefttest/grass_tuft models
Default cl_detail_allow_vertex_lighting to 1
Added grass_swamp_001a/b models used in detail.vbsp
Update detail.vbsp
garrysmod-requests/issues/2351
Merged Pull Request
TTT: Optimize ragdoll search network traffic + fix disconnected player networking
Added sv_log_client_errors (defaults to 1)
Above 0 = log clientside errors to 'clientside_errors.txt'. 0 = Log to console only. Below 0 = do not even print those errors on console.
▊▊▆▇▉█ ▍▅▅▆▋▍▉ ▆▆▊▅ ▊▄█▊▄ ▍▉▉▋▋▉ ▆▍▌▉ ▌█▇█▌▇ ▅█▄▉▉ ▌▋▌▅█▄▆
Fixed env_blood color setting, and add new ones
Also adjusted its FGD to unhide hidden settings and add the new blood colors
More logical defaults for func_button in the fgd
Fixed UTIL_BloodStream missing texture and blood color
Fixed a crash with multicore rendering and logging
Fixed up missing materials of some of the detail.vbsp models
Added host_workshop_autoupdate (defaults to 1)
Set to 0 to disable dedicated server workshop auto updates.
Ignore \n and \t in player names
Remove white background from server browser filters/sort
Strip certain unicode character groups from server & gamemode names
It's mostly the obnoxious blocks
Added private activity functions
util.GetActivityNameByID
util.GetActivityIDByName
util.GetAnimEventIDByName
All are shared, including util.GetAnimEventNameByID
Improve verbosity and detection of "CMaterial::Draw(): StretchDIBits failed "
In hammer
Merged Pull Requests
* Removed duplicate id attribute on gmfilter_rev input which breaks ReverseFilter()
* TTT: Replace deprecated GetConVarNumber/GetConVarString usage
* Optimized skypaint matproxy
Improve verbosity and detection of "CMaterial::Draw(): StretchDIBits failed "
In hammer
Merged Pull Requests
* Removed duplicate id attribute on gmfilter_rev input which breaks ReverseFilter()
* TTT: Replace deprecated GetConVarNumber/GetConVarString usage
* Optimized skypaint matproxy
▉▌▌▊▆ ▇▌▉▄▄▉▋ ▇▍█▇▅ ▄▅ █▆▋█▇
Fixed crashes with huge font blur values
Fixed Color Modify post processing effect defaults not resetting invert
Fixed nav mesh generation generating invalid navmeshes
Fixed a self-crash with +vgui_drawtree
Fixed crashes with NPC debug features
Fixed crashes with huge font blur values
Fixed Color Modify post processing effect defaults not resetting invert
Fixed nav mesh generation generating invalid navmeshes
Fixed a self-crash with +vgui_drawtree
▋▇█▋▋▊▍▌ ▅▉▋ ▉▊█ ▍▋▅▅▆▇▄ ▅▍▋▋▇
Unhide sv_maxunlag convar
Minor adjustments to server browser filter UI
You can now click the filter text to tick the checkboxes
Fixed ENT.PhysicsSounds defaulting to true
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)
This default value preserves the original HL2/GMod behavior
Fixed normal combine soldiers with shotguns having their skin set to the shotgunner one
Reset ammo types on map shutdown as well & Cleanups
Remove more dead code
Explicit default value to GetMemberBool because it is defaulting to true(??)
Workaround animation event IDs on listen servers being set to "invalid" values
Ability to auto join full servers when they get a free slot
https://files.facepunch.com/rubat/2024/April17-7-UnwittingManta.png
The selected updates every 10 seconds now.
Ability to add servers to favorites by IP
https://files.facepunch.com/rubat/2024/April17-11-PinkIvorybackedwoodswallow.png
Make new vgui.Create errors non halting
Because of course mods are already doing silly stuff.
Fixed Lua being able to make the main menu black on disconnect
Fixed a warning about "Invalid texture id -1" on disconnect
Fix certain detail props not rendering on maps with more than 65k of em
Move some hardcoded values of weapon_fists to SWEP.* variables
Merged some pull requests
* Updated TTT Russian localization
* Micro optimizations with weapon_base & GM:DrawDeathNotice
* Fixed some typos in FGD and Lua comments
Update some more spawncions for consistency
Alternative fix for traces not hitting transparent displacements
Better consistency with brushes that use same materials - does not cast shadow and traces hit them
Fixed toolgun ghost entity fading out in singleplayer on some maps
Added vgui.GetAll()
Returns only Lua created panels.
Used to fix PANEL:PreAutoRefresh() and PANEL:PostAutoRefresh() not working
Fixed some crashes with DSPs
Added `ENT.PhysicsSounds` for `anim` type SENTs
If set to true, re-enables physics impact sounds for the entity
Spawnmenu one click addon spawnlist generator
https://files.facepunch.com/rubat/1b1211b1/CPZbdPPd9F.png
Fixed IMaterial:GetKeyValues sometimes returning nothing on srcds
Material() now precaches the material, but only if it is not already precached.
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.
Minor: Init variables used in IMaterial functions
Fixed some crashes with DSPs
Move some hardcoded values of weapon_fists to SWEP.* variables
Merged some pull requests
* Updated TTT Russian localization
* Micro optimizations with weapon_base & GM:DrawDeathNotice
* Fixed some typos in FGD and Lua comments
Update some more spawncions for consistency
Alternative fix for traces not hitting transparent displacements
Better consistency with brushes that use same materials - does not cast shadow and traces hit them
Fixed toolgun ghost entity fading out in singleplayer on some maps
Added vgui.GetAll()
Returns only Lua created panels.
Used to fix PANEL:PreAutoRefresh() and PANEL:PostAutoRefresh() not working
Make new vgui.Create errors non halting
Because of course mods are already doing silly stuff.
Fixed Lua being able to make the main menu black on disconnect
Fixed a warning about "Invalid texture id -1" on disconnect
Fix certain detail props not rendering on maps with more than 65k of em
Ability to auto join full servers when they get a free slot
https://files.facepunch.com/rubat/2024/April17-7-UnwittingManta.png
The selected updates every 10 seconds now.
Ability to add servers to favorites by IP
https://files.facepunch.com/rubat/2024/April17-11-PinkIvorybackedwoodswallow.png
Fixed ENT.PhysicsSounds defaulting to true
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)
This default value preserves the original HL2/GMod behavior
Fixed normal combine soldiers with shotguns having their skin set to the shotgunner one
Reset ammo types on map shutdown as well & Cleanups
Remove more dead code
Explicit default value to GetMemberBool because it is defaulting to true(??)
Workaround animation event IDs on listen servers being set to "invalid" values
Minor: Init variables used in IMaterial functions
Unhide sv_maxunlag convar
Minor adjustments to server browser filter UI
You can now click the filter text to tick the checkboxes
Added `ENT.PhysicsSounds` for `anim` type SENTs
If set to true, re-enables physics impact sounds for the entity
Spawnmenu one click addon spawnlist generator
https://files.facepunch.com/rubat/1b1211b1/CPZbdPPd9F.png
Fixed IMaterial:GetKeyValues sometimes returning nothing on srcds
Material() now precaches the material, but only if it is not already precached.
Ship shader DLLs with srcds
Apparently they are necessary for materials to load correctly on dedicated servers
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.
"trace" command doesnt error on srcds
Properly handle mounted addons disappearing (unmounted)
This fixes a crash with BASS.DLL trying to play addon files that are no longer there.
Fixed BASS volume not being said briefly when first loading into a map
This fixes game making sounds when not focused when the option to specifically prevent that is enabled
Fixed an infinite loop when copying over .gma files