792 Commits over 2,771 Days - 0.01cph!
Optimize ```ents.FindByClassAndParent``` (#2167)
Optimizes this function by about 25%
remove server is full rating penalty (#1697)
Since servers just abuse this and find ways to make it not matter, should just remove it.
Updated FGD files
Remove redundant category from npc_tf2_ghost
Minor cleanups
Fixed Entity.DoNotDuplicate not affecting saves properly
Do not save singleplayer tool ghost in saves
Restore CameraProp's keybinds on level transition
This really needs to be done for all tool entities
Updated deprecated CPanel calls (#2184)
* Made NumSlider automatically pick the convar value.
* Added PropSelect method to controlpanel.
* Replaced "AddControl" with non-deprecated code.
* Added dedicated method to select rope material.
* Various fixes to suggestions
* Minor changes
* Minor clean ups
* Fix Balloon tool having broken model selector
* More cleanups
* Added ControlPanel:ComboBoxMulti
---------
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
Improve skypaint matproxy performance (#2107)
Use `render.PushRenderTarget` and `render.PopRenderTarget` instead (#2180)
Rounding out the news panel (#2185)
Use a local variable in gmod_tool (#2188)
Added Missing Strings (#2153)
* Missing Strings
* Added Missing Strings (Properties)
* Deleted Unused String "Creations"
* Update weapons.lua
* Update getmaps.lua
* Update game_hl2.lua
* Update postprocess.lua
* Update main_menu.properties
* Update spawnmenu.properties
* Revert Back Changes
* Revert Back Changes
* Update sent_ball.lua
* Update spawnmenu.properties
* #ent.editors
* #ent.editors
* #ent.editors
* Added more missing strings (#1)
* Update spawnmenu.properties
* Update entities.properties
* Update base_vehicles.lua
* Update base_npcs.lua
* Update spawnmenu.properties
* Update npc_tf2_ghost.lua
* Update cl_init.lua
* Update custom.lua
* Update getmaps.lua
* Update entities.lua
* Update npcs.lua
* Update postprocess.lua
* Update vehicles.lua
* Update weapons.lua
* Update edit_sun.lua
* Update edit_sky.lua
* Update edit_fog.lua
* Update game_hl2.lua
* Update sent_ball.lua
* Update weapons.lua
* Update entities.lua
* Update npcs.lua
* Update vehicles.lua
* Update postprocess.lua
* Update weapons.lua
* Update spawnmenu.properties
* Localization: added more missing strings (#2)
* Localization: added more missing strings
* Localization: added more missing strings
* Localization: added more missing strings
* Localization: added more missing strings
* Updating base.fgd to match base branch
* Update gmod_hands.lua
* Update gmod_player_start.lua
* Update npc.lua
* Update player.lua
* Update stool.lua
* Update weapons.lua
* Update sandbox.txt
* Update russian.lua
* Update control.NewGame.js
* Update loading.html
* Update base_npcs.lua
* Update hook.lua
* Update util.lua
* Update entities.properties
* Update weapon_frag.txt
* "C" to " "%+menu_context%"
* Revert Back Last Change
Will try to implement it.
* npc_gmod_nextbot_example → npc_tf2_ghost (#3)
* npc_gmod_nextbot_example → npc_tf2_ghost
* npc_gmod_nextbot_example → npc_tf2_ghost
* crosshair loc commit
* typo commit
* Update crosshair_setup.lua
* Update entity.lua
* Update npc.lua
I don't even know how this ended up here.
* Update base_npcs.lua
* Update game_hl2.lua
* spawnmenu.category.chairs
* Update spawnmenu.properties
* spawnmenu.category.fun_games
* spawnmenu.category.other
* texturize_pp.*
* texturize_pp.* in texturize.lua
* British Now
* New category
* spawnmenu.category.other
* Update postprocess.lua spawnmenu.category.other
* Update vehicles.lua spawnmenu.category.other
* Update edit_sun.lua spawnmenu.category.editors
* Update edit_fog.lua spawnmenu.category.editors
* Update edit_sky.lua spawnmenu.category.editors
* Update entities.lua spawnmenu.category.other
* Update getmaps.lua Favourites
* Update entities.properties
* Update npc_tf2_ghost.lua
* Update getmaps.lua
* npc_tf2_ghost again
* Update entities.properties npc_tf2_ghost
* Move NextBot to Other Category
* Localization: updated some strings (#4)
* Localization: updated some strings
* Localization: updated some strings
* weapon_frag.txt how is this a change hmm
* Update getmaps.lua
* Update main_menu.properties
* Update weapon_frag.txt
* Remove useless changes & move stuff to correct places
* Restore unnecessary deletion
* Fix final issue
---------
Co-authored-by: Aram <dragolino6@mail.ru>
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
Update .fgd files
Fix NPCs in spawnmenu search not having their weapons set
Color:SetUnpacked type checking
Improve stack traces for existing error() calls
Remove NULLs from Entity.Constraints
Added debug.getregistry & IMaterial:GetColor implementations
Update garrysmod_english.txt
Improve file.Write function to return success status (#2178)
* Improve file.Write function to return success status
* Update file.Append to return success status
Fix indentation of the gamemode list items (#2179)
Reflect changes to engine.WriteSave
Remove useless arguments in spawnmenu/contextmenu internals
DAdjustableModelPanel "fix" for when main menu is open
Player Model Selector button in spawn menu
Update net.lua
Revert PR#2089
Causes regressions with spawnmenu help text and other issues
Optimize DListView_Line
Adjust DButton's text inset when an icon is present
8 px is consistent 4px on each side of the icon
Fixed Lua error in DTree_Node
Fixed Lua SWEPs not using the correct localization strings
Also removed some useless localization tokens from garrysmod_english.txt
Cache result of gmod.GetGamemode() in hook.Run (#2075)
* don't call a C function in hook.Run
* cache gmod.GetGamemode() instead of using GAMEMODE/GM
suggestion by @Astralcircle
* removed unused declaration
Cache result of gmod.GetGamemode() in gamemode.Call (#2157)
* Cache result of gmod.GetGamemode() in gamemode.Call
* Missing empty line
* Formatting
Optimize DLabel autostretch behavior (#2089)
Adds Entity:AddSpawnFlags, Entity:RemoveSpawnFlags and Entity:SetSpawnFlags (#2138)
Localization Support For Crosshair Setup (#2148)
* Localization For Crosshair Setup
* Lowercase
fixed a typo in hudanimations.txt (#2160)
Update base.fgd
Fixed Grenade weapon trying to emit NULL sounds
Do not set `commentary` on map load
Bump max_constraints default
Force Sandbox tool names lowercase
Portal 2 coop spawnpoints
Rollermine variants
Remove code to set NPC names from spawnmenu for the killfeed
Too error prone unfortunately
Fix regression with PR #2143
Optimize spawnmenu SWEP autorefresh stuff
Fixed loading screen month checking
Do not IsValid input in hook.Add
NULL entity is still an entity, and it used to work.
IsMounted hack to do with Half-Life 2 20th anniversary
TTT: Russian localization update
- Fixed some typos.
- Updated some wrongly localized strings.
Initially, some of the changes were from here: garrysmod/pull/2156 (thanks to @Blueberryy )
Merge pull request #2162 from Satton2/patch-1
TTT: Russian localization update
Improve performance of ```team``` library (#2144)
* Improve performance of ```team``` library
Improves many functions of this library, especially GetColor
* Compliance with requirements
* Remove nil check
* Useless check
self:GetTable() => meta.GetTable( self ) (#2154)
Fix "Bad SetLocalOrigin(x,y,z) on gmod_hands" warnings (#2143)
* Fix Bad SetLocalOrigin hands warnings
* Update formatting
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