252,990 Commits over 3,990 Days - 2.64cph!
Color manipulation methods (#2136)
* Update color.lua
Add color manipulation functions with HSV, HSL, HSB, HWB.
Add HWB support.
* Update color.lua
fix style, rm :SetValue alias, add HSLToColor & HSVToColor lua implementation (100500x faster than C)
* Fixed some issues + formatting
Moved stuff around to be more logically placed, made changes to HSVToColor and HSLToColor to more closely match the C++ version's returns
* fixed mod issue
255 % 255 == 0
we cant use mod here
---------
Co-authored-by: Rubat <3299036+robotboy655@users.noreply.github.com>
- Updated 4k textures for the knight armour set
Bugfix: DemoServer - properly cleanup outgoing NetWrites
Tests: played back a short server demo - no issues.
Travellling vendor will now break siege weapon constructables on the road
Fixed crossbow 3p arrows not updating
Updated knightarmour set textures. created new icon for knightarmour helmet.
UpdateCurrentOptionFromElement virtual function.
Override in graphics UI.
TerrainTexturing profiling
Initialize vertex output of lightmap uv when lightmapping is disabled
▅▆▋▆▊▆: █▍▄█▆▆█▄▄▊▅▍▉▉▄▋ - ▆▊▇▍█▅█▅ ▍▌ ▉▆▉▊▆▉ ▌▇▄▍▄▉ ▅ ▌▌▅▍▅▊ ▌▋▄▌▇ ▄▅▌▋▋▇ ▉▍ █▇▊▅/▉██▊▅▆ ▉▅ ▋▊█▉▅▆▅.
- ▆█▄▅ ▉█ ▅▊▅▊ ▅▉▊▇ ▅▄▌▅▊ ▊▉▋▄▋▉ ▉▋▊▇ ▊▇ ▉▉▆▇ ██ ▅▅▋ ▇▋▇▍ ▄▊▌▋ ▉▊ ▊ ▇▉▊/▉▉█▇▊ ▍▊█ ▇█▇▉ ▄█▄▊▊▊ ▄▌▆▋▇▄▋.
▌▊▄▄▊: ▄▍▄▌▊▌ ▍▄▉▅ ▄ ▌ █▌▉█▉▇ ▊▍▍▍ ▆▊█▋▅ ▇ ▊▋▆▊█▊█▇▉ ▆▌▆▋▉▄▌▋▇▇ █▉ ▆▇▇ ▇▅▊▄▋ █ ▇▌▊▊█▌▌. ██▋█▆▍▆▉█ ▆▇▍█ ▌▄█ ▊ ▌▇▇▍ ▆▆▍█▊ ▄▍ ▍▉▄▅▆▍ ▇▍▉ ▄▆▇▄▋▍▍▆▄ ▆▊▇█▄▋▅.
Make towing visuals rope less loose to avoid it clipping into the floor
Prevent players from being able to shoot Hornet gun through walls
slight edit to vm minicrossbow admire anim and 3p reload anims
Remove debug log
Replace ParameterNode.CanEditOnNode with ParameterNode.IsRequiredInput since thats a bit more user-friendly
Don't include inline editor when UI.Type is set to Default
Default values of subgraphs are now editable via Properties if not a required input
Custom subgraph nodes now produce errors when required inputs are left without connections
https://files.facepunch.com/CarsonKompon/2025/January/23_11-38-RudeFattaileddunnart.png
Fixed NRE when hitting tugboat with the battering ram
Null check lod and foliage grid instances, for when changing options in the menu, not in-game.
Extra wait frames.
YOLO commit. Around 960 ~ prefabs and meta files
Fix mini crossbow backpack offset again
Fixed vehicles being able to use horse poop (or any item) as fuel
- Fixed screwed bone names messing with the middle door of the siege tower (causing client and server states to be messed up)
- Fixed middle siege tower door using the wrong sounds
Get rid of mouse up hack for new undo system
Fixed a bug I introduced on doors
Fix NodeResult shader compile error
Slight refactor to BaseNode.CreateEditor
Added IParameterNode.GetRangeMin and GetRangeMax. Parameter Nodes have "CanEditOnNode" instead of "IsAttribute" when in a subgraph. Determines whether or not an inline editor is created on the node
Use SubgraphNode.InputReferences when creating the DefaultEditor and drawing the default Plug Value
Ensure that inline DefaultEditors for subgraphs grab the UI.Step value for sliders
Make Color Editor works with SubgraphNodes
mini crossbow viewmodel - set up idle/ads idle states in animator
Fixed Door OnObjects throwing NRE if entityContents is null
Rotate player when rotating the static ballista
Rewrite drop object undos
Rewrite all undos using new iteration of undo & add some missing undos
Fix compile error on linux
VR: Remove obsolete controller checking bools that nobody's using
VR: Add IsHandTracked bool to VRController, update fpxr to 5cf7ff24f5b157166102c8e4898bb84b4accb952
VR: Add MotionRange to VRController.GetJoints, update fpxr to 8822f0461709fbd2eda8fe004d51af79d47e6aa9
e.g.
```csharp
Input.VR.LeftHand.GetJoints( MotionRange.Hand ); // default
Input.VR.LeftHand.GetJoints( MotionRange.Controller ); // tries to wrap hands around the controller
```
VR: Better controller interactions in menu, move panel to a more comfortable height
Add conforming hand pose support
Update GHA script
Update x86-64 script too
Update: ServerDemoPlayer - Only maintain entities from demo stream
- Destroys any entities that server decides to create, if they were not part of demo stream
- Reserve a 100k network IDs when playing a demo to avoid ID clashes
- Refactored message logging when playing back demos
Although not robust, this allows us to simulate a core set of functionality. Will need massaging to expand further.
Tests: played back 4 separate Craggy demos - all played back properly.
Implement XR_EXT_hand_tracking_data_source for hand tracking detection
VRAD: Only show "Warning! Invalid model version" with verbose flag
Also expand the warning to show the versions
Fixed crash when ents.CreateClientProp is given an empty string
Do not complain if gmod_uncache_test doesn't exist (srcds)
Change Hitbox 7 color from white to orange
Fixed NPC icons in spawnmenu search not having default weapons set
COLOR:SetUnpacked type checks its inputs
Remove IMaterial:GetColor override hack as it is no longer needed
Improve type errors thrown from Lua
Makes it so that the error() call does not override current execution position, so error points to the faulting file, not the base game file at the top level.
Remove RegisterMetaTable and vgui.GetAll polyfill hacks
Hammer: Update Lighting Origin to mention info_target, not info_lighting
Search for shaders in BSP if none were found in MOD
Fixed logic_collision_pair not calling base UpdateOnRemove
(and a few other entities as well)
Added "shaders/*.vcs" to BSP whitelist
Empty Entity.Constraints table on constraint removal
Fixes for `tanktrain_ai`
* Fixed sound playback and updated default sounds to existing files
* Added "Chase Target" key value
* Added missing input to the FGD
* Fixed movement
* !player target will update to the closest player before every move
* Change update rate while moving to 0.1s (from 0.5)
Fix strider stomp attack creating invisible ragdoll with Keep Ragdolls
Added an ever increasing counter to poster file names
Updated C_RPG.MDL to use correct muzzle flash event
This fixes a warning that would print when the RPG is fired
Allow closecaptions in multiplayer with the cvar set to 1
This means that it will just work in local MP (for the host), on srcds closecaption_mp controls the behavior (defaults to off)
Added `viewid` to render.GetViewSetup
Fixed a server crash exploit to do with malicious packets
Added "DoImpactEffect" for `ai` and `nextbot` SENTs
Added model scale preview to Hammer
Fixed a typo in hl2 fgd
Update Portal turret relationships to certain NPCs
Antlions fear them now, and it hates combine hunters and gunships
Fixed Portal Rocket Turrent not updating its facing angles when no target
game.CleanUpMap deletes C_Hairball
Merge Pull Requests
* Fix indentation of the gamemode list items
* make file.Write and file.Append return success of file.Open used internally
Fixed bone manipulations being changed on level transition
Fixed camera entity losing its keybinds on level transition
Fix merge errors
Support disabling FoliageGrid refresh.
Disable FoliageGrid refreshing during preset changes, manually refresh once settings are all applied, reduces calls from 2 to 1.
Split manual LODGrid and FoliageGrid refresh calls over two seperate frames when changing presets.
client doesn't assume player ragdoll is always lethal
don't let player mount a ragdolled horse
Setup virtual pre/post apply functions.
Override for TweakGraphicsPresetsUI and toggle LODgrid refreshing there instead.