home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 54 / ClassicFond54.iso / games / stars.rar / Server_DM_TANKS.cs < prev    next >
Text File  |  1999-02-22  |  8KB  |  156 lines

  1. // FILENAME: server_DM_TANKS.cs
  2. //
  3. //Creates a Death Match server
  4.  
  5.  
  6. exec(serverLocation);
  7. //-------------------------------------------------
  8. //  RC file to start a server automatically
  9. //-------------------------------------------------
  10.  
  11. //-------------------------------------------------
  12. // Edit the parameters of this file to configure
  13. // your server options. Use notepad, not a word
  14. // processor. File must be saved as text only.
  15. //-------------------------------------------------
  16.  
  17. //-------------------------------------------------
  18. // Type the name for your server inside the quotes
  19. // Must be less then 22 characters
  20. //-------------------------------------------------
  21. $server::Hostname =                                strcat($Location, ": DM Tanks!");
  22.  
  23. //-------------------------------------------------
  24. // Password Protection. Leave blank for none.
  25. // Quotes optional.
  26. //-------------------------------------------------
  27. $server::Password =                                 "";
  28.  
  29. //-------------------------------------------------
  30. // Maximum player limit. 16 is highest.
  31. //-------------------------------------------------
  32. $server::MaxPlayers =                              16;
  33.  
  34. //-------------------------------------------------
  35. // Number of kills before server cycles.
  36. // If zero, kills are never reset.
  37. //-------------------------------------------------
  38. $server::FragLimit =                               20;
  39.  
  40. //-------------------------------------------------
  41. // Time limit in minutes before server cycles.
  42. // Must be a positive integer.
  43. //-------------------------------------------------
  44. $server::TimeLimit =                               20;
  45.  
  46. //-------------------------------------------------
  47. // Mass limit per player
  48. // Must be a positive integer or zero for no limit.
  49. //-------------------------------------------------
  50. $server::MassLimit =                                0;
  51.  
  52. //-------------------------------------------------
  53. // Combat Value limit per player
  54. // Must be a positive integer or zero for no limit.
  55. //-------------------------------------------------
  56. $server::CombatValueLimit =                         0;
  57.  
  58. //-------------------------------------------------
  59. // Team play options. TeamPlay false =              deathmatch.
  60. // TeamPlay true =                                  teams.
  61. //-------------------------------------------------
  62. $server::TeamPlay =                                 false;
  63.  
  64. //-------------------------------------------------
  65. // Team Mass limit - valid only when teamPlay is true
  66. // Must be a positive integer or zero for no limit.
  67. //-------------------------------------------------
  68. $server::TeamMassLimit =                            0;
  69.  
  70. //-------------------------------------------------
  71. // Team Combat Value Limit - valid only when teamPlay is true
  72. // Must be a positive integer or zero for no limit.
  73. //-------------------------------------------------
  74. $server::TeamCombatValueLimit =                     0;
  75.  
  76. //-------------------------------------------------
  77. // Tech Level Limit
  78. // Must be a positive integer less then or
  79. // equal to 128 or zero for no limit.
  80. //-------------------------------------------------
  81. $server::TechLevelLimit =                          5;
  82.  
  83. //-------------------------------------------------
  84. // Drop In Progress
  85. // Does server allow drop in progress??
  86. //-------------------------------------------------
  87. $server::DropInProgress =                           true;
  88.  
  89. //-------------------------------------------------
  90. // Mission rotation list. This is the order the
  91. // worlds will cycle in a game with either the frag
  92. // or time limits set.
  93. //-------------------------------------------------
  94. $MissionCycling::Stage0 =                          "DM_Avalanche";
  95. $MissionCycling::Stage1 =                          "DM_Terran_Conquest";
  96. $MissionCycling::Stage2 =                          "DM_Bloody_Brunch";
  97. $MissionCycling::Stage3 =                          "DM_City_on_the_Edge";
  98. $MissionCycling::Stage4 =                          "DM_Cold_Titan_Night";
  99. $MissionCycling::Stage5 =                          "DM_Fear_in_Isolation";
  100. $MissionCycling::Stage6 =                          "DM_Heavens_Peak";
  101. $MissionCycling::Stage7 =                          "DM_Impact";
  102. $MissionCycling::Stage8 =                          "DM_Lunacy";
  103. $MissionCycling::Stage9 =                          "DM_Mercury_Rising";
  104. $MissionCycling::Stage10 =                         "DM_Moonstrike";
  105. $MissionCycling::Stage11 =                         "DM_Requiem_for_Gen_Lanz";
  106. $MissionCycling::Stage12 =                         "DM_Sacrifice_to_Bast";
  107. $MissionCycling::Stage13 =                         "DM_State_of_Confusion";
  108. $MissionCycling::Stage14 =                         "DM_The_Guardian";
  109. $MissionCycling::Stage15 =                         "DM_Twin_Siege";
  110.  
  111. //-------------------------------------------------
  112. // Start mission. Defines which mission from the
  113. // rotation list the server starts on.
  114. //-------------------------------------------------
  115. $server::Mission =                                  $MissionCycling::Stage0;
  116.  
  117. //Vehicles
  118. allowVehicle(                                      all,     FALSE  );
  119. allowVehicle(                                           25,  TRUE  );      //Bolo
  120. allowVehicle(                                           26,  TRUE  );      //Recluse
  121. allowVehicle(                                           41,  TRUE  );      //Predator
  122. allowVehicle(                                           31,  TRUE  );      //Avenger
  123. allowVehicle(                                           32,  TRUE  );      //Dreadlock
  124. allowVehicle(                                            8,  TRUE  );      //Disrupter
  125. allowVehicle(                                            7,  TRUE  );      //Myrmidon
  126. allowVehicle(                                            6,  TRUE  );      //Paladin
  127. allowVehicle(                                           17,  TRUE  );      //Knight Disrupter
  128. allowVehicle(                                           16,  TRUE  );      //Knight Myrmidon
  129. allowVehicle(                                           15,  TRUE  );      //Knight Paladin
  130. allowVehicle(                                          138,  TRUE  );
  131. allowVehicle(                                          150,  TRUE  );
  132.  
  133. //weapons
  134. allowWeapon(                                       all,      TRUE  );
  135.  
  136. //Components
  137.  
  138. allowComponent(                                    all,      TRUE  );
  139. //Shields (disabled for tanks)
  140. allowComponent(                                        300, FALSE  );      //Human Standard Shield
  141. allowComponent(                                        301, FALSE  );      //Human Protector Shield
  142. allowComponent(                                        302, FALSE  );      //Human Guardian Shield
  143. allowComponent(                                        303, FALSE  );      //Human FastCharge Shield
  144. allowComponent(                                        304, FALSE  );      //Human Centurian Shield
  145. allowComponent(                                        305, FALSE  );      //Human Repulsor Shield
  146. allowComponent(                                        306, FALSE  );      //Human Titan Shield
  147. allowComponent(                                        307, FALSE  );      //Human Medusa Shield
  148. allowComponent(                                        326, FALSE  );      //Cybrid Alpha Shield
  149. allowComponent(                                        327, FALSE  );      //Cybrid Beta Shield
  150. allowComponent(                                        328, FALSE  );      //Cybrid Gamma Shield
  151. allowComponent(                                        329, FALSE  );      //Cybrid Delta Shield
  152. allowComponent(                                        330, FALSE  );      //Cybrid Epsilon Shield
  153. allowComponent(                                        331, FALSE  );      //Cybrid Zeta Shield
  154. allowComponent(                                        332, FALSE  );      //Cybrid Eta Shield
  155. allowComponent(                                        333, FALSE  );      //Cybrid Theta Shield