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

[DoD Explosives] - [Beta 1]

by diamond-optic · 2006-09-19 · 5 replies · 9896 views · 159 downloads

Read the thread (6 posts)

From the first post

DoD Explosives
n
- Beta Version 1
n- 09.11.2006
n- diamond-optic
n
nInformation:
n
- Place timed tnt & satchel charges (seperate thing from dod object charges)

nThings To Do:
n
- Improve apon placing of chargesn- Allow specific or multiple delay timesn- Have them trigger func_breakables & standard dod bomb targetsn- Rework how damage is done

nConsole Commands:
n
plant_tnt //place a tnt chargenplant_satchel //place a satchel charge

nCVARs:
n
dod_explosives "1" //Turn ON(1)/OFF(0)n dod_explosives_tntdelay "5"n dod_explosives_satcheldelay "5"n n //these set how many each class spawns with:n dod_explosives_tnt_garand "1"n dod_explosives_tnt_carbine "0"n dod_explosives_tnt_thompson "0"n dod_explosives_tnt_grease "0"n dod_explosives_tnt_sniper "0"n dod_explosives_tnt_bar "0"n dod_explosives_tnt_30cal "0"n dod_explosives_tnt_bazooka "2"n dod_explosives_satchel_garand "1"n dod_explosives_satchel_carbine "0"n dod_explosives_satchel_thompson "0"n dod_explosives_satchel_grease "0"n dod_explosives_satchel_sniper "0"n dod_explosives_satchel_bar "0"n dod_explosives_satchel_30cal "0"n dod_explosives_satchel_bazooka "3"n dod_explosives_tnt_enfield "1"n dod_explosives_tnt_sten "0"n dod_explosives_tnt_marksman "0"n dod_explosives_tnt_bren "0"n dod_explosives_tnt_piat "2"n dod_explosives_satchel_enfield "1"n dod_explosives_satchel_sten "0"n dod_explosives_satchel_marksman "0"n dod_explosives_satchel_bren "0"n dod_explosives_satchel_piat "3"n dod_explosives_tnt_kar "1"n dod_explosives_tnt_k34 "0"n dod_explosives_tnt_mp40 "0"n dod_explosives_tnt_mp44 "0"n dod_explosives_tnt_scharfschutze "0"n dod_explosives_tnt_fg42 "0"n dod_explosives_tnt_fg42scoped "0"n dod_explosives_tnt_mg34 "0"n dod_explosives_tnt_mg42 "0"n dod_explosives_tnt_panzerjager "2"n dod_explosives_satchel_kar "1"n dod_explosives_satchel_k34 "0"n dod_explosives_satchel_mp40 "0"n dod_explosives_satchel_mp44 "0"n dod_explosives_satchel_scharfschutze "0"n dod_explosives_satchel_fg42 "0"n dod_explosives_satchel_fg42scoped "0"n dod_explosives_satchel_mg34 "0"n dod_explosives_satchel_mg42 "0"n dod_explosives_satchel_panzerjager "3"

nVersion Info:
n
- 09.11.2006 Beta Version 1n Initial test version

n
nEXTRA INFORMATION:
n
n
There might not be any real problems with this plugin.. im not totally sure..
nI had it running on my server (linux 32bit ded.) and i played with it for about 2hrs.. and then i know it was still fine for about 2 or 3 more hrs till i went to bed..
nWhen i got up the next morning the server was down and I found that it got stuck in a restart loop, untill it made 1000 log files for the day & gave up.. I then removed this plugin and its been fine since..
n
nMy guess is that I might have hit a precache limit on some map.. and it kept restarting and hitting the limit again... Which is very possible becuase i know Im pretty close to the precache limit on some of my maps & this one has a decent sized precache (well maybe not really)..
n
nBut ill try and do some testing myself by removing alot of the precache stuff and checking it again.. If need be, i could tone things down lol.. or use a define to pick like a high/low mode kinda thing..
n
nBut anyways.. I'd appreciate any feedback and whatnot :-)

Files

dod_explosives.sma Plugin Source 26 KB 159 dl Download Compile

The thread

All 6 posts from 3 people on [DoD Explosives] - [Beta 1], kept as they were written.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
09-19-2006, 06:14 PM #1

DoD Explosivesn- Beta Version 1n- 09.11.2006n- diamond-opticnnInformation:n

