From 83f5b24ba634ce74f2c3dcac49b805b305ba788a Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Mon, 26 Apr 2021 05:00:00 +0200 Subject: [PATCH] More details to karma bankick tool info --- gamemodes-server.cfg | 2 +- qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/gamemodes-server.cfg b/gamemodes-server.cfg index f19b435f0..aa8d33bcb 100644 --- a/gamemodes-server.cfg +++ b/gamemodes-server.cfg @@ -580,7 +580,7 @@ set g_mmm_warmup 10 "how long the players will have time to run around the map b set g_mmm_round_timelimit 180 "round time limit in seconds" set g_mmm_max_karma_points 1000 "limit of maximum number of karma points will have in the server" set g_mmm_min_karma_points 400 "limit where number of karma points can be reached when are being decreased" -set g_mmm_karma_bankick_tool 0 "tool for strict rules when karma is low: '0' forces player to spec, '1' kicks player, '2' bans player" +set g_mmm_karma_bankick_tool 1 "tool for strict rules when karma is low: '0' nothing does, '1' forces player to spec, '2' kicks player, '3' bans player" set g_mmm_karma_bantime 1800 "number of seconds to ban someone with very low karma" set g_mmm_karma_damageactive 1 "enable karma damage rule. If a player's karma is low, they will not do as much damage as a player who has high or full karma" set g_mmm_karma_damagepunishmentdeal 20 "punishment damage points when player kills an ally" diff --git a/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc b/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc index c970f6335..6b31fed5d 100644 --- a/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc +++ b/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc @@ -18,13 +18,6 @@ float autocvar_g_mmm_karma_severity = 0.25; float autocvar_g_mmm_karma_damagepunishmentdeal = 20; //LegendGuard sets Karma punishment damage setting if player kills an ally 28-03-2021 // Sleuth is a created team, this team is added inside Civilians team -/*scoreboard.qc method -void KarmaScore_GetField(entity pl, PlayerScoreField field) -{ - if (field == SP_MMM_KARMA) - float karmap = pl.(scores(SP_MMM_KARMA)); -}*/ - void mmm_FakeTimeLimit(entity e, float t) { if(!IS_REAL_CLIENT(e)) -- 2.39.2