;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; trowing knife
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[bolt]:identity_immunities,weapon_probability,default_weapon_params
class				= II_BOLT
cform				= skeleton
visual				= dynamics\weapons\wpn_knife\wpn_knife.ogf
inv_name			= "Throwing Knife"
$prefetch 			= 16
inv_name_short		= "Throwing Knife"
inv_weight			= 0.01

ef_weapon_type		= 1
cost                = 300
can_trade			= true
can_take            = on
inv_grid_width		= 2
inv_grid_height		= 1
inv_grid_x			= 8
inv_grid_y			= 18

animation_slot		= 7
single_handed		= 0



slot				= 5
hud					= bolt_hud
force_min			= 50
force_const			= 60
force_max			= 80
force_grow_speed		= 15

ammo_limit		 		= 2000
ammo_current		 	= 2000
ammo_elapsed		 	= 0
show_ammo               = on
ammo_mag_size		 	= 50
ammo_class		 		= ammo_7.62x54_7h1 ;ammo_pkm_100

destroy_time		= 10000

fire_dispersion_condition_factor = 5		;увеличение дисперсии в процентах при максимальном износе
misfire_probability 	= 0.005	    	;вероятность осечки при максимальном износе
condition_shot_dec 		= 0.00130		;увеличение износа при каждом выстреле

;-------------------------------------------------------------------------------
; ttc
hit_power           		= 45.0, 45.0, 45.0, 45.0
hit_impulse		 			= 150
hit_type 					= fire_wound

hit_power_2             = 15.0, 15.0, 15.0, 15.0
;hit_power_critical_2    = 0.0, 0.0, 0.0, 0.0
hit_impulse_2	        = 150
hit_type_2				= fire_wound ;wound_2

hit_probability_gd_novice	= 0.80
hit_probability_gd_stalker	= 0.80
hit_probability_gd_veteran	= 0.80
hit_probability_gd_master	= 0.80

PDM_disp_base 			= 1.0
PDM_disp_vel_factor 	= 0.8
PDM_disp_accel_factor 	= 0.8
PDM_disp_crouch	 		= 1.0
PDM_disp_crouch_no_acc 	= 1.0 

use_aim_bullet			= true		;Поддерживается ли первая суппер пуля
time_to_aim				= 1.0

fire_distance           = 25
bullet_speed		 	= 850
rpm                     = 60 ;40
rpm_empty_click 	 	= 200
; end ttc
;-------------------------------------------------------------------------------
hud                     = bolt_hud
visual                  = dynamics\weapons\wpn_knife\wpn_knif3.ogf

position                = -0.021, -0.085, 0.024
orientation             = 0, 90, 0

throw_point			= 0,0,0 ; 0,0.4,0.5
throw_dir			= 0,0,0 ; 0,0,0 (?) --check 

PDM_disp_base           = 1.0
PDM_disp_vel_factor     = 1.0
PDM_disp_accel_factor   = 1.0
PDM_disp_crouch         = 1.0
PDM_disp_crouch_no_acc  = 1.0

[bolt_hud]:hud_base
fire_point				= 0,0,0
fire_bone				= wpn_body

attach_place_idx		= 0
item_visual				= Arsenal_Mod\wpn_knife_km2000_sk1_hud

hands_position				= -0.021000,-0.160000,0.002500
hands_orientation			= -0.500000,1.000000,1.149999
hands_position_16x9				= 0.033000,-0.189500,0.039000
hands_orientation_16x9			= 2.349998,2.749999,2.849998


item_position				= 0.003164,-0.002989,0.000906
item_orientation			= 175.276352,-184.681427,-545.486328

snd_draw							= weapons\walther_draw
snd_holster						= weapons\generic_holster
snd_shoot						= weapons\knife_1
snd_empty						= weapons\pistol_empty
snd_reload						= weapons\pm_reload, 0.8
snd_close						= weapons\generic_close

anm_show			= knife_draw
anm_show_empty			= knife_draw
anm_hide             		= knife_holster
anm_idle             		= knife_idle
anm_idle_aim			= knife_idle
anm_bore				= knife_idle_bore ; = dev_bolt_idle_bore
anm_idle_moving	 		= knife_idle_moving ; = dev_bolt_idle_moving
anm_idle_sprint	 		= knife_idle_sprint
anm_attack			= knife_kick_1
anm_attack_e			= knife_kick_end1	;--remove me
anm_throw_begin			= dev_bolt_shoot_start
anm_throw_idle			= dev_bolt_shoot_idle
anm_throw				= dev_bolt_shoot_end


throw_point				= 0,0,0 ; 0.0,0.4,0.3
throw_dir				= 0,0,0 ; 0,0,1

