home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / fall / fall.txt < prev   
Encoding:
Text File  |  1996-08-26  |  1.3 KB  |  42 lines

  1. Real Fall patch 
  2.  
  3. This patch effects realistic falling damage on unwitting players.  Heh heh.
  4. It scales damage geometrically at increments of 10', and allows players to be
  5. hurt after falling through water if they hit solid ground beneath (they still
  6. have to fall farther than if there wasn't any water however).
  7.  
  8. I plan on making them able to be hurt by simply impacting on the water if
  9. they fall from a great enough height eventually.
  10.  
  11. It's pretty funny falling from a great height only to gib when you hit the
  12. ground.  Your head even bounces around a few times.  :)
  13.  
  14. To install this patch, you must do a few things:
  15.  
  16. (1) edit progs.src and put fall.qc on the line ABOVE client.qc
  17.  
  18. (2) edit client.qc and delete the lines from around 1146 thru the line
  19.         self.jump_flag = 0;
  20.     and add the line
  21.         CheckFall();
  22.  
  23.     it should look something like this:
  24.  
  25.     if ((self.jump_flag < -300) && (self.flags & FL_ONGROUND) && (self.health > 0))
  26.         {
  27.                 CheckFall();
  28.         self.jump_flag = 0;
  29.     }
  30.  
  31. (3) make sure fall.qc is in the same directory as the rest of the qc files and
  32.     then compile with qccdos and try it out
  33.  
  34. Chris (heaven@interoz.com)
  35. Wrath, Leader of the Seven Deadly Sins (Quake Clan)
  36. http://www.interoz.com/usr/heaven
  37. http://www.sphere.org/quake (site updated almost daily)
  38. Jesus rules!
  39.  
  40.  
  41.  
  42.