6,127 Commits over 3,806 Days - 0.07cph!
Iterate over Server Browser Last Played marker
Also localize the string
Disable 24BPP optimization for .png/jpeg loader
This may or may not be causing issues for random players sometimes maybe?!?!?! when joining servers
Delete -vpfix from studiomdl.exe
Has unwanted sideeffects
StudioMDL: Fix models with more than 65k vertices breaking up
Merged some changes from CS:GO's studiomdl
Add support for BONE_HAS_SAVEFRAME_ROT32
Fixed animations from newer mdl versions not playing in GMod
Move default console position to the left a bit
So it does not obstruct certain UI elements by default
Fix "nav_blocked" event not being registered
+1 the month in the server browser last played
Server browser: Added last played date display
Addon Preset search box
360 controller configs have more reasonable binds
Move gmod specific language strings from gameui_english
To garrysmod_english
Localization string for main menu blocked message
Minor changes
Fixed Lua errors when duplication limits are hit
Change how custom spawnpoints are added to GMod
So its not 27 duplicated .lua files
FF & NeoTokyo spawnpoints + Map Category (Community Contribution)
Rework how spawnpoint entities are added in base gamemode
One file now, not 25 duplicated files.
Minor code cleanups
Linux: Do not ExecuteToPriority if there are no jobs
This addresses slowdowns on Linux (srcds?) to do with the filesystem
garrysmod-issues/issues/5932
TTT: fix ragdoll not being created if ttt_dyingshot is on
Community contribution
Adjust how we disable self-unblocking for Lua-blocked navmeshes
Adds NAV_MESH_BLOCKED_LUA
Navmesh auto-blocking checks now run on map start/cleanup
Makes certain code that was meant to run on map cleanup to actually run now.
Also updates blocked status of nav areas on map load
More sensible defaults for 360 controller bindings
$eyeposition and $illumposition are now affected by $scale
Block gui/input.SetCursorPos while main menu is open
Fixed regression with nav_update_blocked concommand
Make gui.HideGameUI work more like the hook
Instead of disabling the function entirely, holding shift would disable its functionality, and it displays a message on how to bypass it, if it blocks the main menu one too many times.
Temporarily disable 24BPP optimization for .png/.jpeg loader
Fixed regression with nav_update_blocked concommand
Make gui.HideGameUI work more like the hook
Instead of disabling the function entirely, holding shift would disable its functionality, and it displays a message on how to bypass it, if it blocks the main menu one too many times.
More sensible defaults for 360 controller bindings
$eyeposition and $illumposition are now affected by $scale
Block gui/input.SetCursorPos while main menu is open
Disable gui.HideGameUI, block cancelselect
VRAD: -dumppropmaps also dumps the lightmaps as .pfm
Also dump files to /sp_lightmaps/ instead of base dir
Don't display alpha channel for non alpha formats (RGB888, etc)
This is for mat_texture_list 1
Use non alpha format for images without alpha (.png/.jpeg loader)
This should hopefully save some memory
Resave Post Processing icons to not have alpha channel
Since they don't use alpha anyway
Fixed duplicated constraints making Lua errors sometimes
Resolve memory alignment issues with 24bit images (.pngs, etc.)
TF2 new map icons/category + adjust some dark ones
Also fill the texture with white color if freeimage fails
This is for .png image loading
Adjust VRAD's -dumppropmaps TGA output to be correct
Adjust the tga texture to be representative of what is written to PPL files, fixing out of color range texture bugs.
Restore gui.HideGameUI for menu state
VRAD displays lighting mode in the log (HDR vs SDR)
VRAD static prop lighting HDR related changes
Only output .tga files for LDR compiles
Only output .pfm files for HDR compiles
Compile HDR .ppl files, without overwriting the LDR ones
Swap-in HDR static prop lightmaps when HDR lighting is in use
Fixed impaled NPCs not appearing in the kill feed
Pull requests
* Prevent certain addons creating Lua errors after new changes to do with Lua auto refresh handling in the spawnmenu
* Added missing localization string for German langauge in TTT
* Reduced net.WritePlayer bitcount based on server's maxplayers
Added sv_max_userinfo_rate
This is aimed at preventing malicious clients eating server CPU. It is unlikely server owners would need to touch this cvar, but just in case its there.
More strict application of GMODSandbox GDClass in Hammer
So `point_spotlight` doesn't have useless keyvalues on it.
Added "Last played date" for each server in the server browser
Replace usage of "devshots_screenshot" with "screenshot"
Add "killserver" to concommand blacklist
Correct UTF8<->UTF16 conversion for close caption function & hook
Try to resolve issues caused by sv_max_userinfo_rate for extreme cases
gmad.exe - do not pause when launched through existing cmd.exe (Partially Community Contrib)
Make "force open main menu" warning an informational one (Community Contrib)
Also make it use a localization string
RPG entering water does not slow down
Also if the RPG missile somehow reaches speed close to 0, explode (before required exactly zero)
Don't display "Vehicle X has invalid wheel attachment" for airboat
Use localization strings for Legal tab in Options
Also moved all gmod-specific strings to garrysmod_english.txt, from gameui_english.txt
Code cleanup
Refine sv_max_userinfo_rate further
Hopefully this fixes issues on map load
"Start Disabled" spawnflag for env_projectedtexture
The "Enabled" spawnflag makes no sense as the entity is always enabled on creation across all SourceSDK2013 games according to the source code.
Restore missing options in env_projectedtexture in Hammer
Also rearranged useful options to the top, added browse texture button to the texture keyvalue
env_projectedtexture Toggle input
Added ProjectedTexture:Get/SetNoCull()
Mount folder addons before Workshop system
Filter for preset list
https://files.facepunch.com/rubat/2024/October10-647-CheeryLunamoth.gif
Called GM:PlayerAuthed outside of player prediction (so curtime is valid)
Effectively makes the hook run a bit sooner within the same frame/tick it used to.
Fixed Player:UniqueID returning nothing before InitSpawn
Fallback to garrysmod.ver for when Steam is not available to get BRANCH
Pull requests
* Prevent certain addons creating Lua errors after new changes to do with Lua auto refresh handling in the spawnmenu
* Added missing localization string for German langauge in TTT
* Reduced net.WritePlayer bitcount based on server's maxplayers
Restore gui.HideGameUI for menu state
VRAD displays lighting mode in the log (HDR vs SDR)
VRAD static prop lighting HDR related changes
Only output .tga files for LDR compiles
Only output .pfm files for HDR compiles
Compile HDR .ppl files, without overwriting the LDR ones
Swap-in HDR static prop lightmaps when HDR lighting is in use
Fixed impaled NPCs not appearing in the kill feed
TF2 new map icons/category + adjust some dark ones
Also fill the texture with white color if freeimage fails
This is for .png image loading
Adjust VRAD's -dumppropmaps TGA output to be correct
Adjust the tga texture to be representative of what is written to PPL files, fixing out of color range texture bugs.
Fixed duplicated constraints making Lua errors sometimes
Resolve memory alignment issues with 24bit images (.pngs, etc.)
Filter for preset list
https://files.facepunch.com/rubat/2024/October10-647-CheeryLunamoth.gif
Called GM:PlayerAuthed outside of player prediction (so curtime is valid)
Effectively makes the hook run a bit sooner within the same frame/tick it used to.
Fixed Player:UniqueID returning nothing before InitSpawn
Fallback to garrysmod.ver for when Steam is not available to get BRANCH
Disable gui.HideGameUI, block cancelselect
VRAD: -dumppropmaps also dumps the lightmaps as .pfm
Also dump files to /sp_lightmaps/ instead of base dir
Don't display alpha channel for non alpha formats (RGB888, etc)
This is for mat_texture_list 1
Use non alpha format for images without alpha (.png/.jpeg loader)
This should hopefully save some memory
Resave Post Processing icons to not have alpha channel
Since they don't use alpha anyway
Bump `cvarlist` buffers from 128 to 1024
Use the #classname for Sandbox editors and Bouncy BALL
Localize stuff added by game_hl2.lua (Partially Community Contribution)
Fixed a crash to do with teleporting constrained entities
Removed unused variables in Problems panels
Pull Requests
* Use localization strings for GMod-specific keyboard settings
* TTT: Updated Turkish localization
* Use 4 number overload of surface.SetDrawColor in base game for performance
Tooltips for vehicles in spawnmenu akin to those for SWEPs, SENTs
Resistance turrets only set the 2 valid skins (was trying to use 4)
Localize NPC and Vehicle spawnmenu tab entries
Added Resistance Turrets to spawnmenu if Episode 2 is mounted
Adjust "Prison Guard" localization strings
Also remove unintentional changes
Fixed wrong translation string used in recent changes (oopsie)
Fixed a few more potential crashing issues
Fix a lag issue to do with spamming certain packets to the server from client
Merged ghostanim.mdl and blackout.mdl
Instead of doing a hack for Episode 1, just merge all these models from all the half-life 2 games, and including portal 1
Episodic Poison Zombie model with fixed animation events
Advisor episodic model hack
The models are too different to be merged, so we swap the ep2 one in, on spawn
Episodic combine_intmonitor props with extra skin
gmad.exe allows .vtx files again
Try writing current git branch to garrysmod.ver
Added color input/kv for `func_water_analog`
Episodic headcrab models
They have ceiling animations for ep1 + lamarr merged model
Fix missing Ladder.WoodStepRight/Left soundscripts (ep2)
Merged gman model
Remove missing skins from certain PHX props
concrete_barrier00.mdl
concrete_barrier01.mdl
box_torpedo.mdl
box_amraam.mdl
Minor code cleanup
Jalopy model with adjusted correct suspension travel
func_smokevolume removes particles when dormant
Always enable loading screen for the `map` concommand
Mount floating .GMA files before fetching info about subscriptions
So they load in time if launching the game with +map
Don't try to enable loading screen on linux srcds (compile fix)
Restore some more HL2-specific gamerules behaviors
sk_plr_health_drop_time
sk_plr_grenade_drop_time
sv_robust_explosions
Entities that block radius damage, don't block it on themselves
Do not hide servers with OOB data, clamp the data
Do not hide the server from master server if sv_lan is 1
This causes LAN servers to be invisible to the LAN tab in the server browser, which is a regression.
Mention `hide_server` convar in sv_lan's description.
Fixed a Linux crash with sv_showlagcompensation (hopefully, most likely)
Fixed Entity:ManipulateBoneJiggle type `2` non functioning
Mention valid sample rates in "Invalid sample rate X for sound Y" warning
Unblock 'mp_flashlight' in menu state
Autorefresh weapons in spawnmenu
Changing weapon info (including adding a new weapon) will update the weapon in spawnmenu automatically.
Remove respawn_entities concommand
We have gmod_admin_cleanup
Pull Requests
Fixed Lua error in TTT introduced by a previous PR
Improved TTT's Spanish localization
Micro optimization for GWEN.CreateTextureBorder and related functions
Only drop physics gun held props from Lua
Episodic models for Combine Dropship and Mossman
They should contain all animations for all 3 games.
Mount folder addons before Workshop system
Refine sv_max_userinfo_rate further
Hopefully this fixes issues on map load
"Start Disabled" spawnflag for env_projectedtexture
The "Enabled" spawnflag makes no sense as the entity is always enabled on creation across all SourceSDK2013 games according to the source code.
Restore missing options in env_projectedtexture in Hammer
Also rearranged useful options to the top, added browse texture button to the texture keyvalue
env_projectedtexture Toggle input
Added ProjectedTexture:Get/SetNoCull()
Reduce saverestore buffer to 12M to match x86-64
Don't display "Vehicle X has invalid wheel attachment" for airboat
Use localization strings for Legal tab in Options
Also moved all gmod-specific strings to garrysmod_english.txt, from gameui_english.txt
Code cleanup
Display a message when force exiting due to OOM issue
Update .gitignore
Reduce .sav buffer down to 12M (from16) to fix a crash
gmad.exe - do not pause when launched through existing cmd.exe (Partially Community Contrib)
Make "force open main menu" warning an informational one (Community Contrib)
Also make it use a localization string
RPG entering water does not slow down
Also if the RPG missile somehow reaches speed close to 0, explode (before required exactly zero)
Do not pause if launched through existing cmd.exe
See comment
@ gmad/commit/fe2c1d9e0eb2a8383b15aeb2c94bd5558356be96
Player:StripWeapons drops weapons before removing them
This mimics behavior of Player:StripWeapon()
Added massCenterOveride for certain physics init functions
PhysicsInit
PhysicsInitMultiConvex
PhysicsInitConvex
PhysicsFromMesh
PhysicsInitBox
PhysModelCreateBox doesnt reset solid parameters
Groundwork for PE changes
Particle browser with previews for Particle Editor
https://files.facepunch.com/rubat/2024/September16-554-RoughAsiansmallclawedotter.png
Case sensitive include (Linux compile fix)
Added hide_server cvar, sv_lan 1 will hide the server too
Load particle editor first in -tools mode
Fixed non left clicks in particle previews breaking the controls
Prevent errors about missing materials in particle editor
Improved particle properties panel
https://files.facepunch.com/rubat/2024/September17-559-BestAnt.png
Improve tools scrollbar styling
Fixed a typo in the name of NPC:SetIdealSequence
Fixed ENT:GetPreferredCarryAngles for `ai` ents not being called
Added "use local space" to "Position Within Box Random" particle init
Replace missing .png/.jpg image data with white color
This would happen when a Material()'d .png file goes missing. It used to be undefined behavior.
Apply the fix for Panel.Exec on SetHTML'd panels
This is probably wasn't affecting this branch, but still match the code
Run render.UpdateRefractTexture during halo rendering
Fixes garrysmod-issues/issues/6000
Delete constraints.lua
Unused file
Added sbox_maxconstraints and sbox_maxropeconstraints
Both default at 1000, sbox_maxconstraints is for non rope constraints only, not ALL of them.
Nocollide is considered a non rope constraint now for the sake of limits.
Also fixed a bug where duplicated constraints would not be able to be cleaned up via Utilities > Admin or User Cleanup
player.CreateNextBot sets the bot name by player_activate event
Fixes for HL1 barnacle
Added SetTarget1-4 to logic_choreographed_scene/scene_entity
Pull Request: Search bar in icon editor + copy to clipboard
Pull Request: TTT traitor button fixes
Fixed CNPC_ControllerZapBall not doing damage
Consistent returns from Sandbox tool Make* functions
Minor clean ups in constraint library
Bump max save game size to 16M (from 3)
This is Source's save system, for level transitions
Implement GetPreferredCarryAngles for `ai` type SENTs
Disable -nulldevice
Added NPC:SetIdealSequence
Fix undoing nocollide constraint not restoring collisions
Adds `disable_on_remove` keyvalue to `logic_collision_pair`
Adds 5th argument to constraint.Nocollide - disableOnRemove
Fixed duplicated nocollides not being cleaned up via No-Collides cleanup option
Merged Pull Requests
TTT: Minor updates to Turkish translations
Optimized SortedPairs further
Added properties.Remove( name )
Added surface.GetPanelPaintState
returns a table with the following keys:
* translate_x
* translate_y
* scissor_left
* scissor_top
* scissor_right
* scissor_bottom
* scissor_enabled
Replace usage of "devshots_screenshot" with "screenshot"
Add "killserver" to concommand blacklist
Correct UTF8<->UTF16 conversion for close caption function & hook
Try to resolve issues caused by sv_max_userinfo_rate for extreme cases
Added sv_max_userinfo_rate
This is aimed at preventing malicious clients eating server CPU. It is unlikely server owners would need to touch this cvar, but just in case its there.
More strict application of GMODSandbox GDClass in Hammer
So `point_spotlight` doesn't have useless keyvalues on it.
Added "Last played date" for each server in the server browser
Rollback game.CleanUpMap removing tempents and beams
Apparently crashes on x86-64 somehow, sometimes, for some people
Fixed a few more potential crashing issues
Fix a lag issue to do with spamming certain packets to the server from client
Fixed Panel.Exec not working on SetHTML'd HTML panels
Fixed using wrong translation string in previous commits
Fixed wrong translation string used in recent changes (oopsie)
Localization for NPC and Vehicle tabs
Closes garrysmod/pull/2122
Co-Authored-By: Tora <49911006+NovaDiablox@users.noreply.github.com>
Added Resistance Turret to spawnmenu
Tooltips for Vehicles tab in spawnmenu
Lack of these was hiding why the "Car Seat 1 2 3" existed from the players.
Fixed a crash to do with teleporting constrained entities
Removed unused variables in Problems panels
Pull Requests
* Use localization strings for GMod-specific keyboard settings
* TTT: Updated Turkish localization
* Use 4 number overload of surface.SetDrawColor in base game for performance
Tooltips for vehicles in spawnmenu akin to those for SWEPs, SENTs
Resistance turrets only set the 2 valid skins (was trying to use 4)
Localize NPC and Vehicle spawnmenu tab entries
Added Resistance Turrets to spawnmenu if Episode 2 is mounted
Adjust "Prison Guard" localization strings
Also remove unintentional changes
Use localized entity names for bouncy ball, sandbox editor entities
Removed unused variables in Problems panels
Removed duplicates in localization files
Fixed missing wooden ladder footsteps
Jalopy wheel size change for new model
So the visuals match with the physics better
Create .editorconfig
Lets try and see if this does anything useful
Use the #classname for Sandbox editors and Bouncy BALL
Localize stuff added by game_hl2.lua (Partially Community Contribution)
Jalopy model with adjusted correct suspension travel
Bump `cvarlist` buffers from 128 to 1024
Added color input/kv for `func_water_analog`
Episodic headcrab models
They have ceiling animations for ep1 + lamarr merged model
Fix missing Ladder.WoodStepRight/Left soundscripts (ep2)
Merged gman model
Remove missing skins from certain PHX props
concrete_barrier00.mdl
concrete_barrier01.mdl
box_torpedo.mdl
box_amraam.mdl
Minor code cleanup
Episodic combine_intmonitor props with extra skin
gmad.exe allows .vtx files again
Try writing current git branch to garrysmod.ver
Updated the whitelist to allow .vtx files again, while restricting .sw.vtx still
Pause on error for Win32
Because people on Windows just can't comprehend what a command line utility is
Give titles to windows build scripts, so I know what's running
Merged ghostanim.mdl and blackout.mdl
Instead of doing a hack for Episode 1, just merge all these models from all the half-life 2 games, and including portal 1
Episodic Poison Zombie model with fixed animation events
Advisor episodic model hack
The models are too different to be merged, so we swap the ep2 one in, on spawn
Apply Panel:SetHTML/RunJavascript restrictions from main branch
Try rolling back changes to `game.CleanUpMap`
Episodic models for Combine Dropship and Mossman
They should contain all animations for all 3 games.
Only drop physics gun held props from Lua
Implemented DTree:GetText
Minor cleanups for Sandbox world hints rendering
Consistent return types from Sandbox tool Make* functions
Constraint library clean ups
Nocollide undo fix for Sandbox
SWEPs autorefresh for spawnmenu
garrysmod-requests/issues/2475
Minor cleanups
Pull Requests
Fixed Lua error in TTT introduced by a previous PR
Improved TTT's Spanish localization
Micro optimization for GWEN.CreateTextureBorder and related functions
Unblock 'mp_flashlight' in menu state
Autorefresh weapons in spawnmenu
Changing weapon info (including adding a new weapon) will update the weapon in spawnmenu automatically.
Remove respawn_entities concommand
We have gmod_admin_cleanup