mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Integrated multipleMapRotation
This commit is contained in:
parent
4b9486d765
commit
25681fd39c
|
|
@ -149,6 +149,8 @@ $Host::MaxPlayers = 30;
|
|||
$Host::MinBotDifficulty = 0;
|
||||
$Host::MinFlagRecordPlayerCount = 6;
|
||||
$Host::MissionType = "LakRabbit";
|
||||
$Host::MultipleMapRotation = 0;
|
||||
$Host::MultipleMapRotationCount = 3;
|
||||
$Host::NoBaseRapeEnabled = 1;
|
||||
$Host::NoBaseRapePlayerCount = 14;
|
||||
$Host::NoSmurfs = 0;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
//$Host::ClassicRotationFile = "prefs/mapRotation1.cs";
|
||||
|
||||
//Enable/Disable
|
||||
$EnableMultipleMapRotation = 0;
|
||||
//$Host::MultipleMapRotation = 0;
|
||||
|
||||
//How any mapRotation Files
|
||||
//Naming scheme mapRotation1.cs, mapRotation2.cs, mapRotation3.cs, etc
|
||||
$mapRotationFilesCount = 3;
|
||||
//$Host::MultipleMapRotationCount = 3;
|
||||
|
||||
function multipleMapRotation()
|
||||
{
|
||||
|
|
@ -15,7 +15,7 @@ function multipleMapRotation()
|
|||
|
||||
if(%var) //If number exists proceed
|
||||
{
|
||||
if(%var $= $mapRotationFilesCount)
|
||||
if(%var $= $Host::MultipleMapRotationCount)
|
||||
%var = 1;
|
||||
else
|
||||
%var = %var + 1;
|
||||
|
|
@ -34,5 +34,5 @@ function multipleMapRotationEcho()
|
|||
}
|
||||
|
||||
//Run
|
||||
if($EnableMultipleMapRotation)
|
||||
if($Host::MultipleMapRotation)
|
||||
multipleMapRotation();
|
||||
|
|
|
|||
|
|
@ -212,6 +212,8 @@ $Host::LoadScreenShowLogo = 0;
|
|||
$Host::LoadScreenShowLogoName = "dpub/DPUB_logo"; //Logo location Filename
|
||||
$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::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
|
||||
$Host::LakRabbitUnlimitedDJ = 1; //Unlimited disc-jumps if enabled
|
||||
|
|
|
|||
Loading…
Reference in a new issue