Raised This Month: $32 Target: $400
 8% 

[TF2] Shortstop shove knockback


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ShakSheep
Junior Member
Join Date: Jun 2019
Location: Location, Location.
Old 12-16-2019 , 13:24   [TF2] Shortstop shove knockback
Reply With Quote #1

Hey,

Is there a way to replicate the shortstop shove's knockback into a plugin? If there is, I would greatly appreciate if someone can tell me how. I've been trying to figure it out for a few months with little to no search results on someone dealing with a similar problem as I am...
__________________
Banners/Logos are for the weak...
ShakSheep is offline
ShakSheep
Junior Member
Join Date: Jun 2019
Location: Location, Location.
Old 12-23-2019 , 21:10   Re: [HELP] TF2 Shortstop shove knockback
Reply With Quote #2

A little help?
__________________
Banners/Logos are for the weak...
ShakSheep is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 12-24-2019 , 12:05   Re: [TF2] Shortstop shove knockback
Reply With Quote #3

I looked at the Shortstop information within the items_game.txt file. Unfortunately there isn't a specific attribute that grants the shove effect. If there was you could easily make that into a plugin.

Shortstop info:
Code:
"weapon_shortstop"
{
	"enabled"	"1"
	"item_class"	"tf_weapon_handgun_scout_primary"
	"craft_class"	"weapon"
	"craft_material_type"	"weapon"
	"capabilities"
	{
		"nameable"		"1"
	}
	"static_attrs"
	{
		"min_viewmodel_offset"					"10 0 -11"
		"weapon_stattrak_module_scale"				"0.66"

	}
	"tags"
	{
		"can_deal_damage"			"1"
		"can_deal_critical_damage"	"1"
		"can_deal_mvm_penetration_damage"	"1"
		"can_deal_long_distance_damage"	"1"
	}
	"show_in_armory"	"1"
	"item_type_name"	"#TF_Weapon_Peppergun"
	"item_description"	"#TF_TheShortstop_Desc"
	"item_name"	"#TF_TheShortstop"
	"item_slot"	"primary"
	"anim_slot"	"secondary"
	"item_quality"	"unique"
	"item_logname"	"shortstop"
	"item_iconname"	"shortstop"
	"propername"	"1"
	"min_ilevel"	"1"
	"max_ilevel"	"1"
	"image_inventory"	"backpack/workshop/weapons/c_models/c_shortstop/c_shortstop"
	"image_inventory_size_w"		"128"
	"image_inventory_size_h"		"82"
	"model_player"	"models/workshop/weapons/c_models/c_shortstop/c_shortstop.mdl"
	"attach_to_hands" "1"
	"inspect_panel_dist" "27"
	"used_by_classes"
	{
		"scout"	"1"
	}
	"attributes"
	{
		"provide on active"
		{
			"attribute_class"	"provide_on_active"
			"value" "1"
		}
		"reload time increased hidden"
		{
			"attribute_class"	"mult_reload_time_hidden"
			"value"	"1.5"
		}
		"disable fancy class select anim"
		{
			"attribute_class"	"disable_fancy_class_select_anim"
			"value"	"1"
		}
		"damage force increase text"
		{
			"attribute_class"	"damage_force_reduction"
			"value" "1"
		}
		"damage force increase hidden"
		{
			"attribute_class"	"damage_force_reduction"
			"value" "1.2"
		}
		"airblast vulnerability multiplier hidden"
		{
			"attribute_class"	"airblast_vulnerability_multiplier"
			"value" "1.2"
		}
	}
	"visuals"
	{
		"sound_single_shot"	"Weapon_Short_Stop.Single"
		"sound_burst"	"Weapon_Short_Stop.SingleCrit"
		"sound_reload"		"Weapon_Short_Stop.Reload"
		"muzzle_flash"	"muzzle_bignasty"
		"tracer_effect"	"bullet_bignasty_tracer01"
		"animation_replacement"
		{
			"ACT_VM_IDLE"	"ACT_SECONDARY_VM_IDLE_2"
			"ACT_VM_DRAW"	"ACT_SECONDARY_VM_DRAW_2"
			"ACT_VM_PRIMARYATTACK"	"ACT_SECONDARY_VM_PRIMARYATTACK_2"
			"ACT_MP_ATTACK_STAND_SECONDARYFIRE" "ACT_MP_PUSH_STAND_SECONDARY"
			"ACT_MP_ATTACK_CROUCH_SECONDARYFIRE""ACT_MP_PUSH_CROUCH_SECONDARY"
			"ACT_MP_ATTACK_SWIM_SECONDARYFIRE"	"ACT_MP_PUSH_SWIM_SECONDARY"
			"ACT_VM_RELOAD"	"ACT_SECONDARY_VM_RELOAD_2"
			"ACT_MP_RELOAD_STAND"	"ACT_MP_RELOAD_STAND_SECONDARY_2"
			"ACT_MP_RELOAD_CROUCH"	"ACT_MP_RELOAD_CROUCH_SECONDARY_2"
			"ACT_MP_RELOAD_SWIM"	"ACT_MP_RELOAD_SWIM_SECONDARY_2"
			"ACT_MP_RELOAD_AIRWALK"	"ACT_MP_RELOAD_AIRWALK_SECONDARY_2"
			"ACT_PRIMARY_VM_INSPECT_START"		"ACT_PRIMARY_ALT1_VM_INSPECT_START"
			"ACT_PRIMARY_VM_INSPECT_IDLE"		"ACT_PRIMARY_ALT1_VM_INSPECT_IDLE"
			"ACT_PRIMARY_VM_INSPECT_END"		"ACT_PRIMARY_ALT1_VM_INSPECT_END"
		}
	}
	"mouse_pressed_sound"	"ui/item_light_gun_pickup.wav"
	"drop_sound"		"ui/item_light_gun_drop.wav"
}
PC Gamer is offline
ShakSheep
Junior Member
Join Date: Jun 2019
Location: Location, Location.
Old 12-29-2019 , 00:40   Re: [TF2] Shortstop shove knockback
Reply With Quote #4

