Gamerules: update player death sound def name
This commit is contained in:
parent
a8aa141778
commit
381412e4ba
3 changed files with 2 additions and 6 deletions
|
@ -142,7 +142,7 @@ HLMultiplayerRules::PlayerDeath(NSClientPlayer pl)
|
||||||
pl.gflags &= ~GF_FLASHLIGHT;
|
pl.gflags &= ~GF_FLASHLIGHT;
|
||||||
pl.gflags &= ~GF_EGONBEAM;
|
pl.gflags &= ~GF_EGONBEAM;
|
||||||
|
|
||||||
Sound_Play(pl, CHAN_AUTO, "player.die");
|
Sound_Play(pl, CHAN_AUTO, "Player.Death");
|
||||||
|
|
||||||
/* force respawn */
|
/* force respawn */
|
||||||
if (cvar("mp_forcerespawn") == 1) {
|
if (cvar("mp_forcerespawn") == 1) {
|
||||||
|
|
|
@ -27,7 +27,7 @@ HLSingleplayerRules::PlayerDeath(NSClientPlayer pl)
|
||||||
pl.SetSolid(SOLID_NOT);
|
pl.SetSolid(SOLID_NOT);
|
||||||
pl.SetTakedamage(DAMAGE_NO);
|
pl.SetTakedamage(DAMAGE_NO);
|
||||||
pl.SetHealth(0);
|
pl.SetHealth(0);
|
||||||
pl.StartSoundDef("player.die", CHAN_AUTO, true);
|
pl.StartSoundDef("Player.Death", CHAN_AUTO, true);
|
||||||
|
|
||||||
pl.gflags &= ~GF_FLASHLIGHT;
|
pl.gflags &= ~GF_FLASHLIGHT;
|
||||||
pl.armor = pl.activeweapon = pl.g_items = pl.weapon = 0;
|
pl.armor = pl.activeweapon = pl.g_items = pl.weapon = 0;
|
||||||
|
|
|
@ -47,10 +47,6 @@ seta "cross_color" "0 255 0"
|
||||||
// disable some nuclide niceties
|
// disable some nuclide niceties
|
||||||
seta cg_muzzleDLight 0
|
seta cg_muzzleDLight 0
|
||||||
|
|
||||||
// config compat
|
|
||||||
alias mp_timelimit timelimit
|
|
||||||
alias mp_fraglimit fraglimit
|
|
||||||
|
|
||||||
// video settings
|
// video settings
|
||||||
seta gl_overbright 0
|
seta gl_overbright 0
|
||||||
seta gl_ldr 1
|
seta gl_ldr 1
|
||||||
|
|
Loading…
Reference in a new issue