PDA

View Full Version : [DoD Explosives] - [Beta 1]


diamond-optic
09-19-2006, 07:14 PM
DoD Explosives
- Beta Version 1
- 09.11.2006
- diamond-optic

Information:

- Place timed tnt & satchel charges (seperate thing from dod object charges)
Things To Do:

- Improve apon placing of charges
- Allow specific or multiple delay times
- Have them trigger func_breakables & standard dod bomb targets
- Rework how damage is done
Console Commands:

plant_tnt //place a tnt charge
plant_satchel //place a satchel charge
CVARs:

dod_explosives "1" //Turn ON(1)/OFF(0)
dod_explosives_tntdelay "5"
dod_explosives_satcheldelay "5"

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

- 09.11.2006 Beta Version 1
Initial test version


EXTRA INFORMATION:

There might not be any real problems with this plugin.. im not totally sure..
I 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..
When 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..

My 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)..

But 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..

But anyways.. I'd appreciate any feedback and whatnot :-)

Wilson [29th ID]
09-19-2006, 07:39 PM
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]
09-24-2006, 01:02 AM
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)

Ideally 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
01-29-2007, 07:39 PM
Nice job!
Was thinking about this one the other day.

How easy would it be to add a proximity function?

Or 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]
01-02-2008, 03:54 PM
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.

Just noticed cause I was using some of your radius damage code.

diamond-optic
01-06-2008, 11:18 PM
lol ok...


the plugin is a weee bit old and i never really bothered to do any more work on it

and 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