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