home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / plusgren / plusgren.txt < prev    next >
Encoding:
Text File  |  1996-08-10  |  2.5 KB  |  54 lines

  1. PLUSGrenade, Quake grenade enhancements.
  2. ----------------------------------------
  3. Author: Niklas Angare, kuai@angare.se, NiAn on undernet.
  4. Version: 1.0
  5.  
  6. Description:
  7. Adds a new grenade that launches a selectable number of exploding lava balls
  8. and a proximity grenade. Select grenade type by pressing '6' (impulse 6)
  9. multiple times.
  10.  
  11. LavaGrenade features:
  12. - Select number of lava balls using impulse 230-239. 239 for 9 lava balls etc.
  13.   5 is the default.
  14. - Uses 1 rocket plus 3 cells per lava ball. If there's not enough ammo, a
  15.   normal grenade will be fired.
  16. - Lava balls fly in random directions.
  17. - Lava balls may randomly explode in the air.
  18.  
  19. ProxGrenade features:
  20. - Activates after 4 seconds at which point a tink sound is emitted.
  21. - If it has not yet been activated, and it has bounced at least once,
  22.   it can be picked up by anyone.
  23. - Explodes as soon as a living entity is within range AND can be hurt by the
  24.   explosion. It will not explode if you are on the other side of a wall.
  25. - Uses 5 grenades. If there's not enough ammo, a normal grenade will be fired.
  26. - Explodes after 30 seconds if it has not yet exploded.
  27.  
  28. Bugs and quirks:
  29. - When the proximity grenade is lying still on the ground, it cannot be picked
  30.   up (you must pick it up while it's still bouncing). This is a feature of
  31.   quake itself. I might find a work around in the future.
  32.   Programmers note: my guess is that the touch function is only called for
  33.   one of the possibly multiple things that an entity is touching. In this
  34.   case, it only calls the touch function for the touch with the ground.
  35. - There are no new graphics. I am working on it, though. One of the things
  36.   that make it difficult is that all the users in a net game must have the
  37.   new graphics (if they don't they can't play on that server). It is possible
  38.   to change the textures only, but not the 3d models. We'll see what happens.
  39.  
  40. Instructions:
  41. - Make a directory called for example \quake\plusgren.
  42. - Copy the progs.dat from this archive to the new directory.
  43. - Add '-game plusgren' to the quake command-line (start quake with
  44.   'quake -game plusgren' etc).
  45.  
  46. Source code:
  47. I have released the code for all to learn from, but please do not abuse my
  48. goodwill by copying large chunks of it. If you want to distribute my code
  49. as a part of a package, ask me first!
  50.  
  51. Final words:
  52. - Thanks to ReVeNaNT for the lava grenade idea and a tiny part of the code.
  53. - If you decide to use my grenades on a public server, please let me know!
  54.