Server: Add the missing player death sounds we all know and love.
This commit is contained in:
parent
cacc015ae0
commit
a40ae10035
3 changed files with 12 additions and 1 deletions
|
@ -64,6 +64,9 @@ TFCGameRules::PlayerDeath(NSClientPlayer pp)
|
|||
pl.SetMovetype(MOVETYPE_NONE);
|
||||
pl.think = PlayerRespawn;
|
||||
pl.nextthink = time + 4.0f;
|
||||
|
||||
/* play the iconic death sound */
|
||||
Sound_Play(pl, CHAN_VOICE, "player_tfc.death");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -25,9 +25,9 @@ Game_Worldspawn(void)
|
|||
{
|
||||
Sound_Precache("ammo.pickup");
|
||||
Sound_Precache("ammo.respawn");
|
||||
Sound_Precache("player.die");
|
||||
Sound_Precache("player.fall");
|
||||
Sound_Precache("player.lightfall");
|
||||
Sound_Precache("player_tfc.death");
|
||||
precache_model("models/player.mdl");
|
||||
precache_model("models/w_weaponbox.mdl");
|
||||
Weapons_Init();
|
||||
|
|
8
zpak001.pk3dir/sound/player_tfc.sndshd
Normal file
8
zpak001.pk3dir/sound/player_tfc.sndshd
Normal file
|
@ -0,0 +1,8 @@
|
|||
player_tfc.death
|
||||
{
|
||||
sample player/death1.wav
|
||||
sample player/death2.wav
|
||||
sample player/death3.wav
|
||||
sample player/death4.wav
|
||||
sample player/death5.wav
|
||||
}
|
Loading…
Reference in a new issue