Server: Add the missing player death sounds we all know and love.
This commit is contained in:
parent
cacc015ae0
commit
a40ae10035
|
@ -64,6 +64,9 @@ TFCGameRules::PlayerDeath(NSClientPlayer pp)
|
||||||
pl.SetMovetype(MOVETYPE_NONE);
|
pl.SetMovetype(MOVETYPE_NONE);
|
||||||
pl.think = PlayerRespawn;
|
pl.think = PlayerRespawn;
|
||||||
pl.nextthink = time + 4.0f;
|
pl.nextthink = time + 4.0f;
|
||||||
|
|
||||||
|
/* play the iconic death sound */
|
||||||
|
Sound_Play(pl, CHAN_VOICE, "player_tfc.death");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -25,9 +25,9 @@ Game_Worldspawn(void)
|
||||||
{
|
{
|
||||||
Sound_Precache("ammo.pickup");
|
Sound_Precache("ammo.pickup");
|
||||||
Sound_Precache("ammo.respawn");
|
Sound_Precache("ammo.respawn");
|
||||||
Sound_Precache("player.die");
|
|
||||||
Sound_Precache("player.fall");
|
Sound_Precache("player.fall");
|
||||||
Sound_Precache("player.lightfall");
|
Sound_Precache("player.lightfall");
|
||||||
|
Sound_Precache("player_tfc.death");
|
||||||
precache_model("models/player.mdl");
|
precache_model("models/player.mdl");
|
||||||
precache_model("models/w_weaponbox.mdl");
|
precache_model("models/w_weaponbox.mdl");
|
||||||
Weapons_Init();
|
Weapons_Init();
|
||||||
|
|
|
@ -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 New Issue