This commit is contained in:
ChocoTaco 2019-06-05 19:59:07 -04:00
parent 27b7386250
commit cf82816aa6
3 changed files with 7 additions and 7 deletions

View file

@ -164,7 +164,7 @@ $Host::EvoTKWarn2 = 6;
$Host::EvoTourneySameMap = 1;
$Host::EvoUseHighPerformanceCounter = 0;
$Host::FloodProtectionEnabled = 1;
$Host::ForceAFKObserverTime = 1;
$Host::AFKTime = 1;
$Host::GameName = "Discord PU";
$Host::HiVisibility = "1";
$Host::holoName1 = "Storm";

View file

@ -4,9 +4,9 @@
//TacoServer:
//Change to how many minutes to set forced Observer for AFK players
//Setting to 0 disables this feature
//$Host::ForceAFKObserverTime = 1;
//$Host::AFKTime = 1;
$dtVar::AFKtime = 60000 * $Host::ForceAFKObserverTime;//if player is afk specific amount of time, force them into observer
$dtVar::AFKtime = 60000 * $Host::AFKTime;//if player is afk specific amount of time, force them into observer
$dtVar::AFKloop = 1000 * 30;//loop check timer currently set to 30 secs
////////////////////////////////////////////////////////////////////////////////
@ -89,8 +89,8 @@ function DefaultGame::AFKForceObserver(%game, %client)
%client.camera.getDataBlock().setMode( %client.camera, "observerFly" );
messageClient(%client, 'MsgClientJoinTeam', '\c2You have been placed into observer mode due to being AFK.', %client.name, %game.getTeamName(0), %client, 0 );
logEcho(%client.nameBase@" (cl "@%client@") was forced into observer mode for being AFK");
messageClient(%client, 'MsgClientJoinTeam', '\c2You have been placed into observer mode due to inactivity.', %client.name, %game.getTeamName(0), %client, 0 );
logEcho(%client.nameBase@" (cl "@%client@") was forced into observer mode due to inactivity");
%client.lastTeam = %client.team;
if($Host::TournamentMode)
@ -124,7 +124,7 @@ function DefaultGame::AFKForceObserver(%game, %client)
//displayObserverHud(%client, 0);
updateObserverFlyHud(%client);
messageAllExcept(%client, -1, 'MsgClientJoinTeam', '\c2%1 has been placed into observer mode due to being AFK.', %client.name, %game.getTeamName(0), %client, 0 );
messageAllExcept(%client, -1, 'MsgClientJoinTeam', '\c2%1 has been placed into observer mode due to inactivity.', %client.name, %game.getTeamName(0), %client, 0 );
updateCanListenState( %client );

View file

@ -203,7 +203,7 @@ $Host::loadingmsgline3 = "Required Mappacks: "; //Loading screen msg lin
$Host::loadingmsgline3content = "S5 S8 TWL TWL2"; //Loading screen msg content 3
$Host::loadingmsgline4 = "Hosted by: "; //Loading screen msg line 4
$Host::loadingmsgline4content = "Branzone"; //Loading screen msg content 4
$Host::ForceAFKObserverTime = 1; //Change the time in minutes it takes to force a player into observer mode for being AFK
$Host::AFKTime = 1; //Time in minutes to put AFK player in observer mode, 0 disables it
//LakRabbit
$Host::EnableLakUnlimitedDJ = 1; //Unlimited disc-jumps if enabled
$Host::LakRabbitNoSplashDamage = 0; //Splash Damage enabled or not