branchgarrysmod.main/maincancel

1,088 Commits over 1,339 Days - 0.03cph!

Today
Fix Linux SRCDS failing to build
Today
Disallow duplicating gmod_hands * There's a save on workshop that somehow has 7000 of the things, which I don't expect to be intentional. Minor changes to overlay rendering from CS:GO Batched overlay rendering support Merge normal calc for overlay stuff from CS:GO Static prop physics scaling Fix some air being considered water on CSGO dangerzone maps * It was partially fixed for grenade clips, now fixed for drone clips r_staticpropinfo 5 shows static prop bounds * Just for debugging Unhide r_renderoverlaybatch for now
5 Days Ago
Update "Rejected transfer of" warning to be more descriptive * And also moved it after existing file check, so it doesn't spit out misleading warnings Add .ani to serverDL whitelist Fixed Lua error with duplicator's control panel Clamp down on more invalid paths Turn some console messages into warnings so they are easier to see Reduce scheme max font size to 150 * Fixes some weapon selection icons not having their blur at 160 More killicon aliases Vehicles inherit physics icon, hl1 mp5 and grenades use HL2 alternatives More BMS NPC placeholders * I am not even sure I should be doing this. Adds the zombie variations, sets the human grunt models, randomizes faces Consistently apply ammo HUD coloring when empty
6 Days Ago
Improve default HUD text scaling at 4K Fix loading screen size after screen resolution change DImage applies ANISOTROPIC mag/min filters Try to make the notification library work with different screen resolutions * It was overlapping ammo HUD @ 4K, so we make the position use screen % and scale the text with screen height Apply static prop scale to lighting origin * No idea if this changes anything, but CS:GO does it, so we will too. Changes IVModelInfo::GetIlluminationPoint Apply soup based physics scaling Fixed damage indicator HUD size after resolution change not in-game
7 Days Ago
Make "Invalid detail light id" into a warning Apparently some HL2 maps have bad LDR detail prop lighting lumps, triggering the bounds check Improve and fix water shader rendering * Fixes regression on existing maps that were not using realtime reflections, such as most TF2 maps. They used weird cheap & expensive water blending which is now restored * For water materials using flowmaps but NOT realtime reflections, we now apply CS:GO's envmap blending like expected. This improves visuals of water on MC:V maps Also reset reflection/refraction after reflective glass is out of view Fix newly introduced crashes with ammo HUD MC:V map icons htf_ map category Fixed scaled static props not updating render bounds * Fixes MC:V static props not rendering sometimes Fix gravity gun regression in multiplayer Give more space to secondary ammo display for 4 digits Slightly adjust default HUD colors * Slightly darker background, less eye searing text, so it's easier to see on various backgrounds * All the colors are in ClientScheme.res Enable weapon selector scrolling with too many weapons to fit on screen Preview of what it looks like: https://files.facepunch.com/rubat/2026/March31-2469-FruitfulBelugawhale.mp4
11 Days Ago
Minor cleanups Rework CCachedRenderData bounds checking * Is now a warning + more checks Fix armor UI element being slightly longer than HP UI element HP and Armor HUD expands to fit 4 digits when necessary Slightly adjust ammo HUD to fit 9999s comfortably Default HUD supports showing Clip2 if weapon uses that * it also supports cursed combinations like secondary and primary without clips at the same time, primary without clips and secondary with, etc Try to fix ammo counter being red/orange when having ammo
11 Days Ago
Probably fixed Linux build error Mention sv_nomap_timeout in "no map" warning (once) CS:GO missing map icons Reject invalid Water shader combos
12 Days Ago
Fix combine dropship not flying away after deploying troops ILuaThreadedCall virtual destructor Update UnlitTwoTexture shader to CS:GO version * Includes support for TRANSLUCENT shader combo and BEACHFOAM material parameter from CS:GO Apply a hack to hide toolsocclusion on MC:V maps Make some warnings use RED text * Bad lightmap extents on material, srcds_run warnings/errors Fix fallback skybox texture using non existent textures Lets try disabling -ffast-math (replacing with -fno-math-errno) Fixed some potential crashes
13 Days Ago
Re-multiply SWEP slot positions by 100 again * This is part of a hack that was removed, but mods are expecting this behavior now, so we restore the *100 part Update default spawnlists * Added Tool Gun world model to Garry's Mod spawnlist * Updated CS:S spawnlists - merged characters and weapons to "Counter-Strike" spawnlist Updated spawnicons * Added spawnicons for most CS:S props, rerendered weapon icons to be brighter New CS:S spawnlist to include ALL props from CS:S * Old "Map Props" spawnlist removed, add 2 new ones that contain all the models, one with the more useful ones, one with the less useful ones Merge PR to update default spawnlists Sort Browse => Games/Addons in spawnmenu using lowercase text * Fixes some models, such as W_AlyxGun appearing out of order Update 2 more spawnicons
15 Days Ago
Remove unintentional change that breaks Linux/macOs builds
15 Days Ago
Change navmesh.GetNavAreaCount data source * Fixes its return value not matching getAllNavAreas return count Fixed a crash with trigger_tonemap & some other issues * Also fixed `trigger_weapon_strip` preventing weapon pickup indefinitely if removed while player is inside the field Updated FGD files * func_useableladder origin KV is now defined (since its auto generated) Try to fix trigger_playermovement sticking when removed with a player in Simplify how we get Steam APIs * The new SteamAPI versions do not have the "api context" stuff anyway. * Deletes IGet::SteamRemoteStorage, SteamApps, SteamScreenshots, SteamUser, SteamFriends, SteamGameServer, ResetSteamAPIs Fixed another NPE crash with HLTV Fix some prediction errors with HL1 weapons * These weapons take too much effort Minor weapon prediction fixes * SLAM fixes * Minor Gravity Gun prediction fix (for holding right click)
20 Days Ago
Probably fixed CEF not loading in some super weird scenarios By setting PATH a bit sooner in the launcher DLL Fix HL1 ammo not respawning at correct pos with mp_weaponrespawn Remove some unused fields from HL2MP gamerules Added Black Mesa as mountable game * Also adds placeholder entities for some NPCs, such as guards, scientists and the HECU Slightly improve error handling for saving JPG/PNG files
21 Days Ago
Fix main menu being a tiny square for split second on game start up Minor change Unchange some hardcoded defaults for global EmitSound * Hopefully this is as simple as this for issue 6769 Fix Hologram/Distort render FX affecting attachment & shadow pos * This fixes driving a hologram jeep causing player view to jitter around with the animation.
22 Days Ago
Implement CHAR_DIRSTEREO Also fixed a potential issue with CAudioDeviceSDLAudio Iterate over duplicator positioning * Do not render preview in depth/skybox pass, do not adjust dupe spawn height which affects tall dupes Fixed GM:AdjustMouseSensitivity returning nil still affecting sensitivity * Invalid returns were acting as 0, but -1 was expected for "no action". Now non number returns are treated as -1 Remove more "test" console commands * drawcross, drawline, cast_ray, cast_hull, test_dispatcheffect Change buddha messages to be send to client console Remove hidden "killtarget" concommand Make base gamemode load spawnpoint list from the entity * So we have 1 dynamic list of spawnpoint entities we want Lua to register and use Added MC:V to mountable games list
22 Days Ago
Revert "Lets try making singleplayer always select first spawnpoint" This reverts commit 793dfc845bc7a0523c23224be83629b4303771ea.
22 Days Ago
Undo some changes to clientside game.CleanupMap()
25 Days Ago
More ent_create NPE crash fixes vgui_slideshow_display refuses to scan invalid folders for slides Delete a few more "test" concommands * This includes collision_test, kdtree_test, voxeltree_view, voxeltree_playerview, voxeltree_box, voxeltree_sphere Add 2 new parameters to VRAD * `-LeafAmbientSampleReduction` and `-AmbientFromLeafCenters` Lets try rebuilding ambient cube indexes for when there are >65536 of em Lets try making singleplayer always select first spawnpoint * This mimics Half-LIfe 2/Portal 1 behavior. so you don't spawn on spawnpoints meant for testing during map development Fixed crashes with SavePresets Fixed decal related crashes with static props * For "clipped vertices" (whatever that means) it would crash, so we prevent that Make template spawned entities be removed if they are not NPCs * This is for NPCMaker entities, when given invalid entity classes to spawn (i.e. not NPC classes), it will now also remove the non NPC entity after spawning it, so they don't fill up the server Do not assign client-only color_correction entities serverside * This fixes map cleanups applying color correction that is not applied when just starting the map
26 Days Ago
Make BuildFromTriangles read weights from util.GetModelMeshes * It will only read 2 weights max naturally, while util.GetModelMeshes will return up to 3!
26 Days Ago
Use actual model scale for jiggle bone scaling * It was calculating the scale from bone orientation before (??) which was causing oscillations on some models when unscaled Make joystick input add to mouse delta, not replace it * Since the player can still use both at the same time, both affecting mouse delta at the same time makes sense, no? This is also consistent with how viewangles are handled I think Merged Pull Requests * TTT: translatability improvements * TTT: use GMod language setting by default * TTT: Equipment menu sorting options * Menu: Optimise digest scheduling * Pass along GM:AdjustMouseSensitivity's arguments to weapons
27 Days Ago
Fix a NPE crash with network transmission check Change Hammers ???? spawn flag to a more descriptive text Restore gmod_language cvar for dedicated servers * Kinda lame that I have to do this, but in order to not break stuff Apply some validations to shader API
28 Days Ago
Fixed some compile warnings
28 Days Ago
Try to fix OSX not compiling
28 Days Ago
Update Linux vphysics * This makes additional changes that need a close eye on them: * Deletes libstdc++.so.6 from game folder * Enables Valve's memory allocator override, which is required for new vphysics
29 Days Ago
Fix 64bit HLMV Fix a crash with improper usage of prop_ragdoll Fix physgun glow rendering in buildcubemaps * Just a dumb fix. Applied some more changes like not drawing physgun glow if player is invisible Fix potential crashing issues with GetModelMeshes Reset firing delay on weapon holster while in reload animation * So pulling out 357 or crossbow after starting reload doesn't lock you out of doing anything with the weapon for the duration of reload Fix animation canceling with the RPG reload * You can no longer holster and redeploy to bypass the reload animation after firing Minor cleanups Remove duplicate voice_scale from the blocked list Apply some clientleafsystem index checks from TF2 SDK Remove explosion sound from Emitter's underwater explosion Minor changes to util.SpriteTrail * No entity leakage on Lua error
29 Days Ago
Fix ents.Iterator getting NULLs again Limit Colour tool inputs to valid range
32 Days Ago
Fix "invalid format PHY" for old model formats Add non-halting error when tables have wrong data type * This relates to C functions that expect table inputs. Instead of failing silently, we let the developer know they are doing something wrong Delete particle_test* convars/concommands * Seem useless? Delete simple_bot (simple_bot_add concmd) * Nextbot test entity or something? Delete hunter_shoot_flechette concmd Delete fadein and fadeout console commands * I think that this is never used? Fixed a number of concommands crashing when using on srcds * For example `prop_physics_create` Give weapon_cubemap a unique bucket position * So it doesn't conflict with other built-in weapons. really should update the weapon selector so this isn't even necessary Disable most impulse commands * This includes 76, 81, 82, 83, 102, 106, 107, 108, 195-197, 202 and 203 * All of these are either useless or do nothing, or are replaced by Sandbox. (jeep spawning) Remove some CAI_BaseNPC debug stuff Removes CAI_BaseNPC::m_pDebugNPC, SetDebugNPC, IsDebugNPC which are never used Remove CBasePlayer::m_rgItems (unused) Enable default weapon selector to render weapon slots 7-10 * They will not appear by default (as empty boxes), but if you have a weapon in slot above 6, you can now actually see it Move where model scale limits are enforced * Also delete duplicate m_flModelScale definition in the data table Rework weapon selector weapon positioning * It kinda took too long, but it is no longer possible for weapons to be invisible within the first 10 slots. Everything else should be the same * Removes a few SlotPos related hacks * Fixed slot 10 (bound to 0 by default) having wrong number in the selector, and not being selectable via the bind
33 Days Ago
Fixed some spawn crashes with some entities gmad.exe no longer overwrites existing files More model data validations Fix CreateLinkController leaking entities if misused Implement Combine APC aiming for players * I had this code laying around unfinished, and now its finished. * Also respect EnableGun for players only Lets try undoing changes to UTIL_PrecacheOther * I wonder if this causes ents.Iterator nulls Block mat_texture_list_txlod_sync just in case
34 Days Ago
Fix a typo in DModelPanel
34 Days Ago
Implement drag'n'drop for HLMV * You can now just drag a .mdl onto the app to open it Fix normals on balloon_classic LODs and camera.mdl LOD 3 Merge some minor changes for models to load correctly on 64bit Minor cleanups Fix false positive on LoadLeafs data validity test Update AppID for CS:GO to use the new one Ship a fixed tri1x1.mdl * Fixed normals, fixed extra weird mesh Do not reset water reflection/refract textures when they are not used * From start of game, if expensive water is always disabled (or if the map doesn't have water to begin with), do not clear the RTs. (This would happen only once regardless)
35 Days Ago
Include tree_deciduous_card_01.mdl with the extra skin * Fixes some visual inconsistencies on HL2 maps Implement Panel:Clear for DPropertySheet/DCollapsibleCategory * DPropertySheet will clear all tabs and their associated panels (and calls OnActiveTabChanged with nil as new panel) * DCollapsibleCategory will avoid clearing its header, deletes everything else * DPropertySheet:CloseTab now also calls OnActiveTabChanged Flip order of operations for model matrix mult of DrawSkinned * Should fix angles affecting position Apply name restrictions to concommand.Add * It's the same name restrictions as CreateConVar, so probably fine? Let's try removing Language system from dedicated servers Minor cleanup Do not check toolmode_allow convars for Utilities menu Clarify what "Max Ragdolls" server setting is Stop soundpatches on entity removal And also prevent soundpatches from playing with invalid entities. Spawnmenu calls CanTool clientside to mark server-disabled tools * This is an experiment which may end up error prone, but let's try it. The intent is to show in the spawnmenu UI when a server (or an addon) has disabled a particular tool.
36 Days Ago
Implement corrected limit checking for mesh.Begin w/ static meshes I.e. when giving mesh.Begin a mesh object, the limit becomes 65535 instead of 32768 Added second arg to IMesh:DrawSkinned - mult by model matrix Try to prevent crashes with weird .phy files
39 Days Ago
mesh.Begin throws errors with invalid primitive counts Fixed a crash with func_button and Sandbox drive system Lets try making r_radiosity default to 4 again Add some sanity checks to map loading
40 Days Ago
Add a temp hack for missing surface.GetScissorRect Add some invalid handle checks to shadow rendering Remove that unused code Potential micro optimization for trace filter tables Fix MSurf_MaterialSortID check being to aggressive perhaps Minor cleanup Fix last map not loading correctly if it's an addon map
41 Days Ago
Make effects.BubbleTrail not turn start/end pos into mins/maxs Added Lua mesh skinning support * Added `mesh.BoneData( index, matrixId, weight )` * Added second argument to `Global.Mesh` - boneWeights * Added `IMesh:DrawSkinned( matrixTable )` Minor cleanups Fixed DrawSkinned affecting underwater rendering * By applying the model matrix to the Draw() call Some more than minor cleanups of probably unused stuff Fill remaining matrices with identity ones for DrawSkinned * In case some silly goober doesn't give it enough or gives none Fix handling of userdata members from tables Fix potential crash with malformed models
43 Days Ago
Fix potential crash issue with rope rendering Remove the while loop from DModelPanel render * Added surface.GetScissorRect (Faster than surface.GetPanelPaintState) - returns enabled, left, top, right, bottom Merged Pull Requests * weapon_fists sets damage position * Make closedcaptions fonts anti aliased Fix missing font CloseCaption_Small Implement vendor specific shadow depth format test for Intel Allow solid triggers to touch triggers * Allows loose weapons and ammo entities touch remove/teleport triggers, etc. Unhide r_particle_timescale
46 Days Ago
Merge PR: Toolgun trace not hitting parented props re-fix Fixed a crash to do with HTLV
47 Days Ago
Flechette Gun aligns projectiles with world clicker Fixed buggy behavior of HL:S crossbow with its zoom * (By removing the "instant" attack mode) Fix HL:S crowbar hitsounds in multiplayer Alias some HL:S weapon killicons from HL2 ones Clear _rt_Camera texture to black on disconnect Clear water reflection/refraction textures when unused Ship fixed door models * Door03_Slotted - fixed skins not working, fixed opening animations not always playing correctly, added ep1 hardware type, fixed pushbar lighting * Door03 (Ep1) - added rusted texture skin from Door01 (fits the window cutout) * Door01 - added ep1 hardware type, fixed pushbar lighting Ship fixed Skin13 & 14 for doors * Fixed handlebar textures for both Implement pistol empty holster * Fixes the model having empty and non empty holster anim being tied to the same activity
49 Days Ago
Fix missing return value on Matrix()
49 Days Ago
Remove 12char cap on net_showudp names Added ActivityWeight/ActivityID to util.GetModelInfo sequences Remove auto generated server flags * It's been long enough for people to adjust to setting sv_location Fixed some potential crashes Potential optimizations for Matrix() * Should be a bit faster, especially when not using table as first arguments Potential optimization for Angle() (same as Vector at some point before) Clamp BodyMoveXY playback rate to networking limits Merge PR: Ability for Sandbox NPCs to randomize their model
50 Days Ago
Possibly fix Linux build error
50 Days Ago
Apply GetPoseParameter range fix for its one internal usage In the player anim state. Probably does nothing, but at least its not setting the clientside poseparameters move_x/y to invalid values briefly Fixed crashes with Alyx and Jalopy being removed * Also makes Alyx cancel try to enter the vehicle if it is removed while she is running to it Re-include SteamP2P on Linux dedicated servers Fixed Gravity Gun storing buoyancy as a bool Try some more potential crash fixes * Based on just a single dump TTT: Fix SimpleImage PaintOver handling Fix a crash when trying to load weird VTX files Allow Spawnicon Editor to be resized https://files.facepunch.com/rubat/2026/February16-2345-RevolvingLouse.mp4 * Also merged Pull Request for case insensitive search and arrow key animation switching
53 Days Ago
Fix NPE client crash when game.Get3DSkyboxInfo is ran too soon Remove FCVAR_REPLICATED from hud_deathnotice_time * It's a clientside convar, the flag has no effect. Fix color mismatch between cl_ and sv_ showhitboxes cl_showhitboxes 2 to show ONLY player hitboxes
54 Days Ago
Make jump/land sounds play for non local players * Also made Player:PlayStepSound volume argument default to 1 * Fixes Player:PlayStepSound not really doing anything in multiplayer Added game.Get3DSkyboxInfo Returns table with "origin" and "scale" keys. No function arguments. Send replicated convars in batches of 128 * This fixes an overflow/network channel corruption issue on server join when the server tries to send over 255 replicated convars to the client. Remove some unused stuff * Removes CRC calc for game_sounds_manifest.txt loading, since the CRC is never used. * Removes CGarrysMod::SetupSoundsManifest Reload soundscripts when games are mounted * This fixes no voice lines playing in Half-Life 2 maps when the game was started without HL2 mounted, and then HL2 is mounted. Minor cleanups in multiplayer animstate * Make flDeadtime in prediction use correct data type * Removed a bunch of unused fields in MultiPlayerPoseData_t * Reduce amount of LookupPoseParameter calls
55 Days Ago
Fix leaks with CProceduralTexturePanel * This fixes color picker preview in particle editor breaking after a few uses Move CUtlVector::GrowVector error to memory grow functions Fixed single character folders not working for textures on Linux * This should fix missing textures on surf_quickie.bsp on Linux. Possibly other maps as well. Minor cleanups Fixed Global.EmitSound not firing EntityEmitSound
56 Days Ago
Apply TF2 SDK fix for CUtlFilenameSymbolTable * Should help fix loading packed files on Linux on certain maps with embedded files Fix thirdperson initial angle snap (From TF2 SDK) Put mksheet into "Tools" group (VPC) Clamp bot player count in the server browser * Also apply the clamping to serverlist.Query Merge Pull Requests * TTT weapon visual fixes for singleplayer * Use IsPlayer instead of GetClass() == "player" in base gamemode
57 Days Ago
Fix a crash in CVoiceGameMgr::ClientConnected due to binary module usage Fixed normal headcrabs not spawning from their cannisters Remove the entire GameStats(Uploader) system Its never used by anything, just wastes resources Also references to xboxsystem and matchmaking systems that were still compiled in Ship a fixed hunter_flechette.mdl * Uses the idle animation by default now instead of the impact animation, so they actually fly straight now, not at an angle Update AR2, Flechette Gun and SLAM spawn icons * AR2 icon now points the same way as other guns, SLAM icon now has the same warmer colors as all the other icons, Flechette Gun icon no longer uses the angled model in the preview Fix Flechette Gun being able to shoot through thin walls Fix file list concommand autocomplete searching mounted content It's only used for stuff like saves and demos, no need to search in mounted games like HL2 Fix sounds played via env_microphone having no subtitles
60 Days Ago
Apply lightmap with lightstyles fix from CS:GO * Seems to help a little on MC:V maps Minor cleanups Make game.GetMapVersion also return the BSP version Apply a tiny fix for dynamic lights (Light tool) for bumped lightmaps * This is the difference: https://files.facepunch.com/rubat/2026/February06-2318-JoyousQueenslandgrouper.mp4 Minor changes from CS:GO to do with float bumped lightmaps Apply same limitations of render.CapturePixels to render.Capture * Allow render.Capture on rendertargets Fixed some potential crash issues chat.AddText handles numbers
2 Months Ago
Try to fix Linux compile error
2 Months Ago
Implement $pointsamplemagfilter Lets try static client scratch buffer Added support for V12 static prop lump (MC:V) Remove r_maxdlights convar * it's already at its max value Implement empty idle for pistol Scale lightmap pages to current map's needs
2 Months Ago
Implement STUDIOHDR_FLAGS_VERT_ANIM_FIXED_POINT_SCALE Fixed some potential crashes with navmeshes Fix potential crash issues with dropship Prevent `trace` concommand erroring with dropships