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

class					= WP_SVD
min_radius				= 0
max_radius				= 50
description				= enc_weapons1_wpn-svd

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					= 15000
weapon_class			= sniper_rifle

ammo_mag_size			= 10
ammo_class				= class_762_sr

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

;parent dispersion modifiers
PDM_disp_base			= 2.0
PDM_disp_vel_factor		= 0.8
PDM_disp_accel_factor	= 1.0
PDM_disp_crouch			= 1.0
PDM_disp_crouch_no_acc	= 1.0

;отдача
cam_relax_speed			= 4.5	;скорость возврата в исходное положение
cam_dispersion			= 2.0	;увеличения угла (в градусах) с каждым выстрелом
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			= 15.0	;максимальный угол отдачи
cam_max_angle_horz		= 3.0	;(degree) maximum shot horizontal degree
cam_step_angle_horz		= 0.25	;(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.0012
;-----------------------------------------------------------------------------------

hand_dependence 		= 1
single_handed			= 0

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


inv_name				= wpn-svd
inv_name_short			= wpn-svd
inv_weight				= 4.0
inv_volume				= 12

inv_grid_width			= 6
inv_grid_height			= 2
inv_grid_x				= 0
inv_grid_y				= 0

;kill_msg_x			= 0
;kill_msg_y			= 0
;kill_msg_width		= 98
;kill_msg_height		= 23

fire_point				= 0.0, 0.129, 0.942

flame_particles			= weapons\generic_weapon06
smoke_particles			= weapons\generic_shoot_00

shell_point				= 0.0, 0.137, 0.190
;shell_dir				= 0.0, 0.0, 0.4
shell_particles			= weapons\762x54

; ttc
hit_power				= 1.05
hit_impulse				= 1.3
armor_piercing_k		= 1.1
fire_distance			= 1.0
bullet_speed			= 1.05

rpm						= 120
; end ttc

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

hud						= wpn_svd_hud
position				= -0.026, -0.077, -0.015
orientation				= 0, -1.5, 0

;--STRAP PARAMETERS-----------------------------------------------------------------
;под мишкой
strap_position				= -0.15,-0.15,0.45			; position (offset) and orientation of the weapon when it is strapped
strap_orientation			= -25,-189,65				; (3rd person view in degrees)
;strap_position				= -0.26,-0.11,0.15			; 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_svd\wpn_svd

light_color				= 1.0,0.83,0.51
light_range				= 9
light_var_color			= 0.1
light_var_range			= 1.0
light_time				= 0.2

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.5
zoom_rotate_time_scope	= 0.6

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 				= 42
scope_y 				= 5

;silencer_name			= wpn_addon_silencer
;silencer_x				= 270
;silencer_y				= 19

;звуки
snd_draw				= weapons\svd\svd_draw
snd_holster				= weapons\sniper_holster, 1, 0.1
snd_shoot				= weapons\svd\svd_shoot
snd_shoot1				= weapons\svd\svd_shoot1
snd_empty				= weapons\ak_empty
snd_reload				= weapons\svd\svd_reload
snd_silncer_shot		= weapons\svd\svd_shot_sil
snd_zoominc				= weapons\binoculars_zoominc
snd_zoomdec				= weapons\binoculars_zoomdec


[wpn_svd_hud]:hud_base_wpn
item_visual					= dynamics\weapons\wpn_svd\wpn_svd_hud

lean_dist					= 0.3, 1.3
lean_dist_aim				= 0.3, 1.2
lean_dist_reload			= 0.3, 1.2
lean_reload_allow_offset	= false
lean_hud_fov_reload			= 0.4

hands_position				= 0.0215,-0.0350,0.2150
hands_orientation			= 0.6000,1.0500,0.8000

item_position				= -0.008,0.01,0.002
item_orientation			= 0.1,-0.6,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.10420,0.07095,-0.00048
aim_hud_offset_rot			= 0.00744,0.01250,0.01173

aim_alt_hud_offset_pos		= -0.0872,0.0334,-0.0255
aim_alt_hud_offset_rot		= 0.00694,0.01313,0.01173

scope_hud_offset_pos		= -0.09620,0.05645,-0.13598
scope_hud_offset_rot		= 0.00694,0.01313,0.01173

reload_hud_offset_pos		= 0.0292,-0.0046,-0.0448

sprint_hud_offset_pos		= -0.0650,-0.0165,0
sprint_hud_offset_rot		= 0,0,0.0975

custom_hud_offset_pos		= 0.0410,-0.0180,0.0000
custom_hud_offset_rot		= 0.0150,0.1875,0.0000

anm_show				= svd_draw, 0.9
anm_hide				= svd_holster, 0.6			;DUR 0.94
anm_shots				= svd_shoot, shoot
anm_reload				= svd_reload, reload
;anm_bore				= svd_aim
anm_idle				= svd_idle
anm_idle_aim			= svd_aim
anm_idle_moving 		= svd_move
anm_idle_moving_walk	= svd_move, 0.85
anm_idle_moving_aim		= svd_move
anm_idle_sprint			= svd_sprint

mrk_show				= 0.62
mrk_reload				= 0.54, 0.94

; additional parameters
prm_show				=	9|0.28
prm_reload				=	8|0.85


[scope_pso1_m2]
scope_name			= wpn_addon_scope_pso_m2
scope_x				= 0		; offset in inventory icon
scope_y				= 0