home *** CD-ROM | disk | FTP | other *** search
/ OK CD GAMER Epoca 1 / OKCDG01.iso / NIVELES / HEXEN01.ZIP / FALL.ACS < prev    next >
Encoding:
Text File  |  1996-01-14  |  1.8 KB  |  66 lines

  1. #include "common.acs"
  2.  
  3. script 1 open
  4. {
  5. int tid;
  6. while (1)
  7. {
  8.         Thing_Spawn(1, random(68, 75), 0);
  9.         delay(70);
  10.         Thing_Spawn(2, random(11, 18), 0);
  11.         delay(70);
  12. // fighter stuff
  13.         tid = random(28, 31);           // this is to make sure that the fighter gets the axe not the hammer
  14.         if(tid==28) tid = 27;
  15.         Thing_Spawn(3, tid, 0);
  16.         delay(70);
  17. // cleric stuff
  18.         Thing_Spawn(4, random(32, 35), 0);
  19.         delay(70);
  20. // mage stuff
  21.         Thing_Spawn(5, random(36, 39), 0);
  22.         delay(70);
  23.         Thing_Spawn(6, random(22, 26), 0);
  24.         delay(70);
  25. // The character's second weapons are not on the list of spawnable things :<
  26.  
  27. }
  28. }
  29.  
  30.  
  31. script 2 open
  32. {
  33.         if(gametype() == GAME_NET_COOPERATIVE)
  34.         {
  35.                 printbold(s: "YOU LITTLE WEENIES WANT TO PLAY COOPERATIVELY");
  36.                 delay(30);
  37.                 Thing_Spawn(1,2,0);
  38.                 Thing_Spawn(2,2,0);
  39.                 Thing_Spawn(3,2,0);
  40.                 Thing_Spawn(4,2,0);
  41.                 Thing_Spawn(5,2,0);
  42.         }
  43.         else
  44.         if(gametype() == GAME_SINGLE_PLAYER)
  45.         {
  46.                 printbold(s: "WHAT'S THE MATTER, COULDN'T FIND ANYONE TO DM");
  47.                 delay(40);
  48.  
  49.                 Thing_Spawn(1,2,0);
  50.                 Thing_Spawn(2,2,0);
  51.                 Thing_Spawn(3,2,0);
  52.                 Thing_Spawn(4,2,0);
  53.                 Thing_Spawn(5,2,0);
  54.         }
  55.         else
  56.         {
  57.                 print(s: "THIS IS DEATH MATCH!");
  58.                 delay(40);
  59.                 print(s: "THERE ARE", d: playercount(), s: "PLAYERS.");
  60.                 delay(40);
  61.                 printbold(s: "KILL!");
  62.                 ambientsound("PlayerFighterExtreme1Death", 127);
  63.         }
  64. }
  65.  
  66.