LCTF Things

This commit is contained in:
ChocoTaco 2025-05-03 01:42:22 -04:00
parent 5f323ddb27
commit bac741baf6
2 changed files with 50 additions and 48 deletions

View file

@ -132,7 +132,7 @@ function LCTFGame::initGameVars(%game)
%game.SCORE_PER_REPAIR_DEP_TUR = 3;
%game.SCORE_PER_REPAIR_DEP_INV = 2;
%game.FLAG_RETURN_DELAY = 45 * 1000;
%game.FLAG_RETURN_DELAY = 25 * 1000;
%game.TIME_CONSIDERED_FLAGCARRIER_THREAT = 3 * 1000;
%game.RADIUS_GEN_DEFENSE = 20;
@ -2521,8 +2521,6 @@ function Player::maxInventory(%this, %data){
function LCTFGame::LCTFOneMine(%game, %admin, %arg1, %arg2, %arg3, %arg4)
{
if( $countdownStarted && $MatchStarted )
{
if(%admin)
{
killeveryone();
@ -2575,7 +2573,6 @@ function LCTFGame::LCTFOneMine(%game, %admin, %arg1, %arg2, %arg3, %arg4)
else
messageAll('MsgVoteFailed', '\c2Mode change did not pass: %1 percent.', mFloor(%game.totalVotesFor/ClientGroup.getCount() * 100));
}
}
}
// For voting to work properly - evo admin.ovl

View file

@ -44,7 +44,12 @@ function loadMissionStage2()
//Tournament Mode specifics
if($Host::TournamentMode)
{
if(!$CurrentMissionType $= "LCTF")
$Host::TimeLimit = 30; //TimeLimit Always 30 minutes in Tourney Mode
else //LCTF 20 Minutes
$Host::TimeLimit = 20; //TimeLimit Always 20 minutes in LCTF Tourney Mode
}
else
{
//Disable if active