WEAPON_NAILGUN/WEAPON_SUPERNAILGUN: projectile_supernail entityDef should make ricochet sound upon exploding

This commit is contained in:
Marco Cawthorne 2024-03-02 00:53:00 -08:00
parent f1f1fe0b36
commit 1797666453
Signed by: eukara
GPG key ID: CE2032F0A2882A22
3 changed files with 10 additions and 0 deletions

View file

@ -32,6 +32,7 @@ entityDef projectile_nail
"impact_gib" "0" "impact_gib" "0"
"model_detonate" "weapon_nailgun.impact" "model_detonate" "weapon_nailgun.impact"
"decal_detonate" "Impact.Shot" "decal_detonate" "Impact.Shot"
"snd_explode" "weapon_nailgun.ricochet"
} }
entityDef damage_nailDirect entityDef damage_nailDirect

View file

@ -32,6 +32,7 @@ entityDef projectile_supernail
"impact_gib" "0" "impact_gib" "0"
"model_detonate" "weapon_supernailgun.impact" "model_detonate" "weapon_supernailgun.impact"
"decal_detonate" "Impact.Shot" "decal_detonate" "Impact.Shot"
"snd_explode" "weapon_nailgun.ricochet"
} }
entityDef damage_supernailDirect entityDef damage_supernailDirect

View file

@ -28,6 +28,14 @@ weapon_supershotgun.shoot
sample weapons/shotgn2.wav sample weapons/shotgn2.wav
} }
weapon_nailgun.ricochet
{
alerts
sample weapons/ric1.wav
sample weapons/ric2.wav
sample weapons/ric3.wav
}
weapon_nailgun.shoot weapon_nailgun.shoot
{ {
alerts alerts