branchSandboxGame/mastercancel
3,194 Commits over 944 Days - 0.14cph!
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
SuicideBarrels: Call base.OnPlayerDied so death camera and respawning works
Make barrel bots follow then explode on you
Make barrel bots move around
Make them taunt at random between 2 and 5 seconds
Make sure shooter base MyHud property is set
Forgot to make it virtual
Add BaseWeaponControllable.CanDropWeapon to give more control over when weapons can be dropped. SuicideBarrel humans can never drop their weapon.
SuicideBarrels: Don't create weapon selection hud, give pistol and pistol ammo on spawn, add IsInventoryFull to ensure only one weapon
ShooterBase: Only spawn hud once internally, ask gamemode to create the hud
SuicideBarrels: Use teaminfo for teams. Only allow user team joins to spectator (for now)
Start using shooter base for suicide barrels, don't create team selection hud (gamemode phase decides teams)
Add virtual functions for giving default ammo and weapons on spawn
Add gamerule can damage player, default true
Only throw grenade if pin is pulled and has been 2 seconds since last throw to avoid spamming
Add anim nodes RotationOffsetBlendSpace, ApplyAdditive, MakeDynamicAdditive. Experiment with aim blend spaces
Add num grid subdivisions and interp time to blend parameters
Add 8 direction run animations, change play rate if moving faster than the run animation speed
Fix blendspace players by creating native blendspace objects, same for sequence players and two-way blends.
Fixed requestAnimationFrame not getting timestamps
ViewInfo takes Angles instead of Quaternion
Add throw force min and max to throwable weapon
Shake the view of the local view target so spectators can also see it
Add entity bounds scale. Scal viewmodel bounds by 2 to make sure animations stay inside
Fix mdl models that have multiple root bones by inserting a dummy root node (hands and grenades aren't attached together so both have root nodes) Show grenade weapon viewmodel
Disable grenade physics when taking damage so they don't get launched across the map before the delayed explosion
Controllable.AddEyeInput now takes Angles instead of Quaternion. Change camera controllable into an actual camera entity so it can be used completely client side.
Add explosion radial impulse client side for client side physics entities
Controllables with authority cache their controllers view angles so they can be used when they don't have a controller