mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 00:24:35 +00:00
Update
This commit is contained in:
parent
27b7386250
commit
cf82816aa6
3 changed files with 7 additions and 7 deletions
|
|
@ -164,7 +164,7 @@ $Host::EvoTKWarn2 = 6;
|
||||||
$Host::EvoTourneySameMap = 1;
|
$Host::EvoTourneySameMap = 1;
|
||||||
$Host::EvoUseHighPerformanceCounter = 0;
|
$Host::EvoUseHighPerformanceCounter = 0;
|
||||||
$Host::FloodProtectionEnabled = 1;
|
$Host::FloodProtectionEnabled = 1;
|
||||||
$Host::ForceAFKObserverTime = 1;
|
$Host::AFKTime = 1;
|
||||||
$Host::GameName = "Discord PU";
|
$Host::GameName = "Discord PU";
|
||||||
$Host::HiVisibility = "1";
|
$Host::HiVisibility = "1";
|
||||||
$Host::holoName1 = "Storm";
|
$Host::holoName1 = "Storm";
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@
|
||||||
//TacoServer:
|
//TacoServer:
|
||||||
//Change to how many minutes to set forced Observer for AFK players
|
//Change to how many minutes to set forced Observer for AFK players
|
||||||
//Setting to 0 disables this feature
|
//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
|
$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" );
|
%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 );
|
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 for being AFK");
|
logEcho(%client.nameBase@" (cl "@%client@") was forced into observer mode due to inactivity");
|
||||||
%client.lastTeam = %client.team;
|
%client.lastTeam = %client.team;
|
||||||
|
|
||||||
if($Host::TournamentMode)
|
if($Host::TournamentMode)
|
||||||
|
|
@ -124,7 +124,7 @@ function DefaultGame::AFKForceObserver(%game, %client)
|
||||||
//displayObserverHud(%client, 0);
|
//displayObserverHud(%client, 0);
|
||||||
updateObserverFlyHud(%client);
|
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 );
|
updateCanListenState( %client );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -203,7 +203,7 @@ $Host::loadingmsgline3 = "Required Mappacks: "; //Loading screen msg lin
|
||||||
$Host::loadingmsgline3content = "S5 S8 TWL TWL2"; //Loading screen msg content 3
|
$Host::loadingmsgline3content = "S5 S8 TWL TWL2"; //Loading screen msg content 3
|
||||||
$Host::loadingmsgline4 = "Hosted by: "; //Loading screen msg line 4
|
$Host::loadingmsgline4 = "Hosted by: "; //Loading screen msg line 4
|
||||||
$Host::loadingmsgline4content = "Branzone"; //Loading screen msg content 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
|
//LakRabbit
|
||||||
$Host::EnableLakUnlimitedDJ = 1; //Unlimited disc-jumps if enabled
|
$Host::EnableLakUnlimitedDJ = 1; //Unlimited disc-jumps if enabled
|
||||||
$Host::LakRabbitNoSplashDamage = 0; //Splash Damage enabled or not
|
$Host::LakRabbitNoSplashDamage = 0; //Splash Damage enabled or not
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue