PDA

View Full Version : DoD Throw Knifes


Dr.G
03-15-2009, 08:58 PM
New version!

I really hope this works as it should, but iam not totaly sure, i havent had a chance to test it 100 % yet, so its still here in test plugins. Please tell any problems that you find see!

Biggest change thats worse to mention will be that if germans have a knife they will throw a knife :eek: :) And if they have a spade they ill throw a spade..

////////////////////////////////////////////////////////////////////////////////////////////////////
/*
info:

This plugin will make all players able to throw knifes and hereby kill others. For being able to throw
knifes people need to have there knife or spade forward! AND a key binded to throw_knife. If you have
a spade you will throw a spade, if you have a knife you will throw a knife.
Check the settings below for all cvars and default values.



overall settings and default values:

plugin on | off
dod_throw_knifes "1"

damage a thrown knife will do to others
dod_throw_knifes_damage "50"

throw speed
dod_throw_knifes_speed "1000.0"

time in sec the knife can hurt!
dod_throw_knifes_time_alive "1.2"

time in sec before we remove it
dod_throw_knifes_time_to_stay "6"

amount of knifes to throw
dod_throw_knifes_amount "4"

throw delay in sec
dod_throw_knifes_delay "1"

spawn msg - on | off
dod_throw_knifes_show_info "1"

extra spawn msg - on | off
dod_throw_knifes_show_info2 "0"


changelog:

25-03-09
ham to catch the touch
msgs updated
knifes is now created with a stock
added tumble
misc clean up
fixed mdl types

*/
////////////////////////////////////////////////////////////////////////////////////////////////////

bug etc goes in this thread...

- cheers

Tank
03-16-2009, 12:41 AM
Very very nice. I was using one I found on allied modders but that one kept crashing. I hate it when you run into a room knifing and the dude is on the other side camping. Now at least I can have a shot at hitting em.

My compliments.

Dr.G
03-16-2009, 10:58 AM
yea that old one for cs aint working for dod + it uses custom models, so ppl have to dl them... one thing thats odd is the logging part, i tested it on a linux server and everything worked as it should, but it doesnt look like its working right on my windows server atm. can anyone confirm if it logs kills or not done with a flying knife...

skinnto
03-19-2009, 06:10 PM
yeah i have a little test server i use at home. It works great I really like it but it just turns the screen red when u get hit but causes no damage. windows xp server.

Dr.G
03-19-2009, 07:26 PM
lol ok, well i have a new version that i need an hour or two more to fix, but this is a temp fix for now. set the damage you want with

dod_throw_knifes_damage_min

Ba5ic
03-20-2009, 05:52 AM
This is BETA cuz germans will throw spades even if they have one or not

For Info: I run a Para Ava server and when playing axis you DO throw the gerknife !..


Gd Job Nice Plugin.

Dr.G
03-20-2009, 09:12 AM
lol iam on your server right now and i throw spades :D

Dr.G
03-25-2009, 05:21 PM
Updated check post # 1

BTW if anyone got somekinda a picture for psychostats it would be cool, let me know...