mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-29 15:35:24 +00:00
Integrated multipleMapRotation
This commit is contained in:
parent
4b9486d765
commit
25681fd39c
3 changed files with 8 additions and 4 deletions
|
|
@ -149,6 +149,8 @@ $Host::MaxPlayers = 30;
|
||||||
$Host::MinBotDifficulty = 0;
|
$Host::MinBotDifficulty = 0;
|
||||||
$Host::MinFlagRecordPlayerCount = 6;
|
$Host::MinFlagRecordPlayerCount = 6;
|
||||||
$Host::MissionType = "LakRabbit";
|
$Host::MissionType = "LakRabbit";
|
||||||
|
$Host::MultipleMapRotation = 0;
|
||||||
|
$Host::MultipleMapRotationCount = 3;
|
||||||
$Host::NoBaseRapeEnabled = 1;
|
$Host::NoBaseRapeEnabled = 1;
|
||||||
$Host::NoBaseRapePlayerCount = 14;
|
$Host::NoBaseRapePlayerCount = 14;
|
||||||
$Host::NoSmurfs = 0;
|
$Host::NoSmurfs = 0;
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
//$Host::ClassicRotationFile = "prefs/mapRotation1.cs";
|
//$Host::ClassicRotationFile = "prefs/mapRotation1.cs";
|
||||||
|
|
||||||
//Enable/Disable
|
//Enable/Disable
|
||||||
$EnableMultipleMapRotation = 0;
|
//$Host::MultipleMapRotation = 0;
|
||||||
|
|
||||||
//How any mapRotation Files
|
//How any mapRotation Files
|
||||||
//Naming scheme mapRotation1.cs, mapRotation2.cs, mapRotation3.cs, etc
|
//Naming scheme mapRotation1.cs, mapRotation2.cs, mapRotation3.cs, etc
|
||||||
$mapRotationFilesCount = 3;
|
//$Host::MultipleMapRotationCount = 3;
|
||||||
|
|
||||||
function multipleMapRotation()
|
function multipleMapRotation()
|
||||||
{
|
{
|
||||||
|
|
@ -15,7 +15,7 @@ function multipleMapRotation()
|
||||||
|
|
||||||
if(%var) //If number exists proceed
|
if(%var) //If number exists proceed
|
||||||
{
|
{
|
||||||
if(%var $= $mapRotationFilesCount)
|
if(%var $= $Host::MultipleMapRotationCount)
|
||||||
%var = 1;
|
%var = 1;
|
||||||
else
|
else
|
||||||
%var = %var + 1;
|
%var = %var + 1;
|
||||||
|
|
@ -34,5 +34,5 @@ function multipleMapRotationEcho()
|
||||||
}
|
}
|
||||||
|
|
||||||
//Run
|
//Run
|
||||||
if($EnableMultipleMapRotation)
|
if($Host::MultipleMapRotation)
|
||||||
multipleMapRotation();
|
multipleMapRotation();
|
||||||
|
|
|
||||||
|
|
@ -212,6 +212,8 @@ $Host::LoadScreenShowLogo = 0;
|
||||||
$Host::LoadScreenShowLogoName = "dpub/DPUB_logo"; //Logo location Filename
|
$Host::LoadScreenShowLogoName = "dpub/DPUB_logo"; //Logo location Filename
|
||||||
$Host::MapChangeMSG = 0; //Center Print between mapchanges
|
$Host::MapChangeMSG = 0; //Center Print between mapchanges
|
||||||
$Host::MapChangeMSGContent = "<color:3cb4b4><font:Sui Generis:22>Pickup Night\n<color:3cb4b4><font:Univers:16>Saturday, March 5th\n<color:3cb4b4><font:Univers:16>Join discord for details";
|
$Host::MapChangeMSGContent = "<color:3cb4b4><font:Sui Generis:22>Pickup Night\n<color:3cb4b4><font:Univers:16>Saturday, March 5th\n<color:3cb4b4><font:Univers:16>Join discord for details";
|
||||||
|
$Host::MultipleMapRotation = 0; //Rotate thru multiple map rotation files 1,2,3, etc
|
||||||
|
$Host::MultipleMapRotationCount = 3; //How many multiple map rotation files (mapRotation1.cs, mapRotation2.cs, mapRotation3.cs, etc)
|
||||||
|
|
||||||
//LakRabbit
|
//LakRabbit
|
||||||
$Host::LakRabbitUnlimitedDJ = 1; //Unlimited disc-jumps if enabled
|
$Host::LakRabbitUnlimitedDJ = 1; //Unlimited disc-jumps if enabled
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue