From 381412e4ba235d4154a6cee0c4a87aac87f375ae Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Mon, 8 Jan 2024 15:29:28 -0800 Subject: [PATCH] Gamerules: update player death sound def name --- src/server/gamerules_multiplayer.qc | 2 +- src/server/gamerules_singleplayer.qc | 2 +- zpak001.pk3dir/default.cfg | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/server/gamerules_multiplayer.qc b/src/server/gamerules_multiplayer.qc index f16fb12..3aa70bb 100644 --- a/src/server/gamerules_multiplayer.qc +++ b/src/server/gamerules_multiplayer.qc @@ -142,7 +142,7 @@ HLMultiplayerRules::PlayerDeath(NSClientPlayer pl) pl.gflags &= ~GF_FLASHLIGHT; pl.gflags &= ~GF_EGONBEAM; - Sound_Play(pl, CHAN_AUTO, "player.die"); + Sound_Play(pl, CHAN_AUTO, "Player.Death"); /* force respawn */ if (cvar("mp_forcerespawn") == 1) { diff --git a/src/server/gamerules_singleplayer.qc b/src/server/gamerules_singleplayer.qc index 531e4fd..026e462 100644 --- a/src/server/gamerules_singleplayer.qc +++ b/src/server/gamerules_singleplayer.qc @@ -27,7 +27,7 @@ HLSingleplayerRules::PlayerDeath(NSClientPlayer pl) pl.SetSolid(SOLID_NOT); pl.SetTakedamage(DAMAGE_NO); pl.SetHealth(0); - pl.StartSoundDef("player.die", CHAN_AUTO, true); + pl.StartSoundDef("Player.Death", CHAN_AUTO, true); pl.gflags &= ~GF_FLASHLIGHT; pl.armor = pl.activeweapon = pl.g_items = pl.weapon = 0; diff --git a/zpak001.pk3dir/default.cfg b/zpak001.pk3dir/default.cfg index 0e6b964..adda979 100644 --- a/zpak001.pk3dir/default.cfg +++ b/zpak001.pk3dir/default.cfg @@ -47,10 +47,6 @@ seta "cross_color" "0 255 0" // disable some nuclide niceties seta cg_muzzleDLight 0 -// config compat -alias mp_timelimit timelimit -alias mp_fraglimit fraglimit - // video settings seta gl_overbright 0 seta gl_ldr 1