4,685 Commits over 976 Days - 0.20cph!
Implement trash remover component
Fixed blendable shader error (restore ComputeBlendWeight method), push new compiled shader
Convert some guns and mags to prefabs, laser pointer can be toggled with joystick down on held hand
Fix NREs when running outside of VR
Fixed some issues w/ attach points
Renamed "Normal" SceneCameraDebugMode to "Lit", expose Roughness vis mode
Started work on a shooting range scene (https://files.facepunch.com/tony/1b0611b1/sbox-dev_XK299N0MPB.jpg)
Add weapon chamber sound event
Same for mags
Minor bug fixing
Scene update
Add extremely basic player movement component, and player look component (using snap-look)
Added BulletComponent, bullet interactable, ability to manually chamber a weapon chamber with a bullet, can load mags manually too
Added weapon chamber system, mp5 bolt feeds from mag somewhat realistically. Bullets stored as individual objects, with goal of being able to fill up mags / chamber guns manually
Exchange weapon magazine bodygroups to reflect their current state (full, empty)
Hooked up new mag components where necessary
Add hack to adjust angles of a point interactable if it's at 1
Added ability to slap the slide of certain weapons (MP5) (https://files.facepunch.com/tony/1b0311b1/slap_vr.mp4)
Add Hand.Velocity, calculate velocity
Add Interactable.MassScale
Update prefabs
Redid how I implemented hand poses. Add HandPreset class, use HandPreset.Apply( SkinnedModelRenderer ) to apply, and can edit per-finger in the inspector
Very simple implementation of slide release blocking the weapon's ability to fire
Can customize recoil values
Add more USP sounds
Integrate grab point events
Add PointInteractabvle.ResetOnRelease - good for the USP's slide
Push slide release system
New sounds
Hand collects a hash set of eligible grab points, and picks the closest one when gripping (fixes jank where you'd grip and nothing would happen)
Mark Sync/Broadcast on some things in Weapon
Added LaserPointer component (https://files.facepunch.com/tony/1b0211b1/sbox-dev_dmbhFl6YT6.mp4)
Implement point interactables. Not using animation, this turned out to be more work than necessary for now.
https://files.facepunch.com/tony/1b0311b1/sbox.2024.05.03.08.43.17.mp4
Add BaseInteractable, moved some common stuff into there. Added WeaponPartInteractable, in preparation for being able to interact with the MP5's charging handle
Removed world model mags, we're not doing it like this
MP5 separate magazine models
Delete GameManager (has been replaced by Game for ages now)
Can attach while already attached (detaches old attached object)
Add very basic recoil to weapons
Removed some code that was shit, when attaching something, raise attach dot threshold
Cleanup, documented all classes and properties
Can dry fire a weapon, detach mag with B button of held hand
Weapons are a bit more weighty
Can detach attachables from attachment point
Add detach sounds
More work on attachbles feel
Add events for when stuff gets attached to interactables, weapon is an interactable - can only fire when magazine is attached and has ammo
Improve accuracy of placing interactables in your hands
Fixed error when not running in VR mode
Few tweaks, another m4 loadout and non-operable spaghelli
Hardcoded hand poses, can be driven from grab points
Refactor, can shoot gun, don't use findinphysics, rely on collisions/trigger events only
Bunch of boilerplate code for weapons/attachment points
Add standalone M4 magazine vmdl
Code dump for interactables, secondary grab points, smooth damp
Don't bother doing grabby input stuff if proxy
Remove unused component, cleanup
Add some gizmo handles for VR components
Make Component.Reset() reset its PropertyAttribute marked properties
Add helpers for inventory clearing/setup - reset player inventory and move to spawnpoint on Respawn
Slide mechanic takes into account ground normal, can't slide up slopes
Don't play footsteps if we're sliding
Disable player body on death, enable it on respawn
Fall back to no hold type if we don't have a weapon out
Add footstep component
Add developer menu (https://files.facepunch.com/tony/1b2711b1/sbox-dev_RNMgcIDcBP.mp4)