[wpn_svu]:weapon_base
GroupControlSection		= spawn_group
$spawn					= "weapons\svu"
$npc					= on
$prefetch				= 8

class					= WP_SVU
min_radius				= 0
max_radius				= 50
description				= enc_weapons1_wpn-svu

ef_main_weapon_type		 = 3
ef_weapon_type			 = 8

;--- scope weapons -----------------------------------------------------------------
holder_range_modifier	= 1.0		; во сколько раз увеличивается eye_range
holder_fov_modifier		= 0.7		; во сколько раз увеличивается eye_fov
;-----------------------------------------------------------------------------------

cost					= 12000
weapon_class			= sniper_rifle

ammo_mag_size		 	= 10
ammo_class		 		= class_762_sr

sprint_coeff			= 0.55
;sprint_allowed			= false
;-----------------------------------------------------------------------------------
;базовая дисперсия
fire_dispersion_base	= 0.18	;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor	= 1.3f

;parent dispersion modifiers
PDM_disp_base			= 1.5
PDM_disp_vel_factor		= 0.7
PDM_disp_accel_factor	= 1.0
PDM_disp_crouch			= 1.0
PDM_disp_crouch_no_acc	= 1.0

;отдача
cam_relax_speed			= 4.25	;скорость возврата в исходное положение
cam_relax_speed_ai		= 8.5	;скорость возврата в исходное положение
cam_dispersion			= 2.5	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc		= 0.5	;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac		= 1.0	;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle			= 12.0	;максимальный угол отдачи
cam_max_angle_horz		= 3.0	;(degree) maximum shot horizontal degree
cam_step_angle_horz		= 0.6	;(degree) size of step camera moved in horizontal position while shooting

;увеличение дисперсии в процентах при максимальном износе
fire_dispersion_condition_factor = 10
;изношенность, при которой появляется шанс осечки
misfire_start_condition		= 0.8
;изношеность при которой шанс осечки становится константным
misfire_end_condition		= 0.15
;шанс осечки при изношености больше чем misfireStartCondition
misfire_start_prob			= 0.01
;шанс осечки при изношености больше чем misfireEndCondition
misfire_end_prob			= 0.2
;увеличение изношености при одиночном выстреле
condition_shot_dec			= 0.00135
;-----------------------------------------------------------------------------------

hand_dependence			= 1
single_handed			= 0

slot					= 2,1
animation_slot			= 8		; type of the animation that will be used

inv_name				= wpn-svu
inv_name_short			= wpn-svu
inv_weight				= 4.7
inv_volume				= 10

inv_grid_width			= 5
inv_grid_height			= 2;1
inv_grid_x				= 0;5
inv_grid_y				= 2;4

;kill_msg_x			= 0
;kill_msg_y			= 59
;kill_msg_width		= 80
;kill_msg_height		= 26

fire_point				= 0.0, 0.128, 0.522

flame_particles			= weapons\generic_weapon05
smoke_particles			= weapons\generic_shoot_00

shell_point				= 0.0, 0.135, -0.09
;shell_dir				= 0.0, 0.0, 0.4
shell_particles			= weapons\762x54

; ttc
hit_power				= 1.0
hit_impulse				= 1.2
fire_distance			= 1.0
bullet_speed			= 1.0

rpm						= 250
; end ttc

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

hud						= wpn_svu_hud
position				= -0.026, -0.084, -0.02
orientation				= 0, 0, 0

;--STRAP PARAMETERS-----------------------------------------------------------------
;под мишкой
strap_position			= -0.26,-0.11,0.25			; position (offset) and orientation of the weapon when it is strapped
strap_orientation		= -15,-9,110				; (3rd person view in degrees)
strap_bone0				= bip01_spine2
strap_bone1				= bip01_spine1

visual					= dynamics\weapons\wpn_svu\wpn_svu

light_disabled			= true

ph_mass			 		= 3

;addons
scope_status			= 2
silencer_status			= 0
grenade_launcher_status	= 0
addon_flags_def			= 1	; scope

zoom_enabled			= true
;scope_zoom_factor		= 15		;ПСО-1 4X
zoom_rotate_time		= 0.4
zoom_rotate_time_scope	= 0.55

scopes_sect				= scope_pso1_m2, scope_pso1_m201, scope_ak74, scope_x27_ak74, scope_detector_ak74, scope_nv_ak74, scope_dz_ak74
;scope_texture			= wpn\wpn_crosshair
;scope_name 				= wpn_addon_scope
scope_x 				= 51
scope_y 				= 2

;звуки
snd_draw				= weapons\svu\svu_draw
snd_holster				= weapons\sniper_holster, 1, 0.1
snd_shoot				= weapons\svu\svu_shoot
snd_empty				= weapons\ak_empty
snd_reload				= weapons\svu\svu_reload
snd_reload_misfire		= weapons\svu\svu_misfire
snd_silncer_shot		= weapons\svu\svu_shot
snd_zoominc				= weapons\binoculars_zoominc
snd_zoomdec				= weapons\binoculars_zoomdec


[wpn_svu_hud]:hud_base_wpn
item_visual				= dynamics\weapons\wpn_svu\wpn_svu_hud

hands_position			= 0.008,-0.17,0.25
hands_orientation		= 0.55,2.39,0.15

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

shell_point				= 0,0,0
;shell_dir				= 0,1,0
shell_bone				= gilza

fire_point				= 0,0,0
fire_bone				= muzzle

aim_hud_offset_pos		= -0.11280,0.07400,-0.10000
aim_hud_offset_rot		= 0.02148,0.02275,0.00000
;aim_hud_offset_pos		= -0.1123,0.062,-0.1
;aim_hud_offset_rot		= 0.0386,0.022,0

aim_alt_hud_offset_pos	= -0.0898,0.0300,-0.1
aim_alt_hud_offset_rot	= 0.0261,0.0220,0
;aim_alt_hud_offset_pos	= -0.1123,0.0715,-0.0760
;aim_alt_hud_offset_rot	= 0.0186,0.022,0

scope_hud_offset_pos	= -0.09680,0.05650,-0.16750
scope_hud_offset_rot	= 0.0386,0.022,0

custom_hud_offset_pos	= 0,-0.034,0
custom_hud_offset_rot	= 0.05,0,0

anm_show				= svu_draw, 0.75
anm_hide				= svu_holster, 0.85			;DUR 0.94
anm_shots				= svu_shoot, shoot
anm_reload				= svu_reload_empty, reload_empty
anm_reload_misfire		= svu_misfire, misfire
;anm_bore				= svu_idle_aim
anm_idle				= svu_idle
anm_idle_aim			= svu_idle_aim
anm_idle_moving 		= svu_idle_moving
anm_idle_moving_walk	= svu_idle_moving, 0.85
anm_idle_moving_aim		= svu_idle_moving
anm_idle_sprint			= svu_idle_sprint

mrk_show				= 0.55
mrk_reload				= 0.44, 0.92
mrk_reload_misfire		= 0.36, 0.82

; additional parameters
prm_show				= 9|0.12
