DoD Plugins Archive
This site is an archive — everything is readable and downloadable, nothing can be posted.
Hello There, Guest!

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Old] DoD DropGrenades ( v0.6 )
#1
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.


Attached Files
.sma   dod_dropgrenades.sma (Size: 14.13 KB / Downloads: 246)
#2
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...
#3
Have u entered all this into amxx.cfg------>
Firestorm Wrote: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
#4
I wasn't trying to sound smart there Smile
#5
oh i have done that and more... I know a thing or two about plugins.. I have written a handful myself.. so I am far from a n00b....
#6
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)
#7
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??
#8
not working for me either....people dont drop any nades at all.
#9
It's working for me but only drops allies nades. After that it's fine for me Tongue
#10
lol this shit probably needs a re-write heh


Forum Jump:


Users browsing this thread: 1 Guest(s)
DoD Plugins Archive · Repository · Return to Top · Current time: 08-29-2026, 06:13 AM Powered By MyBB, © 2002-2026 MyBB Group.