home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / zaxe1 / zaxe.pat < prev    next >
Encoding:
Text File  |  1996-08-27  |  1.1 KB  |  38 lines

  1. Binary files v101qc/zaxe.dem and zaxe/zaxe.dem differ
  2. diff -ur --new-file -x progs.dat -x progdefs.h -x *.bak -x *~ -x *.rej -x *.cfg -x *.sav v101qc/zombie.qc zaxe/zombie.qc
  3. --- v101qc/zombie.qc    Thu Jul 25 01:51:24 1996
  4. +++ zaxe/zombie.qc    Tue Aug 27 07:01:38 1996
  5. @@ -415,9 +415,24 @@
  6.  void(entity attacker, float take) zombie_pain =
  7.  {
  8.      local float r;
  9. +    local vector v;
  10.  
  11.      self.health = 60;        // allways reset health
  12.  
  13. +    if (self.axhitme) {
  14. +        self.axhitme = 0;
  15. +        self.cnt = self.cnt + 1;
  16. +        if (random() < 0.4)  // Meat spray only, most of the time
  17. +            ThrowGib("progs/zom_gib.mdl", self.health);
  18. +               else if (random() < 0.3)
  19. +                       ThrowGib("progs/gib1.mdl", self.health);
  20. +               else if (random() < 0.5)
  21. +                       ThrowGib("progs/gib2.mdl", self.health);
  22. +               else
  23. +                       ThrowGib("progs/gib3.mdl", self.health);
  24. +        if(self.cnt > 5)
  25. +            T_Damage(self, attacker, attacker, 100);
  26. +    }
  27.      if (take < 9)
  28.          return;                // totally ignore
  29.  
  30. @@ -497,6 +512,7 @@
  31.  
  32.      setsize (self, '-16 -16 -24', '16 16 40');
  33.      self.health = 60;
  34. +    self.cnt = 0;  // 5 axe hits kills me
  35.  
  36.      self.th_stand = zombie_stand1;
  37.      self.th_walk = zombie_walk1;
  38.