Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

DoD Light Grenades

by Dr.G · 2009-05-16 · 14 replies · 13161 views · 18 downloads

Read the thread (15 posts)

From the first post

/* Plugin generated by AMXX-Studio */rn////////////////////////////////////////////////////////////////////////////////////////////////////rn/*rnrn[B]INFO:[/B]rnrnMake you able to throw light grenades :O. Note the cvar for setting a glow on the grenades, I madernthat because this plugin, uses the same grenade model as DoD Smoke Grenades 2, and i want to see rnthe difference on them while playing.rnrnrnrn[B]CVARS:[/B]rn rn- Plugin on /off | 1 is ON - 0 is OFFrndod_light_grenades 1rnrn- Should grenades glow when thrown? | 1 is ON - 0 is OFFrndod_light_grenades_glow 1rnrn- How long should a light grenade light up in seconds?rndod_light_grenades_duration 20rnrn- How big a fuse should light grenades have?rndod_light_grenades_fuse 2rnrn- Max amount of light grenades that may be alive at the same time?rndod_light_grenades_max_alive 10rnrnrn- Light grenades give at spawn, by class...rnrn* Allies classesrndod_light_grenades_garand 2rndod_light_grenades_carbine 2rndod_light_grenades_thompson 2rndod_light_grenades_grease 2rndod_light_grenades_sniper 0rndod_light_grenades_bar 2rndod_light_grenades_30cal 0rndod_light_grenades_bazooka 1rnrn* Axis classesrndod_light_grenades_kar 2rndod_light_grenades_k43 2rndod_light_grenades_mp40 2rndod_light_grenades_mp44 2rndod_light_grenades_scharfschutze 0rndod_light_grenades_fg42 2rndod_light_grenades_scoped_fg42 0rndod_light_grenades_mg34 0rndod_light_grenades_mg42 0rndod_light_grenades_panzerjager 1rnrn* Brit classesrndod_light_grenades_enfield 2rndod_light_grenades_sten 2rndod_light_grenades_marksman 0rndod_light_grenades_bren 2rndod_light_grenades_piat 1rnrnrnrn[B]CONSOLE COMMAND:[/B]rnrnthrow_lightrnrnrnrn[B]THANKS TO:[/B]rnrntuty @ alliedmodders, his version for CS gave me the idea for this.rnrnrn[B]CHANGELOG:[/B]rnrn16-05-09rnreleasernrn17-06-09rnremoved wpn aim msg. what was i thinking lolrnrn*/rn////////////////////////////////////////////////////////////////////////////////////////////////////

rn
rnBug etc goes in this thread...
rn
rn- cheers
rn
rn
rnPublic Stats

Archived builds from the server loose

These compiled builds sat loose in the server's script folder rather than attached to a post. They are matched to this release by comparing their decompiled Pawn against the source published above, so treat the attribution as strong but not certain. Versions come from the register_plugin() call recovered from the bytecode.

dod_light_grenades.sma Plugin Source 2 KB Download Compile
dod_light_grenades_1.1.amx Compiled Plugin 0 B Download

Added later in the thread

dod_light_grenades_1.1.sma Plugin Source 11 KB 18 dl Download Compile

The thread

All 15 posts from 8 people on DoD Light Grenades, kept as they were written.

Dr.G
started this thread
Posts: 776
Threads: 75
Joined: Nov 2007
05-15-2009, 10:01 PM #1
/* Plugin generated by AMXX-Studio */rn////////////////////////////////////////////////////////////////////////////////////////////////////rn/*rnrnINFO:rnrnMake you able to throw light grenades :O. Note the cvar for setting a glow on the grenades, I madernthat because this plugin, uses the same grenade model as DoD Smoke Grenades 2, and i want to see rnthe difference on them while playing.rnrnrnrnCVARS:rn rn- Plugin on /off | 1 is ON - 0 is OFFrndod_light_grenades 1rnrn- Should grenades glow when thrown? | 1 is ON - 0 is OFFrndod_light_grenades_glow 1rnrn- How long should a light grenade light up in seconds?rndod_light_grenades_duration 20rnrn- How big a fuse should light grenades have?rndod_light_grenades_fuse 2rnrn- Max amount of light grenades that may be alive at the same time?rndod_light_grenades_max_alive 10rnrnrn- Light grenades give at spawn, by class...rnrn* Allies classesrndod_light_grenades_garand 2rndod_light_grenades_carbine 2rndod_light_grenades_thompson 2rndod_light_grenades_grease 2rndod_light_grenades_sniper 0rndod_light_grenades_bar 2rndod_light_grenades_30cal 0rndod_light_grenades_bazooka 1rnrn* Axis classesrndod_light_grenades_kar 2rndod_light_grenades_k43 2rndod_light_grenades_mp40 2rndod_light_grenades_mp44 2rndod_light_grenades_scharfschutze 0rndod_light_grenades_fg42 2rndod_light_grenades_scoped_fg42 0rndod_light_grenades_mg34 0rndod_light_grenades_mg42 0rndod_light_grenades_panzerjager 1rnrn* Brit classesrndod_light_grenades_enfield 2rndod_light_grenades_sten 2rndod_light_grenades_marksman 0rndod_light_grenades_bren 2rndod_light_grenades_piat 1rnrnrnrnCONSOLE COMMAND:rnrnthrow_lightrnrnrnrnTHANKS TO:rnrntuty @ alliedmodders, his version for CS gave me the idea for this.rnrnrnCHANGELOG:rnrn16-05-09rnreleasernrn17-06-09rnremoved wpn aim msg. what was i thinking lolrnrn*/rn////////////////////////////////////////////////////////////////////////////////////////////////////
rnrnBug etc goes in this thread...rnrn- cheersrnrnrnPublic Stats

