1,523 Commits over 153 Days - 0.41cph!
Add IKillListener (prep for kill feed)
Can suspend weapon switches in a scope, only switch weapon when we're done giving out loadout
Add support for weapon deploy sounds, hook up knife swing/deploy sound
Use BulletSpread instead of hardcoded value
Support shooting many bullets per-shot (pellets), support single-chamber reloading (Shotgun), add Spaghelli
up the decibel range of all weapon sounds
Input hint next to vitals to make it super clear how to open the buy menu (pending some better visuals)
Disable Weapon component after we destroy it - check if weapon is Enabled when querying if we have a weapon
Broadcast DryShootEffects
Fix NRE when local player is null in Crosshair
Fix errors in HUD when local player doesn't exist yet
Resources
Make networking stuff host controlled logic - player controlled movement / shooting. Weapons properly networked.
undo c4 offset do it in the prefab
Add rough damage indicator system, can only noclip when in dev mode
Add WeaponData.Icon, use icons again (thank you very much @bakscratch)
Silently (without callback) set the player's health to 0 if we force the life state
Don't let the player move their camera if they die (until we get proper death cam/spectating)
Ragdoll the player's renderer when they die
Add notion of armor, can't be bought yet
Fix NRE at (Facepunch.ViewModel.ApplyVelocity(Weapons/ViewModel.cs:104))
Fix NRE at (Facepunch.InputActionWeaponFunction.OnFixedUpdate(InputActionWeaponFunction.cs:86))
Team names and team colours are reflected properly in the UI
Don't allow having the same weapon twice, fix clearing inventory when we shouldn't
Minor round state display UI changes
Hook up basic procedural hit reaction
Fixed player collision staying active after death
Main HUD has gradient
Move ammo into a component
Remove vitals background
Player role component
Centralise main HUD elements (vitals, role, ammo)
Remove chat background, contextual input prompts
Rebase fixes
Don't possess players on respawn, no need
Make player inventory sync
Simplified MainHUD player acquisition
BombSite component, update BombSite_A.prefab
Update C4 weapon name
Player cameras are off by default, will only turn on if it's needed
Add hud to fps testing scene
Added damage listeners, can react to damage taken/damage given (for UI, hit reactions, etc, networked)
Separate HUD from Player prefab - make that GO in the scene networked - should fix chat too
Fix conflicts
Cut down on a bunch of damage system code
Prevent reload if weapon ammo is full
New vitals UI, new UI font & theme (from ui-stash)
Make text bold again
Chat fixes + team chat
Put spectators on a team at round end
WIP try to avoid double-assigning weapons
Weapon info panel doesn't move the active weapon around
Bind slot4 and slot5 input actions