branchSandboxGame/mastercancel
2,064 Commits over 944 Days - 0.09cph!
Turn friendly fire off by default
Style help screen to keep it consistent with everything else
Steal help screen from dice game for suicide barrels
Put weapons in their correct inventory order
Add weapon pickup weight (grenades have a small model so have less mass, need to make it heavy)
Add sniper sounds, don't zoom in while reloading or firing
Add sniper zoom toggle on alt fire
Hide view model when zoomed in with sniper
Allow weapons to scale owners view speed. Slow down view while zoomed in.
Fix shotgun, add sniper rifle
Fix bot NRE on dedicated server
Make default engine cubemap white
Fix compile error in dice game
Add get camera position and angles from player (this is the final camera, not the view target) Use player camera to trace target info
Fix barrel third person camera not working on clients
Add missing assets for deathmatch weapons
Fix NRE when trying to play 2d sound that doesn't exist
Namespace deathmatch weapons
Move source assets to self contained addon so we can remove it when the time comes
Fix clip empty sound path
Don't do damage to other barrels
Move custom player model out of shooter base
Fix player model impact sound paths
Add missing assets in suicide barrels
Remove mounting from shooter base. Don't play animations without a model.
Only show waiting and spectator teams on team selection hud
Use world time for round timers
Add a waiting team to suicide barrels so the gamemode wont force spectators into the game
Play win/lose sound on barrel explode to make it more obvious who killed who
bail out after detonation time if entity was destroyed
Human bots spam attack if in range
Don't detonate barrel if it's no longer valid or pending destroy
Deathmatch now uses ShooterBase
Bot follows local player if in line of sight
Fix weapons still firing when switching
Add speed scale to character so active weapons can influence players speed, run faster with knife
Show pickup notifications for ammo
Broadcast pickups so everyone can hear it
Pickups can now hold ammo, take as much ammo as possible on pickup, destroy when empty
If a consumable weapon is droppable, consume it and drop but don't destroy while it still has ammo
Broadcast knife swing so spectators can see it
Repeat firing mode for weapons. Knife swing deals damage, play stab animation on enemy hit.
Add knife weapon. Add option to force weapon view model opposite hand.
Add BotThink func to just move all that shit out of Tick
Barrel bot distance to target uses horitzontal position
Add spawn offset to spectators
Destroy entity after registering death so it's still valid to use
Fix barrels registering death using attacker as victim
Add team colors to scoreboard
Add Controllable.GetSpawnOffset so you can make sure the bottom of the collider is level with the spawn point
Add DestroyTimer class, destroy entity after duration and optionally when not the local view target
Give barrel debris a destroy timer
SuicideBarrels: Add friendly fire convar, default true
Replace spring arm camera in engine addon with better version
Increase barrel sound attenuation radius