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

Disable Weapon "Self" Knockback TF2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Old 07-11-2014 , 08:25   Disable Weapon "Self" Knockback TF2
Reply With Quote #1

Hello, I am coding a Deathrun plugin for my community but rather than forcing melees on players im trying to remove the abusive effects on weapons such as rocket jumping etc.

Can somebody help with disabling all knockback on a weapon if its inflicted on the player himself.


Thanks
SM9 is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 07-11-2014 , 12:55   Re: Disable Weapon "Self" Knockback TF2
Reply With Quote #2

This attribute works well to prevent rocket/sticky jumping. Apply it with TF2Items or TF2Attributes:
Code:
			"name"	"self dmg push force decreased"
			"defindex"	"59"
			"attribute_class"	"mult_dmgself_push_force"
			"description_string"	"%s1% self damage force"
			"description_format"	"value_is_percentage"
			"effect_type"	"negative"
			"hidden"	"0"
			"stored_as_integer"	"0"
(value of 0.1 works well)
__________________
pheadxdll 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 20:09.


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