[wpn_knife]:weapon_base
GroupControlSection			= spawn_group
$spawn						= "weapons\knife"
$npc						= off
$prefetch					= 8

description					= enc_weapons1_wpn-knife
loot_monster				= true

ef_weapon_type				= 1

class						= WP_KNIFE

visual						= dynamics\weapons\wpn_knife\wpn_knife
inv_name					= st_knife

inv_name_short				= st_knife
inv_weight					= 0.4
inv_volume					= 1.0
inv_grid_width				= 2
inv_grid_height				= 1
inv_grid_x					= 18
inv_grid_y					= 8

kill_msg_x					= 197
kill_msg_y					= 177
kill_msg_width				= 53
kill_msg_height				= 16

slot						= 0
animation_slot				= 5
single_handed				= 1

hud							= wpn_knife_hud

cost						= 500

hand_dependence				= 1

;-------------------------------------------------------------------------------
cam_relax_speed				= 5.0
cam_dispersion				= 0.9
cam_max_angle				= 7
cam_max_angle_horz			= 5.0
cam_step_angle_horz			= 0.5


fire_dispersion_base	 	= 0.5

fire_dispersion_condition_factor = 0
misfire_start_condition		= 0.1
misfire_end_prob			= 0

fire_point					= 0.0, 0.1, 0.4

flame_particles				=

; ttc
hit_power					= 0.50
hit_impulse					= 20
hit_type					= wound
hit_ap						= 0.2
condition_shot_dec			= 0.00145

hit_power_2					= 0.75
hit_impulse_2				= 50
hit_type_2					= wound_2
hit_ap_2					= 0.45
condition_shot_dec_2		= 0.0021

fire_distance				= 1.5	;1.8
bullet_speed				= 1000
rpm							= 1000

;-------------------------------------------------------------------------------
; splash parameters

splash1_direction			= 0.0, -0.3, 1.0
splash2_direction			= 0.0, 0.0, 1.0

spash1_dist					= 1.2 ;0.7		; fire_distance / 2
spash2_dist					= 1.33

spash1_radius				= 0.35 ;0.7
spash2_radius				= 0.22

splash1_hits_count			= 2
splash1_pervictim_hcount	= 1
splash2_hits_count			= 1
splash_hit_divide_factor	= 0.7
;-------------------------------------------------------------------------------

position					= -0.021, -0.085, 0.024		;-0.021, -0.078, 0.0
orientation					= 0,90,0
wm_size						= 0.10

light_disabled				= true

ph_mass						= 4

ammo_mag_size				= 0
ammo_class					= ammo_base

min_radius					= 0
max_radius					= 0
hit_probability_factor		= 2.0

scope_status				= 0
silencer_status				= 0
grenade_launcher_status		= 0
zoom_enabled				= false

snd_shoot					= weapons\knife_1
snd_shoot1					= weapons\knife_2
snd_shoot2					= weapons\knife_3


[wpn_knife_hud]:hud_base
item_visual					= dynamics\weapons\wpn_knife\wpn_knife_hud

inertion_offset				= 0.03
inertion_roll				= 0.06
inertion_speed				= 6

lean_dist					= 0.25, 0.7
lean_hud_fov_aim			= 0.4
lean_separate_hands			= true

hands_position				= 0.033,-0.175,0.1
hands_orientation			= 0,0,0

item_position				= 0,0,0
item_orientation			= 10,0,0

hud2world_trans_pos			= 0,0,0.06
hud2world_trans_rot			= 0,3.14,0

sprint_hud_offset_pos		= 0.0065,-0.0160,-0.0335

lean_hud_offset_pos			= 0.0100,-0.0155,-0.2355
lean_hud_offset_rot			= 0,0,0

fire_point					= 0.004500,0.062500,-0.178499
fire_bone					= knife

anm_show				= knife_draw, 1.5
anm_hide				= knife_holster

anm_idle				= knife_idle
anm_attack				= knife_kick
anm_attack2				= knife_kick_2, 0.95
anm_idle_moving			= knife_idle_moving
anm_idle_moving_walk	= knife_idle_moving, 0.85
anm_idle_sprint			= knife_idle_sprint
;anm_bore				= knife_idle_bore

; additional parameters:	#p1, #p2
prm_attack				=	0,	0.64
prm_attack2				=	0,	0.45
prm_idle_sprint			=	0,	1

mrk_hide				= 0.9
mrk_attack				= 0.75
mrk_attack2				= 0.75

syn_idle_moving			= 0.8, 3
syn_idle_moving_walk	= 0.8, 3
syn_idle_sprint			= 0.6