branchsbox-deathmatch/maincancel
15 Commits over 31 Days - 0.02cph!
Inventory UI is slightly larger so it's easier to see and weapon names are displayed in the active InventorySlot
Added GameSettings class for local convars. Added `sbdm.viewbob` and `sbdm.screenshake`. Reduced default screenshake values, but can be restored by setting screenshake to 1. #109
Ammo display turns red while clip is empty/reloading
Inventory will always put you back at your current weapon when cancelling selection with right click and will auto-dismiss after 2s
Switching weapons by hitting LMB no longer fires the active weapon on connected clients. Resolves #84
Don't run PickupNotice if Player is bot (prevents popups from appearing on host client when bots pick up weapons)
Projectiles now ignore any objects with `particles` tag. Prevents rockets from instantly explosing since they would collide with the casing eject particle
Crossbow now animates the FOV in/out on zoom
Updated crossbow zoom shader so it's less invasive and now eases in
Can now zoom with the crossbow, created basic shader for the overlay. Resolves #90
Reduce camera punch on crossbow when zoomed in, slight pinch effect on the overlay
Crossbow no longer has incorrect muzzle/eject transforms. Resolves #87
Don't include Explosions in snapshot. Resolves #102
Implemented ILocalPlayerEvent.OnTakeDamage. Pass DamageInfo instead of just amount so we can get more info from the event
Added PlayerDamageIndicators Component, flashes a red vignette when taking damage
Added directional damage indicators when hurt
(lifetime is exaggerated for video)
https://files.facepunch.com/CarsonKompon/2025/January/08_10-07-TartFruitfly.mp4
Fix NRE when bot task tries to respawn after ending game/exiting play mode
Use IsOwner checks instead of IsProxy in `PlayerCameraEffects` so bot players don't affect the local player's camera