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

  1. // FILENAME:    DM_The_Guardian.cs
  2. //
  3. // AUTHORS:      Chupie Doll & Youth in Asia
  4. //------------------------------------------------------------------------------
  5.  
  6. $missionName = "DM_The_Guardian";
  7.  
  8. exec("multiplayerStdLib.cs");
  9. exec("DMstdLib.cs");
  10.  
  11. function setDefaultMissionOptions()
  12. {
  13.     $server::TeamPlay = false;
  14.     $server::AllowDeathmatch = true;
  15.     $server::AllowTeamPlay = true;    
  16.     
  17.     $server::AllowTeamRed = true;
  18.     $server::AllowTeamBlue = true;
  19.     $server::AllowTeamYellow = true;
  20.     $server::AllowTeamPurple = true;
  21. }
  22.  
  23. function onMissionLoad(){
  24.    cdAudioCycle("Yougot", "SS3", "SS1"); 
  25. }
  26.  
  27. function onMissionStart(){
  28.     titanSounds();
  29. }
  30.  
  31. function turret::onAdd(%this)
  32. {
  33.     if($server::TeamPlay == false)
  34.     {
  35.         setTeam(%this, *IDSTR_TEAM_NEUTRAL);
  36.     }
  37. }
  38.  
  39.