branchgarrysmod.main/x86-64cancel
460 Commits over 701 Days - 0.03cph!
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
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
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
Try to avoid Lua errors with DButton
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)
Added more console warnings with invalid sendprop types
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
Updated FGD files
Added logic_register_activator, logic_coop_manager, point_viewcontrol_multiplayer and point_viewproxy
Updated prop_vehicle_choreo_generic
Fixed a server crash to do with keyvalues
Fix particles never appearing with debugger attached
Micro optimize Get_Entity
Make PLAYER:AddCleanup server only (Community Contrib)
Localize named Citizen NPCs
Fixed KEEP_ON_RECREATE_ENTITIES sharing value with other flag
Remove local define for MAX_EDICT_BITS in net.lua
Fixed HLS shotgun right click pump sounds desync
Make zoom_sensitivity_ratio save across sessions.
SpawnIcon.Copy copies tooltip & OpenMenuExtra
mimics contenticon
Added `-noconclr` to disable srcds console colors
Partially implement mat_ambient_light convars
They require shader changes for LightmappedGeneric for full support, sigh
Fixed regression with TTT team colors while spectating
Apply a hack for bone manip level transitions
Undo a certain change that could be causing crashes for 1 dude
Minor changes
Improve memory usage of 64 bit client & server on Windows?
The game no longer allocates 3GB on start.
ContentIcon.Copy also copies the tooltip
Fixed some small memory leaks in dedicated server workshop
Enable network protocol breaking changes
Bump versions
Reapply bone manipulate level transition fix
Removed some more test entities that should've never been shipped
Fixed missing $bottommaterial material causing massive FPS loss
It was trying to load the material every frame while underwater.
Also fix potential NPE crash with water textures/materials.
Also clear missing material list on map load, in case the material list changed (new addons,new map embedded files, etc)
Added mp_weaponrespawn
Moved some functionality tied to mp_weaponstay in recent change to a new convar.
This is meant to affect HL2DM maps
Added `Ignore Solid` for point_spotlight in FGD
Updated TTT
Fixed unintentional global variable
Updated localization files
Fixed a crash in trace code that could happen after a changelevel
Move where balloon force limit is enforced
Update verbosity of "Out-of-range value" warnings
Now includes parent array name, and the entity index
Fixed pose parameters sometimes getting garbage values
Balloon dupes check for missing values
This isn't extensive enough, other tools still need to do this as well
TTT: Crosshair Customization (Community Contribution)
Fixed another potentially uninited variable issue
Fix prop_ragdoll.StartRagdollBoogie map input param type
Minor cleanups
Fixed HLMV.exe not running in win64/
Include Episode 2 Zombie Torso
Apparently ep2_outland_01 complains about the model being different
Include Episode 2 version of water_riverbed01
I have been assured the Episode 1 version is not used in Episode 1.
Fixed infinite loop with removing world decals
Fixed hammer model scale preview scaling bones multiple times
Unhide sv_hl2mp_weapon/item_respawn_time
Also made mp_weaponstay work for map spawned entities
Added prop_disable_distance_fade to console switches
Also made cheat convars be disabled if sv_cheats=0
HTTP calls the fail function with -disablehttp
Fixed ep2 props overriding hl2 content unintentionally
Updated a bunch of HL2 map icons
To better represent the areas on them/be more recognizable and less dark
Touch up episodic icons as well
Added missing TF2 map icons
console quick switch adjustments
Having cheat cvars be disabled is annoying, since they still work in singleplayer
Also just remove prop_disable_distance_fade from this, as I don't feel like it belongs
Update Treason map icons from the developer
Updated language files
TTT PR: Fixed health station not breaking at 0 HP
Fixed killfeed names regression
Fixed ai.GetSquadMemberCount returning nothing if there is no squad
Fixed player_squad NPC squad being overflown
When you spawn too many npc_alyx's or npc_citizens. Reduced max player squad from 32 to 16, to match the actual max NPC squad size
Handle NPC squads being overflown when spawning many NPCs
Added more options to Console Quick Actions
Pull Requests
* Updated TTT language files
* make file.Read return `nil` on failure instead of `no value`
env_skypaint FGD inputs
Added Entity:SetNetworkVarsFromMapInput as a helper and a sister function to Entity:SetNetworkKeyValue
Fixed being able to reset npc_grenade_frag after it exploded
PR: Fixed `team.GetColor` retuning non copied default color
Localize Balloon and Dynamite world tool tips
Update gmod.code-workspace
Added derma icon browser to console quick actions
Add icons to drag'n'drop right click menu
Unify spawnmenu rightclick code & add GM:SpawnmenuIconMenuOpen
The hook is called for ContentIcon and SpawnIcon.
SpawnIcons now also call PANEL:OpenMenuExtra, if it exists.
Minor cleanup
Give description to vgui_visualizelayout
Added quick switches to console
https://files.facepunch.com/rubat/2025/March17-1180-ZigzagGourami.png
Better error handling for reworked killfeed
Allow Map IO to convert int/float to string automatically
Better default text color for game_text
Port original ear ringing behavior from HL2 to Lua
less ear ringing
Remove cheat flag from mat_colorcorrection
Added sv_usercmd_custom_random_seed
Added sv_showimpacts
Move Treason map icons to fallbacks VPK
Mod author(s) want to ship the map icons for Garry's Mod themselves. This will make their icons take precedence over ours.
Added some headers to projects for intellisense
Try to mitigate util.TableToJSON leaving junk behind of failure
Merged Pull Requests
* Make Player:LimitHit serverside only (it would error clientside)
* weapon_rpg for npc_citizen (rebel only)
* ENT.Information support for tooltips in NPC spawn icons
Replace other occurrences of hl2.exe in FactoryReset-GMod.bat
Fix 2 recently added map icons not being 128x128
merge missed change for base gamemode (from a Pull Request)
Fix util.TableToJSON only outputting whole numbers in arrays
Added point_entity_finder
Create Build-Clean.sh
Added mounting support for Klaus Veen's Treason
At the request of its developer
Added -bouncefromnamed to VRAD
VRAD: Added %alphatexture VMT compile parameter
Render loading screen when running stringtable callbacks (Community Contribution)
Fix lua_topointer
Minor cleanups
color_correction works with fog_volume
Brings over Master/Simulate clientside spawnflags
Upgraded colorcorrectionui to CS:GO's version with ability to load saved presets, also fixed preview not working
Fixed GM:NeedsDepthPass causing NPCs to not render
Also fixed it rendering ropes twice.
Apparently the engine removes m_pRenderable from NPC entities for some reason?
Remove DOFModeHack from pp_bokeh
Rollermine becomes TWOPASS when open instead of translucent
This makes it render better with SSAO pass (such as bokeh DOF)
Description for debug_dump and more info when ran.
trigger_playermovement auto walk and no jump spawnflags
Minor cleanups
Port clientside trigger stuff from CS:GO
Will allow trigger_playermovement to work with prediction more or less correctly
Prepare networking code for env_wind radius
Added env_ambient_light
Minor cleanups
Minor clean ups
Update gmod.code-workspace (Remove full paths)
Remove player jingles/impulse 202
Fixed DTextEntry autocomplete menu not inheriting skin
Prevent potential crashes to do with traces on models
Added ip_steam
Exit SRCDS (with a message) if GSLT is invalid or expired
Added some new options to `render_sprite_trail`
`constrain radius to length` and `ignore delta time`
Port `SpriteCard` renderer for `render_sprite_trail` from CS:GO
Mitigate invalid vehicle scripts causing crashes
Made cmd not send empty messages that kick people
And hide it (it still works, but just hidden)
func_lod DisappearMinDist & DisappearMaxDist KVs
Added weapon class name & ent index to "Weapon spawning in solid"
Minor FGD adjustments
More descriptions, default values, etc.
Added func_rotating.GetSpeed/SnapToStartPos
Added func_dustmotes.AffectedByWind
Fixed .gma being left open in some cases if it failed to load/parse
Fix shaders not compiling
Fix some vmt formatting that i came across randomly
Merge community provided changes to JellyFish shader to do with $envmap
Fix saves.singular localization string including its comment
Fixed "flammable", "no" assigning wrong flag
Minor cleanups
Add min_use_angle for func_button from CS:GO
Reduce which entities report the networked velocity clientside
local player, MOVETYPE_FLYGRAVITY, MOVETYPE_FLY , players without MOVETYPE_NONE is the current list.
Pull Requests
* TTT: Fixed players sometimes being revealed as dead when they chat/voicechat right as they die
* TTT: Let TTTLastWordsMsg hook override default behaviour
* Cleaner server list layout code & Better display on small screens
Estimate player's velocity clientside if MOVETYPE_NONE
Enable `"flammable", "no"` prop interaction
Added `drawviewer` field to render.RenderView
Loading screen gets data faster when hosting a game
Load shaders from THIRDPARTY if not found in BSP or MOD
And whitelist "shaders/*.vcs" in workshop addons.
Remove sv_autojump as it does nothing
Pull Requests
* TTT: add ttt_filter_role entity
* TTT: Close player volume slider along with scoreboard
* Updated AngularJS from 1.1.2 to 1.8.2 + potential performance improvements
* Fixed DButton:SetConsoleCommand() not accepting vararg
* New Localisation Phrases