branchsbox-gunfight/maincancel
893 Commits over 639 Days - 0.06cph!
Burst FireMode is simulated properly now
removed background from stance hud
Accidently broke ricochet
Fixed shotguns being absolutely useless due to damage reductions
Apply damage reduction for both ricochet and penetration
Add GunfightWeapon.ShouldPenetrate
Weapons can define their own damage flags, fixes knife being able to penetrate
Pass proper bullet range instead of hardcoded numbers
Added basic bullet penetration. Doesn't respect surface materials or glass yet
https://files.facepunch.com/devultj/1b1211b1/sbox-dev_arg4pZtXBC.mp4
Pass damage ref through TraceBullet, allow ricochet to dampen damage amount
Reset recoil when weapon becomes active
Only pass reload frac while actually reloading
Stance NRE
Spawn player facing spawn point angle
Temp grenade hud and stance hud
Don't show ammo if ammo type is none
Added training dummy ent
added missing shotgun sounds
Added hud hints for CoverAimMechanic
Add screen effects when mounting/dismounting a wall
Add super basic cover aim mounting mechanic
Fixed reload arc showing after cancelling a reload
Re-adjusted MP5 and R870 recoil, removed Drop functionality
Added HudMarker system, hooked it up to players
https://files.facepunch.com/devultj/1b1011b1/sbox-dev_QaEfLq9RQ4.png
Fixed reload arc showing when you first spawn
Validate Controller, fix HudHints NRE
Slouch the player while vaulting
Fixed deploy anim on shotgun
Inform the ViewModel when reload is finished with anim parameter
fixed shotgun anims
Merge branch 'main' of sbox-gunfight
Add screen shake post-vault
Fixed font sizes on hints and inventory
Removed reachedVertically, just decrease forward vault offset
Add vaulting mechanic, accompanying hud hint
https://files.facepunch.com/devultj/1b1011b1/sbox-dev_AO3NAq7ExA.mp4
Fixed client not getting Mechanic.IsActive correctly
Rewrite player controller, with thanks to Boomer, with mechanics in mind, rewrote duck/slide
Fixed Burst firemode spamming dryfire sound. Not sure why that was there..
Fixed NRE while the player has no weapons
Started boilerplate for gamemodes
Don't use InputHint for InventoryIcon
Restored InputHint functionality lost from Spire
Add HudHints panel, add reload hint
Moved inventory bar, hide active weapon
Simplify InventoryIcon button fetching
UI element when regen health