n- Place timed tnt & satchel charges (seperate thing from dod object charges)
nThings To Do:n
n- Improve apon placing of chargesn- Allow specific or multiple delay timesn- Have them trigger func_breakables & standard dod bomb targetsn- Rework how damage is done
nConsole Commands:n
nplant_tnt //place a tnt chargenplant_satchel //place a satchel charge
nCVARs:n
n dod_explosives "1" //Turn ON(1)/OFF(0)n dod_explosives_tntdelay "5"n dod_explosives_satcheldelay "5"n n //these set how many each class spawns with:n dod_explosives_tnt_garand "1"n dod_explosives_tnt_carbine "0"n dod_explosives_tnt_thompson "0"n dod_explosives_tnt_grease "0"n dod_explosives_tnt_sniper "0"n dod_explosives_tnt_bar "0"n dod_explosives_tnt_30cal "0"n dod_explosives_tnt_bazooka "2"n dod_explosives_satchel_garand "1"n dod_explosives_satchel_carbine "0"n dod_explosives_satchel_thompson "0"n dod_explosives_satchel_grease "0"n dod_explosives_satchel_sniper "0"n dod_explosives_satchel_bar "0"n dod_explosives_satchel_30cal "0"n dod_explosives_satchel_bazooka "3"n dod_explosives_tnt_enfield "1"n dod_explosives_tnt_sten "0"n dod_explosives_tnt_marksman "0"n dod_explosives_tnt_bren "0"n dod_explosives_tnt_piat "2"n dod_explosives_satchel_enfield "1"n dod_explosives_satchel_sten "0"n dod_explosives_satchel_marksman "0"n dod_explosives_satchel_bren "0"n dod_explosives_satchel_piat "3"n dod_explosives_tnt_kar "1"n dod_explosives_tnt_k34 "0"n dod_explosives_tnt_mp40 "0"n dod_explosives_tnt_mp44 "0"n dod_explosives_tnt_scharfschutze "0"n dod_explosives_tnt_fg42 "0"n dod_explosives_tnt_fg42scoped "0"n dod_explosives_tnt_mg34 "0"n dod_explosives_tnt_mg42 "0"n dod_explosives_tnt_panzerjager "2"n dod_explosives_satchel_kar "1"n dod_explosives_satchel_k34 "0"n dod_explosives_satchel_mp40 "0"n dod_explosives_satchel_mp44 "0"n dod_explosives_satchel_scharfschutze "0"n dod_explosives_satchel_fg42 "0"n dod_explosives_satchel_fg42scoped "0"n dod_explosives_satchel_mg34 "0"n dod_explosives_satchel_mg42 "0"n dod_explosives_satchel_panzerjager "3"
nVersion Info:n
n - 09.11.2006 Beta Version 1n Initial test versionn
nnEXTRA INFORMATION:nnThere might not be any real problems with this plugin.. im not totally sure..nI had it running on my server (linux 32bit ded.) and i played with it for about 2hrs.. and then i know it was still fine for about 2 or 3 more hrs till i went to bed..nWhen i got up the next morning the server was down and I found that it got stuck in a restart loop, untill it made 1000 log files for the day & gave up.. I then removed this plugin and its been fine since..nnMy guess is that I might have hit a precache limit on some map.. and it kept restarting and hitting the limit again... Which is very possible becuase i know Im pretty close to the precache limit on some of my maps & this one has a decent sized precache (well maybe not really)..nnBut ill try and do some testing myself by removing alot of the precache stuff and checking it again.. If need be, i could tone things down lol.. or use a define to pick like a high/low mode kinda thing.. nnBut anyways.. I'd appreciate any feedback and whatnot :-)

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
09-19-2006, 06:39 PM #2

Ah, tatsu was telling me about this one - wanted to let you know I have a working landmines plugin I created if you want to check that out. I'll have to test this it sounds cool.

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
09-24-2006, 12:02 AM #3

I just used it. Seems to work fine - it'd be nice if it went on walls instead of just the ground - right now they're kinda like long nades (can fix that by setting the timer)rnrnIdeally it'd be great if they could be just like source's version. There's a cs plugin that allows you to throw satchels and detonate them with a remote - not that you'd want to do that but you could use it as a reference.

strontiumdog
posted here
Posts: 27
Threads: 6
Joined: Nov 2006
01-29-2007, 07:39 PM #4

Nice job!nWas thinking about this one the other day.nnHow easy would it be to add a proximity function?nnOr could the code be modified so that the satchel could be exploded from a distance, sort of like remote control? It'd be fun for those defensive maps like glider or kraftsoff where a defending team would get a couple of them, plant them and then wait....:)

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
01-02-2008, 03:54 PM #5

Line 767 for some reason you use your own stock, set_keyvalue() even though it's identicle to fm_set_kvd, which you use right above it. You could change this function to fm_set_kvd() and remove the set_keyvalue() stock at the bottom.nnJust noticed cause I was using some of your radius damage code.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
01-06-2008, 11:18 PM #6

lol ok...nnnthe plugin is a weee bit old and i never really bothered to do any more work on itnnand i think that stuff is from an old version of VEN's fakemeta_util include so thats probably just how he had it in that

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