[TF2] tHeadshotOnly v2.0.1 (2014.05.30)
3 Attachment(s)
Allows modifying the damage dealt by headshots and bodyshots with weapons that can actually do headshots.
Uses SDKHooks. Cvars: Quote:
Quote:
Quote:
Quote:
The config file is being generated/updated with new weapons automatically. This is just a snapshot of the file generated on 2014-05-29 and might not include all weapons that are available today. Code:
"tHeadshotOnly" This plugin does not work correctly if you set the critchance to 100% and are running a version of SDKHooks earlier than 2.1. Credits to:
Changelog: A more detailed changelog can be found on here. 2.0.0 - Rewrite, no more hardcoded values. 1.1.5 - More skins 1.1.3 - added the 'Hitmans Heatmaker' and the 'AWPer Hand' 1.1.2 - added the 'Festive Sniper Rifle'. 1.1.1 - fixed clients having no active weapon, but still doing damage, spam the console. - removed additional build only DREAD_XI was using. i cba to do everything twice. 1.1.0 - updated to use sdkhooks 2.1 and therefore changed headshot detection (thanks to psychonic) - added machina, sidney sleeper and noscope cvars. 1.007 - fixed bazaar bargain stuff. (thx to CynderWolf for reporting) 1.006 - included bazaar bargain 1.005 - fixed for sdkhooks2 1.004 - removed upper limit (1.0) for the multiplier cvars (requested here) 1.003 - same for the inflictor. 1.002 - it's not enough to check if attacker > 0. obviously. fixed. 1.001 - Changed boolean cvars to float to be used as a modifier for the damage hook. 1.000 - Initial Release |
Re: [TF2] tHeadshotOnly v1.000 (2010.01.05)
THANX for THIS!!!!
|
Re: [TF2] tHeadshotOnly v1.000 (2010.01.05)
Request:
Change the enable/disable cvar for each weapon to a float to be used as a modifier for body-shot damage. Like: 0.0 - No damage 0.5 - Half damage 1.0 - Full damage (disabled) |
Re: [TF2] tHeadshotOnly v1.001 (2010.01.05)
although this turns around my cvars (0 becomes 1.0 and 1 becomes 0.0) its a welcome suggestion.
i've updated the plugin accordingly. |
Re: [TF2] tHeadshotOnly v1.001 (2010.01.05)
log spam:
L 01/06/2010 - 22:04:02: [SM] Native "GetClientWeapon" reported: Client index 103 is invalid L 01/06/2010 - 22:04:02: [SM] Displaying call stack trace for plugin "tHeadshotOnly.smx": L 01/06/2010 - 22:04:02: [SM] [0] Line 61, tHeadshotOnly.sp::OnTakeDamage() |
Re: [TF2] tHeadshotOnly v1.002 (2010.01.07)
facepalm
obvious bug is fixed |
Re: [TF2] tHeadshotOnly v1.002 (2010.01.07)
more spam...
L 01/07/2010 - 21:43:26: [SM] Native "GetPlayerWeaponSlot" reported: Entity index 358 is not a valid client L 01/07/2010 - 21:43:26: [SM] Displaying call stack trace for plugin "tHeadshotOnly.smx": L 01/07/2010 - 21:43:26: [SM] [0] Line 78, tHeadshotOnly.sp::OnTakeDamage() |
Re: [TF2] tHeadshotOnly v1.003 (2010.01.08)
fixed
|
Re: [TF2] tHeadshotOnly v1.004 (2010.02.15)
I can't this working on my server could someone please help me
|
Re: [TF2] tHeadshotOnly v1.004 (2010.02.15)
more details pls.
do you have sdkhooks installed? please post the output of sm exts list and sm plugins list |
All times are GMT -4. The time now is 23:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.