branchSandboxGame/mastercancel
2,064 Commits over 944 Days - 0.09cph!
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.
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
Make grenade throw more powerful the longer fire is held
Add test explosion effect. Add Weapon.Droppable
Add TakeWeaponFromInventory, take and destroy grenade weapon when ran out of grenades, switch to next weapon in inventory.
Shake view on explosion
Grenade impact sounds
Add consumable weapon and throwable weapon. Add grenades.
Add cancel button to team selection
Add fire duration, don't reload while still firing
Play clip empty sound on dry fire
Add convar vm_righthand
Broadcast register damage through hud so spectators can also know about it
Add damage dealt sounds
Add Ammo.MaxCount and Ammo.Fill
Weapon.EmitSound can choose to only play on the view target (for viewmodels)
Try reloading when clip is empty
Weapon reloading
Start reloading animation when reloading state is replicated
Move ICanBeDamaged to engine addon, no reason to make this internal
Weapon prediction and client side hit reg (can trust clients in internal playtests)
Display target info for 500ms after target is no longer in view
Show target info while in free mode spectator. Ignore penetrations on thirdperson death camera, fixes camera clipping when ragdoll hits surface at high speeds.
Add num slots to team info
Get player count for team. Disable team selection button if already on team or team is full
Cache player start entities on map load to avoid finding them every respawn
Refuse change team if already on that team
Don't bother asking server to change teams if already on that team to save a rpc
Add orbit camera scrolling to spectator
Add Entity.OnOwnerReplicated so don't need to check for weapon model attach every tick
Send weapon inputs to server
Ensure active weapon model is attached to player model (sometimes active weapon replicates before weapon owner)
Client side death sound
Attempt to sync bullet impacts on client side ragdoll when owner dies
Only add bullet impact forces to authoritative entities
Controllable interp uses EnableInterpolation convar
Create player model also on server so it can trace the hitboxes
Fix more NRE's on dedicated server
Make extra sure weapons are shown/hidden when they should be. Fix weapon NRE's on dedicated server