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

  1. // FILENAME:    CTF_Winter_Wasteland.cs
  2. //
  3. // AUTHORS:      Chupie Doll & Youth in Asia
  4. //------------------------------------------------------------------------------
  5.  
  6. $missionName = "CTF_Winter_Wasteland";
  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.     $server::AllowTeamRed = false;
  25.     $server::AllowTeamBlue = true;
  26.     $server::AllowTeamYellow = false;
  27.     $server::AllowTeamPurple = true;
  28.  
  29.    // what can the server admin choose for available teams
  30.    $server::disableTeamRed = true;
  31.    $server::disableTeamBlue = false;
  32.    $server::disableTeamYellow = true;
  33.    $server::disableTeamPurple = false;
  34. }
  35.  
  36. function onMissionStart()
  37. {
  38.     initGlobalVars(); // a necessary call to CTFstdlib.cs
  39.    
  40.    windSounds();
  41.     iceSounds();
  42. }
  43.  
  44. function onMissionLoad()
  45. {
  46.    cdAudioCycle("SS3", "Gnash", "Cloudburst"); 
  47. }   
  48.  
  49.