mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-04-07 18:42:44 +00:00
Tuned the scaling ctb respawn system a bit and defaulted g_RQ3_ctb_respawndelay
to 0
This commit is contained in:
parent
1a076cc555
commit
27fdd7d322
2 changed files with 13 additions and 5 deletions
|
@ -5,6 +5,10 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.115 2002/09/08 12:50:52 jbravo
|
||||
// Tuned the scaling ctb respawn system a bit and defaulted g_RQ3_ctb_respawndelay
|
||||
// to 0
|
||||
//
|
||||
// Revision 1.114 2002/09/02 00:06:33 slicer
|
||||
// Small fix on the g_RQ3_maxref cvar string
|
||||
//
|
||||
|
@ -577,7 +581,7 @@ static cvarTable_t gameCvarTable[] = {
|
|||
{&g_RQ3_twbanrounds, "g_RQ3_twbanrounds", "2", CVAR_ARCHIVE, 0, qtrue},
|
||||
{&g_RQ3_tkbanrounds, "g_RQ3_tkbanrounds", "2", CVAR_ARCHIVE, 0, qtrue},
|
||||
{&g_RQ3_ppl_idletime, "g_RQ3_ppl_idletime", "0", CVAR_ARCHIVE, 0, qtrue},
|
||||
{&g_RQ3_ctb_respawndelay, "g_RQ3_ctb_respawndelay", "20", CVAR_ARCHIVE, 0, qtrue},
|
||||
{&g_RQ3_ctb_respawndelay, "g_RQ3_ctb_respawndelay", "0", CVAR_ARCHIVE, 0, qtrue},
|
||||
{&g_RQ3_idleaction, "g_RQ3_idleaction", "0", CVAR_ARCHIVE, 0, qtrue},
|
||||
//Blaze: let cvar.cfg be set by the server admins
|
||||
{&g_RQ3_cvarfile, "g_RQ3_cvarfile", "cvar.cfg", CVAR_ARCHIVE, 0, qtrue},
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.136 2002/09/08 12:50:52 jbravo
|
||||
// Tuned the scaling ctb respawn system a bit and defaulted g_RQ3_ctb_respawndelay
|
||||
// to 0
|
||||
//
|
||||
// Revision 1.135 2002/09/07 22:40:01 jbravo
|
||||
// Added a scaling ctb respawn system. Fixed a bug that allowed players to
|
||||
// spawn before their team respawn with the team command.
|
||||
|
@ -1362,13 +1366,13 @@ void MakeSpectator(gentity_t * ent)
|
|||
if (level.numPlayingClients <= 4)
|
||||
level.ctb_respawndelay = 5;
|
||||
else if (level.numPlayingClients <= 6)
|
||||
level.ctb_respawndelay = 8;
|
||||
level.ctb_respawndelay = 6;
|
||||
else if (level.numPlayingClients <= 8)
|
||||
level.ctb_respawndelay = 12;
|
||||
level.ctb_respawndelay = 7;
|
||||
else if (level.numPlayingClients <= 10)
|
||||
level.ctb_respawndelay = 15;
|
||||
level.ctb_respawndelay = 8;
|
||||
else
|
||||
level.ctb_respawndelay = 20;
|
||||
level.ctb_respawndelay = 10;
|
||||
} else {
|
||||
level.ctb_respawndelay = g_RQ3_ctb_respawndelay.integer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue