NOTE: This Plugin Has Been Remade to a Newer Version Here
// DESCRIPTION:
// ============
//
// - Players drop their grenades (if they have any) when they die
// - Other players can pick up dropped grenades
// - dropped grenades can appear with either real grenade models or
// with the "Ammo Box" models so that players can see the difference
// between dropped and thrown grenades
// - special effects can be enabled for dropped grenades
// - grenades will be removed once a round is finished
// - additionally each player's previously dropped grenade(s) can be removed
// before dropping new ones.
Quote:// USAGE:
// ======
//
// CVARS:
//
// dod_dropgrenades_enabled <1/0> = enable/disable DoD DropGrenades
// 1 = enabled
// 0 = disabled
//
// dod_dropgrenades_removeold <1/0> = enable/disable removing player's
// previously dropped grenade(s) before
// dropping new ones
// 1 = enabled
// 0 = all grenades stay until roundend
//
// dod_dropgrenades_nademodel <1/2> = sets models for dropped grenades
// 1 = use real grenade models
// 2 = use "Ammo Box" models
//
// dod_dropgrenades_nadefx <1/2/0> = sets effects for dropped grenades
// 1 = yellow particle snow
// 2 = models are glowing in team's color
// 0 = no special effects
//
//
// ADMIN COMMAND:
//
// amx_dropgrenades <1/0> = enable/disable DoD DropGrenades
// 1 = enable
// 0 = disable and remove all dropped grenades
Quote:// CHANGELOG:
// ==========
//
// - 26.07.2005 Version 0.5beta
// Initial Public Release
//
// - 21.08.2005 Version 0.5beta2
// workaround:
// - added a fix for strange behavior on AMXX 1.50beta
//
// - 27.08.2005 Version 0.6beta
// changes:
// - removed workaround for AMXX 1.50beta as the bug is
// fixed in AMXX 1.55 which everyone should rather use
// than 1.50beta!
//
// - 21.05.2006 Version 0.6
// changes:
// - fixed it so that whatever type of grenade that is picked
// up it will give that user their types of grenade not an
// enemy one.
ok, I tried this plugin, and amxx says it is running, I get no errors, and in game when I use the amx_dropgrenades 1, it says it is already running, yet there is nothing anywhere that remotely resembles a nade to pick up. I tried all the fx settings, tried using the 2 different model choices, and even hoped they were simply "invisible", but to no avail...
I have looked through the code, did not find anything out of the ordinary, tried a few changes, and still nothing.... (well, creating an entity called info_target, which is what the nade "is" seems rather odd to me, as a mapper, but I am sure it can not be this)
There is nothing I hate more, then a plugin that runs, but doesn't work... hard to troubleshoot it with out some sort of an error, or glaring problem... but for all I can tell, it WANTS to work, and nothing is stopping it... it just isn't doing anything...
ive had problems with this too.. sometimes it works.. other times it seems like nothing happens.. sometimes ppl drop the wrong nades.. etc..
I started doing some fixes to the code and cleaning it up a bit but never got around to finishing up.. dont even know where i put it lol..
and the info target is used for most plugins that create entities, especially those that arent normal dod ents (tho i dont see why it doesnt just create like weapon_stickgrenade and so on from the get go.. but whatever)
I've only noticed I'm having problems with this plugin. When a axis dies he drops allies nades and when allies or british die they don't drop nades at all. Anyone know how ta fix this problem??