home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / das_dm10 / extras.qc < prev    next >
Encoding:
Text File  |  1996-08-13  |  1.7 KB  |  78 lines

  1. /*
  2. Help and status messages by DaScott
  3. */ 
  4.  
  5. void() ShowHelp =
  6.  
  7.   {
  8.   sprint(self, "=======\n");
  9.   sprint(self, "DaScott's DM Modifications 1.0\n");
  10.   sprint(self, "das_dm10.zip  email: dascott@richnet.com\n");
  11.   sprint(self, "========\n");
  12.   sprint(self, "Alternate Weapon Mode: Impulse 20\n");
  13.   sprint(self, "Throw Backpack: Impulse 21\n");
  14.   sprint(self, "Multiskin: Impulse 200/201 to cycle\n");
  15.   sprint(self, "Observation mode: Impulse 210\n");
  16.   sprint(self, "Server info: Impulse 35\n");
  17.   };
  18.  
  19. void() ShowSettings =
  20.  
  21.   {
  22.   local string das;
  23.   local float timelimit, fraglimit;
  24.  
  25.   timelimit = cvar("timelimit");
  26.   fraglimit = cvar("fraglimit");
  27.  
  28. // sprint(self, "Your Server Name here\n");   Advertising space ;>
  29.  
  30.   if (deathmatch)
  31.   {
  32.    das = ftos(deathmatch);
  33.    sprint(self, "Deathmatch: ");
  34.    sprint(self, das);
  35.   }
  36.  
  37.   if (coop)
  38.    sprint(self, "Cooperative ");
  39.  
  40.   if (teamplay)
  41.   {
  42.    das = ftos(teamplay);
  43.    sprint(self, "   Teamplay: ");
  44.    sprint(self, das);
  45.    sprint(self, "\n");
  46.   }
  47.  
  48.   if (fraglimit)
  49.   {
  50.    das = ftos(fraglimit);
  51.    sprint(self, "  Fraglimit: ");
  52.    sprint(self, das);
  53.    sprint(self, "\n");
  54.   }
  55.  
  56.   if (timelimit)
  57.   {
  58.    das = ftos(timelimit);
  59.    sprint(self, "Timelimit: ");
  60.    sprint(self, das);
  61.    sprint(self, "\n");
  62.   }
  63.  
  64.   if (cvar("noexit"))
  65.    sprint(self, "No Exit!\n");
  66.  
  67. };
  68.  
  69. void() ObserverHelp =
  70.  
  71. {
  72.   sprint(self, "Observer Mode Help: You are\n");
  73.   sprint(self, "NOCLIP, FLYING, GODMODE, INVIS\n");
  74.   sprint(self, "Up/down swim keys change altitude\n");
  75.   sprint(self, "You will remain an observer until change of map");
  76.   sprint(self, "Or you may reconnect\n");
  77. };
  78.