DoD Plugins

Go Back   DoD Plugins > DoD Plugins > Test Plugins

Test Plugins Plugin authors & alpha/beta testers can use this forum to discuss testing of plugins that are not yet stable enough for public release.

» Navigation
 > FAQ
» Forum Actions
» Programming
 > VERC
» Server Links
For Linking to Us
AvaMods
=|[76AD]|=
GameSpy Rangers
{DFH} Clan
AMX Mod X
Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2009, 08:36 PM
Dr.G's Avatar
Dr.G Dr.G is offline
in love with diamond
Developer
 
Join Date: Nov 2007
Location: Denmark
Posts: 774
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

Last edited by Dr.G; 03-09-2010 at 05:23 AM.
Reply With Quote
  #2  
Old 02-18-2009, 01:26 PM
ghzero's Avatar
ghzero ghzero is offline
Senior Member
 
Join Date: Sep 2007
Location: sol-system, 3rd planet, germany, schleswig-holstein, kiel, wik, flensburger, white house on corner..
Posts: 160
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.
Reply With Quote
  #3  
Old 02-18-2009, 03:01 PM
Dr.G's Avatar
Dr.G Dr.G is offline
in love with diamond
Developer
 
Join Date: Nov 2007
Location: Denmark
Posts: 774
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...
Reply With Quote
  #4  
Old 02-18-2009, 03:38 PM
|OnEHiTwOnDeR|SoCal |OnEHiTwOnDeR|SoCal is offline
Senior Member
 
Join Date: Mar 2007
Posts: 318
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
__________________
we back
Reply With Quote
  #5  
Old 02-18-2009, 03:59 PM
Dr.G's Avatar
Dr.G Dr.G is offline
in love with diamond
Developer
 
Join Date: Nov 2007
Location: Denmark
Posts: 774
lol that sure is possible.. ill take look at it
Reply With Quote
  #6  
Old 02-28-2009, 04:46 PM
MTCoors MTCoors is offline
Junior Member
 
Join Date: Aug 2006
Posts: 8
Quote: Originally Posted by |OnEHiTwOnDeR|SoCal View Post
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
Reply With Quote
  #7  
Old 02-28-2009, 09:03 PM
|OnEHiTwOnDeR|SoCal |OnEHiTwOnDeR|SoCal is offline
Senior Member
 
Join Date: Mar 2007
Posts: 318
yea pm me if u can or if u wanna publicly post it please do..either or works.. thanx
__________________
we back
Reply With Quote
  #8  
Old 03-01-2009, 12:54 AM
MTCoors MTCoors is offline
Junior Member
 
Join Date: Aug 2006
Posts: 8
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
Attached Files
 
 Source (18.9 KB, 35 views)
File Type: rar models.rar (48.4 KB, 30 views)
File Type: rar sound.rar (67.7 KB, 31 views)

Last edited by MTCoors; 03-01-2009 at 01:09 AM.
Reply With Quote
  #9  
Old 03-01-2009, 04:27 AM
Tank's Avatar
Tank Tank is offline
Senior Member
 
Join Date: Jan 2007
Location: Enschede, The Netherlands
Posts: 580
If this is the version taken from Allied Modders, it crashes near mapchange for me.
__________________

<a href="steam://connect/64.34.171.29:27015"><img src="http://cache.www.gametracker.com/server_info/64.34.171.29:27015/b_560x95.png" alt="" /></a>


Visit us at Bad Ass Mofo's
Reply With Quote
  #10  
Old 03-01-2009, 10:08 AM
Dr.G's Avatar
Dr.G Dr.G is offline
in love with diamond
Developer
 
Join Date: Nov 2007
Location: Denmark
Posts: 774
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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Scope Kill Notifier /w Logging dodsynthetic Player/Server Management Plugins 93 09-08-2016 09:32 PM
DoD Throw Knifes Dr.G Fun Plugins 11 04-26-2016 10:37 PM
No - Kill k b 3 c a Requests for DoD Plugins 2 12-30-2009 09:40 PM
Kill over game.. aero_cz Requests for DoD Plugins 1 06-09-2009 07:46 AM
DoD Kill Info (v0.1) diamond-optic Other Plugins 6 06-11-2007 09:28 AM

» 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:41 PM.


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