DoD Plugins

Go Back   DoD Plugins

» Navigation
 > FAQ
» Forum Actions
» Programming
 > VERC
» Server Links
For Linking to Us
AvaMods
=|[76AD]|=
GameSpy Rangers
{DFH} Clan
AMX Mod X
DoD Plugins

DoD Plugins (http://www.dodplugins.net/forums/index.php)
-   Test Plugins (http://www.dodplugins.net/forums/forumdisplay.php?f=18)
-   -   DoD Throw Weapons To Kill (http://www.dodplugins.net/forums/showthread.php?t=1549)

Dr.G 02-17-2009 08:36 PM

DoD Throw Weapons To Kill
 
Quote:

////////////////////////////////////////////////////////////////////////////////////////////////////
/*
----------------------------------------------------------------------------------------------------


info:

This script makes it possible to throw your weapon at your enemy and hereby do damage to him.

To get your weapon flying you need to bind a key to throw_weapon and hit that key when you wanna throw
your weapon.

***mg34, mg42 and 30cal cant be thrown


credit:

The basics of this plugin was found in the request forum @ allied modders, and was original made by
krotal. In the request forum someone updated it and posted it there, but i dont know who. However
credit to that person and krotal, i cant find the thread anymore sry.

Diamond-optic(www.avamods.com)
www.dodplugins.net


to do:

- trace hits and add adjustable damage for hitplaces
- some kinda join message maybe
- maybe add a chance that the weapon will be jammed after it have be thrown


changelog:

02-17-2009 beta release


----------------------------------------------------------------------------------------------------

cvars and default settings:

dod_tw 1 // plugin on/off | 1 = on 0 = off
dod_tw_damage 15 // damage on hit
dod_tw_speed 700 // throw speed
dod_tw_time_alive 1 // how long after throwing the weapon it will hurt. In sec

----------------------------------------------------------------------------------------------------
*/
////////////////////////////////////////////////////////////////////////////////////////////////////
Bugs ideas etc goes in this thread

ghzero 02-18-2009 01:26 PM

nice idea.
one friend of mine told me an nearly-same idea some week before;
if an rifle with blade is empty the soldier can throw this weapon to the enemy, maybe can kill the enemy by the blade on front of rifle that knifes him to death.

Dr.G 02-18-2009 03:01 PM

hehe yea well when i first found this at allied modders u were only able to do damage if u were out of ammo + every time you "drop"ped your gun it would fly to hell... but when do ya run out of ammo in DoD? thats not often.... but the idea is great ill look into how u can do it...

|OnEHiTwOnDeR|SoCal 02-18-2009 03:38 PM

id be fucking sick if u can get players to toss knifes lol

i remember back in the day i used a cs plugin of tossing knifes lol it was awesome but once someone would actually hit a player the server would crash haha

Dr.G 02-18-2009 03:59 PM

lol that sure is possible.. ill take look at it

MTCoors 02-28-2009 04:46 PM

Quote:

Originally Posted by |OnEHiTwOnDeR|SoCal (Post 12108)
id be fucking sick if u can get players to toss knifes lol

i remember back in the day i used a cs plugin of tossing knifes lol it was awesome but once someone would actually hit a player the server would crash haha

I did get this plugin to work on my Server and it is fun to do. If you want the .sma and models I will upload them here.
Pro's--Fun to do--Can pickup knives off the ground and out of walls
Con's--Will not record kills to stats

|OnEHiTwOnDeR|SoCal 02-28-2009 09:03 PM

yea pm me if u can or if u wanna publicly post it please do..either or works.. thanx

MTCoors 03-01-2009 12:54 AM

3 Attachment(s)
Below are the files needed for this plugin throwing_knives.
No need to remove the // in front of cvars
Compiled for Amxmodx version 1.80
// ****************** Throwing Knives Setup ******************

//Toggles Throwing Knives on and off (default 0) ( 1 or 0 )
amx_throwknives 1

//The amount of ammo to be given at roundstart (default 5) ( 1 or higher )
amx_knifeammo 2

//Force at which knives are thrown (default 1200) ( 200 or higher )
amx_knifetossforce 1200

//Maximum amount of knives allowed at once (default 10) ( amx_knifeammo or higher )
amx_maxknifeammo 20

//Damage dealt on a knife hit (default 25) ( 1 or higher )
amx_knifedmg 90

//Toggles knife dropping on death on and off (default 1) ( 1 or 0 )
//amx_dropknives 1

//Toggles autoswitching to knife when bind is pressed (default 1) ( 1 or 0 )
//amx_knifeautoswitch 1

//Toggles logging kill as "throwing_knife" or "knife" (default 0) (1 = throwing_knife, 0 = knife)
//amx_tknifelog 1

Tank 03-01-2009 04:27 AM

If this is the version taken from Allied Modders, it crashes near mapchange for me.

Dr.G 03-01-2009 10:08 AM

it is modifyed version of the one made for CS.. i made one for dod, but i havent released it since it still needs more work.


All times are GMT -3. The time now is 12:42 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
dodplugins.net

» Donations
If you like this website, and would like to give something in return, you can make a donation. Your donation will be used to pay for hosting service, domain, & maintenance costs only!

$

Select your donation amount and then press the Donate button.




» Log in
User Name:

Password:

Not a member yet?
Register Now!
Powered by vBadvanced CMPS v3.2.3

All times are GMT -3. The time now is 12:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
dodplugins.net