branchgarrysmod.main/x86-64cancel

555 Commits over 792 Days - 0.03cph!

3 Days Ago
Cleanups from main
3 Days Ago
Hammer: Port color preview for models from CS:GO Added color keyvalue to prop_door_rotating Allow PCF as valid transfer extension Make sv_lagcompensationforcerestore do something SRCDS workshop cache also caches titles Also display a warning that cache will be used. Added some AnimOverlay functions Entity.FindGestureLayer( activity ) = LayeriD Entity.FindGestureSequenceLayer(seqID)=LayeriD Entity.RemoveLayer( layerID ) Entity.SetLayerAutokill( layerID, bool ) Fix soundscapes not working with duplicate sounds (ported from CS:GO) Also made sv_soundscape_printdebuginfo a cheat, instead of devonly, like in CSGO NPC weapon selection icons Use ContentCategoryIcons list to give NPC weapons icons in spawnmenu NPC tab and on NPC spawn icon right click. Also group NPC icon right click by category like it is in other places. Added GM:OnNPCDropItem hook It will NOT be called for dropped weapons, for that you have GM:PlayerDroppedWeapon (yes it was always called for NPCs too) HL1 NPCs will call this hook when they create "fake weapons" on death, since they do not use weapon entities Fix FireBullets causing "CLuaObject:GetType with invalid lua state" warnings Restore rope texture scaling to HL2 values For tool-created ropes, we apply custom scaling value so it looks like it did before any changes. Fixed NPCs being able to shoot some guns forever, without reloading This affects ALL weapons with DefaultClip above the Clip size, such as AR2. Prevent potential Lua errors with weapon_base Fixed IMaterial spamming console about "$basetexture" not being a texture This happened when opening Overlay post processing effect list in Spawnmenu. Affected functions: IMaterial.GetTexture IMaterial.GetColor IMaterial.Width IMaterial.Height Make "No account token specified" a warning Reset render lib lastmaterial on map shutdown Fallback "VertexBeckman" shader to "VertexLitGeneric" Minor optimization in Ignite property RPG/Crossbow animation improvements for citizens Fix NPC being unable to fire RPG due to recent changes Combine RPG support Improve metropolice weapon support for Shotguns, AR2, RPGs Fixed some NPC drops not calling OnNPCDropItem Add CSS thruster models without mounting CSS` (Community Contribution) Fixed server crash when mounting ladders at edict limit Minor cleanup Improve free edict detection
9 Days Ago
Disable clientside ShawTeam & others We tried, it won't work.
9 Days Ago
nullptr checks in particle rendering that really should've been in last commit Remove newline from "Disconnect by server." kick message So server console log is less messy. No other kick reason adds a new line at the end. Fixed a typo & add internal TODO Merge Pull Requests (Community Contributions) * Micro Nano optimization for GM:HUDDrawTargetID * Make default Sandbox fonts extended for better rendering of non Latin characters Make GM:ShowHelp & co also be called on client. Unhide Jalopy seat and Flechette Gun without mounting HL2 `weapon_fists` sets Weapon in DamageInfo (Community Contribution) Status prints server uptime Improve NPC animation support for pistols and rifles Combine NPCs no longer T-pose with pistols. Improved crouch support for NPCs using pistols and rifles - NPCs wont crouch to shoot for 0.3 seconds and then stand back up Enable EP2 behaviors for npc_combine_s Some sort of "march" thing? Fix off by one issue with particle sheet loading checks Prevent crashes due to netgraph Combine anim retargeting uses AR2 anims, not SMG1 anims Fixed an issue with particle loading NPC Weapon allowance changes Kleiner, Mossman, Eli, Breen and Magnusson can now spawn with guns Vortigaunts and HL1 GMan can no longer spawn with guns Further updates to NPC animations Try to make NPCs shoot slower with the .357 Fix Eli, Magnusson, etc. shooting from their feet.
11 Days Ago
Unhide CSS/Ep1/Ep2 spawnlists by default Improvements to multiplayer player getters * FindEntityProcedural `!pvsplayer` multiplayer support improvement * UTIL_GetLocalPlayer micro optimizations * UTIL_FindClientInPVS now tries to get the closest client Bump version number in DLLs/EXEs Change "exe version" to "network version" for version concmd Multiple improvements to error handling of particle sheet loading
12 Days Ago
Fix srcds regressive crash to do with SnapshotManager changes from csgo
13 Days Ago
Fix branch specific compile error on Linux/MacOS (Hopefully)
13 Days Ago
Enable Jalopy idle_running animation without hl2_episodic convar This applies to all vehicles, even modded ones, if they have an animation bound to ACT_IDLE_STIMULATED Fixed a regressive Lua error with Player:AddCount (Community Contrib) Minor cleanup Prevent certain code making shotguns emit a damage event for each pellet The "TraceAttackToTriggers" system for bullets would cause the shot entity to have a separate damage event for each pellet for a shutgun shot. Update FGD - light properties descriptions Prevent silly values in fog_controller Undo changes to Func_MoveLinear.SetSpeed again Mount CSS/Episodic VPKs in tools Make Linux happy Fixed weird white spots on Metrocop playermodel gloves Updated/Fixed decal textures & materials from main
17 Days Ago
Minor cleanups Move css/episodic VPKs to sourceengine/ and rename them more under friendly names, such as content_cstrike.vpk, and prevents unnecessary work on the build server Fixed regression with loading workshop saves
18 Days Ago
Fixed `version` not having proper branch value Deletes IGet->BuildName Apply multicore support for modifying meshes A bit hacky fix for linux file modified time being wrong due to recent changes
19 Days Ago
Update some base materials with correct surfaceprops Mostly affects HL2 coast maps, so footsteps/impact effects are correct Episode 2 material surfprop fixes Fixed a crash when reloading textures CSS map material surface prop fixes Improve how death is handled when NPC is killed by a harpoon Other game systems can now detect these deaths, such as the Antlion Guard section on d2_coast_11 (OnDeath output runs, etc) Added LuaMesh.__tostring Throw a non halting error when GetRenderMesh has a mesh. but not a mat Prevent a crashing issue with multicore and IMesh:BuildFromTriangles Fixed "timeout" not working in HTTP, clamp it to 1-3600 Merge Pull Requests * Added HexToColor, Color:ToHex() (Community Contribution) * Added CtrlNumPad:GetValue1/GetValue2(Community Contribution)
23 Days Ago
Minor cleanups from main
23 Days Ago
Cleanups from main Fixed Hacked Rollermine not respecting ignore players flag Fixed env_fog_controller.SetColorHDR not working due to extra space char Fixed that one HL2 map having weird fog when coming out of the tunnel Ship Episode 2 override of barricade001a.mdl with fixed physics mesh kickid supports SteamID64 Reduce CEF logging severity to default (from verbose) Minor cleanup Remove MAX_TEXLIGHTS limit from VRAD Update prop water level calculation More accurate water level for props, so props half submerged are no longer considered fully submerged. Explosion code now updates the water level before checking, so RPGs can properly explode floating props now Increase physgun_maxrange maximum value to 32k Fixed a crash with CLuaInterface::IsType
25 Days Ago
Fix lights.rad being broken again
25 Days Ago
Update "AI node graph is out of date" warning to include version number Move "Soundscape: " message to soundscape_debug 1 Clean up g_SBoxObjects when entities get deleted Also fixed Player:GetCount not updating after rejoin on entity delete (undo) Merge Pull Requests * Fixed SWEP info tooltip overlap during fade out (Community Contribution) * lights.rad: episodic additions Enhancement (Community Contribution) Disable sv_parallel_sendsnapshot by default Apparently still causes random issues that need solving first. Fixed crash when using `-hijack` Fix some compile warnings Merge Pull Requests * Localize old spawnmenu categories for addon added entities * Disable mouse3/4/5 input on DAdjustableModelPanel Update dedicated server UI Added workshop collection entry box, gamemode selection and remove mandatory RCON password Replace Steam icon in SRCDS UI with gmod one Disable SRCDS UI loading some animation images that dont exist the pane ls always hidden anyway Manually copy over t_leet.vtf because GIT is being an ass
30 Days Ago
whitespace consistency pass Only build 32bit binaries for 32 bit Linux builds (dependencies) Unhide AIN loading errors from developer 1, make them warnings Move map.pack to cache/map_pack.bsp Since its a temp file that doesn't need to pile up in the root folder Disable 360.ain loading for preload Not sure if this code even runs, but just disable it Force mount HL2 episodic content on SRCDS Prevents "missing particle" warnings on start up
30 Days Ago
Cleanups / warning fixes Removes hud_centerid and hud_showtargetid which were unused. Added Counter-Strike: Source content to Garry's Mod Separate VPK with models, sounds and materials/textures that is mounted if CS:S is not manually mounted. The version shipped with GMod does not have any music or voice over, duplicate content or any of the maps. Adding Half-Life 2 Episodic content as fallbacks Again, no voice over or music, but models, materials and sound shipped. Remove sw.vtx from CSS vpk Enable Episodic spawnmenu content (NPCs/Vehicle/Entity) by default
31 Days Ago
Fixed missing antlion guard step sounds Make RemoveDecalsAt distance a float Added description to sv_sticktoground Use squared distances for RemoveDecalsAt internals Disallow Spawn() on world entity Add a confirmation dialog when trying to load a save that would changelevel Change implementation of VMatrix.InvertTR to avoid it crushing itself It's probably a bit slower now, but returns actually correct values VMatrix:GetAngles uses a normalized matrix internally so scale doesn't affect results as much Added ai.GetNodeCount Properly fix the particle related crash, and fix regression
32 Days Ago
cleanups from main Cleanups from main Minor cleanups Fix missing Trails undo message localization Fixed particle related crashes when attached to an entity Pointless nullptr checks for CImage when basically OOM Apply SendSnapshot hack from base game to HLTV Allows full update snapshot to exceed 256KB limit, up to 1MB limit. Also updated some console messages and kick reasons to include more useful data Remove links to dead valve websites, link to VDC (Hammer & tools) Remove 1 more dead link from Hammer Merge KeyValue leak fixes from TF2 SDK Some of them were already fixed Change description of bot_zombie convar Fixed missing antlion guard step sounds Move VPK to Tools group in Visual Studio
33 Days Ago
Fixed compile error due to branch differences
33 Days Ago
Removing some PS3 specific stuff from tier0 Minor cleanups from main Reduce OBS_MODE_DEATHCAM time from 3 seconds to 1 second Added some sanity checks when loading VTF files and possibly running out of memory. Edit Entity window now shows prettier entity name (Community Contribution) string.ToColor micro-optimization (Community Contribution) More strict shader file whitelist (Requiring to be in `shaders/fxc/`) Delete unused CDispInfo.m_pTags Try to provide some useful info to "hit surface has no samples" warning Fixed operator precedence in a certain validity check Minor cleanups Added more checks for invalid values Increase MAX_NODES to 8192 (from 4096) Sanity checks for VTF loading Minor cleanups Fixed some issues with save/load system UniqueID/SteamID consistency for multirun clients UniqueID will still be inconsistent for multirun clients because its based on data clients can't know Only allow sound precache on level transitions/game load Should help with singleplayer players and addons with hundreds of sounds per weapon Apply FCVAR_CHEAT to r_pixelfog
39 Days Ago
Fixed VRAD Lightmap crash due to static props using out of bounds skins Fixed VRAD always forcing verbose to true Fix "must be compiled with $staticprop" error in VRAD too (was VBSP only) Since `-allowdynamicpropsasstatic` is not a thing in VRAD, it will just always allow such props. VBSP controls whether such props are written to the .BSP file, so it should be all good anyway, since VRAD only loads the model list from the BSP.
44 Days Ago
Fix legacy hooks for entity iterators feeding entities to the callback Minor cleanups in gl_util.cpp Merge Pull Requests * Remove duplicate "Black and White" color modify preset (Community Contribution) * Use player.iterator over player.GetAll in some base game functions (Community Contribution)
44 Days Ago
Add some sanity checks for malformed models that could crash the game (to do w/ textures) Improve V49 model support for VRAD static props -allowdynamicpropsasstatic also allows props without $staticprop VRAD static prop lightmaps respects skins (crash fix as well) + sanity checks for model loading Fixed an issue with format strings
44 Days Ago
Minor VPC cleanups More VPC Cleanups
46 Days Ago
Fix GitHub Desktop's fuckup yet again (lights.rad)
46 Days Ago
Minor cleanups from main Draw console notify text above all other panels Remove leftover debug print Added background to cl_pdump cvar run iterator reset just after EntityRemoved, not before Simplify optional argument checking for Entity:AddGesture/RestartGesture/AddGestureSequence Update lights.rad
51 Days Ago
Cleanups from main Cleaning up VPC build scripts
51 Days Ago
Fix failed merge
52 Days Ago
Minor cleanups Minor cleanups from main More cleanups from main Move HTMLPanel related files together Try to make ents/player.Iterator more reliable during OnEntityCreated/EntityRemoved Reset the cache just before the hooks are run, so the cached table would be up to date when ran inside those hooks by addons Implement cubemap seam blending for HDR cubemaps
53 Days Ago
Fixed some compile warnings Added more sanity checks Prop fading changes If prop min fade distance is below 0 (i.e. -1), it will be set to max fade distance if max fade distance is below 500. This avoids props being always transparent in this scenario, even when walking up really close to it. Minor cleanups More cleanups
54 Days Ago
Remove unused c_fire_smoke methods Fixed worldspawn not calling create/remove hooks correctly clientside Should now be consistently calling create AND remove hooks. Fixed clientside ragdolls not calling GM:EntityRemoved
55 Days Ago
Fixed changing video settings always forcing map reload Improve performance of ToGMODPlayer clientside Matches serverside implementation now Optimize player.Get* functions a bit Optimize ents.Get* and ents.Find* functions Remove -preload as well Use safer Entity push function for recent changes to player/ents libs
58 Days Ago
Minor cleanups Bump internal renderData buffer from 64k to 80k Prevent TOGL crashes when encountering debugger break Merge Pull Requests * Minor optimizations to Problems panel, abilty to close it via ESC key or clicking empty space * Numpad library discards bindings to KEY_NONE * Remove tostring call on the argument of player.GetBySteamID64
59 Days Ago
Added more sanity checks Added lua_matproxy_nobindmat & matproxy changes The convar is for testing only (since not all servers have the updated Lua library), Lua mat proxies will reuse the already stored material in Lua for the bind callback, rather than pushing the stored material from C every frame. This prevents thousands of IMaterials being pushed to Lua a second, and should prevent hitching when GC deletes them all in batches.
60 Days Ago
Removing more unused convars cl_burninggibs, r_propsmaxdist cl_first_person_uses_world_model - does nothing mat_max_worldmesh_vertices - no noticeable effect Removing more unused convars showparticlecounts, cl_team, cl_class Remove cl_SetupAllBones It was functional, but seems to be some sort of leftover hack which is disabled by default anyway Removed cl_forcepreload It is gone in newer versions of the engine anyway. It's functionality CAN be replicated via `-preload` launch param for whatever reason. Added player.GetCountConnecting
2 Months Ago
Add some sanity checks
2 Months Ago
Run PlayerBindPress for unbound keys too The binding will be an empty string. This is consistent with the pre-existing behavior of the hook running after running "unbind <key>" even though the key is technically no longer bound. Update misleading message "Can't save unknown type" Update "Field %s is using the wrong FIELD_ type" warning Test for unclosed Lua ISave/IRestore blocks Add internal note about 64bit engine save warning Saverestore Lua lib: Close started block on early return Not sure if this is the correct approach, so also prints an error if it is hit.
2 Months Ago
Do not try to run HTTP requests with invalid URLs Fix OSX not building
2 Months Ago
Update the DebugLuxel with actual vertex color support Speculative improvements for >2GB file support Reject empty or near empty .gma files More improvements to file support for >2GB Fixed crashes with point_worldtext for good
2 Months Ago
Update RPG Launcher model Added a few new sequences to map to view model activities, fixing the muzzle flash when drawing the weapon or when player shoots it Remove game_text debug prints Added Color:Copy method (Community Contribution) Truncate killfeed names to 512 bytes to prevent overflows Lets try registering private animation events as client events too Removing more unused convars mp_autocrosshair, mp_allowspectators, mp_friendlyfire, mp_fadetoblack Removing more unused convars mp_chattime, mp_waitingforplayers_time, mp_waitingforplayers_restart, mp_waitingforplayers_cancel, mp_clan_readyrestart, mp_clan_ready_signal, mp_readyrestart, mp_ready_signal Remove more unused convars mp_forcerespawn, mp_fraglimit
2 Months Ago
Fixed crashes with PCFs using ELEMENT_INDEX_EXTERNAL Affected particle systems will not be able to load. Remove unused convars joy_yawsensitivity_default joy_pitchsensitivity_default option_duck_method_default sv_stickysprint_default Added sql.QueryTyped
2 Months Ago
temporary game_text debug stuff
2 Months Ago
Minor cleanups Fixed crashes to do with particle loading There will be a console warning when an invalid particle is loaded. Invalid particles will be ignored. Fixed UTF-8 characters in console cmd name appearing as ? Fixed crashes with point_worldtext
2 Months Ago
Restore functionality of m_filter Minor cleanups for particles Minor compile warning fixes Minor bootil cleanups, remove bootil's HTTP stuff since we dont use it Minor warning fixes Remove CTakeDamageInfo.m_iDamageStats (unused) When dealing physics stress damage on characters, apply inflictor Will try to set the inflictor/attacker to something more useful than "World". In case of multiple props, it will be the first one. Added commented out Entity.GetConstraintParams it works, but most values are garbage or not that useful, so I am not sure how useful this actually would be. More compile warning fixes
2 Months Ago
Fixed DebugLuxels not accepting vertex color in Hammer More colors for Lightmap Grid in Hammer red for under 8, green for above 63 Fix GetAimVector clientside for non local players in vehicles being wrong
2 Months Ago
Fixed IGModAudioChannel:GetPos returning invalid values sometimes Minor cleanups Fix close caption norepeat not working Fixed regressive crash with close captions gmad compile warning fixes Minor cleanups Added ents.CreateClientRope ents.CreateClientRope( ent1, attachment1, ent2, attachment2, extras ) Extras is an optional table with the following options: * slack = 0 * width = 2 * segments = 8 * material = cable/cable * nogravity = 0
2 Months Ago
Do not force "rate" cvar to 100k on start up Remove archive flag from "rate" cvar It effectively didn't do anything until previous commit, because the value was always reset on start up. Fixed a crash issue with close caption HUD constraint.Motor accepts a bool for "toggle" parameter Very minor changes from CS:GO's framesnapshot stuff
2 Months Ago
Fixed regression to do with PrePlayerDraw Fixed an infinite loop in weapon selection HUD Faceposer uses localized "Other" string Fixed 3D grid not rendering correctly in Hammer Update DebugLuxels shader from HL2 repo
2 Months Ago
Make Linux compile