home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 54 / ClassicFond54.iso / games / stars.rar / multiplayer / CTF_Balance_of_Power.cs next >
Text File  |  1999-02-19  |  1KB  |  51 lines

  1. // FILENAME:    CTF_Balance_of_Power.cs
  2. //
  3. // AUTHORS:      Chupie Doll & Youth in Asia
  4. //------------------------------------------------------------------------------
  5.  
  6. $missionName = "CTF_Balance_Of_Power";
  7.  
  8. $maxFlagCount  = 8;           // no of flags required by a team to end the game
  9. $flagValue     = 5;          // points your team gets for capturing
  10. $carrierValue  = 2;          //  "      "    "    "    " killing carrier
  11. $killPoints    = 1;
  12. $deathPoints   = 1;
  13. $flagTime = 240;
  14.  
  15. exec("multiplayerStdLib.cs");
  16. exec("CTFstdLib.cs");
  17.  
  18. function setDefaultMissionOptions()
  19. {
  20.     $server::TeamPlay = true;
  21.     $server::AllowDeathmatch = false;
  22.     $server::AllowTeamPlay = true;    
  23.  
  24.    // what can the client choose for a team
  25.     $server::AllowTeamRed = false;
  26.     $server::AllowTeamBlue = true;
  27.     $server::AllowTeamYellow = false;
  28.     $server::AllowTeamPurple = true;
  29.  
  30.    // what can the server admin choose for available teams
  31.    $server::disableTeamRed = true;
  32.    $server::disableTeamBlue = false;
  33.    $server::disableTeamYellow = true;
  34.    $server::disableTeamPurple = false;
  35. }
  36.  
  37. function onMissionLoad()
  38. {
  39.    logStandardMissionStart();
  40.  
  41.    cdAudioCycle("Cyberntx", "Cloudburst", "Terror"); 
  42. }
  43.  
  44. function onMissionStart()
  45. {
  46.     initGlobalVars();
  47.    
  48.     temperateSounds();
  49. }
  50.  
  51.