Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Host::Mission["BladeRun"] = 0;
- $Host::Mission["DesertMap01"] = 1;
- $Host::Mission["Elegiac"] = 2;
- $Host::Mission["Fallout"] = 3;
- $Host::Mission["Forgotten"] = 4;
- $Host::Mission["Gorge"] = 5;
- $Host::Mission["GrassMap01"] = 6;
- $Host::Mission["Mirage"] = 7;
- $Host::Mission["Sleepwalker"] = 8;
- $Host::Mission["SnowMap01"] = 9;
- $Host::Mission["SnowMap02"] = 10;
- $Host::Mission["Stygian"] = 11;
- $Host::Mission["TheCore"] = 12;
- $Host::Mission["NewBladeRun2"] = 13;
- //$Host::Mission["Reactor"] = 14;
- %MissionPath = "legions/data/missions/";
- // A lot of these will be overrided by Server::create() in server.cs
- // if the options are selected using the GUI page gameMenu.cs
- $Host::Name = "A Dedicated Server";
- $Host::GameType = "CTF";
- $Host::MaxPlayers = 32;
- $Host::MaxObservers = 10;
- $Host::Type = "Multiplayer Web";
- $Host::MinimumStartPlayers = 1;
- $Host::BroadcastMaster = true;
- $Host::Maps::MissionFile[0] = %MissionPath @ "BladeRun.mis";
- $Host::Maps::Weight[0] = 1.0;
- $Host::Maps::MinPlayers[0] = 0;
- $Host::Maps::MaxPlayers[0] = 12;
- $Host::Maps::MissionFile[1] = %MissionPath @ "DesertMap01.mis";
- $Host::Maps::Weight[1] = 1.0;
- $Host::Maps::MinPlayers[1] = 0;
- $Host::Maps::MaxPlayers[1] = 12;
- $Host::Maps::MissionFile[2] = %MissionPath @ "Elegiac.mis";
- $Host::Maps::Weight[2] = 1.0;
- $Host::Maps::MinPlayers[2] = 0;
- $Host::Maps::MaxPlayers[2] = 12;
- $Host::Maps::MissionFile[3] = %MissionPath @ "Fallout.mis";
- $Host::Maps::Weight[3] = 1.0;
- $Host::Maps::MinPlayers[3] = 0;
- $Host::Maps::MaxPlayers[3] = 12;
- $Host::Maps::MissionFile[4] = %MissionPath @ "Forgotten.mis";
- $Host::Maps::Weight[4] = 1.0;
- $Host::Maps::MinPlayers[4] = 0;
- $Host::Maps::MaxPlayers[4] = 12;
- $Host::Maps::MissionFile[5] = %MissionPath @ "Gorge.mis";
- $Host::Maps::Weight[5] = 1.0;
- $Host::Maps::MinPlayers[5] = 0;
- $Host::Maps::MaxPlayers[5] = 12;
- $Host::Maps::MissionFile[6] = %MissionPath @ "GrassMap01.mis";
- $Host::Maps::Weight[6] = 1.0;
- $Host::Maps::MinPlayers[6] = 0;
- $Host::Maps::MaxPlayers[6] = 12;
- $Host::Maps::MissionFile[7] = %MissionPath @ "Mirage.mis";
- $Host::Maps::Weight[7] = 1.0;
- $Host::Maps::MinPlayers[7] = 0;
- $Host::Maps::MaxPlayers[7] = 12;
- $Host::Maps::MissionFile[8] = %MissionPath @ "Sleepwalker.mis";
- $Host::Maps::Weight[8] = 1.0;
- $Host::Maps::MinPlayers[8] = 0;
- $Host::Maps::MaxPlayers[8] = 12;
- $Host::Maps::MissionFile[9] = %MissionPath @ "SnowMap01.mis";
- $Host::Maps::Weight[9] = 1.0;
- $Host::Maps::MinPlayers[9] = 0;
- $Host::Maps::MaxPlayers[9] = 12;
- $Host::Maps::MissionFile[10] = %MissionPath @ "SnowMap02.mis";
- $Host::Maps::Weight[10] = 1.0;
- $Host::Maps::MinPlayers[10] = 0;
- $Host::Maps::MaxPlayers[10] = 12;
- $Host::Maps::MissionFile[11] = %MissionPath @ "Stygian.mis";
- $Host::Maps::Weight[11] = 1.0;
- $Host::Maps::MinPlayers[11] = 0;
- $Host::Maps::MaxPlayers[11] = 12;
- $Host::Maps::MissionFile[12] = %MissionPath @ "TheCore.mis";
- $Host::Maps::Weight[12] = 1.0;
- $Host::Maps::MinPlayers[12] = 0;
- $Host::Maps::MaxPlayers[12] = 12;
- $Host::Maps::MissionFile[13] = %MissionPath @ "NewBladeRun2.mis";
- $Host::Maps::Weight[13] = 1.0;
- $Host::Maps::MinPlayers[13] = 0;
- $Host::Maps::MaxPlayers[13] = 12;
- //$Host::Maps::MissionFile[14] = %MissionPath @ "Reactor.mis";
- //$Host::Maps::Weight[14] = 1.0;
- //$Host::Maps::MinPlayers[14] = 0;
- //$Host::Maps::MaxPlayers[14] = 12;
- Network::startHeartbeats();
Add Comment
Please, Sign In to add comment