diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-04-16 21:07:23 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-04-18 01:14:59 +0200 |
commit | 5b1432ceacc84de2abfb4cfd0e6c040ab5cb9491 (patch) | |
tree | 465613461078c2060236ab8ff7b8428da23870fe /src/game/g_main.c | |
parent | 259c996ebe14cdb52e4a47149ce6c33dbeffa4d3 (diff) |
The Autobahn system.
This commit adds two important things:
* Automatically dropping a player if their score is too low.
* Restricting a player while waiting for a reply from Schachtmeister.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 5fe4307..cd53e3f 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -281,7 +281,8 @@ vmCvar_t g_maxUnregReports; vmCvar_t g_reportWelcomeComment; vmCvar_t g_schachtmeisterClearThreshold; -vmCvar_t g_schachtmeisterAutobahnThreshold; +vmCvar_t g_schachtmeisterAutobahnThreshold; +vmCvar_t g_schachtmeisterAutobahnMessage; vmCvar_t g_scrimMode; @@ -548,8 +549,9 @@ static cvarTable_t gameCvarTable[ ] = { &g_scrimMode, "g_scrimMode", "0", CVAR_ARCHIVE, 0, qfalse }, - { &g_schachtmeisterClearThreshold, "g_schachtmeisterClearThreshold", "0", CVAR_ARCHIVE, 0, qfalse }, - { &g_schachtmeisterAutobahnThreshold, "g_schachtmeisterAutobahnThreshold", "-50", CVAR_ARCHIVE, 0, qfalse }, + { &g_schachtmeisterClearThreshold, "g_schachtmeisterClearThreshold", "-10", CVAR_ARCHIVE, 0, qfalse }, + { &g_schachtmeisterAutobahnThreshold, "g_schachtmeisterAutobahnThreshold", "-30", CVAR_ARCHIVE, 0, qfalse }, + { &g_schachtmeisterAutobahnMessage, "g_schachtmeisterAutobahnMessage", "Your host is blacklisted.", CVAR_ARCHIVE, 0, qfalse }, { &g_revertCooldownTime, "g_revertCooldownTime", "30", CVAR_ARCHIVE, 0, qfalse } }; |