764 Commits over 2,679 Days - 0.01cph!
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.
TTT: add Turkish localization for menu options (#2088)
TTT: update Russian localization (#2087)
Updated talker scripts
Lowercase talker files
Update 016-half-life 2.txt
mat_viewportscale problem
FIxed "Other2" category fallback
Changed how NPC names are generated in killfeed
The changes are more for map spawned NPCs to take spawnmenu names, such as Antlion Workers, since they share classname with normal Antlions
New spawnlists
Minor cleanups
Filling in usage information for SWEPs/SENTs
New Lamp Tool models
Fixed DMenuOptionCVar resetting from cvar too early in certain use cases
Fixes garrysmod/pull/2084
Added DSlider:ResetToDefault
DColorCube/DColorMixer default color stuff
Cookie support for DNumSlider & DCheckBox(Label)
Will be used for Spawnicon Editor internally
Remove Episode 2 exclusive soundscapes from gm_construct
Fixed game-generated spawnlists using appID over game folder name
concommand AutoComplete "arguments" argument
Move "Delete X items" lower for spawnmenu multi-select right click menu
This is more consistent with single select right click menus
Added DAdjustableModelPanel:Set/GetMovementScale
New features for Spawnicon Editor
Move speed customization, FOV precise control, camera position copy/paste, quick rotate model +/- 45deg, Fixed selecting text in spawnicon editor only working on second try, forced LOD to highest
Spawnmenu SWEP/SENT usage information on tooltip
Update detail.vbsp
garrysmod-requests/issues/2351
Server browser style changes
Remove weird symbols from server/gamemode names
TTT: networking optimizations and fixes (#2080)
* Optimize ragdoll search network traffic
* Fix disconnected player networking
Fixed color modify defaults not resetting "invert color" setting
Replace some usages of debug.getregistry()
actually replace getconvarstring usage this time (#2077)
Optimize skypaint matproxy (#2068)
* Optimize skypaint matproxy
* Remove localized functions
* Readd leading newline
remove duplicate id on input which breaks ReverseFilter() (#2079)
TTT: replace deprecated GetConVarNumber/String usage (#2076)
CSS file clean ups
Minor changes
Fixed Combine Soldiers with Shotguns having their skin reset (Sandbox)
Create spawnlists from addons easily
Main menu server browser additions
* "Join when not full" option
* Ability to add servers to favorites by IP
Small optimizations to GM:DrawDeathNotice() (#2045)
- Localize the cl_drawhud convar and replace the use of the deprecated GetConVarNumber function with it
- Don't reset the Deaths table if there's nothing in it
- Don't iterate through the Deaths table twice
Move some hardcoded values of weapon_fists to SWEP.* variables
Closes garrysmod/pull/1980
Co-Authored-By: code_gs <collings509@gmail.com>