781 Commits over 2,710 Days - 0.01cph!
Allow simple_physics_prop to be ignited
Found on some HL2 maps
Tooltip handles contents on target pnl removal
Default behaviour should be unchanged
Set/IsEnabled support for some panels
Create hud_textures.txt
Only done for the train controls texture
Fixed RPG sounds cutting off somtimes
Old missed change, the laser sound was cutting off shooting sounds
Server unfavorite button
BUGBUG: The icons in the server browser offset text, find out why and fix
HEV Suit option for Start new game
Secondary Ammo HUD fits more digits
Weapon ammo types use smaller font
Add Unpack, SetUnpacked, and ToTable to Color (#996)
* Add unpack function to color
* Add Color.SetUnpacked/Color.ToTable
TTT: switch pairs to ipairs (#1610)
TTT: stop bleeding on respawn/death (#1611)
Icon editor error fixes
Errors when trying to load brush entities from picker.
Also loads bodygroups from picker now
DListView.SetFixedSize freeze fix
Floating .gma display improvements
Also fixes [unknown] names for players in some cases
Disable patterns in search boxes
Fixed bodygroups tab not showing in Player editor
Fixed bodygroups tab not showing in Player editor somtimes
gmod_maxammo fix for Sandbox
Don't create the convar 2 times
Remove hardcoded ammo type from SWEP:ShootBullet (#1502)
* Remove hardcoded ammo type from SWEP:ShootBullet
Also added additional arguments for secondary fire, force, and tracer frequency
* secondary -> ammo_type
cleaned up animations file (#1504)
* Micro optimize shared.
Removed double 'if client' and check for vehicle.
Remove unused PlayerSpawnTime table from base (#1602)
I couldn't find any references to the `PlayerSpawnTime`. Neither in Base, Sandbox nor TTT.
Also, [GitHub search revealed nothing either](https://github.com/search?l=Lua&q=GM+PlayerSpawnTime&type=Code).
alt to walk in default config (#1559)
Moved GM:PlayerShouldTakeDamage to serverside file (#1600)
* PlayerShouldTakeDamage is server-side only
It doesn't belong in the shared file...
* PlayerShouldTakeDamage is server-side only
Moved `PlayerShouldTakeDamage` over to server-side counterpart.
Removed globals from derma code (#1598)
* removed unused vars
* removed global creation
GM:ShowTeam doesn't return any value (#1603)
Remove the lingering falsy boolean return value.
Removed a similar condition (#1606)
Allow a weapon's new table type value if the BaseClass variable is not a table (#1586)
Allow a weapon's BaseClass to have non-table values by using the defining weapon's new table type value instead of erroring and breaking weapons
TTT: optimized type checks (#1596)
Improve upon PR#1595
Flechette gun npc usage example
logic_choreographed_scene translation
Apparently it kills a Combine NPC at the start of C17 chapter with dog
Add a new slider option for gmod_maxammo convar to settings menu (#1595)
* Add menu slider option for new gmod_maxammo convar
* Add localisation for gmod_maxammo convar
Removed extra local variable (#1588)
Not needed.
PlayerSpawn transition argument
Addons Enabled/Disabled only filter
Centered pickup history text vertically
It was a bit off
Fixed Fists not spawning gibs in MP on client
https: //github.com/Facepunch/garrysmod-issues/issues/3942
Co-Authored-By: jvs <jvs@users.noreply.github.com>
gm_load nicer missing map error
Derma_DrawBackgroundBlur fix for menu state
Context menu slider default MMC thing
Middle Mouse Click to reset slider to default value feature gets autoset for all tools in spawnmenu
NPC SWEP related fixes/improvements
manhack welder doesnt error when given to NPCs
flechettegun can be picked up by NPCs and fired
Updated SWEP animation translations for NPCs
Fix local dupe list not updating once it is active
ENT:OnTraceAttack for nextbots
TTT: add missing Detective/Traitor weapons to .fgd (#1593)
Server browser changes
Server list changes:
* Search bar for gamemode list
* Gamemode list tries to display prettier/correct-er names (i.e. prefers "Sandbox" over "sandbox")
* Made the server list at least a bit usable on 800x600 and below
* Search boxes got a border so they are visible on white backgrounds, and are a bit wider
Addon list displays noworkshop message
HL1 DM gives you the hl1 ents as well
Added dz_ onto CS category
Updated language files
oldmanharpoon in pickups
Updated Sandbox NPC List
Nihilanth uses its new spawnflag to make him attack without TurnBabyOn input, and don't drop Controller NPC or Nihilanth to ground since they are flying NPCs.
Updating Game & Progress Discussion Link (#1589)
* Updated README
Replaced the link regarding current game discussion and update progress from the now closed Facepunch Forums to the official Garry's Mod Discord chat that opens up the #next-update chat in the Development category
* Update README.md
Co-Authored-By: Neico <neico@users.noreply.github.com>
Undo library fixes
Performing an undo with certain ID properly tells the client to remove that undo from the UI
The undo system will no longer add empty undos onto its list
IsValid check for some tools
redundant but to be consistent
Addon menu error fix
Tiny changes
Don't ask
NW2Var proxies
Another PR problem fix
Dunno how it slipped through the initial testing
Add SF_LUA_RUN_ON_SPAWN
A few main menu fixes
Fixed server settings "not saving" and a JS error
Spawnflags for lua_run entity
Modified version of the garrysmod/pull/1124 pull request.
Code is ran a bit later (on spawn) and uses self as activator/caller.
Co-Authored-By: superhighvoltage <superhighvoltage@users.noreply.github.com>
Cleaned up undo library
And increased UI limit for undos to 100
Small fix for DListBox
A fix for multiple items being displayed as selected when they got the same text, such as in the Undo menu
math.Clamp efficiency (#1426)
* Update math.lua
* Update math.lua
* remove extra parenthesis
Add min, max args to Vector/AngleRand (#1428)
* Add min, max args to Vector/AngleRand
function VectorRand( min --[[= -1]], max --[[= 1]] )
function AngleRand( min --[[-90 pitch, -180 yaw/roll]], max --[[= 90 pitch, 180 yaw/roll]] )
Maintains previous behaviour, but the arguments now give forced mins/maxs into math.Rand. This also directly matches the behaviour of RandomVector and RandomAngle in the mathlib.
* Use C operators
* get rid of default arg comments
table.ToString handles colors nicer
Manual merge of garrysmod/pull/902 due to merge conflicts
Co-Authored-By: Partixel <partixel@users.noreply.github.com>
Fix Lua error from PR #1572
Co-Authored-By: Partixel <partixel@users.noreply.github.com>
Fixed spawn and context menu hooks (#1517)
* Update spawnmenu.lua
* Update contextmenu.lua
* Update cl_spawnmenu.lua
* Update cl_spawnmenu.lua
* Fix spacing
Replace usage of type() with is* functions (#1572)
* Remove less than ideal usage of type()
* Remove less than ideal usage of type() from gamemodes
Add list.HasEntry (#1460)
NoDrop NPC spawn fix (#1494)
* NoDrop NPC spawn fix
- Add NoDrop to multiple NPCs to fix them spawning below platforms/displacements. This is best shown spawning a rollermine or combine camera on this platform in gm_construct:
![](https://i.imgur.com/5pxiD7k.jpg)
DropToFloor's trace starts in the platform and does not hit the displacement below, so it will drop the NPC to the floor underneath the map. The NPCs chosen for this parameter do not rely on starting on the ground and can be spawned anywhere.
- Fixed NoDrop not applying to duped NPCs.
- Changed some raw numbers to SF_ enums.
* NoDrop duplicator fix
"noclip" drive mode can be exited now
Also clean up the files
Searching full model path works now
Trails are clamped in Dupe func, not tool
Also discard 0 start 0 end size trails
Added info_survivor_rescue spawnpoints
Removed info_survivor_position for the time being, c1m4_atrium has one of those in a box under the map
Updated spawnmenu.ActivateTool
DColorButton: Added ability to disable the tooltip (#1583)
Optimize table.Count comparisons (#1571)
* Optimize table.Count comparisons
1) Remove unnecessary use of table.Count in TTT (table is sequential).
2) Remove table.Count from duplicator icon generation and keep count in the already existing loop
* minor changes
Fixed HL1 wep sounds and world models
Options menu tab stuff
Physics Gun => PHYSICS GUN
Only affects player's inventory, not spawn menu
HL1 stuff in spawnmenu
Also changed up some HL2 names & rearranged NPC weapons in order of usefulness
fix for using the CMenu in nonvehicle entities (#1581)
* fix for using the CMenu in nonvehicle entities
improved version of my fix.
earlier description:
if you open the context menu while in a prop_vehicle_crane you will get a lua error like this
[ERROR] lua/includes/modules/properties.lua:114: attempt to call method 'GetThirdPersonMode' (a nil value)
1. GetHovered - lua/includes/modules/properties.lua:114
2. fn - lua/includes/modules/properties.lua:174
3. Run - addons/ulib_557962238/lua/ulib/shared/hook.lua:109
4. fn - lua/includes/modules/halo.lua:149
5. unknown - addons/ulib_557962238/lua/ulib/shared/hook.lua:109
this is because LocalPlayer():GetVehicle() return the crane you are in, so the IsValid check will return true, but since it's not an actual vehicle, calling a Vehicle function will cause a lua error.
Restore encoding for gmod_eng.txt
Revert Lua gun translations to normal caps (#1582)
Upon popular demand. Fixes garrysmod-issues/issues/3832.
DCategoryList reacts to SetBGColor
Fixes garrysmod-issues/issues/3815
Merge branch 'master' of garrysmod