diff --git a/Classic/scripts/autoexec/zDebriefLoadingScreen.cs b/Classic/scripts/autoexec/zDebriefLoadingScreen.cs old mode 100644 new mode 100755 index ea903fd..6b4e758 --- a/Classic/scripts/autoexec/zDebriefLoadingScreen.cs +++ b/Classic/scripts/autoexec/zDebriefLoadingScreen.cs @@ -33,11 +33,11 @@ // $Host::LoadScreenLine1 = "Join Discord:"; // $Host::LoadScreenLine1_Msg = "https://discord.me/tribes2"; // $Host::LoadScreenLine2 = "Game Modes:"; -// $Host::LoadScreenLine2_Msg = "LakRabbit, Capture the Flag, DeathMatch, (Light Only) Capture the Flag"; +// $Host::LoadScreenLine2_Msg = "LakRabbit, Capture the Flag, DeathMatch, (Light Only) Capture the Flag"; // $Host::LoadScreenLine3 = "Required Mappacks:"; // $Host::LoadScreenLine3_Msg = "S5, S8, TWL, TWL2"; // $Host::LoadScreenLine4 = "Server Provided by:"; -// $Host::LoadScreenLine4_Msg = "Ravin"; +// $Host::LoadScreenLine4_Msg = "Ravin"; // $Host::LoadScreenLine5 = "Server Hosted by:"; // $Host::LoadScreenLine5_Msg = "Branzone"; // $Host::LoadScreenLine6 = "Server Github:"; @@ -51,7 +51,7 @@ // First Screen loading time (Map Screen) // If this is set too low the second screen wont show at all -$dtLoadingScreen::FirstScreen = 6000; +$dtLoadingScreen::FirstScreen = 5500; // Second Screen Delay $dtLoadingScreen::Delay = 0; @@ -75,7 +75,7 @@ if( $Host::LoadScreenColor3 $= " " ) $Host::LoadScreenColor3 = "33CCCC"; // So ServerDefaults wont replace a "" value when meant to be blank function DLSBlank() { - for(%x = 1; %x <= 4; %x++) + for(%x = 1; %x <= 4; %x++) { if( $Host::LoadScreenMOTD[%x] $= "") { @@ -88,7 +88,7 @@ DLSBlank(); // Keep it in a package to be neat and organized! package LoadScreenPackage { - function sendLoadInfoToClient( %client ) + function sendLoadInfoToClient( %client ) { //error( "** SENDING LOAD INFO TO CLIENT " @ %client @ "! **" ); %singlePlayer = $CurrentMissionType $= "SinglePlayer"; @@ -149,7 +149,7 @@ if (!isActivePackage(LoadScreenPackage) && $Host::LoadingScreenUseDebrief) // Dont even try to override sendModInfoToClient since evo has it // Just make our own function ALTsendModInfoToClient(%client) -{ +{ // Wont allow Debrief on consecutive map loads if(%client.loaded) { @@ -160,7 +160,7 @@ function ALTsendModInfoToClient(%client) // Sound // As the background hum will stop on the debrief page // Breaks the abrupt stop - // LoadingScreen sounds are limited to 5 secs or you'll receive an error + // LoadingScreen sounds are limited to 5 secs or you'll receive an error %snd = '~wgui/inventory_hum.wav'; messageClient(%client, 'MsgLoadQuoteLine', %snd, ""); @@ -169,10 +169,10 @@ function ALTsendModInfoToClient(%client) %line3 = "" @ $Host::LoadScreenLine3 @ " " @ $Host::LoadScreenLine3_Msg; %line4 = "" @ $Host::LoadScreenLine4 @ " " @ $Host::LoadScreenLine4_Msg; %line5 = "" @ $Host::LoadScreenLine5 @ " " @ $Host::LoadScreenLine5_Msg; - %line6 = "" @ $Host::LoadScreenLine6 @ " " @ $Host::LoadScreenLine6_Msg; + %line6 = "" @ $Host::LoadScreenLine6 @ " " @ $Host::LoadScreenLine6_Msg; if($Host::TimeLimit $= "999" || $Host::TimeLimit $= "unlimited") %timeloadingvar = "Unlimited"; else %timeloadingvar = $Host::TimeLimit; - + if($Host::KickObserverTimeout $= 0) %obskickvar = "Off"; else %obskickvar = ($Host::KickObserverTimeout / 60) @ " Minutes"; %time = "Time limit: " @ %timeloadingvar; @@ -201,13 +201,13 @@ function ALTsendModInfoToClient(%client) $dmlP = 0; - + $dtLoadingScreen::LoadScreenMessage[$dmlP++] = " "; // Images // Desired pics much exist in the texticons folder on the client in some capacity //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - + if($dtLoadingScreen::ShowImages) { $dtLoadingScreen::LoadScreenMessage[$dmlP++] = " "; @@ -218,13 +218,13 @@ function ALTsendModInfoToClient(%client) $dtLoadingScreen::LoadScreenMessage[$dmlP++] = ""; case 2: $dtLoadingScreen::LoadScreenMessage[$dmlP++] = ""; - case 3: + case 3: $dtLoadingScreen::LoadScreenMessage[$dmlP++] = ""; - case 4: + case 4: $dtLoadingScreen::LoadScreenMessage[$dmlP++] = ""; } //$dtLoadingScreen::LoadScreenMessage[$dmlP++] = ""; - + $dtLoadingScreen::LoadScreenMessage[$dmlP++] = " "; $dtLoadingScreen::LoadScreenMessage[$dmlP++] = " "; $dtLoadingScreen::LoadScreenMessage[$dmlP++] = " "; @@ -240,7 +240,7 @@ function ALTsendModInfoToClient(%client) if(%client.dmpVersion $=$DMP::Version) { $dtLoadingScreen::LoadScreenMessage[$dmlP++] = ""; - + $dtLoadingScreen::LoadScreenMessage[$dmlP++] = " "; $dtLoadingScreen::LoadScreenMessage[$dmlP++] = " "; $dtLoadingScreen::LoadScreenMessage[$dmlP++] = " "; @@ -322,7 +322,7 @@ function ALTsendModInfoToClient(%client) //$dtLoadingScreen::LoadScreenMessage[$dmlP++] = "*" @ $Host::GameName; //$dtLoadingScreen::LoadScreenMessage[$dmlP++] = "" @ $Host::Info; - //$dtLoadingScreen::LoadScreenMessage[$dmlP++] = "Map Info:"; + //$dtLoadingScreen::LoadScreenMessage[$dmlP++] = "Map Info:"; //$dtLoadingScreen::LoadScreenMessage[$dmlP++] = %currentmis; schedule($dtLoadingScreen::Delay, 0, "sendLoadscreen", %client); @@ -351,17 +351,17 @@ function sendLoadscreen(%client) { %msgTag = $dtLoadingScreen::LoadScreenMessage[%a]; messageClient(%client, 'MsgDebriefAddLine', "", %msgTag); - } + } %MOTDHeader = "Events:"; %MOTDMsg1 = "" @ $Host::LoadScreenMOTD1; %MOTDMsg2 = "" @ $Host::LoadScreenMOTD2; %MOTDMsg3 = "" @ $Host::LoadScreenMOTD3; %MOTDMsg4 = "" @ $Host::LoadScreenMOTD4; - + //MOTD Loop //Leave line " " in ServerPrefs to not show a line - for(%x = 1; %x <= 4; %x++) + for(%x = 1; %x <= 4; %x++) { if($Host::LoadScreenMOTD[%x] !$= " " && $Host::LoadScreenMOTD[%x] !$= "") { @@ -375,7 +375,7 @@ function sendLoadscreen(%client) messageClient(%client, 'MsgDebriefAddLine', "", %MOTDMsg[%x]); } } - + // Normal Screen Always in the Background // If client hits continue during debrief screen sendLoadInfoToClient(%client); @@ -383,7 +383,7 @@ function sendLoadscreen(%client) // Show normal second screen during following map loads function NORMALsendModInfoToClient(%client) -{ +{ %line1 = "" @ $Host::LoadScreenLine1 @ " " @ $Host::LoadScreenLine1_Msg; %line2 = "" @ $Host::LoadScreenLine2 @ " " @ $Host::LoadScreenLine2_Msg; %line3 = "" @ $Host::LoadScreenLine3 @ " " @ $Host::LoadScreenLine3_Msg; @@ -397,7 +397,7 @@ function NORMALsendModInfoToClient(%client) %max = "Max players: " @ $Host::MaxPlayers; %net = "Packets Rate / Size: " @ $pref::Net::PacketRateToClient @ " / " @ $pref::Net::PacketSize; %smurf = "Refuse smurfs: " @ ($Host::NoSmurfs ? "On" : "Off"); - + //%random = "Random teams: " @ ($RandomTeams ? "On" : "Off"); //%fair = "Fair teams: " @ ($Host::ClassicFairTeams ? "On" : "Off"); //%rape = "No Base Rape: " @ ($Host::EvoNoBaseRapeEnabled ? "On" : "Off"); @@ -492,4 +492,4 @@ function NORMALsendModInfoToClient(%client) messageClient(%client, 'MsgLoadRulesLine', "", %ServerTextLine[%line], !%singlePlayer); messageClient(%client, 'MsgLoadInfoDone'); -} \ No newline at end of file +}