Quote:
Originally Posted by PC Gamer View Post
I looked at the Shortstop information within the items_game.txt file. Unfortunately there isn't a specific attribute that grants the shove effect. If there was you could easily make that into a plugin.

Shortstop info:
Code:
"weapon_shortstop"
{
	"enabled"	"1"
	"item_class"	"tf_weapon_handgun_scout_primary"
	"craft_class"	"weapon"
	"craft_material_type"	"weapon"
	"capabilities"
	{
		"nameable"		"1"
	}
	"static_attrs"
	{
		"min_viewmodel_offset"					"10 0 -11"
		"weapon_stattrak_module_scale"				"0.66"

	}
	"tags"
	{
		"can_deal_damage"			"1"
		"can_deal_critical_damage"	"1"
		"can_deal_mvm_penetration_damage"	"1"
		"can_deal_long_distance_damage"	"1"
	}
	"show_in_armory"	"1"
	"item_type_name"	"#TF_Weapon_Peppergun"
	"item_description"	"#TF_TheShortstop_Desc"
	"item_name"	"#TF_TheShortstop"
	"item_slot"	"primary"
	"anim_slot"	"secondary"
	"item_quality"	"unique"
	"item_logname"	"shortstop"
	"item_iconname"	"shortstop"
	"propername"	"1"
	"min_ilevel"	"1"
	"max_ilevel"	"1"
	"image_inventory"	"backpack/workshop/weapons/c_models/c_shortstop/c_shortstop"
	"image_inventory_size_w"		"128"
	"image_inventory_size_h"		"82"
	"model_player"	"models/workshop/weapons/c_models/c_shortstop/c_shortstop.mdl"
	"attach_to_hands" "1"
	"inspect_panel_dist" "27"
	"used_by_classes"
	{
		"scout"	"1"
	}
	"attributes"
	{
		"provide on active"
		{
			"attribute_class"	"provide_on_active"
			"value" "1"
		}
		"reload time increased hidden"
		{
			"attribute_class"	"mult_reload_time_hidden"
			"value"	"1.5"
		}
		"disable fancy class select anim"
		{
			"attribute_class"	"disable_fancy_class_select_anim"
			"value"	"1"
		}
		"damage force increase text"
		{
			"attribute_class"	"damage_force_reduction"
			"value" "1"
		}
		"damage force increase hidden"
		{
			"attribute_class"	"damage_force_reduction"
			"value" "1.2"
		}
		"airblast vulnerability multiplier hidden"
		{
			"attribute_class"	"airblast_vulnerability_multiplier"
			"value" "1.2"
		}
	}
	"visuals"
	{
		"sound_single_shot"	"Weapon_Short_Stop.Single"
		"sound_burst"	"Weapon_Short_Stop.SingleCrit"
		"sound_reload"		"Weapon_Short_Stop.Reload"
		"muzzle_flash"	"muzzle_bignasty"
		"tracer_effect"	"bullet_bignasty_tracer01"
		"animation_replacement"
		{
			"ACT_VM_IDLE"	"ACT_SECONDARY_VM_IDLE_2"
			"ACT_VM_DRAW"	"ACT_SECONDARY_VM_DRAW_2"
			"ACT_VM_PRIMARYATTACK"	"ACT_SECONDARY_VM_PRIMARYATTACK_2"
			"ACT_MP_ATTACK_STAND_SECONDARYFIRE" "ACT_MP_PUSH_STAND_SECONDARY"
			"ACT_MP_ATTACK_CROUCH_SECONDARYFIRE""ACT_MP_PUSH_CROUCH_SECONDARY"
			"ACT_MP_ATTACK_SWIM_SECONDARYFIRE"	"ACT_MP_PUSH_SWIM_SECONDARY"
			"ACT_VM_RELOAD"	"ACT_SECONDARY_VM_RELOAD_2"
			"ACT_MP_RELOAD_STAND"	"ACT_MP_RELOAD_STAND_SECONDARY_2"
			"ACT_MP_RELOAD_CROUCH"	"ACT_MP_RELOAD_CROUCH_SECONDARY_2"
			"ACT_MP_RELOAD_SWIM"	"ACT_MP_RELOAD_SWIM_SECONDARY_2"
			"ACT_MP_RELOAD_AIRWALK"	"ACT_MP_RELOAD_AIRWALK_SECONDARY_2"
			"ACT_PRIMARY_VM_INSPECT_START"		"ACT_PRIMARY_ALT1_VM_INSPECT_START"
			"ACT_PRIMARY_VM_INSPECT_IDLE"		"ACT_PRIMARY_ALT1_VM_INSPECT_IDLE"
			"ACT_PRIMARY_VM_INSPECT_END"		"ACT_PRIMARY_ALT1_VM_INSPECT_END"
		}
	}
	"mouse_pressed_sound"	"ui/item_light_gun_pickup.wav"
	"drop_sound"		"ui/item_light_gun_drop.wav"
}
Okay, is there another way that I can replicate it?
ShakSheep 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 00:06.


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