Raised This Month: $51 Target: $400
 12% 

[TF2] tHeadshotOnly v2.0.1 (2014.05.30)


Post New Thread Reply   
 
Thread Tools Display Modes
The Nozzle
Member
Join Date: Feb 2012
Location: California
Old 02-12-2012 , 09:49   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #81

Sorry Thrawn! I'm talking about leaving the plugin in, and using the cfg. to return damage levels to normal.

Is there a way to disable a plugin through the admin menu... Oh boy... Am I a bigger moron than I previously thought?

***edit***

I think I need to show you what I did.

So, in order to turn this plugin on and off (we use it as a match server, so aside from the juicy stats plugin, all other things need to be more or less vanilla), I wrote two cfgs. I attached them here.

In my adminmenu_cfgs I have the following:

Code:
	"cfg/sourcemod/theadshotonly.cfg"			"Turn on HeadShots Only on Crit headshot weapons"
	"cfg/sourcemod/notheadshotonly.cfg"		"Turn off HeadShot Only"
Thanks so much, by the way, for looking into this. Using it on my test server, it seems to work brilliantly. One odd thing I've run into: it sometimes feels like things need to... settle down... before the headshots are read accurately. I'm thinking it may just be the server or something. It is my test box and it's coming off of a crappy cable connection. But it almost feels like the headshots don't register normally. After about a minute of playing, everything works perfectly.

Like I said, it's a brilliant plugin.
Attached Files
File Type: zip headeronlycfg.zip (929 Bytes, 108 views)

Last edited by The Nozzle; 02-12-2012 at 10:19.
The Nozzle is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 02-12-2012 , 10:16   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #82

Quote:
Originally Posted by The Nozzle View Post
Sorry Thrawn! I'm talking about leaving the plugin in, and using the cfg. to return damage levels to normal.
Ah ok, now i understand:

Use these settings to disable this plugin completely:
Code:
sm_theadshotonly_sniper 1.0
sm_theadshotonly_huntsman 1.0
sm_theadshotonly_bazaar 1.0
sm_theadshotonly_machina 1.0
sm_theadshotonly_ambassador 1.0
sm_theadshotonly_sidney 1.0
sm_theadshotonly_noscope 1.0
You can put that in a cfg and execute it via the admin-menu. How to do this is covered elsewhere and not in the scope of this plugin/thread.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
The Nozzle
Member
Join Date: Feb 2012
Location: California
Old 02-12-2012 , 10:20   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #83

lol, just edited the last post. Does that look about right?

I also put the sm_theadshotonly_particle "0". Is that correct, or should I have left that alone?

Last edited by The Nozzle; 02-12-2012 at 10:21.
The Nozzle is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 02-12-2012 , 10:34   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #84

Quote:
Originally Posted by The Nozzle View Post
lol, just edited the last post. Does that look about right?
Yepp. Looks perfect. Well done!

Quote:
Originally Posted by The Nozzle View Post
I also put the sm_theadshotonly_particle "0". Is that correct, or should I have left that alone?
That's not necessary, but also doesn't hurt. As your bodyshots never "miss" there's no need to show the particle. So turning off the particle effects that are never shown is not necessary ;)

Quote:
Originally Posted by The Nozzle View Post
I'm thinking it may just be the server or something.
It is. You shouldn't experience this on your real server.
__________________
einmal mit profis arbeiten. einmal.

Last edited by Thrawn2; 02-12-2012 at 10:35.
Thrawn2 is offline
The Nozzle
Member
Join Date: Feb 2012
Location: California
Old 02-12-2012 , 10:45   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #85

Thanks, thrawn. You rock.
The Nozzle is offline
Nekimoto
Junior Member
Join Date: May 2012
Old 05-16-2012 , 22:47   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #86

is it possible that you can make it so it can be enabled for one person an not effect the whole server?
Nekimoto is offline
Riosha
Member
Join Date: Oct 2011
Location: Russia, Kemerovo
Old 07-01-2012 , 20:58   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #87

Please, update this awesome plugin! c:
Riosha is offline
Send a message via ICQ to Riosha Send a message via MSN to Riosha Send a message via Skype™ to Riosha
jameless
Veteran Member
Join Date: Jan 2010
Old 07-29-2012 , 23:16   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #88

Heatmaker didn't have an option in the plugin so I coded it for our server really quickly. I am only posting this here in the case that Thrawn doesn't have the time to get to it. I used the same methods and coding style he was using to add the new weapon. If the OP adds the weapon in I will remove the plugin so noone gets confused as to which to use.

EDIT: I removed this version as the change I made also affected the headshots. I suppose the headshots from the new rifle don't have a customkill of TF_CUSTOM_HEADSHOT. I will work on it before putting it back up after it being tested some more.

Last edited by jameless; 07-30-2012 at 20:34.
jameless is offline
jameless
Veteran Member
Join Date: Jan 2010
Old 07-30-2012 , 20:42   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #89

Here's the fixed version from what I posted in my previous post. There's a new customkill called TF_CUSTOM_HEADSHOT_DECAPITATION that needed to be checked in Thrawn's code. I added it in and now the headshots on teh heatmaker should be working as intended. Sorry about that. Here's the code in case anyone wants it. Once again I will remove it if Thrawn adds it to the OP or requests that I remove it.

EDIT: I removed this since Thrawn updated the plugin.

Last edited by jameless; 10-14-2012 at 18:14.
jameless is offline
dingsbums
Junior Member
Join Date: May 2012
Old 08-26-2012 , 09:47   Re: [TF2] tHeadshotOnly v1.1.2 (2012.02.05)
Reply With Quote #90

HELLuuu ,
Could somebody add the "Hitman's Heatmaker" and "AWPer Hand" ?
dingsbums 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 23:34.


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