From 76049a76c9dd01ab317f1da22fbaea8507324661 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 21 Nov 2022 14:56:51 +1000 Subject: [PATCH] Adjust Survival time and point limits to allow shorter matches by default --- gamemodes-server.cfg | 2 +- qcsrc/common/gamemodes/gamemode/survival/survival.qh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gamemodes-server.cfg b/gamemodes-server.cfg index 2e6dc03bd..6161b72e3 100644 --- a/gamemodes-server.cfg +++ b/gamemodes-server.cfg @@ -594,4 +594,4 @@ set g_survival_hunter_count 0.25 "number of players who will become hunters, set set g_survival_punish_teamkill 1 "kill the player when they kill an ally" set g_survival_reward_survival 1 "give a point to all surviving players if the round timelimit is reached, in addition to the points given for kills" set g_survival_warmup 10 "how long the players will have time to run around the map before the round starts" -set g_survival_round_timelimit 180 "round time limit in seconds" +set g_survival_round_timelimit 120 "round time limit in seconds" diff --git a/qcsrc/common/gamemodes/gamemode/survival/survival.qh b/qcsrc/common/gamemodes/gamemode/survival/survival.qh index 17a01d84c..4b52ed200 100644 --- a/qcsrc/common/gamemodes/gamemode/survival/survival.qh +++ b/qcsrc/common/gamemodes/gamemode/survival/survival.qh @@ -9,7 +9,7 @@ void HUD_Mod_Survival(vector pos, vector mySize); CLASS(Survival, Gametype) INIT(Survival) { - this.gametype_init(this, _("Survival"),"sv","g_survival",GAMETYPE_FLAG_USEPOINTS,"","timelimit=30 pointlimit=20",_("Identify and eliminate all the hunters before all your allies are gone")); + this.gametype_init(this, _("Survival"),"sv","g_survival",GAMETYPE_FLAG_USEPOINTS,"","timelimit=20 pointlimit=12",_("Identify and eliminate all the hunters before all your allies are gone")); } METHOD(Survival, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter)) { -- 2.39.2