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

  1.  
  2. //ATR 1 Style Deathmatch Server
  3. //Creates a Death Match server
  4. //These DM levels have distinct base layouts
  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, ": ATR DM");
  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 =                        8500;
  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 =                            43;
  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 =                          0;
  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. //-------------------------------------------------
  113. // Start mission. Defines which mission from the
  114. // rotation list the server starts on.
  115. //-------------------------------------------------
  116. $server::Mission =                                  $MissionCycling::Stage0;
  117.  
  118. //Vehicles
  119. allowVehicle(                                      all,     FALSE  );
  120.  
  121. allowVehicle(                                           21,  TRUE  );      //Goad
  122. allowVehicle(                                            5,  TRUE  );      //Terran Basilisk
  123. allowVehicle(                                           30,  TRUE  );      //Emancipator
  124.  
  125. allowWeapon(                                       all,     FALSE  );
  126. allowWeapon(                                           101,  TRUE  );      //Laser
  127. allowWeapon(                                           102,  TRUE  );      //Heavy Laser
  128. allowWeapon(                                           107,  TRUE  );      //Blaster
  129. allowWeapon(                                           116,  TRUE  );      //Autocannon
  130. allowWeapon(                                           117,  TRUE  );      //Hvy Autocannon
  131. allowWeapon(                                           118,  TRUE  );      //EMC Autocannon
  132. allowWeapon(                                           126,  TRUE  );      //Sparrow 6
  133. allowWeapon(                                           131,  TRUE  );      //Arachnitron 4
  134. allowWeapon(                                           132,  TRUE  );      //Arachnitron 8
  135. allowWeapon(                                           133,  TRUE  );      //Arachnitron 12
  136. allowWeapon(                                           134,  TRUE  );      //Proximity 6
  137. allowWeapon(                                           135,  TRUE  );      //Proximity 10
  138. allowWeapon(                                           136,  TRUE  );      //Proximity 15
  139.  
  140. //Components
  141. //Reactors
  142. allowComponent(                                        200,  TRUE  );      //Human Micro Reactor
  143. allowComponent(                                        201,  TRUE  );      //Small Human Reactor 2 -- small
  144. allowComponent(                                        202,  TRUE  );      //Medium Human Reactor 1 Standard
  145. allowComponent(                                        203, FALSE  );      //Medium Human Reactor 2 medium
  146. allowComponent(                                        204, FALSE  );      //Large Human Reactor 1 -- large
  147. allowComponent(                                        205, FALSE  );      //Large Human Reactor 2-- Maxim
  148. allowComponent(                                        225,  TRUE  );      //Small Cybrid Reactor 1 -- Alpha
  149. allowComponent(                                        226,  TRUE  );      //Small Cybrid Reactor 2-- Beta
  150. allowComponent(                                        227,  TRUE  );      //Medium Cybrid Reactor 1 -- Gamma
  151. allowComponent(                                        228, FALSE  );      //Medium Cybrid Reactor 2--delta
  152. allowComponent(                                        229, FALSE  );      //Large Cybrid Reactor 1--epsilon
  153. allowComponent(                                        230, FALSE  );      //Large Cybrid Reactor 2--theta
  154. //Shields
  155. allo