4,966 Commits over 3,957 Days - 0.05cph!
Alien Swarm Map Icons
Updates to debug_dump
* Handle "0" != "0.0" cases
* Add game version to output
* Sort alphabetically
* Align values and default values vertically for easier parsing with eyes
Remove "f" from some number convar default values
Remove -usetcp as it is broken anyway and has unknown purpose
Implement jiggle bones for serverside ragdolls
Apply correct scaling on jigglebones with model scale
This also disables some weird code that was applying inverse scale on jiggle bone matrix if scale > 1, I could not see where this was useful and it was causing jiggle bones to disappear up close.
Minor cleanups
Minor cleanups
Gracefully exit when encountering invalid SubRect materials
Crash with message, instead of crashing without a message
▋ ▊▄█▆▆▆ ██▊▉ ▅▆▅▊, ▋▋▇▊▋ ▇▄▅▅█▄ ▅▌▄▍█/▉▇▇ ▊▍▌▌█▌
▋▄▊▄▇█ ▇█▆▍ ▄▊ ▍▅▆ █▍▅▊ ▍▄▉▌█ ▆▋█ ▉█▇▊▄▉
▆▌▍▋▍▉▍ #▍ ▄▉ ▇▌▆ ▊▉▌ ██▉▉▍▇
▊▉▆▉█▋█ █ ▍▆ ▊▄▉ ▄▌▆ ▄▌▉▆▋▄
Try to fix VPC builds on Linux/OSX
▍▅▉▅, █▇▍▆ ▊█▆▆▆▉ ▄▋▍▍▅▅ ▇▊▉█▌▊?
▇▆█ █▅▋▉▋ ▆▇▄▍ ▆▄▍▍▊▅▅▄▍▍▄▇▊▋
▉ ▊▌█▄▄▋ ▄▌▆▇▊▍▉█ ▉▊▌▉█▆ ▉▊ ▍▇▍▄ █▍█
Resolve file name capitalization issue
Minor clean ups (VPC)
minor cleanups
Minor cleanups
basically removing unnecessary changes
Eliminating more branch differences / minor cleanups
Eliminating more branch differences / minor cleanups
Eliminating more branch differences
Fix crashes to do with material's representative texture
Apply FCVAR_USERINFO to gmod_npcweapon
func_movelinear improvements
Rework how sounds are played, so they are always consistently played, regardless if they are given, or if both sounds are the same sound.
Also merged Portal 2 parented movement fixes.
Allow mat_picmic below -1 in multiplayer
Init text fields for func_precipitation
Fix crashes to do with material's representative texture
Apply FCVAR_USERINFO to gmod_npcweapon
func_movelinear improvements
Rework how sounds are played, so they are always consistently played, regardless if they are given, or if both sounds are the same sound.
Also merged Portal 2 parented movement fixes.
Allow mat_picmic below -1 in multiplayer
Init text fields for func_precipitation
Eliminating more branch differences
Eliminate more branch differences
Fix close button not doing anything for +showvprof
Eliminate more branch differences
Fix close button not doing anything for +showvprof
Remove unnecessary changes to ConCommandBase
Fix creator tool causing errors on dedicated servers
Added env_wind.SetWindDir to FGD
Reset wind/sun render params on level load
Call PlayerLeaveVehicle after the player leaves the vehicle, not during
Fixes a potential stack overflow & being left in no clip when they are being force put in a vehicle from PlayerLeaveVehicle
Prevent Lua errors with constraint library
Update base.fgd
Fixed missing model for npc_citizen in Hammer (FGD)
SMG1 ejects rifle shells, not pistol ones
Eliminate some branch differences
Eliminate more branch differences with x86-64
Eliminate more branch differences with x86-64 again
Merge some crashy fix from CS:GO to do with flex verts
Eliminate some branch differences
Eliminate more branch differences with main
Fixed missing model for npc_citizen in Hammer (FGD)
SMG1 ejects rifle shells, not pistol ones
Do not output ASCII control characters for color_white
This is useful for exactly 1 person in the world
Handle BaseTexture2 for impact particles on displacements
Do not write variables at default value to config.cfg
Guard against clients without new functions for DButton
Fixed compile errors due to branch differences
Mention that sv_no_ain_files should be set before map load
Handle missing cache file a bit better
Remove cl_showpluginmessages
Fix compile error
Actually remove cl_showpluginmessages
Fix crash with NPCs doing scripted sequences
Remove test_entity_blocker concommand
No reason to have it
Asset usage in Model Picker (Hammer)
Ported feature from CS:GO, also fixes the model list not scrolling to selection after opened for the first time (since the picker is recreated every time now)
Dedicated server workshop improvements
* Cache addon list on success
* On failure to connect to Steam, try to load addons from cache (this is kinda hacky)
* Run Steam callbacks when waiting for Steam Log On, maybe that makes it work more consistently.
Fix Bugbait and Gravity Gun reporting 0 as Clip1/2
Make SLAM consistent with weapon_frag
Use primary ammo type instead of secondary ammo type.
Move crossbow effects clientside
Fixed sparks only playing for non local clients
Fixed crossbow load glow appearing on view model when using built-in third person mode
weapon_crossbow handles addons setting its clip to 1
Updated TTT (Community Contributions)
* Adds FCVAR_NOTIFY to various ConVars
* If voice drain is enabled, it will not be applied to admins anymore by default
* Changes some text used in the main menu "New Game" section
* Allows Innocents to pick-up dropped Detective hats by default
* Adds an option to disable the Karma system via the main menu "New Game" hosting
* fix players sometimes being revealed as dead when they chat/voicechat right as they die (again)
Fix regression with Creator tool
Fix scanners creating console warnings on spawnmenu spawn
resource.AddFile does not add .jpg for .mdl files
Fixed crashes when SubRect materials is used on a brush
Add ability to put background behind console notify text
Increase contimes to 12 by default
Added con_bgalpha and con_border
Added con_bgalpha/border to blocked convars
Fixed typo in Extra console dropdown
Fix white-on-white text color for pressed-in DMenuOptions
Minor cleanup
Fixed DTextEntry autocomplete clicks not functioning
Try to prevent infinite loops when firing bullets from OnTakeDamage
There was a weird behavior with it applying the first bullet's damage over and over again if using Entity.FireBullets from EntityTakeDamage
Reveamp scoreboard player volume scroller thing
So it's more obvious that you can scroll
https://files.facepunch.com/rubat/2025/April07-1255-ValuableGemsbok.png
Fixed NPE server crash to do with removed NPCs in NPC squads
Fixed spawning NPCs with creator tool not randomizing weapons
Now fully respects the "NPC Weapon" setting in spawnmenu.
Guard against clients without new functions for DButton
Do not write variables at default value to config.cfg
Fix crash with NPCs doing scripted sequences
Remove test_entity_blocker concommand
No reason to have it
Do not output ASCII control characters for color_white
This is useful for exactly 1 person in the world
Handle BaseTexture2 for impact particles on displacements
Actually remove cl_showpluginmessages
Fix regression with Creator tool
Fix scanners creating console warnings on spawnmenu spawn
resource.AddFile does not add .jpg for .mdl files
Fixed crashes when SubRect materials is used on a brush
Dedicated server workshop improvements
* Cache addon list on success
* On failure to connect to Steam, try to load addons from cache (this is kinda hacky)
* Run Steam callbacks when waiting for Steam Log On, maybe that makes it work more consistently.
Mention that sv_no_ain_files should be set before map load
Handle missing cache file a bit better
Remove cl_showpluginmessages
Asset usage in Model Picker (Hammer)
Ported feature from CS:GO, also fixes the model list not scrolling to selection after opened for the first time (since the picker is recreated every time now)
Fixed NPE server crash to do with removed NPCs in NPC squads
Fixed spawning NPCs with creator tool not randomizing weapons
Now fully respects the "NPC Weapon" setting in spawnmenu.
Fix Bugbait and Gravity Gun reporting 0 as Clip1/2
Make SLAM consistent with weapon_frag
Use primary ammo type instead of secondary ammo type.
Move crossbow effects clientside
Fixed sparks only playing for non local clients
Fixed crossbow load glow appearing on view model when using built-in third person mode
weapon_crossbow handles addons setting its clip to 1
Updated TTT (Community Contributions)
* Adds FCVAR_NOTIFY to various ConVars
* If voice drain is enabled, it will not be applied to admins anymore by default
* Changes some text used in the main menu "New Game" section
* Allows Innocents to pick-up dropped Detective hats by default
* Adds an option to disable the Karma system via the main menu "New Game" hosting
* fix players sometimes being revealed as dead when they chat/voicechat right as they die (again)
Added con_bgalpha/border to blocked convars
Fixed typo in Extra console dropdown
Fix white-on-white text color for pressed-in DMenuOptions
Minor cleanup
Remove unused member variable from keyvalues class
Fixed DTextEntry autocomplete clicks not functioning
Try to prevent infinite loops when firing bullets from OnTakeDamage
There was a weird behavior with it applying the first bullet's damage over and over again if using Entity.FireBullets from EntityTakeDamage
Reveamp scoreboard player volume scroller thing
So it's more obvious that you can scroll
https://files.facepunch.com/rubat/2025/April07-1255-ValuableGemsbok.png
Add ability to put background behind console notify text
Increase contimes to 12 by default
Added con_bgalpha and con_border
Fix Linux/Mac compile error
Throw a warning when trying to create unprecached particles
Added 2 new options to console quick options
vcollide_wireframe & cl_particle_show_bbox
Fixed particle precipitation not precaching the particles
This happened when only PCF particle based precipitation types are on the map.
Make Linux use the same console.log code path as Windows
This concerns Linux dedicated servers only. Makes it so that ANSI command sequences are not written to console.log on Linux SRCDS.
Added gmod_cleanup and gmod_camera to KB Options
Fix Lua errors with weapon_base when NPCs try to use it
TTT: Update French and Ukrainian localizations
Added more console warnings with invalid sendprop types
Added a bunch of new data to util.GetModelInfo
Update Label center alignment with an inset
Basically instead of being a minimum value for the X position of the text, the text is centered using the inset as the 0 position, always taking it into account.
This is useful for buttons with icons, so the text always appears centered.
DButton.SizeToContents improvement
Runs InvalidateLayout to ensure the text inset is set to the correct value, implements SizeToContentsX
Replace Copy to Clipboard icon with a button for Problems
Hopefully will be more obvious what the button is, so ppl are more encouraged to copy the errors and send them to workshop addon devs.
Also add icons to quick fix button
Added "Copy to clipboard" button to gui.OpenURL dialog
Also add icons to buttons.
Increase max voice chat channels to 16 (from 5)
Try to avoid Lua errors with DButton
Fix tonemap system not getting new controller on map cleanup
Fix a potential issue with game.CleanUpMap
Improvements for util.TableToJson
* Throw hatlng errors at all times (instead of non halting ones)
* Clear any parsed data before throwing Lua errors, because the Lua errors prevent destructors from running
Added "Inflictor" to Bullet structure
Affects Entity.FireBullets and the bullet hooks.
Inflictor sets the weapon that the damage should be credited to.
Attacker being the entity that dealt the damage, i.e. a player
Fixed sv_max_usercmd_move_magnitude breaking some mods
Panel:PaintAt will touch Z pos only if there are any 0 values
Improve player head angle (yaw) when in vehicles
Fix the neck snapping when looking backwards from left to right, fix 90 degree offset in prisoner pod
Colors from C++ have their metatables
Unifies how colors are pushed to Lua, removes hacks
Added Panel:GetContentAlignment
Added `trigger_teleport_relative`
Added m_bBreakable to prop_door_rotating DataDesc
Merged Pull Requests
* TTT: Fixed inconsistency for default values in terrortown.txt
* Changed "Toggle" to "Toggle Key" for Muscle and Hoverball key inputs
* Certain Sandbox entity spawning global functions (used for spawnmenu) return the entities they create
Use Panel.GetContentAlignment to fix DButton text alignment
With recent changes, the text in right click menus in Sandbox was moved to the left unintentionally. So now we use the new function to make it look right for both, left aligned text buttons, and center aligned ones.
Missing whitespace changes from public repo
Restore IMaterial:GetColor4Part for now.
Needs to be deleted once everyone updates.
Restore imat:GetColor hack for now
FIx merge errors
Restore imat:GetColor hack for now
Missing whitespace changes from public repo
Restore IMaterial:GetColor4Part for now.
Needs to be deleted once everyone updates.
Colors from C++ have their metatables
Unifies how colors are pushed to Lua, removes hacks
Added Panel:GetContentAlignment
Added `trigger_teleport_relative`
Added m_bBreakable to prop_door_rotating DataDesc
Merged Pull Requests
* TTT: Fixed inconsistency for default values in terrortown.txt
* Changed "Toggle" to "Toggle Key" for Muscle and Hoverball key inputs
* Certain Sandbox entity spawning global functions (used for spawnmenu) return the entities they create
Use Panel.GetContentAlignment to fix DButton text alignment
With recent changes, the text in right click menus in Sandbox was moved to the left unintentionally. So now we use the new function to make it look right for both, left aligned text buttons, and center aligned ones.
Improve player head angle (yaw) when in vehicles
Fix the neck snapping when looking backwards from left to right, fix 90 degree offset in prisoner pod