6,270 Commits over 3,898 Days - 0.07cph!
▆▉▌▍▋▄▄▅▅▇ ▍▌▋█▆▊▄: ▅▍▌ ███▇▇▌▍ ▉▌▋ █▄▅▄▋▄▍▅█▉ █▌▄▋ ▋▋▌▅▉▅▍▋▍▊ ▌▋▅ (▉▊▍▄█▆▇▌▍ ▋▊▋▆ ▋▍▊▇▇▊█ ▊▉▊ ▍▋▍▋▌), ▋▅▉▅ ▍▌█▉▉▉▍ ▉▊▍ ▌▍ ▆█▆█▄▅ ▉▆ ▆▇█▍▄▍ ▆▉▉▉ ▅▋▆ ▉▌▇▇▇▅ ▌▇▅▋▋▋▊, ▋▇▊▇▌ ▉ ▊▆▍▉ ██ █▉▆█▍ ▅▋▅▋ ▋▉▍ ▅▊▄▋▌▅ ▊▊▆█▆▌▌
Added .vmt to file.Write whitelist
Added Player.GetUseEntity() - shared, returns the entity that would be used if the player would press their +use key, including GM:FindUseEntity results
retry in singleplayer now acts like "map currentmap.bsp"
Current value is passed to DTextEntry's OnEnter callback (Community Contribution)
NPC weapons are now sorted alphabetically
Also no dupes and switched the text ot use "localized" stuff
Also fixed some localizations
SuperDOF window repositions itself on screen size change
Prevents it from "disappearing" and soft locking the game
ENT:OnChangeActivity for base_ai
Extra killicons for prop like objects
Added GM:CanArmDupe
Trim sbox_persist value
Extra spaces no longer cause issues of props not saving or loading
Clientside Sandbox settings
Also added freeze/unfreeze effects to physgun settings
Weapons that are NPCUsable are marked in spawnmenu
▋▌▆▉ ▊█▆█▌▌▍ ▌▅▅ ▉▋▌▊ █▊▇▅▄▉█▇ ▋▅▋_█▍▄▉▋▍▄▉▅▌ ▌▊▉▍█▋▉, ▍▋▊▅▇ ▋▋▄▊▉▌ ▊▅▇▋▅ ▋▇▍▌▆▇ ▆▉▆▊▌▉▄▌, ▅▉▋▌▇ ▍█▊▅ ▅▇█▅ ▇▆▌▄█▅▉ ▋▊▉▍ ▇▉ ▉▅▌▊ ▍▆ ▄▌▇/▆▍▇▄▌ ▊▅▆▋█▌▆ ▌▆█/▊▇ ██▄▉▄▌▉ ▌█▇▋█▅ ▅▇▆▍▄▍
Fixed loading of .png materials with different material parameters not working properly
Fixed loading of .png textures after a map change trying to load .vtf versions of the textures and failing every time
SuperDOF UI window now repositions itself when player's screen resolution changes
Weapons in the weapons tab now have an "NPC" icon if they can be used as NPC weapons, which a right click option to set that weapon as the current NPC weapon override
Added "Sandbox Settings" User category in Utilities which contains the maxresults slider + some sandbox related toggles from the menubar
Added Freeze/Unfreeze effects checkboxes to Physgun Settings
Added a killicon for prop_ragdoll, prop_physics_respawnable, func_pushable and func_physbox (same as prop_physics)
Added models/player.phy so that mounting Portal 2 doesn't make models/player.mdl spawn as an unmovable object
Added PLAYER:Death hook (Community Contribution)
Added ErrorNoHalt with stack when Lua is trying to send an overflowed net message
Added SANDBOX:CanArmDupe( ply ) hook, return false to prevent players from being able to arm dupes.
Community Contributions:
* Switched GM:GetFallDamage to use GetConVar() over GetConVarNumber() in base gamemode
* base_gmodentity.GetPlayer() now properly returns the player object after player reconnected to the server for base_gmodentity derived entities
* Right click removing entities with the Remover tool now properly progresses the Remover achievement on Steam
Sandbox persistence Context menu property also trims whitespace of the convar value
Sandbox persistence now trims whitespace on input so you don't end up with files that the game refuses to write to/read from
NPC weapon selection is now sorted alphabetically
Added ENT:OnChangeActivity for base_ai entities
NPC.MarkEnemyAsEluded and NPC.ClearEnemyMemory now have an optional argument - enemy
Added NPC.HasEnemyEluded, NPC.HasEnemyMemory, NPC.GetEnemyLastKnownPos, NPC.GetEnemyLastSeenPos, NPC.GetEnemyLastTimeSeen, NPC.GetEnemyFirstTimeSeen - All of these have an optional argument - enemy, which defaults to GetEnemy()
Added NPC.SetIdealYawAndUpdate( yaw, yawSpeed = -1 )
Added PlayerCheckLimit hook (Community Contribution)
Physgun glow/beam will no longer render in 3rd person if the weapon itself is hidden
Community Contributions:
* Reduced minimum width for rope based constraints to 0.2, from 1
* Added GM:CanUndo hook
* weapon_fists now obeys the phys_pushscale convar
Fix up PR#1623
This happens EVERY TIME
* Call the hook after undo Owner fix
* Apply the Owner fix to undonum
* CanUndo only gets the last undo in CC_UndoLast, not the whole table
get rid of the unnecessary whitespace
Use GetText over GetValue for OnEnter
dtextentry: pass the current value through OnEnter (#1576)
idk why this wasn't a thing before
Co-authored-by: Nathan S <nsinvisblemarions@gmail.com>
▅█▄▇█ ▆▄█ ▌▊▌▍▊▆▄▄█▇▍▊█▌ => ▌▉▉::▋▌▍▋ ▌▊▅ ▌▌▍█▉█▍▄▌▄▋ ▌▋▅▋▌▌ █▋▋▌ ▍▉▆
Community Contributions:
* Typo fix for gm_save console message
* Fixed cvars.AddChangeCallback's identifier not working as intended
* TTT: Fixed an incorrect comment
Mass resize/re-render in spawnmenu
Delete physics of Toolgun ghosts
Disable "drive" option for jeeps
Replacement HTML for gui.OpenURL w/out Steam Overlay
Fixed Overlay and Motion Blur not working with "poster" well
Fixed 1px gap with certain settings of Toy Town effect
Fixed a memory leak when decompressing BSP PAK (Lump 40) files
move "Cannot read %i fragment bytes" to developer 1
Added Player.PickupWeapon( wep, onlyAmmo ) = bool success
Fixed prop_physics_respawnable being removed when being "killed" or broken, breaking the "respawnable" part of the entity
Fixed Motion Blur and Overlay Post Processing effects not working well with poster command
Added optional argument to render.DrawScreenQuad() which defaults to false - Apply poster corrections, used for the fix above
Fixed Toy Town post processing effect having 1px tall gap at the bottom of the screen with certain settings
▅▍▋ ▆█ ▋▊▋ ▋▉▊▍▄▊ ▉▆▆▆▋▊ ▍▌ ▊▇▇▄▊
Reworked client console deduplication to hopefully be more reliable and less over-engineered
▍ ▍▆▆▊▆▄ ▄█▌ █▇█ ▊▄█ ▋▋▊▊▍█▍▅▄
▌▆▄▍▍ ▍▇▄ ▊▊▍▊▇█▌▊▆ ▄▉▆▅▍▍▄█▍▍
Fixed servers trying to send a random Lua file to clients if there is no files needed to be sent
▊▋▍ ▄▊▄ ▆▍ ▋▍▋ ▍▌▇▋▋▊ ▇▄▉▊▆ ██▍▌▌▄
▉▅▉▉▋▆▇▍▉▆▆ ▇█▇▇█▌▅ ▍▌█ ▋▅▋_▋▊▅▋▉▄▄▊▊█▆▊▄▅▉▅▄▇▉▉▊▆▋▆ ▅▊▊ ▆▅▄▋▌▄▋
Added sk_npc/plr_dmg_crowbar/stunstick convars
Added NPC.RememberUnreachable( ent, time=3 ) to give NPC.IsUnreachable a reason to exist
Fixed returning true in GM:EntityEmitSound hook when the Entity is a clientside only entity causing the ent index to be read incorrectly, which in turn caused infinite scrape sounds for gibs
▇▇▌▄▇ "▄▅▌▌▇█▆▇ ▆▉▋▅▊'█ ▍▆ █▄▍█▌▊▇▉" ▉▅█▍▅█▇▇▇▇::█▊▇▊█▆▋▇▇▌█▇▍▍▄ ▍▌▇▌▊█▇ ▌▆▇▆ ▄▆▆ ▋▅▇ ▌▆▄ ▆▍▌▉ ▋▋
Delete physics object of Toolgun ghost as it doesn't need physics at all