home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / pc / softdox / bleeding.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  1.1 KB  |  37 lines

  1. ========
  2. Newsgroups: alt.games.apogee
  3. Subject: GAME.CON addition - Bleeding
  4. From: Trevor Hancher <drone@io.org>
  5. Date: Thu, 15 Feb 1996 20:37:24 -0500
  6.  
  7. If anyone is interested , here's an addition I've made to GAME.CON . It 
  8. causes the player to leave a blood trail and slowly lose health once his 
  9. health drops below 20 (or whatever you want). It adds a bit of a 
  10. challenge to solo play, and allows you to track down wounded in 
  11. DukeMatch.
  12.  
  13.  Anyways, it goes in around line 1000 between the two lines I have 
  14. marked :
  15.  
  16.     ifaction 0 action PSTAND // enter code below this line
  17.     
  18.     ifrnd 1 ifphealthl 20 
  19.     {
  20.         spawn BLOODPOOL
  21.         addphealth -1 // you lose this amount of health when you bleed
  22.         soundonce DUKE_LONGTERM_PAIN
  23.     }
  24.     
  25.     ifdead // enter code above this line
  26.  
  27.  Of note, the ifrnd 1 controls the frequency of bleeding (increase 1 to 
  28. bleed faster) and the 20 controls the health below which you will bleed.
  29.  
  30. Hope you enjoy this :)
  31.  
  32.  Trev
  33.  drone@io.org
  34.  
  35. Coming in the future : Randomly booby trapped trooper bodies (already 
  36. working) :)
  37.