Dr.G
started this thread
Posts: 776
Threads: 75
Joined: Nov 2007
06-17-2009, 11:22 AM #2

Updated! See changelogrnrn- Cheers

G gunsofnavarone
posted here
Posts: 159
Threads: 28
Joined: Sep 2008
10-22-2009, 08:19 AM #3

I don't know how I missed this plugin before, this is very nice. I was recently asked to find a "flare" plugin for use on the server and the one I found didn't seem to work in DOD. This is a nice substitute.rnrnI do have one small comment though if you don't mind: When the light goes out, it simply goes off, like a lightswitch. A fade out effect would improve this greatly.

Dr.G
started this thread
Posts: 776
Threads: 75
Joined: Nov 2007
10-22-2009, 11:10 AM #4

Well the reason why i made this was because the flare model looks pretty gay, and we have a fine default smoke grenade model, so light grenades it was. Yea it would be pretty cool if it slowly burned out. But the way i made this its either on or off, its not a adjustable message. So for now you gotta live with it, i will look for another way to do it if i get time. But wth no one is using it anyway....

=*MDMILBURN*=
posted here
Posts: 66
Threads: 11
Joined: Jun 2008
11-20-2009, 01:25 AM #5

is the compile not here for a developing reason?

Tank
posted here
Posts: 581
Threads: 59
Joined: Jan 2007
11-20-2009, 07:59 AM #6

There is an sma provided and you can either use the automated compile function or use the compiler on your left hand menu.rnrnIf with the compile you mean the amxx file. For security reasons we do not allow people to only post the amxx file (with one exception but that has been cleared by certain people).

=*MDMILBURN*=
posted here
Posts: 66
Threads: 11
Joined: Jun 2008
11-21-2009, 12:48 AM #7

its all good i did it somewhere else

{ {HK}recon'de'sprayer
posted here
Posts: 23
Threads: 1
Joined: Sep 2006
04-19-2016, 11:50 PM #8

Because I am stupid, how do I get this plugin?

F Fysiks
posted here
Posts: 108
Threads: 3
Joined: Aug 2007
04-20-2016, 12:21 AM #9

You'll have to get lucky and find it somewhere on the internet. Dr. G, at one point, decided to remove all his plugins.

{ {HK}recon'de'sprayer
posted here
Posts: 23
Threads: 1
Joined: Sep 2006
04-20-2016, 02:24 AM #10

Crap. Thanks bud. Hey Milburn, do you or anyone have this plugin? Would someone happen to know how to take DrG post with the text at the top of this thread and convert it into a .sma or.amxx?

F Fysiks
posted here
Posts: 108
Threads: 3
Joined: Aug 2007
04-20-2016, 10:05 AM #11
Crap. Thanks bud. Hey Milburn, do you or anyone have this plugin? Would someone happen to know how to take DrG post with the text at the top of this thread and convert it into a .sma or.amxx?
rnrnThe post contains no code and therefore you cannot create the plugin.

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
04-21-2016, 09:50 PM #12

Again, Dr.G deleted stuff...not good...going to have to remove his ability to do anything and re-post his plugins...not nice of him.

{ {HK}recon'de'sprayer
posted here
Posts: 23
Threads: 1
Joined: Sep 2006
04-24-2016, 03:07 AM #13

Thanks fellas.

S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
04-26-2016, 10:45 PM #14

Hello

{ {HK}recon'de'sprayer
posted here
Posts: 23
Threads: 1
Joined: Sep 2006
05-02-2016, 10:37 PM #15

Thanks sparky99

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC