PDA

View Full Version : DoD Kamikaze


Dr.G
04-18-2009, 02:39 PM
/* Plugin generated by AMXX-Studio */
////////////////////////////////////////////////////////////////////////////////////////////////////
/*

INFO:

Requested by Meathead @ www.dodplugins.net ...

When you say /kamikaze or kamikaze in chat you will make your self a red glowing time bomb. When
you explode you will do damage to other players around you. Kills and amount damage will be logged as
a custom weapon so it will show right if you are running psychostats.

Note that you will explode even if you are killed before you blow. But if you spawn before you should
blow, you wont explode. Also this will obey friendly fire, so if FF is on you will blow up your team
mates.



CVARS:

- Plugin on /off | 1 is ON - 0 is OFF
dod_kamikaze 1

- Max client per team that can be kamikazes at the same time
dod_kamikaze_max_per_team 2

- Hide chat msg | 1 is ON - 0 is OFF
dod_kamikaze_hide_chat 0

- Time Before Blow - this is in seconds
dod_kamikaze_tbb 5

- Amount of damage
dod_kamikaze_dmg 300

- Damage radius
dod_kamikaze_dmg_radius 500

- Should you have unlimited stamina when you have fired /kamikaze ?? | 1 is ON - 0 is OFF
dod_kamikaze_stamina 1


- If some classes shouldnt have right to go kamikaze set these to 0
dod_kamikaze_garand 1
dod_kamikaze_carbine 1
dod_kamikaze_thompson 1
dod_kamikaze_grease 1
dod_kamikaze_sniper 1
dod_kamikaze_bar 1
dod_kamikaze_30cal 1
dod_kamikaze_bazooka 1
dod_kamikaze_kar 1
dod_kamikaze_k43 1
dod_kamikaze_mp40 1
dod_kamikaze_mp44 1
dod_kamikaze_scharfschutze 1
dod_kamikaze_fg42 1
dod_kamikaze_scoped_fg42 1
dod_kamikaze_mg34 1
dod_kamikaze_mg42 1
dod_kamikaze_panzerjager 1
dod_kamikaze_enfield 1
dod_kamikaze_sten 1
dod_kamikaze_marksman 1
dod_kamikaze_bren 1
dod_kamikaze_piat 1



SAY COMMANDS:

kamikaze
/kamikaze



THANKS TO:

MeRcyLeZZ for the effect from napalm nades -> http://forums.alliedmods.net/showthread.php?t=74905
diamond-optic(www.avamods.com) graped some code from dod_smokegrenade or something else...
Cheap Suit for -> http://forums.alliedmods.net/showthread.php?t=55700
ConnorMcLeod for UTIL_ScreenFade


CHANGELOG:

11-04-09
BETA release

12-04-09
Misc clean up / fixes!

13-04-09
Misc clean up / fixes! + some more effects.... Note to myself DO NOT do a 'return' in a loop lol

14-04-09
Ham...

16-04-09
more Ham...

17-04-09
glow fix... thx Legend Born

18-04-09
most native calls switched to global values. Max kamikazes for each team. godmode thing removed

20-04-2009
TKs wont give you kills anymore.. thx again to Legend Born.

14-05-09
Bug at roundend fixed
*/
////////////////////////////////////////////////////////////////////////////////////////////////////

Bugs etc goes in this thread...


Public Stats (http://www.game-monitor.com/search.php?search=dod_kamikaze_stats&type=variable)

meathead
04-18-2009, 09:27 PM
Got it Dr.G. Thanks again. Got my case open and a fan blowing in it. Temp 118. If I close it up, temp goes to 140 F and pc shuts down. I think it's my measly 300 watt power supply! Anyway, plugin up and running. I'm having server issues also, Gameservers NJ. I been getting some bad lag for 4 or 5 minutes. I beleive it's them, but will let you know if its the kami!

** EDIT **
I finally got to play last night. Working great with no issues! Thanks Dr.G!

Dr.G
04-19-2009, 05:00 PM
Great! good to hear... This plugin is not hard for the server to run. It will make almost no module calls compared to other plugins.

Thanks for the idea meathead. Dont hold ideas back at any time ;)

- cheers

Legend Born
04-20-2009, 05:42 AM
Okay, don't know if it's designed to do this on purpose or not but I'm assuming it's a mistake, but if you tk your teammates it counts as a kill. Note that I haven't tried the latest update, yet, but I assume you didn't change that part of the code, Doc, as I don't see it in the log updates. I figured I'd hold off updating to see if you wanted to change it.

Messin' about in our server with my clanmates last night I changed the radius to include the whole map and blew everybody up. I got a score for killing both teams to my surprise. For stats and general sanity that should be fixed.

A switch to make it disregard ff might help but that would take the fun out of it. Dunno which is easier to do, that or make it not count tks as scores.

Dr.G
04-20-2009, 06:21 AM
Messin' about in our server with my clanmates last night I changed the radius to include the whole map and blew everybody up. I got a score for killing both teams to my surprise

hahahhaa great :D ill take a look at it asap

- cheers

Dr.G
04-21-2009, 04:29 PM
ok the TK kill thing is fixed...

Dr.G
05-15-2009, 10:02 PM
Updated to v1.9 - See changelog

YAPBIRD
07-05-2009, 10:52 AM
Lo All,

First i say tnx for all the nice plugins and all the work arround it..
But yesterday i recieve a PM from a guy who plays on our server many times.

Hello Yap,

As I said I know of a way to bug Kamikaze mod so that you can sprint endlessly and still have full stamina. What you do is, after one side wins by fullcaping and you are alive at this point, when you wait to be respawned to a new round you have a few seconds to type in kamikaze. It will work, you turn red and says "You will blow up in 5 sec." But, you don't explode ofc.

Then when you spawn you can sprint and jump all you want, so it is basically like having speed hack :-(

I did test it and its all true ..omg..can it fixed?

Greetz YAPBIRD

Dr.G
07-05-2009, 04:17 PM
are you using version 1.9 ?

YAPBIRD
07-06-2009, 12:31 PM
Yup :-(

YAPBIRD