aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/scripts/weapons/melee_pilot_emptyhanded.txt
blob: 032867af8c953615e7ec076b8a142a6e8a0fb93d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
WeaponData
{
	// General
	"printname"   									"Melee"
	"shortprintname"								"Melee"
	"description" 									"Description needed"
	"longdesc"										"Description needed"

	"menu_icon"										"rui/hud/common/melee_icon"
	"hud_icon"										"rui/hud/common/melee_icon"

	"weaponClass" 									"human"
	"weaponType" 									"melee"
	"body_type"										"battle_rifle"
	"fire_mode"   									"offhand_melee"
	"never_drop"									"1"

	// Models
	"viewmodel"   									"models/weapons/empty_handed/ptpov_emptyhand.mdl"
	"playermodel" 									"models/weapons/empty_handed/w_empty_handed_human.mdl"

	// Melee
	"melee_can_hit_humansized"						"1"
	"melee_can_hit_titans"							"0"
	"melee_raise_recovery_animtime_normal"			"0.75"
	"melee_raise_recovery_animtime_quick"			"0.4"
	"melee_range"									"60"
	"melee_rumble_on_hit"							"pilot_melee_hit"
	"melee_rumble_on_hit_partial"					"pilot_melee_hit_partial"
	"melee_freezelook_on_hit"						"0.25"
	//"melee_sound_attack_1p"						"Player_Melee_Backhand_1P"
	"melee_sound_attack_3p"							"player_melee_kick_3p"
	"melee_anim_3p"									"ACT_MP_MELEE_KNIFE_FIRST"
	"damage_flags"									"DF_MELEE | DF_KNOCK_BACK"
	"impact_effect_table"							"melee_human"
	"impulse_force"   								"35000"
	"offhand_keep_primary_in_hand"					"1"

	"zoom_effects"									"0"

	MP_BASE
	{
		"melee_lunge_target_range"						"110"
		"melee_lunge_target_angle"						"30"
		"melee_damage"									"100"
		"melee_damage_heavyarmor"						"0"
		"melee_attack_animtime"							"0"
		"melee_lunge_time"								"0.3"
		"melee_anim_1p_number"							"2"
	}

	SP_BASE
	{
		"melee_lunge_target_range"						"130"
		"melee_lunge_target_angle"						"40"
		"melee_damage"									"125"
		"melee_damage_heavyarmor"						"125"
		"melee_attack_animtime"							"0.0"
		"melee_lunge_time"								"0.2"
		"melee_anim_1p_number"							"1"								// ACT_VM_MELEE_ATTACK1, 2, or 3
	}

	//

	"ammo_suck_behavior"							"melee_weapons"
	"viewkick_spring" 								"melee"

	"viewkick_pitch_base" 							"-1.75"
	"viewkick_pitch_random"   						"0.75"
	"viewkick_pitch_softScale"						"0.3"
	"viewkick_pitch_hardScale"						"5.5"

	"viewkick_yaw_base"   							"1.0"
	"viewkick_yaw_random" 							"0.38"
	"viewkick_yaw_softScale"  						"0.38"
	"viewkick_yaw_hardScale"  						"15.5"

	"viewkick_roll_base"  							"0"
	"viewkick_roll_randomMin" 						"0.6"
	"viewkick_roll_randomMax" 						"0.8"
	"viewkick_roll_softScale" 						"0.2"
	"viewkick_roll_hardScale" 						"20.75"

	//
	"damage_rodeo" 									"100"
	"aimassist_disable_hipfire"						"1"
	"aimassist_disable_ads"							"1"

	// Bob
	//"bob_cycle_time"  								"0.45"
	//"bob_vert_dist"   								"0.075"
	//"bob_horz_dist"   								"0.05"
	//"bob_max_speed"   								"150"
	//"bob_pitch"   									"0.75"
	//"bob_yaw" 										"1"
	//"bob_roll"										"-0.75"

	// Sway
	//"sway_rotate_attach"  							"SWAY_ROTATE"
	//"sway_min_x"  									"-0.3"
	//"sway_min_y"  									"-0.5"
	//"sway_min_z"  									"-0.5"
	//"sway_max_x"  									"0.3"
	//"sway_max_y"  									"0.5"
	//"sway_max_z"  									"0.1"
	//"sway_min_pitch"  								"-3"
	//"sway_min_yaw"									"-3.5"
	//"sway_min_roll"   								"-2"
	//"sway_max_pitch"  								"3"
	//"sway_max_yaw"									"3.5"
	//"sway_max_roll"   								"3"
	//"sway_translate_gain" 							"10"
	//"sway_rotate_gain"								"12"
	//"sway_move_forward_translate_x"   				"0"
	//"sway_move_forward_translate_z"   				"-0.5"
	//"sway_move_back_translate_x"  					"-2"
	//"sway_move_back_translate_z"  					"-1"
	//"sway_move_left_translate_y"  					"-1"
	//"sway_move_left_translate_z"  					"-0.5"
	//"sway_move_left_rotate_roll"  					"-2"
	//"sway_move_right_translate_y" 					"1"
	//"sway_move_right_translate_z" 					"-0.5"
	//"sway_move_right_rotate_roll" 					"4"
	//"sway_move_up_translate_z"						"-1"
	//"sway_move_down_translate_z"  					"1"
	//"sway_turn_left_rotate_yaw"   					"-1"
	//"sway_turn_right_rotate_yaw"  					"1"
	//"sway_turn_up_rotate_pitch"   					"1"
	//"sway_turn_down_rotate_pitch" 					"-1"

	// WeaponED Unhandled Key/Values and custom script Key/Values
	"deployfirst_time"								"1.25"
	"sprintcycle_time"								".55"

	Mods
	{
		rocket_arena
		{
			"melee_damage"									"33"
		}

		// mod for testing low damage, high knockback "shove" melee rebalance
		test_push
		{
			"melee_damage" "5"
			"impulse_force" "150000"
		}
	}
}