repogarrysmodcancel

792 Commits over 2,740 Days - 0.01cph!

6 Years Ago
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
6 Years Ago
"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
6 Years Ago
Updated spawnmenu.ActivateTool
6 Years Ago
Light tool changes
6 Years Ago
DColorButton: Added ability to disable the tooltip (#1583)
6 Years Ago
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
6 Years Ago
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
6 Years Ago
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.
6 Years Ago
Restore encoding for gmod_eng.txt
6 Years Ago
Revert Lua gun translations to normal caps (#1582) Upon popular demand. Fixes garrysmod-issues/issues/3832.
6 Years Ago
DCategoryList reacts to SetBGColor Fixes garrysmod-issues/issues/3815 Merge branch 'master' of garrysmod
6 Years Ago
TTT: Remove util.SafeRemoveHook (#1574)
6 Years Ago
Minor spawn icon editor changes stop perform layout infintie loops on sidebar added tab icons Changes to DFileBrowser and DHorizontalScroller DFileBrowser has an example in derma_controls Added DHorizontalScroller.GetCanvas, ScrollToChild, SetScroll DPropertySheet tabs can be right clicked to quickly switch between tabs when they overflow DPropertySheet's width
6 Years Ago
WorldTip Consistency
6 Years Ago
Dnumberwang code style (PR#1356)
6 Years Ago
fixes to ENT:BeingLookedAtByLocalPlayer And people wonder why PRs don't get merged Co-Authored-By: Collin (code_gs) <collings509@gmail.com>
6 Years Ago
ENT:BeingLookedAtByLocalPlayer optimisation (#1514) * ENT:BeingLookedAtByLocalPlayer optimisation - ENT.ViewDistance can now set the maximum distance the worldtip is displayed at when looking at an entity. - The distance check now uses the view entity's ShootPos if its a player, just like the local player does. This makes the result consistent between a player and spectators. - Dist->DistToSqr - Order of operations changed in ENT:Think and ENT:BeingLookedAtByLocalPlayer to do traces last - optimises entities too far from the player from doing an unnecessary eyetrace. * Changed ViewDistance to MaxWorldTipDistance
6 Years Ago
Added SetInterval and GetInterval to DNumberWang (#1356) Allows for an easier way to add and subtract numbers higher/lower than 1 in DNumberWang.
6 Years Ago
TTT: More table.IsEmpty (#1570)
6 Years Ago
Hydraulic toggle option And a small bugfix which required you to press the keybind twice before the hydraulic would work
6 Years Ago
TTT: Optimizations using table.IsEmpty (#1569)
6 Years Ago
Checkbox visual clarity improvement Its for Hammer but affects everything else too
6 Years Ago
Add HL1 and Garry's Mod language strings (#1562) * Update language files * Fix conflicts * Fix conflicts v2 GitHub really hates text files * Reverted weapon_cubemap capitalisation changes * Updated HL1 weapons
6 Years Ago
Optimizations using table.IsEmpty (#1568)
6 Years Ago
make Player:SetPData and Player:RemovePData actually return a boolean (#1394) * make Player:SetPData and Player:RemovePData actually return a boolean According to the wiki [SetPData](https://wiki.garrysmod.com/page/Player/SetPData) and [RemovePData](https://wiki.garrysmod.com/page/Player/RemovePData) should return a boolean on success/failure which at the moment they're not. Additionally it would be optimal if they would also throw an error (sql.LastError()) if it fails so people actually know why their stuff didn't get stored.
6 Years Ago
Add Tooltip accessors (#998) * Add Tooltip accessors Solves garrysmod-requests/issues/514
6 Years Ago
Style consistency for weld.lua
6 Years Ago
Add MarkupObject metatable to the registry (#1541) Co-Authored-By: Collin (code_gs) <collings509@gmail.com>
6 Years Ago
Remove MarkupObject:Create() (#1542) This function shouldn't exist - it's a class function of the MarkupObject that... creates a MarkupObject. Calling it on an existing MarkupObject creates an object that now has the metatable of the previous MarkupObject which is improper and inconsistent behaviour for a class function. Even the single use of it calls the function on the MarkupObject metatable as if it were an object. It also updates the __index of the metatable to itself every time needlessly instead of setting it once outright. This will break no compatibility with previous code since the MarkupObject metatable isn't available outside of a single file, and calling it on an actual MarkupObject results in bad behaviour.
6 Years Ago
add nocollide to weld tool (#1544) helpfull function
6 Years Ago
Changed table.Count to table.IsEmpty in halos Merge pull request #1565 from Kefta/patch-109 Changed table.Count to table.IsEmpty in halos
6 Years Ago
Add table.IsEmpty More efficient method Credits to @Kefta Merge pull request #1538 from WilliamVenner/table_isempty Create table.IsEmpty
6 Years Ago
Spawnmenu editing hints Halo.add with no entities silently fails ImageCheckBox.Set/GetChecked
6 Years Ago
Flechette effects iin Mp fixed
6 Years Ago
Fixed faceposer UI bug was hiding last flex accidentally Icons for spawnlist rightclicks lower screen res css fixes Language files Fix flechette console spam
6 Years Ago
Moved weapon script files Updated language files Some HL1 translations Added missiing stuff How the hell did this not get into the previous commit
6 Years Ago
ENT:HandleAnimEvent for nextbots
6 Years Ago
Fix player class error
6 Years Ago
TTT: granular ammo pickup (#1550) Only ammo the player can carry is taken from ammo boxes, if the box has more than a quarter left it stays around and the remainder can still be picked up.
6 Years Ago
Player Class changes Player classes are set on all clients automatically clientside Added hook GM:PlayerClassChanged Player classes are initialized as soon as they are set, instead of on first hook call Explanation to !IsFirstTimePredicted() Nextbot:FireAnimationEvent dummy/docs
6 Years Ago
Fix toolgun ghost being left behind (#1557)
6 Years Ago
Backgrounds do not change in loading prop_effect changes Bodygroups and making MakeEffect usable Serverlist changes Stop refreshing server list upon joining a server or switching between server list types (Internet, LAN, favorites, etc) Double the amount of servers shown per gamemode Do not hide "Stop refreshing" button while browsing servers of a gamemode Reduced rankiing impact of empty servers, increased ranking impact of full servers Server ranking based on player count now starts earlier Fix copypasta error
6 Years Ago
Moved default spawnlists Moved default spawnlists to settings/spawnlist_default
6 Years Ago
Fixes for SWEP/SENT table recreation Also makes ENT/SWEP table inheritance more consistent
6 Years Ago
Panel changes/fixes Fixes for GetCount not updating Hide tabs in icon editor Spawnmenu icon editor doesn't display an empty Bodygroups tab Invisible children of DHorizontalScroller will no longer affect position of the visible panels Fix for prop_effect bodygroups
6 Years Ago
Fixed duped effects not having AttachedEntityInfo + minor effect fixes (#1553) * Fixed duped prop_effects not having their AttachedEntityInfo table (meaning no entity mods, skin/bodygroup changes, bone manips, etc.) ever since the MakeEffect function was added. This value used to be copied over because duped prop_effects were being spawned with GenericDuplicatorFunction, which dumps the entire dupe data table into the new entity. Now that they have their own spawn function, we have to copy the value over manually. * Fixed prop spawn effect not working on prop_effects because it was trying to apply them to the prop_effect itself instead of its AttachedEntity * SWEP spawn effect
6 Years Ago
Toolgun Think fixes (#1547) - Check owner validity - fixes rare edge case of the owner being invalid when Think is called and cases where the owner is an NPC - Check last tool object validity before releasing its entity - fixes error when switching from invalid mode to another invalid mode - Remove a return when a mode switch occurs and the last mode was invalid, causing the first Think after a mode switch to be skipped - fixes garrysmod-issues/issues/3682
6 Years Ago
Fix invalid table.GetWinningKey behavior. (#1554)
6 Years Ago
Add new Blade Symphony map to the menu (#1540)
6 Years Ago
Fix missing argument (#1549)