blob: 2faff2e28078626a0d1aa00286fa6674f44e7605 (
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
150
151
152
153
154
|
WeaponData
{
// General
"printname" "Melee"
"shortprintname" "Melee"
"description" "Description needed"
"longdesc" "Description needed"
"menu_icon" "ui/temp"
"hud_icon" "ui/temp"
"weaponClass" "human"
"weaponType" "melee"
"body_type" "battle_rifle"
"fire_mode" "offhand_melee"
"never_drop" "1"
// Models
"viewmodel" "models/weapons/kunai/ptpov_kunai.mdl"
"playermodel" "models/weapons/kunai/w_kunai.mdl"
// Melee
"melee_can_hit_humansized" "1"
"melee_can_hit_titans" "0"
"melee_raise_recovery_animtime_normal" "0.25"
"melee_raise_recovery_animtime_quick" "0.01"
"melee_range" "40"
"melee_rumble_on_hit" "pilot_melee_hit"
"melee_freezelook_on_hit" "0.0"
"melee_sound_attack_1p" "Player_Melee_Backhand_1P"
"melee_sound_attack_3p" "player_melee_kick_3p"
"melee_anim_1p_number" "1" // ACT_VM_MELEE_ATTACK1, 2, or 3
"melee_anim_3p" "ACT_MP_MELEE_KNIFE_FIRST"
"damage_flags" "DF_MELEE | DF_KNOCK_BACK"
"impact_effect_table" "melee_human"
"impulse_force" "25000"
"zoom_effects" "0"
MP_BASE
{
"melee_lunge_target_range" "130"
"melee_lunge_target_angle" "30"
"melee_damage" "300"
"melee_damage_heavyarmor" "300"
"melee_attack_animtime" "1.0"
"melee_lunge_time" "0.125"
}
SP_BASE
{
"melee_lunge_target_range" "200"
"melee_lunge_target_angle" "40"
"melee_damage" "130"
"melee_damage_heavyarmor" "130"
"melee_attack_animtime" "0.0"
"melee_lunge_time" "0.2"
}
//
"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" "10.5"
"viewkick_yaw_base" "-1.0"
"viewkick_yaw_random" "0.38"
"viewkick_yaw_softScale" "0.38"
"viewkick_yaw_hardScale" "30.5"
"viewkick_roll_base" "0"
"viewkick_roll_randomMin" "0.6"
"viewkick_roll_randomMax" "0.8"
"viewkick_roll_softScale" "0.2"
"viewkick_roll_hardScale" "10.0"
//
"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"
// View Drift
"viewdrift_hipfire_stand_scale_pitch" "0.325"
"viewdrift_hipfire_crouch_scale_pitch" "0.275"
"viewdrift_hipfire_air_scale_pitch" "0.5"
"viewdrift_hipfire_stand_scale_yaw" "0.12"
"viewdrift_hipfire_crouch_scale_yaw" "0.10"
"viewdrift_hipfire_air_scale_yaw" "0.22"
"viewdrift_hipfire_speed_pitch" "0.6"
"viewdrift_hipfire_speed_yaw" "1.22"
// 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
{
test_push
{
"melee_damage" "5"
"impulse_force" "50000"
}
allow_as_primary
{
"fire_mode" "offhand_melee_hybrid"
"attack_button_presses_melee" "1"
}
}
}
|