Guest User

Untitled

a guest
Jun 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1.  
  2. $Host::Mission["BladeRun"] = 0;
  3. $Host::Mission["DesertMap01"] = 1;
  4. $Host::Mission["Elegiac"] = 2;
  5. $Host::Mission["Fallout"] = 3;
  6. $Host::Mission["Forgotten"] = 4;
  7. $Host::Mission["Gorge"] = 5;
  8. $Host::Mission["GrassMap01"] = 6;
  9. $Host::Mission["Mirage"] = 7;
  10. $Host::Mission["Sleepwalker"] = 8;
  11. $Host::Mission["SnowMap01"] = 9;
  12. $Host::Mission["SnowMap02"] = 10;
  13. $Host::Mission["Stygian"] = 11;
  14. $Host::Mission["TheCore"] = 12;
  15. $Host::Mission["NewBladeRun2"] = 13;
  16. //$Host::Mission["Reactor"] = 14;
  17.  
  18. %MissionPath = "legions/data/missions/";
  19.  
  20. // A lot of these will be overrided by Server::create() in server.cs
  21. // if the options are selected using the GUI page gameMenu.cs
  22. $Host::Name = "A Dedicated Server";
  23. $Host::GameType = "CTF";
  24. $Host::MaxPlayers = 32;
  25. $Host::MaxObservers = 10;
  26. $Host::Type = "Multiplayer Web";
  27. $Host::MinimumStartPlayers = 1;
  28. $Host::BroadcastMaster = true;
  29.  
  30. $Host::Maps::MissionFile[0] = %MissionPath @ "BladeRun.mis";
  31. $Host::Maps::Weight[0] = 1.0;
  32. $Host::Maps::MinPlayers[0] = 0;
  33. $Host::Maps::MaxPlayers[0] = 12;
  34.  
  35. $Host::Maps::MissionFile[1] = %MissionPath @ "DesertMap01.mis";
  36. $Host::Maps::Weight[1] = 1.0;
  37. $Host::Maps::MinPlayers[1] = 0;
  38. $Host::Maps::MaxPlayers[1] = 12;
  39.  
  40. $Host::Maps::MissionFile[2] = %MissionPath @ "Elegiac.mis";
  41. $Host::Maps::Weight[2] = 1.0;
  42. $Host::Maps::MinPlayers[2] = 0;
  43. $Host::Maps::MaxPlayers[2] = 12;
  44.  
  45. $Host::Maps::MissionFile[3] = %MissionPath @ "Fallout.mis";
  46. $Host::Maps::Weight[3] = 1.0;
  47. $Host::Maps::MinPlayers[3] = 0;
  48. $Host::Maps::MaxPlayers[3] = 12;
  49.  
  50. $Host::Maps::MissionFile[4] = %MissionPath @ "Forgotten.mis";
  51. $Host::Maps::Weight[4] = 1.0;
  52. $Host::Maps::MinPlayers[4] = 0;
  53. $Host::Maps::MaxPlayers[4] = 12;
  54.  
  55. $Host::Maps::MissionFile[5] = %MissionPath @ "Gorge.mis";
  56. $Host::Maps::Weight[5] = 1.0;
  57. $Host::Maps::MinPlayers[5] = 0;
  58. $Host::Maps::MaxPlayers[5] = 12;
  59.  
  60. $Host::Maps::MissionFile[6] = %MissionPath @ "GrassMap01.mis";
  61. $Host::Maps::Weight[6] = 1.0;
  62. $Host::Maps::MinPlayers[6] = 0;
  63. $Host::Maps::MaxPlayers[6] = 12;
  64.  
  65. $Host::Maps::MissionFile[7] = %MissionPath @ "Mirage.mis";
  66. $Host::Maps::Weight[7] = 1.0;
  67. $Host::Maps::MinPlayers[7] = 0;
  68. $Host::Maps::MaxPlayers[7] = 12;
  69.  
  70. $Host::Maps::MissionFile[8] = %MissionPath @ "Sleepwalker.mis";
  71. $Host::Maps::Weight[8] = 1.0;
  72. $Host::Maps::MinPlayers[8] = 0;
  73. $Host::Maps::MaxPlayers[8] = 12;
  74.  
  75. $Host::Maps::MissionFile[9] = %MissionPath @ "SnowMap01.mis";
  76. $Host::Maps::Weight[9] = 1.0;
  77. $Host::Maps::MinPlayers[9] = 0;
  78. $Host::Maps::MaxPlayers[9] = 12;
  79.  
  80. $Host::Maps::MissionFile[10] = %MissionPath @ "SnowMap02.mis";
  81. $Host::Maps::Weight[10] = 1.0;
  82. $Host::Maps::MinPlayers[10] = 0;
  83. $Host::Maps::MaxPlayers[10] = 12;
  84.  
  85. $Host::Maps::MissionFile[11] = %MissionPath @ "Stygian.mis";
  86. $Host::Maps::Weight[11] = 1.0;
  87. $Host::Maps::MinPlayers[11] = 0;
  88. $Host::Maps::MaxPlayers[11] = 12;
  89.  
  90. $Host::Maps::MissionFile[12] = %MissionPath @ "TheCore.mis";
  91. $Host::Maps::Weight[12] = 1.0;
  92. $Host::Maps::MinPlayers[12] = 0;
  93. $Host::Maps::MaxPlayers[12] = 12;
  94.  
  95. $Host::Maps::MissionFile[13] = %MissionPath @ "NewBladeRun2.mis";
  96. $Host::Maps::Weight[13] = 1.0;
  97. $Host::Maps::MinPlayers[13] = 0;
  98. $Host::Maps::MaxPlayers[13] = 12;
  99.  
  100. //$Host::Maps::MissionFile[14] = %MissionPath @ "Reactor.mis";
  101. //$Host::Maps::Weight[14] = 1.0;
  102. //$Host::Maps::MinPlayers[14] = 0;
  103. //$Host::Maps::MaxPlayers[14] = 12;
  104.  
  105. Network::startHeartbeats();
Add Comment
Please, Sign In to add comment