778 Commits over 2,710 Days - 0.01cph!
Fixed a typo in a comment in net.lua (#2146)
Update decals_subrect.txt
New version from HL2, adds 2 new decals from Portal 1
Update serverevents.res
`player_say` includes `teamonly` field.
TTT: check data_static for rearm scripts for use in workshop addons (#2139)
Workshop addons can only include data files via data_static, which includes rearm scripts. TTT now checks data_static if no rearm script is present in the maps directory.
Remove `weapon_hl2mp_base` from properties
Pointless string
Updated FGD files
Minor cleanups
nav_blocked event
Last Played iteration in server browser
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
Fortress Forever + NeoTokyo support: Info_ff_teamspawn (#2044)
* Fortress Forever spawnpoint
* Added info_ff_teamspawn to player.lua
* Update getmaps.lua
I almost forgot the getmaps thing for Fortress Forever.
* Create info_player_attacker.lua
NeoTokyo Attacker spawnpoint
* NeoTokyo defender spawnpoint
See prior commit
* NEOTOKYO spawnpoints, too!
* Update player.lua
* Update player.lua
---------
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
Reduced bits used by net.Read/WritePlayer based on maxplayers (#2078)
* reduced bits used by net.Read/WritePlayer based on maxplayers
* Update net.lua
update german translation (#2132)
Check for "icon" to be "ContentIcon" before reading its spawnname (#2137)
TTT: fix ragdoll not being created if ttt_dyingshot is on (#2135)
Fix assumption of DoPlayerDeath running twice on DyingShot, instead run fully once and prevent future triggers.
Localization Support for Options (#2129)
* Localization Support for Options - Legal
* Add files via upload
Make esc block blue + informational instead of a yellow error (#2131)
Fixed using wrong translation string in previous commits
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.
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
Remove arguments overloading in surface.SetDrawColor (#2125)
* Remove arguments overload
* Code styling
TTT: Updated Turkish Localization (#2127)
* TTT: Quickchat Fix in Turkish
* Update turkish.lua
* Update turkish.lua
* Updated Turkish Properties
Localization Support for key bindings. (#2126)
Create .editorconfig
Lets try and see if this does anything useful
Localization Support For In Game Weapons & Items (#2114)
* test
* Add Properties File
* Trying to figure out what's wrong
* Update game_hl2.lua
* ...
* Finally I got it right
* Localization Support: game_hl2.lua
* Update game_hl2.lua
lua/includes/extensions/table.lua:87: bad argument #1 to 'pairs' (table expected, got number)
1. pairs - [C]:-1
2. Merge - lua/includes/extensions/table.lua:87
3. ADD_ITEM - lua/autorun/game_hl2.lua:7
4. unknown - lua/autorun/game_hl2.lua:21
* Update game_hl2.lua
* Update game_hl2.lua
* Slowy fixing #
* ...
* Update game_hl2.lua
* Fix HL Source Category
* Add Back Phsygun
* Add HL: Source Ammo
* Update game_hl2.lua
* Fix Space
* Portal Core Ents
* Portal Cores
* Rework how translations are applied
Also no unnecessary changes to order and stuff
* Update and rename engine_entities.properties to entities.properties
---------
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
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
Minor improvements (#2120)
Update spanish.lua in the terrortown gamemode (#2118)
Fixed attempt to index global 'sam' (a nil value) (#2121)
Improve SortedPairs even more (#2032)
* Improve SortedPairs even more
pr #2015 is good, but we can make it much better.
improvments:
table.insert( tbl, val ) > tbl[ #tbl + 1 ] = val
next( keys, i ) > keys [ i ]
benchmarks:
brandonsturgeon's version is 10.57% better then default.
my version is 35.87% better then default
or 28.29% better then brandonsturgeon's.
bench src: https://gist.github.com/Be1zebub/4b90791fc7ab2d89a18c7a93da143095
* Update table.lua
not very significant, but why not
+ 2-5% more perf (compared to the improved version)
Allow for properties to be removed (#2113)
* Allow for properties to be removed
* Added validation checks
TTT: Update Turkish (#2112)
* Update turkish.lua
I can't believe I missed this one
* Plural to Singular
Plural to Singular to mimic CS2's translation.
Add a search bar to sequences and make them sort properly. (#2101)
* Add a search bar to sequences and make them sort properly.
* Update iconeditor.lua
* Update iconeditor.lua
* Update iconeditor.lua
* Update iconeditor.lua
* Update localized string for the search bar placeholder
---------
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
Delete constraints.lua
Unused file
Make game mount list wider (Adjustments for #2110)
Fixed Sandbox Tool Lua errors from engine saves
Would happen if the save was made with tools that are no longer available when the save is loaded
Show the unbound command in hints, if a command doesn't have a key bound
Based on the idea of garrysmod/pull/1962
Fixed halo rendering on certain models making the screen black.
garrysmod-issues/issues/6000
Improvements to MatSelect panel
Improvements to PropSelect panel (to match MatSelect)
Added sbox_max(rope)constraints
TTT: fix and optimize traitor button rendering (#2111)
- Prevent the highlighted button from redrawing for every button iterated through afterwards
- Don't draw an unhighlighted button if that button is highlighted
- Reset button texture after drawing a highlighted button so that other buttons don't appear highlighted
- Fix param translation text causing forced additive rendering
util.IntervalTimer (#2086)
* Update util.lua
- Added new function util.IntervalTimer, this is an IntervalTimer as found in the source SDK
* Update util.lua
* Update util.lua
- Merged util.IntervalTimer with util.Timer
* Update util.lua
- Undo a change made to the util.Timer Started function
* Update util.lua
- Remove IsLessThan and IsGreaterThan functions from the util.Timer metatable
* Update util.lua
- Add missing comma
* Update util.lua
- Changed the return value of GetElaspedTime to -1.0 if the timer hasn't been started
- Changed the util.Timer function to call the Start function upon creation
* GetElaspedTime returns correct time after timer stops
---------
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
Show Icons for Mountable Games (#2110)
TTT: Add SAM support to karma banning (#2106)
DNumSlidier: Setting min or max value updates slider pos
Merge some math lib optimizations from #1477
Closes #1477
Co-Authored-By: code_gs <collings509@gmail.com>
Use `m_pitch` and `m_yaw` for looking around in the taunt camera (#2108)
Error handle bad spawnlist files better
Minor cleanups
Fixed commits.facepunch.com link
Map Pool for G String (#2105)
TTT: Fix Swedish chef language borking setting (#2099)
Use math.tau in some places instead of 2π (#2104)
Typo In Motor Tool (#2102)
Fixes garrysmod-issues/issues/5976
Replace debug.getregistry usage with RegisterMetaTable (#2097)
Fixed copy paste error in edit_sky
Update surfaceproperties.txt
These values are not used, idk how they even got here
Added permissions.bin to gitignore
More consistent TOOL Holster/Deploy behavior
Call `onfailed` callback if HTTP returns false (http library)
util.StringToType does not error with invalid "int" inputs
Warning about bypassing blocked main menu
Minor cleanup
Allow custom error message for CanArmDupe (#2065)
* Add message to CanArmDupe
* Duplicate changes to arming.lua
* Duplicate the changes to arming.lua again
Added COLOR:Lerp
"boolean" and "number" support for util.StringToType
Improve map NPC name detection further
Fixed Alyx's breathing breaking her other voice lines
Update surfaceproperties.txt
DNumSlider:SetEnabled affects the label as well
Fixed DNumSlider default value resetting not working correctly
Added string.NiceName
Half-Life 2 map categories are done by map names directly
Fulfills garrysmod/pull/2091
DLabel text color behavior changes
* SetHighlight always overrides SetDark and SetBright
* SetBright and SetDark disable each other
* Different color for disabled labels
Do not replicate certain Sandbox convars
Block "Miscellaneous Symbols and Arrows" unicode block in server browser
sent_ball Hammer support
New env_blood options
Improve documentation of "Cast entity shadows" option in Hammer
More logical func_button defaults
Bump "mat_hdr_level" problem severity
Fixed DForm description in code
Finger poser updates correctly on entity loss
Faceposer flex groups
https://files.facepunch.com/rubat/2024/June28-263-UnwittingEthiopianwolf.jpg
Use string.NiceName where appropriate
player_manager.GetPlayerClassTable(Player ply) (#2038)
* player_manager.GetPlayerClassTable(Player ply)
A method to access a player class table more quickly.
While it's nothing new - as we can already access the table of player classes and index it - it's a bit more elegant and performant, as it doesn't have to create a deep copy of the whole table.