Raised This Month: $ Target: $400
 0% 

Tauntkill Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spyper
Senior Member
Join Date: Sep 2013
Old 01-21-2014 , 13:49   Tauntkill Mod
Reply With Quote #1

I need a tauntkill mod,Just killing with taunts,And just tauntkill weapons works
And a convar to replace normal weapons with tauntkill weapons

Example Video:



http://www.youtube.com/watch?v=MpVbk5PT9Wk

Convar:
sm_tauntkillreplace 0/1
1-Replaces equipped normal weapon with taunt kill weapon
0-Not replaces anyting

And When Player Entered the server he/she must see this text

Thanks!
Spyper is offline
Spyper
Senior Member
Join Date: Sep 2013
Old 01-21-2014 , 16:07   Re: Tauntkill Mod
Reply With Quote #2

Can anyone help
Spyper is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-21-2014 , 16:09   Re: Tauntkill Mod
Reply With Quote #3

Quote:
Originally Posted by Spyper View Post
Can anyone help
Barely been 2 hours, plus modders are usually at their day jobs right now.
Mitchell is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-21-2014 , 16:25   Re: Tauntkill Mod
Reply With Quote #4

Please be patient, yes. We don't all live on this forum. We have work, class, etc.
__________________
ddhoward is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-21-2014 , 17:07   Re: Tauntkill Mod
Reply With Quote #5

Quote:
Originally Posted by ddhoward View Post
Please be patient, yes. We don't all live on this forum. We have work, class, etc.
I live here!

Well, not really, it's just that despite being paid as a Java Developer, right now my role in my current project is... designing reports in Microsoft Access.

No, that's not a joke, and no, I have no idea how I got pulled into this project.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 01-21-2014 at 17:08.
Powerlord is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-21-2014 , 18:34   Re: Tauntkill Mod
Reply With Quote #6

Quote:
Originally Posted by Powerlord View Post
I live here!

Well, not really, it's just that despite being paid as a Java Developer, right now my role in my current project is... designing reports in Microsoft Access.

No, that's not a joke, and no, I have no idea how I got pulled into this project.
My current project is in python... checking config files to coherence with the documentation (checking if the description or missing properties.)
So currently on the forums to kill time in between commits.

Last edited by Mitchell; 01-21-2014 at 18:35.
Mitchell is offline
Spyper
Senior Member
Join Date: Sep 2013
Old 01-22-2014 , 07:00   Re: Tauntkill Mod
Reply With Quote #7

Okey, i will be patient
Spyper is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 01-22-2014 , 15:59   Re: Tauntkill Mod
Reply With Quote #8

The simple welcome message can probably give you that text.

I think you can use TF2Items or even sv_pure stuff and that pure server whitelist to block weapons.

Edit: And a simple plugin to block out non-taunt damage
__________________

Last edited by Chdata; 01-22-2014 at 16:00.
Chdata is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-22-2014 , 16:24   Re: Tauntkill Mod
Reply With Quote #9

Which all you would have to do is disable all damage unless the attacker is taunting, although soldier's taunt commits suicide...
Edit:
I've opened a repository on github, may or may not add onto it, most the other stuff you can add through other plugins.
https://github.com/MitchDizzle/OnlyTauntKills
try this, should work.
Edit: powerlord's suggestion
Attached Files
File Type: sp Get Plugin or Get Source (onlytauntkills.sp - 387 views - 1.4 KB)

Last edited by Mitchell; 01-22-2014 at 16:52.
Mitchell is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-22-2014 , 16:43   Re: Tauntkill Mod
Reply With Quote #10

SDKHooks OnTakeDamage hook and its damagecustom arg can be used to tell if an attack is a taunt kill or not.

Taunt Kills use the following damagecustom args:
  • Scout's HomeRun (Sandman, Atomizer): TF_CUSTOM_TAUNT_GRAND_SLAM
  • Soldier's Kamikaze (Equalizer, Escape Plan): TF_CUSTOM_TAUNT_GRENADE
  • Pyro's Hadouken or Execution (All secondaries): TF_CUSTOM_TAUNT_HADOUKEN
  • Pyro's Armageddon (Rainblower): TF_CUSTOM_TAUNT_ARMAGEDDON
  • DemoMan's Decapitation (All swords): TF_CUSTOM_TAUNT_BARBARIAN_SWING
  • Heavy's Showdown (Fists, Holiday Punch): TF_CUSTOM_TAUNT_HIGH_NOON
  • Engineer's Dischord (Frontier Justice): TF_CUSTOM_TAUNT_ENGINEER_SMASH
  • Engineer's Organ Grinder (Gunslinger): TF_CUSTOM_TAUNT_ENGINEER_ARM
  • Medic's Spinal Tap (Ubersaw): TF_CUSTOM_TAUNT_UBERSLICE
  • Sniper's Skewer (Huntsman, Festive Huntsman): TF_CUSTOM_TAUNT_ARROW_STAB
  • Spy's Fencing (all knives except Spy-cicle): TF_CUSTOM_TAUNT_FENCING
Edited on 2014/04/23 to remove bad information about Scorch Shot.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-23-2014 at 10:28.
Powerlord is offline
Reply



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


All times are GMT -4. The time now is 09:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode