; Снайперская винтовка укороченная СВУ-А (ОЦ-03А)
;-(правлено SR)-------------------------------------
; калибр 				7.62x54 мм
; длина ствола 				520 мм
; магазин				10
; вес без магазина			4.4
; эффективная дальность стрельбы	640 м 
; прицельная дальность			800 м
; дульная скорость пули			800 м/с
; темп стрельбы				650 в/м
;---------------------------------------------------
[wpn_svu]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency 		= 
$spawn 				= "weapons\svu"		; option for Level Editor
$npc				= on			; option for Level Editor
$prefetch 			= 8
scheduled 			= off 			; option for ALife Simulator
cform 				= skeleton
class 				= WP_SVU
min_radius 			= 5
max_radius 			= 200
description			= enc_weapons1_wpn-svu

ef_main_weapon_type		= 3
ef_weapon_type			= 8

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

upg = nil
upg_last = nil

cost				= 40000
weapon_class			= sniper_rifle

ammo_limit			= 60
ammo_current			= 60
ammo_elapsed			= 10
ammo_mag_size			= 10
                       	
ammo_class			= ammo_7.62x54_ap, ammo_7.62x54_7h1, ammo_7.62x54_7h14

fire_modes			= 1

hand_dependence 		= 2
single_handed			= 0

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

inv_name			= wpn-svu
inv_name_short			= wpn-svu
inv_weight			= 4.4

inv_grid_width			= 5
inv_grid_height			= 2
inv_grid_x			= 0
inv_grid_y			= 2

;спавнить автоматически боеприпасы при подъеме оружия
auto_spawn_ammo			= false

sprint_allowed			= true

;-----------------------------------------------------------------------------------
;базовая дисперсия
;dispersion_start		= 0
fire_dispersion_base		= 0.0229 		; угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor		= 1.6f

;отдача
cam_relax_speed 		= 4.25			; скорость возврата в исходное положение
cam_relax_speed_ai 		= 120.75		; скорость возврата в исходное положение
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		= 1.8			; (degree) size of step camera moved in horizontal position while shooting

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

direction 			= 0, 0, 1
fire_point              = 0.0, 0.2, 0.392 ;fire_point 			= 0.0, 0.128, 0.522
fire_point2             = 0.0, 0.128, 0.522 ;fire_point2 			= 0.0, 0.128, 0.522

smoke_particles		 	= weapons\generic_shoot_00

shell_point		 		= 0.0, 0.23, 0.179 ;shell_point		 	= 0.0, 0.128, 0.0
shell_dir		 	= 0.0, 0.0, 0.4
shell_particles	 		= weapons\generic_shells

PDM_disp_base 			= 1.0
PDM_disp_vel_factor 		= 1.7
PDM_disp_accel_factor 		= 1.8
PDM_crouch	 		= 0.9
PDM_crouch_no_acc 		= 0.8

; ttc
hit_power 			= 1.55
hit_impulse		 	= 264
hit_type 		 	= fire_wound

fire_distance 			= 940
bullet_speed		 	= 800
rpm 				= 650
rpm_empty_click 	 	= 325
; end ttc

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

hud 				= wpn_svu_hud
normal 				= 0, 1, 0
position 			= -0.025, -0.165, 0.01
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 				= weapons\svu\wpn_svu.ogf

light_disabled			= true

ph_mass			 	= 5

;addons
scope_status			= 1
silencer_status			= 1
grenade_launcher_status		= 0

zoom_enabled			= true
scope_zoom_factor		= 15		;ПСО-1 4X
scope_texture			= wpn\wpn_crosshair_green

;------------------------------ S.T.A.L.K.E.R`s sound remake ------------------------------
;звуки
snd_draw				= weapons\draw
snd_holster				= weapons\holster
snd_shoot		= weapons\svu\shot
snd_empty				= weapons\empty
snd_reload		= weapons\m4a1_reload
snd_close				= weapons\holster
;------------------------------------------------------------------------------------------

;silencer_flame_particles 	= weapons\generic_weapon01
silencer_smoke_particles 	= weapons\generic_shoot_00

silencer_hit_power 		= 6.895
silencer_hit_impulse	 	= 64
silencer_fire_distance 		= 640
silencer_bullet_speed	 	= 800

silencer_light_color		= 0.6, 0.5, 0.3
silencer_light_range		= 0.01
silencer_light_var_color	= 0.05
silencer_light_var_range	= 0.5
silencer_light_time 		= 0.2

hit_probability_gd_novice	= 0.80			; точность стрельбы,      
hit_probability_gd_stalker	= 0.85			; когда оружие в руках НПС
hit_probability_gd_veteran	= 0.90			; в зависимости от уровня 
hit_probability_gd_master	= 0.95			; сложности игры          

;-----------------------------------------------------------------------------
;-- HUD DESCRIPTION
;-----------------------------------------------------------------------------
[wpn_svu_hud]

allow_inertion			= true

shell_point     	    	= 0,0,-0.6
shell_dir			= 0.0, 1.0, 0.0

fire_point			= 0,0,-0.5
fire_point2              	= 0,0,-0.5 
fire_bone 			= muzzle
orientation 			= 0, 0, 0
position                	= 0.13,-0.1,0.11
visual 				= weapons\svu\wpn_svu_hud.ogf

anim_holster			= holster
anim_idle			= idle
anim_idle_aim			= idle_aim
anim_reload			= reload
anim_draw			= draw
anim_shoot			= shoot
anim_idle_sprint		= idle_sprint

;-----------------------------------------------------------------------------
;смещения HUD для режима приближения
zoom_offset					= -0.13,0.1,-0
zoom_rotate_x				= 0
zoom_rotate_y				= 0

;-----------------------------------------------------------------------------
;прячем перекрестие прицела в зуме
zoom_hide_crosshair		= true