branchgarrysmod.main/x86-64cancel
557 Commits over 823 Days - 0.03cph!
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
Apply Panel:SetHTML/RunJavascript restrictions from main branch
Try rolling back changes to `game.CleanUpMap`
Fixed DropEntityIfHeld affecting all players holding anything
Implements `CHL2_Player::ForceDropOfCarriedPhysObjects`'s argument to actually work
Also now affects Physics Gun, for consistency with other such functions.
it is now an alias of `Entity:ForcePlayerDrop()`, and is deprecated in favor of it.
Fixed Close Caption HUD being disabled by sethudvisibility input
Update .gitignore
Fix MatSelect erroring on select if not given a convar
Added MatSelect.OnSelect and OnRightClick
Improvements to PropSelect to match MatSelect
Implement Panel:Clear
Added OnSelect hook
Added OnRightClick hook
Fixed errors when not given a convar
Added FindModelByValue
Added SelectModel
Fixed Lua errors when loading a save that had tools that no longer exist
Pull Request: game icons in game list in main menu
Updated HL1MP icon to match its Steam icon
Display the command that is not bound in Hints, when no key is bound for it
Pull Request: "SAM" support for TTT bans
Update .gitignore
Pull Request: util.Timer additions
TIMER:Start() default first argument to 0
Added TIMER:GetElaspedTime()
game.CleanUpMap() clientside now clears beams and temp ents
Fix VBSP being unable to find sub instances in subfolders
Prevent crashes with wireframe model rendering and high vert models
Particle system changes
Added:
Set child control points from particle positions - set orientation
Set control points from particle positions
Set per child control point from particle position
Remap Distance Between Two Control Points to Scalar - output is scalar of current value
Remap Distance Between Two Control Points to CP
Remap Percentage Between Two Control Points to Scalar
Remap Percentage Between Two Control Points to Vector
Set Control Point To Player - Use Eye Orientation
Set CP Offset to CP Percentage Between Two Control Points
Cull when crossing sphere
Fix some compile warnings (Hammer)
Ported even more particle operators from CS:GO
C_OP_SetControlPointToImpactPoint
C_OP_RemapSpeed
C_OP_RemapCPtoVector
C_OP_RemapBoundingVolumetoCP
C_OP_RemapVelocityToVector
C_OP_RemapCPVelocityToVector
C_OP_RemapAverageScalarValuetoCP
C_OP_RampScalarLinear
C_OP_RampScalarSpline
C_OP_RampScalarSplineSimple
C_OP_RampScalarLinearSimple
C_OP_NormalLock
C_OP_SetControlPointRotation
C_OP_SetCPOrientationToDirection
C_OP_LerpVector
C_OP_LerpScalar
More csgo particle operators
C_OP_RemapControlPointDirectionToVector
C_OP_NormalizeVector
C_OP_RotateVector
C_OP_ClampScalar
C_OP_ClampVector
C_OP_InheritFromParentParticles
New CS:GO particle initializers
C_INIT_OffsetVectorToVector
C_INIT_RemapSpeedToScalar
C_INIT_NormalAlignToCP
C_INIT_NormalOffset
C_INIT_SequenceFromCP
C_INIT_InheritFromParentParticles
C_INIT_RemapInitialDirectionToCPToVector
C_INIT_RemapInitialCPDirectionToRotation
implement particlefield_rotation selector for PET
Fix thread pool on linux srcds betterer hopefullier
▍▇▇▋▌█ .▆▊▍▆▍▄▅▇▅
▍▌▇▆▍▌ .▋▆▍▋▇█▄▍▇
▊▌▄▉▊▊ ▋▇▄▋▌▇█▍▄▋ ▊▉▉▌▆ ▅▆ ▍▊▆▅ █▍█ ▄▅▊▉▊▄▄▊▊ ▉▆▉▆█▅▉▇▇▍
▍▋▌█▅ ▅█▊ ▄▍██▆ ▇▉▋▊▋ ▌▆▍▋ ▄▍▄▉ ▋▌▌ ▌▄▌▋▉▍▋▅
▊▉█▆█▍▊, ▅▄▍▅▋▊ █▌█ ▅▄▆▋ ▍█▉▇▉▌ ▆▌▉▋▋█ ▌▉▍▅ █▄█▋▇▋▄ ▊
▊▅▅▇ ▆█▊█ ▊▍▆▆▍▄▊ ▊▊▌▊▇▅▋▌▅█ ▊▍▄▉ ▉▇ ▆█▍▊█▊▍▉, ▅▄▇ ▋▌▆▋▅▇ █▌ ▄▉ ▅▋█▍▇▄▌▊█ ▉▍▅▊▄▌▄█▆▍.
▋▆█▆▌ ▍▍▌▋ █▊ ▊▋█▌▅▋▉.▋▄▊▄▍▊█▇▉.▆▆▌ ▅▍ ▅▍▇▆ ▊█▉▍█▅▄▅
▌▍▆▋▋▍▅█ ▊▅▆▊▇_▋▌▉█▊▉▍▆▋ █▌▄▉ █▆▍ ▋▊▉▄ ▋▌▉▅▋▉ ▇▋▊▆▄▊▊▍ ▌▊ ▄▉▋▉▅▍▅
██▊▅█ ▌▉▍▉.▊▊▉ ▌▆▇▊▅▆▅▉█ -█ ▅█▊▊ ▊▍ -▆▍▍▌▌▋▅▋▄█▌▌▅▇▉ ▍▍ █▍▇ ▊▌▊
▇▍▇▊▍▇ ▆▉▌▆▊▋▉▋▌▋▄ ▅▊▉▊▇▇ ▇▅ ▍▅█/▆▊▇▆▇ ▆▉▌█▅▅█ ▋▌▄▊ ▉▉▍▆▅▊▌
▅▄ ▆▍▄ ▊▍▉▍ ▅▌▇ ▅▍█▇▇▅▍▇▍/▄▆▌▌/▆▊▌▉/▄▍▆▉ ▋▅▅ ▄▇▉▅ ▉▊▆▆
▍▉▍▋/▅▆▉▄ ▅▇▍▅▌█▅▋▄▅▍▌▆ ▊▋▇▋▆ ▇▄ ▉▌▌▇ ▌▍▍▆▇▍▊▇.▉▌▄ ▆▌ ▄▇▉▅ ▌▅▇ ▊▇▍▆▋
▉▍▍▍▉ █▇▉▉▆▌▉
▌█▄█▊ ▇█▉▉▉▊▍▋▌ ▋▊█▊█▍▊ █▌ ▄▋ █▍▇▋ ▊▆▋▉▄▇▇▅
▍▄▍▉ ▋▆▍▆▄▆▋▋▊▅ ▍▌▌▍▇▊▄ ▊▆█▄▋▌▇▍█ .▊█▇ ▉█▊██
▍▆▌▋▋▅▅▊▅▉ ▇▍▊ ▄▍▋▄▇▋▉▉▍▇ ▊▇▉▉▆▇▄▊▆▇ █▄▄▋▆▌▄ ▆█▊▆▍▍ ▋▉ ▉ ▊▉▅▍
!▌▍▍▍▅ ▇▅▊▍▆▅▍▅▉▆▄▌▍ ▌█▋▇ ▄▆▄ ▋▇▌▍▋▋▉ ▉▇█ ▉▄ ▅ ▊▌▊█▇ ▅▉▇
▌█▉▉▊ ▊ ▋▊▅▉▌ ▋▌ █▍ ▇▋▅▉ ▉▇▌▄▊▄ ▊▇▍ ▋_▇▍▍▊▊▌▍▆█▄▅▋▌ ▅
▍▊▇ ▇▅ ▌▇▊▅▊▍▍ ▄▇▌▉ ▍▆▌▍▌▉▍▄▅▉▄ ▄▆▄ █▌ ▉▋▅▄▊▇▅▄█ ▊▌▆▋▊▌▊█▌
▄▌▍▍▆ ▇▋▆▅▉▌▆█▅ ▆▅█ ▆▆▌▌ ▊▅▋█▆▋▊▇▉▋█▉█▍::▉▌▊█▋▇▇▅
▉▅▅▆▊ ▄▉▆▉▇▊▄ █▋▅█ ▍▊▄▍▊▌_█▊▍▅▊ (▇▋▋ ████▉▊)
▇▄▄▉▋▆ `▅▄▍█▉▌▊▆▉/▅▆▇▉▊/▋█/▆▉█▆█▋▍.▅▉▍` ▅▉ `▅▍▉█▆▇▋▇▋.▉▊▋`
▋▉▆▇ ▆▄▌▌▍▌▌ ▉▅▉ ▋▇▅▋▍▉ ▊▄▄▊ ▊▌▅ ▆▍▇▋ ▊▍▋█.
▍▉▊▍█▅ ▇▊▇▄ ▍▇▊▉█▆▍▊
* ▄▄▊█ ▊▊ █▍▊▍▉ ▄▅▊▇
* ▄▌▋ ▉▌██.▇█▋ ▉▊ ██▊█ ▅▌▄▌▊▌ █▍▍▉███ ▅▆ ▍π
* ▇▍▊: ▋▊▊ ▄▅▊▋▅▋▄ ▄▍█▄ ██▆▅▋▋▅█ ▌▉▇▍▍▌▇ ▉▊▆█▌▌▋
* █▋▌ ▆▌▊▊▌▍▉▄ ▇▍▊ ▍ ▋▊▅█▇▌ ▅▋▅▊
▌▌▆█▋ █▉▆▋ ▍▉▇▉▍█▋▄ ▊▋▍▊▍▊▊ ▌▊▆█ ▉▍'▇ ▍▊▉▍ ▌█▇▅▄█▅▆ ▊▇ █▄ ▆▍▊▋█ ▍▆▍▍▅▊
▉▅▅▅▋▋ ▊▊▊▍.▍▊▆▋-▉▊▉▉▊▍▆█▉
▄▉▌▆ ▌▍█▉▍▊▌: ▋▄▌ ▇_██▄/▋_▋▅▇▇▇ ▄▍▇▊█▆▆ ▇▅ ▉▅▊▌▉▋▊▆▇ ▍▍▇▍█▋ ▆▅ ▆▍▉▊█ ▋▅▉
▅▍▊▋▄▋█▉▊▉▋: ▊▉▍▆▅▉▋ ▇▇▍ ▅█ ▉█▇ ▄▆▌█▄ ██▇▇▌▍▉ ▆▆█▌▆▍ ▄▉▉
▇▊█▅▋ ▇▌▉▄ █▅▆▋ ▊▅▊ ▅█▆▆▆▉█▅▍█▄▌▅ ▌▉█▍ ▌ ▋▉█▆ ▇▄▉▌▆▇▌
▆▉▉▇▆▄█▋ ▇▇▋▆▆:▅▇▇▍█▆▍ ▊▇ ▍▍▉▅▍▅ ▆▊█▆ ▅▆▋ ▌█▉▌▋ ▅▊▊█▍▇▅▄
Add "Browse" button to env_spritetrail in Hammer
Fixed Rollermine visuals when it is hacked
Error handle invalid spawnlist data
Fixed crashes when trying to draw sprite textures
Fixed TEXTUREFLAGS_POINTSAMPLE not respecting TEXTUREFLAGS_NOMIP
Fixed IMaterial:SetVector4D not using float inputs
Fixed changelevel crash to do with ragdolls
Fixed erroring material in EP1 (Stalker teeth)
Update Kleiner and Alyx models
Fixes Kleiner's idle animation to be the unique Kleiner one
Prioritize EP2 animations over EP1 or default animations for Alyx (such gun holster animations)
Dog model with episodic animations
This makes Episode 1 intro map fully playable. Also fixes Strider vs Dog scene.
Moved stalker_animations.mdl to overrides folder
Merged Eli model with Episodic animations
Fixed Entity:RemoveAllDecals not working on players serverside
Hide mat_reduceparticles warning in VBSP
Do not reset $lightmap if the engine didn't set it in the first place.
Fixed performance degradation with lots of static props
Prevent potential crash with NWVars
Fixed a copypaste error in edit_sky
Replace debug.getregistry usage with RegisterMetaTable (Pull Request)
Fixed crash with threaded addon file access
Fixed compile warning in Bootil
Squeeze a few frames from static prop rendering
Fixed crashes with npc_portal_turret_floor
Bump .exe versions
Updated language files
Prevent stack overflows with InvalidateLayout( true ) from PerformLayout
Will print a warning when it breaks the loop.
Limit flex counts to 1k to avoid crashing
There will be a warning when the limit is hit now.
Undo flexcontroller changes to see if they cause the crashes
Rework flex controller limit fix to hopefully not crash for that 1 server
Restore ENT.PhysicsSolidMask but this time with less crashing
Compile warning fixes
Fixed crash with trigger_weapon_strip
Fixed faceposer breaking after 384 different flex names were loaded in a session
Now there should be no limit, and it doesn't preallocate 384 pointers.
Compile warning fixes & add some missing .h files to the solution
Fix VPC not generating project folders, fix missing project folders
Fixed a whole bunch of potential crashes with NPCs in multiplayer when there are no players
3rd argument to NetworkIDValidated - ownerID64
Rollback ENT.PhysicsSolidMask for now
Experimental: Do not close srcds on modelprecache overflow, just use error models
New TF2 map icons
Added prop_disable_distance_fade convar (cheat)
If set to 1, disables prop fading out with distance set by the map, including static props and other entities. Useful for taking screenshots.
Added ENT.PhysicsSolidMask to anim/ai/nextbot SENTs
If unset, uses default value
Fix clients getting stuck during loading after changelevel
Include map name in map related disconnect messages
Kick players who send impossible voice packet sizes
Added sv_signon_dos_disconnect from CS:GO
Fixed crazy mouse acceleration values completely breaking player view
Also limited some of the cvars to sane values, m_customaccel_max and m_customaccel_exponent specifically
Added ficool2's VRAD ambient occlusion implementation
Adds the following new parameters:
-aofacesamples
-aopropsamples
-aoNoSquare
See vrad.exe help for defaults/explanations
Fix errors with singular static prop causing VRAD to bail for all remaining
Unhide sv_stressbots and make it a cheat
Reduce max allowed voice packets per frame to 48 (from 64)
Check if onfailure exists in http.Fetch/Post
-disablehttp also blocks Panel:OpenURL and sound.PlayURL
http.Fetch/Post calls onFailure callback if HTTP() returns false
Fix RichText InsertColorChange to black not working when its the first color change
RichText uses localized string for Copy conext menu option
Also fixed Text Entry Copy/Cut context menu buttons not being disabled when they should be
Added -disablehttp command line parameter
Disables HTTP global function (http.Fetch/Post use that)
Fixed GMod now removing English US keyboard layout
Use Windows API to get keyboard layout names when not in our list
Make "English (Europe)" not an unknown language
Also add internal ID to unknown languages
Fixed GMod force-adding "English (US)" keyboard layout
Fixed Linux/Mac compile error due to usage of variable name "default"
Fixed some compile warnings
Even more compile warning fixes
MORE warning fixes
Display a warning message when main menu is blocked too many times
A message about how to bypass the block
Fixup gamemode hook calling code for consistency
Also hopefully prevent a a case of cryptic "trying to call <type>" errors.
Also fixes crashes due to Lua panics
Added GM:OnPauseMenuShow
This is meant to replace other methods of hiding the mainmenu (which will be disabled at some point). Return false to prevent main menu from showing for that key press.
The user can hold SHIFT to bypass this hook at any time, in case the server/addon has malicious intent of not allowing the player access the main menu.
Panel:GetFont works for RichText
Hammer builds on newer C++ Windows toolset
Limit GM:OnPauseMenuShow to ESC key
Make SWEP:Think not run before NextAttack in singleplayer
This mimics SWEP:Think's behavior in multiplayer.
Call TOOL:Holster and Deploy when switching tools clientside
This was done when using gmod_tool serverside only, it is now done when gmod_toolmode changes both clientside and shared.
Added 2nd return value to GM:CanArmDupe hook (Community Contribution)
Fix util.StringToType "int" erroring with invalid inputs
Added missing outputs to func_healthcharger in the .fgd
Also remove duplicate ClearAllOutputs from the FGD
HL2 map categories are done by name
garrysmod/pull/2091
Improve map NPC name detection further
util.StringToType supports "boolean" and "number" types
Added player_manager.GetPlayerClassTable (Community Contribution)
Fixed crashes when getting ammo type name of invalid ammo
Update icon for ep2_outland_06a to actually represent what it is
point_viewcontrol only gives invincibility if it freezes the player
Fixed water for leaking to the world due to resetting clipping on disconnect
garrysmod-issues/issues/5925
Fix player angles serverside while in vehicle not matching client
Also fixed GetPassengerSeatPoint returning wrong values for vehicles without ACT_IDLE, such as the chair models, now will select first sequence.
Try to fix GitHub screwing us over
Merge hlmv crash fixes from CS:GO
Related to high poly models and the debug rendering modes
Remove gmod_xp.exe from the build process
It's time to bury it
Fix? flex bone drivers in-game
Made the flex bone driver code mimic the code from HLMV, which basically includes special case for BONE_USED_BY_BONE_MERGE
Added a new option to HLMV Flex tab for $boneflexdriver preview
It will move Flex sliders live as the animation plays
Remove PhysObj.MakeShadow
Entity:MakePhysicsObjectAShadow exists
Fix ContentHeader colors
Disable -textmode
Move "Model X has mismatching model version" to -verbose (vbsp.exe)
Temporarily partially disable "CBoneAccessor invalid bone id" warnings
For cases with error models
Change default of gmod_uncache_test to -2
I need to verify the changelevel crashes are caused by this.
Fixed nextbot deaths counting twice for npc_maker
Restore game_text rendering same text channel multiple time
Block "Miscellaneous Symbols and Arrows" unicode block in server browser
Free font materials & textures on disconnect
Fixed DNumSlider reset to default via MMB not functioning correctly
Entity.GetBodyGroups returns "empty" for submodels with no meshes
Added Entity.GetFlexType ( id ) = string
Returns model defined flex controller "type" or the group
Added Color:Lerp( target, frac )
Small changes
* Fix DForm description
* DNumSlider.SetEnabled also affects its DLabel
* Finger poser and Faceposer correctly rebuilds UI on loss of entity
* DLabel.SetDark disables SetBright, and vice versa
* DLabel.SetHighlight always overrides SetDark AND SetBright
Added string.NiceName & use it for bodygroup names
It converts "names_likeThis" to "Names like This". There have been multiple implementation in the base game, which are not all using the same function.
IMaterial:GetColor returns an actual Color
Disabled DLabel has faded out colors
Fixed file.AsyncRead erroring after Lua shutdown
Faceposer flex groups
The groups are defined by the models themselves.
https://files.facepunch.com/rubat/2024/June28-263-UnwittingEthiopianwolf.jpg
Fixed util.DecalMaterial to actually work
TTT: Updated localization files (Community Contribution)
Fixed vrad not writing light flags to the BSP
Fixes "Cast entity shadows" option in Hammer to not working.
Also added info to the hammer option about how to properly make it work.
Block file access to ChromiumCache, whatever that is
Fixed a crash when an NPC sees more than 255 enemies
Gamemode cvars: Added "replicate" field
If set to 0, removes REPLICATED flag from gamemode cvars
Use this for sandbox cvars that don't actually need replicating, such as sbox_weapons
Block all .log files
Destroy font texture IDs on frame start, not during rendering
Bump severity of mat_hdr_level problem (HDR being disabled)
debug_dump: Separate Lua and non-Lua cvars
Block voice_overdrivefadetime
Add light pos to some vrad warnings
* light has _fifty_percent_distance of X but _zero_percent_distance of Y
* can't solve quadratic for light X Y
Fixed crashes relating to Entity.FollowBone
Entity.FollowBone, SetAttachment and SetParent will throw errors when given absolutely invalid attachment/bone IDs (i.e. less than 0, or above 255)
Add more info to "gamemode is not a table" error
Rework how movement is disabled when player is dead with movetype_walk