74 Commits over 0 Days - ∞cph!
Add BaseWeapon.DeployTime, resolves #86
Add data annotations to GameConfig
Add Crowbar hit sound
AmmoResource is not null fix in Pickup
Removed WeaponModel.BeamEffect, any notion of beam effect from base weapon - this lives in GluonWeapon, responding to events
Removed some logs
Rename OwnerPlayer() to Owner, add some comments
Update rat death prefab to use new version of impactfleshmist
Show a countdown on the scoreboard when we're in results stage, resolves #83
Same throw position code for RPG
Add icon to crossbow bolt projectile
Fixed shotgun and mp5 default clip sizes
Unify headshot damage, add gameplay config for it
Buff Python damage to 50 (was 12)
Added `sbdm.bots.notarget`
Fixed projectiles not carrying over correct kill icons, added proper icons for rpg projectile, mp5 projectile
HornetProjectile sound can be null, remove the sound but keep the code there because the RPG noise is crazy loud for a fish
🤦🏻 - fixed CrossbowWeapon projectile direction, resolves #77
Fixed another tripmine error when there's no parent
Play third person attack animations where relevant, resolves #80
Fixed kill feed row height, resolves #79
Add weapon icon to kill feed entries
TimedExplosive -> Explosive (updated prefab refs too)
Hook up ammo resource to grenade pickup
Fix TripmineWeapon NRE (player invalid), add assert if the placed tripmine prefab is not valid
Die if we dip below 1 health, ceil health on hud, resolves #73
Add scorch to explosions
Reduced shell bounce sound range significantly
WorldModel/BaseCarryable doesn't define/implement backpack feature, instead send events on creation/destruction of WorldModel
Add WeaponPlayerAttachment, can either attach a prefab (that'll get spawned) or a referenced GameObject in WorldModel's hierarchy
Don't need these
Add component that plays only self collision sounds, add to bullet eject prefab
Get rid of the game / overlay render code in ViewModel because it's fucking up some of the guns (ones we're using mp5 anims for)
Use Application.IsDedicatedServer wherever we were using IsHeadless before
Add CrossbowWeapon, CrossbowProjectile, needs some polish/improvements but is working
Fixed renderer viewmodel logic
Shotgun: Alternate attack with higher damage per pellet, takes 2 bullets, has higher shoot dleay
Fixed TakeAmmo not working with count param
Shotgun: Increase crosshair gap
Adjust shotgun punch and shake, don't eject 12 casings per shot
Python: Add shoot delay only if we can shoot
Automatically set render options for viewmodel renderers so we don't have to fuck around every time we make a weapon
Add Shotgun, incremental reloading, reload cancelling option
Add voices UI, tweaked voice transmitter properties to not be worldspace
Don't do effects if we're the server in many cases
Rat: if on ground, keep pitch at 0
Update item inventory slots to be more consistent (throwables in 5, special weapons in 4)
Rat: die after a set period of time (30s by default)
TriggerHurt: Look for a collider instead of RequireComponent
Remove transform offset from map loader
Use our new map by default
Rat: give weapon a svg icon
Fix rat pickup item prefab reference
Rat: try to bite target if we're lunging and they're close enough
Rat: add grounded checks instead of arbitrary timing
Add rat weapon that throws a rat
Rat NPC (doesn't hurt the player yet)
Rat cleanup
Add Projectile with common functionality, RpgProjectile derives from it
Moved GaussWeapon into its respective folder
BaseWeapon can check / take ammo from name (good for secondary attack)
Give MP5 grenade launcher secondary attack
RpgWeapon structure cleanup
Mp5: Fixed not being able to secondary attack if we run out of primary ammo
Gauss: spin viewmodel's coil every time we consume a bit of ammo
Make gauss coil parent to a separate bone so we can rotate it later
Update Gauss model to use blockout
Use correct model for Rpg item