6,213 Commits over 3,867 Days - 0.07cph!
Probably fix infinite loop in game.cleanupmap
Undo changes to bone_manipulate entity
Appears to be server/client sync dependent
Restore changes to game.cleanupmap, as it should be safe now
Probably fix infinite loop in game.cleanupmap
Undo changes to bone_manipulate entity
Appears to be server/client sync dependent
Fixed bone manipulated entity's render bbox exploding
For some models (probably with procedural bones?), if bone manipulated, the renderbounds can explode drastically due to bones that are "unreadable", negatively affecting shadows as well.
Read kb_act.lst from MOD
Added Entity:Alive
Hammer: Fixed collision model being offset in 3D when dragging
Hammer: Fixed keybinds for 1 & 2 not updating the setting correctly
Do not set thread count to 1 if the CPU has over 32 of them
Limited to 64 now, and is clamped instead of resetting.
Pull Request: Fixed inconsistent margins on language list/start game
Fixed "Toggle" input on triggers improperly toggling the entity
It was not actually setting the enabled state, only making it non interactable.
Now properly sets the enabled state, just like Enable/Disable inputs do
Geiger counter only reacts to enabled trigger_hurts
Try disabling changes to game.cleanupmap
Fixed some compile warnings
Merged Pull Request: New Color methods
* Added Lua implementations of HSVToColor & HSLToColor for higher performance and ensuring it has the color meta table
* Added HWBToColor
* Added COLOR:ToHWB()
* Added COLOR:GetHue, SetHue, AddHue
* Added COLOR:GetSaturation, SetSaturation, AddSaturation
* Added COLOR:GetBrightness, SetBrightness, AddBrightness
* Added COLOR;GetLightness, SetLightness, AddLightness
* Added COLOR:GetWhiteness, SetWhiteness, AddWhiteness
* Added COLOR:GetBlackness, SetBlackness, AddBlackness
Remove math.IsNearlyZero as it is just too similar to math.IsNearlyEqual
Fix compile error on linux
Update GHA script
Update x86-64 script too
VRAD: Only show "Warning! Invalid model version" with verbose flag
Also expand the warning to show the versions
Fixed crash when ents.CreateClientProp is given an empty string
Do not complain if gmod_uncache_test doesn't exist (srcds)
Change Hitbox 7 color from white to orange
Fixed NPC icons in spawnmenu search not having default weapons set
COLOR:SetUnpacked type checks its inputs
Remove IMaterial:GetColor override hack as it is no longer needed
Improve type errors thrown from Lua
Makes it so that the error() call does not override current execution position, so error points to the faulting file, not the base game file at the top level.
Remove RegisterMetaTable and vgui.GetAll polyfill hacks
Hammer: Update Lighting Origin to mention info_target, not info_lighting
Search for shaders in BSP if none were found in MOD
Fixed logic_collision_pair not calling base UpdateOnRemove
(and a few other entities as well)
Added "shaders/*.vcs" to BSP whitelist
Empty Entity.Constraints table on constraint removal
Fixes for `tanktrain_ai`
* Fixed sound playback and updated default sounds to existing files
* Added "Chase Target" key value
* Added missing input to the FGD
* Fixed movement
* !player target will update to the closest player before every move
* Change update rate while moving to 0.1s (from 0.5)
Fix strider stomp attack creating invisible ragdoll with Keep Ragdolls
Added an ever increasing counter to poster file names
Updated C_RPG.MDL to use correct muzzle flash event
This fixes a warning that would print when the RPG is fired
Allow closecaptions in multiplayer with the cvar set to 1
This means that it will just work in local MP (for the host), on srcds closecaption_mp controls the behavior (defaults to off)
Added `viewid` to render.GetViewSetup
Fixed a server crash exploit to do with malicious packets
Added "DoImpactEffect" for `ai` and `nextbot` SENTs
Added model scale preview to Hammer
Fixed a typo in hl2 fgd
Update Portal turret relationships to certain NPCs
Antlions fear them now, and it hates combine hunters and gunships
Fixed Portal Rocket Turrent not updating its facing angles when no target
game.CleanUpMap deletes C_Hairball
Merge Pull Requests
* Fix indentation of the gamemode list items
* make file.Write and file.Append return success of file.Open used internally
Fixed bone manipulations being changed on level transition
Fixed camera entity losing its keybinds on level transition
Fix merge errors
Expand "Map %s is missing" disconnect in the other place too
It wasn't displaying the info about cl_downloadfilter.
Display HTTP error when FastDL fails and its not a 404
Fixed the game not downloading maps if bz2 version exists locally
Unify how ITex/IMat:GetColor pushes color to Lua
Merged Pull Requests
* Do not display effect rings with Gravity Gun equipped
* Update jQuery and reduce reliance on it in main menu, as well as lazy load images
* Added math.IsNearlyZero and math.IsNearlyEqual
Do not crash with "bad inline model number", show a warning
Pull Request: Replacing CPanel:AddControl calls from Sandbox
Pull Request: Do not penalize full servers in the ranking
Since we now have a way to queue to join the server if its full it makes even less sense to penalize them.
Pull Request: Micro optimization for ents.FindByClassAndParent
Increase MAX_MAP_BRUSHES from
16384 to
665535
Updated FGD files
Remove redundant category from npc_tf2_ghost
Minor cleanups
Fixed Entity.DoNotDuplicate not affecting saves properly
Do not save singleplayer tool ghost in saves
Restore CameraProp's keybinds on level transition
This really needs to be done for all tool entities
Update x86-64 script too
Update FGDs to include gmod specific additions
rollermine spawnflag, beam_spotlight SetColor
Prevent singleplayer tool ghost from saving in saves as a prop
gmsave.SaveMap now respects Entity.DoNotDuplicate fully
Update gmod.code-workspace
Merged Pull Requests
* Use render.PushRenderTarget instead of render.Get/SetRenderTarget
* Main menu news panel now has rounded corners
* Added ability to copy sandbox tool class names via right clicking
Pull Request - Improve skypaint matproxy performance
Added "starlayers" to env_skypaint in the FGD
Also mention the skybox texture name requirement in the description.
Enable sv_parallel_sendsnapshot by default.
Display a warning when async file read operation tries to read OOB
Prevent .ani files from loading if they would crash the game
i.e. if the .ani file does not match the model it supposedly is for
Remove debug code from C_BaseFlex::SetupWeights
CTriggerWateryDeath applies correct inflictor/attacker
Damage scaling based on skill convar only happens from NPC damage in GMod
Merge Pull Request
More spawnmenu localizations
Remove redundant category for npc_tf2_ghost
Merge Pull Reqeust
Use an already existing local variable in toolgun HUD, instead of re-retrieving mode
Added CTakeDamageInfo:Set/GetWeapon()
FireBullets sets the inflictor to the weapon firing the bullets for HL2 weps
Base weapons SetWeapon on CTakeDamageInfo
Also set correct inflictor where necessary, such as NPCs shooting weapons
More corrections for damageinfo weapon/inflictor
HL1 weapon inflictors/weapons
Restored "JellyFish" shader
Fixed bone manipulations being changed on level transition
Fixed camera entity losing its keybinds on level transition
Update .fgd files
Fix NPCs in spawnmenu search not having their weapons set
Color:SetUnpacked type checking
Improve stack traces for existing error() calls
Remove NULLs from Entity.Constraints
Added debug.getregistry & IMaterial:GetColor implementations
Update garrysmod_english.txt
Added "DoImpactEffect" for `ai` and `nextbot` SENTs
Added model scale preview to Hammer
Fixed a typo in hl2 fgd
Update Portal turret relationships to certain NPCs
Antlions fear them now, and it hates combine hunters and gunships
Fixed Portal Rocket Turrent not updating its facing angles when no target
game.CleanUpMap deletes C_Hairball
Merge Pull Requests
* Fix indentation of the gamemode list items
* make file.Write and file.Append return success of file.Open used internally
Update screenspace_general shader with some CS:GO features
Removes $X360APPCHOOSER (Use $VertexColor)
Adds $VERTEXSHADER
Added most CS:GO params except for C4* and C5* params
Added `viewid` to render.GetViewSetup
Fixed a server crash exploit to do with malicious packets
Fix strider stomp attack creating invisible ragdoll with Keep Ragdolls
Added an ever increasing counter to poster file names
Updated C_RPG.MDL to use correct muzzle flash event
This fixes a warning that would print when the RPG is fired
Allow closecaptions in multiplayer with the cvar set to 1
This means that it will just work in local MP (for the host), on srcds closecaption_mp controls the behavior (defaults to off)
Search for shaders in BSP if none were found in MOD
Fixed logic_collision_pair not calling base UpdateOnRemove
(and a few other entities as well)
Added "shaders/*.vcs" to BSP whitelist
Empty Entity.Constraints table on constraint removal
Fixes for `tanktrain_ai`
* Fixed sound playback and updated default sounds to existing files
* Added "Chase Target" key value
* Added missing input to the FGD
* Fixed movement
* !player target will update to the closest player before every move
* Change update rate while moving to 0.1s (from 0.5)
VRAD: Only show "Warning! Invalid model version" with verbose flag
Also expand the warning to show the versions
Fixed crash when ents.CreateClientProp is given an empty string
Do not complain if gmod_uncache_test doesn't exist (srcds)
Change Hitbox 7 color from white to orange
Fixed NPC icons in spawnmenu search not having default weapons set
COLOR:SetUnpacked type checks its inputs
Remove IMaterial:GetColor override hack as it is no longer needed
Improve type errors thrown from Lua
Makes it so that the error() call does not override current execution position, so error points to the faulting file, not the base game file at the top level.
Remove RegisterMetaTable and vgui.GetAll polyfill hacks
Hammer: Update Lighting Origin to mention info_target, not info_lighting
Fix gamemode settings being missing in main menu
Fix gamemode settings being missing in main menu
Reflect changes to engine.WriteSave
Remove useless arguments in spawnmenu/contextmenu internals
DAdjustableModelPanel "fix" for when main menu is open
Player Model Selector button in spawn menu
Update net.lua
Added missing hlfaceposer.exe icons
Fixed a crash in HLFaceposer.exe when opening file lists
Fixed HLFaceposer.exe crash due to missing phoneme extractors
Add phoneextractor sources
They build fine, don't work unfortunately due to Windows API
Rename "playermodel_selector" to "open_playermodel_selector"
So that one workshop mod doesn't freeze the game
Ship the gfx folder in the correct depot, sigh
Ship the gfx folder in the correct depot, sigh
Rename "playermodel_selector" to "open_playermodel_selector"
So that one workshop mod doesn't freeze the game
Added missing hlfaceposer.exe icons
Fixed a crash in HLFaceposer.exe when opening file lists
Fixed HLFaceposer.exe crash due to missing phoneme extractors
Add phoneextractor sources
They build fine, don't work unfortunately due to Windows API
Actually ship HLFaceposer images
Remove cl_threaded_client_leaf_system
It was disabled in 2016.
Do not break Lua created hidden/unregistered convars
Remove cl_threaded_client_leaf_system
It was disabled in 2016.
Do not break Lua created hidden/unregistered convars
Fix branch specific compile error
Fix compile error
I forgot to press CTRL+S when last minute renaming
Fix compile error
I forgot to press CTRL+S when last minute renaming
hl2.exe => gmod.exe in factory reset bat
Put MAX_EDICT_BITS local in net.lua back, as without it stuff might break
due to version inconsistency
engine.CloseServer now returns true if quit command was issued
Fixed crashes with func_tank
Handle DAdjustableModelPanel when main menu is open
Added a Player Model Selector button to spawnmenu
The context menu widget stuff is too hidden
Make Hammer use gmod.exe when generating GameConfig.txt
Remove last 3 parameters of engine.WriteSave
Hide mat_surfaceid and vgui_drawtree_panelptr
Fixed player ragdoll forces always being applied to center
Now applies forces to the physics object that was shot.
Added timedemo and related convars/concmds to blocked list
Add a hack to ensure engine.CloseServer works from start up
Fixed a crash with ConVarExists
Minor micro optimization in VRAD
Added MAX_EDICT_BITS global enum
Updated Run Map dialog in Hammer
https://files.facepunch.com/rubat/2024/December11-872-GenerousSkimmer.png
Added NPC:GetLastPosition
Added NPC:SetMoveDelay/GetMoveDelay
Added physenv.Set/GetPhysicsPaused
Added NPC:TranslateNavGoal
Added sound.SetActorGender( model, gender )
This allows for things like soundscripts to be gender neutral for less code, and enables citizen reskins to use correct voice lines.
WARNING: the gender is stored by filename only internally, not by full model path!
Remove commedit.dll from sdktools
hl2.exe => gmod.exe in factory reset bat
Put MAX_EDICT_BITS local in net.lua back, as without it stuff might break
due to version inconsistency
Added physenv.Set/GetPhysicsPaused
Added NPC:TranslateNavGoal
Added sound.SetActorGender( model, gender )
This allows for things like soundscripts to be gender neutral for less code, and enables citizen reskins to use correct voice lines.
WARNING: the gender is stored by filename only internally, not by full model path!
Delete unused resource/chromium/ folder
Remove non existent commedit.dll from sdkenginetools.txt
Minor micro optimization in VRAD
Added MAX_EDICT_BITS global enum
Updated Run Map dialog in Hammer
https://files.facepunch.com/rubat/2024/December11-872-GenerousSkimmer.png
Added NPC:GetLastPosition
Added NPC:SetMoveDelay/GetMoveDelay
Fixed a crash with ConVarExists
Remove last 3 parameters of engine.WriteSave
Hide mat_surfaceid and vgui_drawtree_panelptr
Fixed player ragdoll forces always being applied to center
Now applies forces to the physics object that was shot.
Added timedemo and related convars/concmds to blocked list
Add a hack to ensure engine.CloseServer works from start up
Make Hammer use gmod.exe when generating GameConfig.txt
engine.CloseServer now returns true if quit command was issued
Fixed crashes with func_tank
Handle DAdjustableModelPanel when main menu is open
Added a Player Model Selector button to spawnmenu
The context menu widget stuff is too hidden
Rename hl2.exe to gmod.exe when building the game
hl2.exe no longer used.
Rename hl2.exe to gmod.exe when building the game
hl2.exe no longer used.
Fixed .gma whitelist being different between game/gmad
Make flex controller names case insensitive again
Optimizations for weapon autorefresh in spawnmenu
Fixed crashes to do with NPC:TaskFail
Fix weapon spawnmenu autorefresh adding icons to nil parent
Remove Ep1, Ep2 and Lost Coast mounting
All of those are now part of the Half-Life 2 mounting option
Stop shipping Commentary Editor for -tools
Fix BRANCH being set to `prerelease` on NONE beta clients
Delete cl_soundfile
Unused, no reason to keep it.
Fix r_lightcache_zbuffercache 1 crashing if set after map load
Disallow sending voice packets unless fully connected
Try to mitigate server reconnect spam
Also reset owner SteamID in more places
Update .gitignore & build related things
Build Linux game with Steam Runtime
More minor cleanups
Fixed being disconnected from sv_lan servers due to recent changes
Added sv_quota_stringcmd_kick
Fixed crashes wiith CTriggerWind when loading a save
Fixed Lua error with DTree node having 0 child elements
Fix "Invalid string command" false positive