;Снайперская винтовка СВУ
[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              = 0
max_radius              = 50
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
;-----------------------------------------------------------------------------------

cost					= 10000
weapon_class			= sniper_rifle

ammo_limit		 		= 60
ammo_current			= 10
ammo_elapsed		 	= 0

f_mode				= 1

ammo_mag_size		 	= 10
ammo_class		 		= ammo_7.62x54_7h14,ammo_7.62x54_ap,ammo_7.62x54_7h1

sprint_allowed			= true;  false
;-----------------------------------------------------------------------------------
;базовая дисперсия
fire_dispersion_base		= 0.043 ;0.051	;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor		= 1.6f
disp_rate = 1.85

;отдача
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 ;увеличение износа при каждом выстреле
;-----------------------------------------------------------------------------------

hand_dependence 		= 1
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;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

direction               = 0, 0, 1
fire_point              = 0.0, 0.128, 0.522
fire_point2             = 0.0, 0.128, 0.522

flame_particles		   	= weapons\generic_weapon05
smoke_particles		   	= weapons\generic_shoot_00
rpm_empty_click 	 	= 200

shell_point		 		= 0.0, 0.128, 0.0
shell_dir		 		= 0.0, 0.0, 0.4
shell_particles	 		= weapons\generic_shells

PDM_disp_base 			= 4.0
PDM_disp_vel_factor 		= 1.8
PDM_disp_accel_factor 		= 1.0
PDM_crouch	 		= 2.0
PDM_crouch_no_acc 		= 4.0

;;;;;;  Для Народной солянки 2009
hit_power           = 0.65, 0.67, 0.69, 0.70
hit_impulse	        = 2
hit_type 	        = fire_wound
hit_rate	        = 1.95
fire_distance       = 210
bullet_speed		= 412  ; иначе не будет работать "снайпер аддон"
rpm                 = 140

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

hud                     = wpn_svu_hud
normal                  = 0, 1, 0
position                = -0.026, -0.084, 0.0
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

startup_ammo            = 10
visual                  = weapons\svu\wpn_svu.ogf

light_disabled					= true

ph_mass			 		= 3
;cost			 		= 900

;addons
scope_status			= 1
silencer_status			= 1
grenade_launcher_status	= 0
zoom_enabled			= true

scope_texture			= wpn\PSO1M1-AMK_1280-T
zoom_enabled			= true
scope_zoom_factor	    = 15		;ПСО1M1-AMK 4X

;------------------------------ S.T.A.L.K.E.R`s sound remake ------------------------------
;звуки
snd_draw				= weapons\svu\svu_draw
snd_holster				= weapons\sniper_holster
snd_shoot				= weapons\svu\svu_shoot
snd_empty				= weapons\ak_empty, 0.5
snd_reload				= weapons\svu\svu_reload
snd_close				= weapons\generic_close
;------------------------------------------------------------------------------------------

;snd_silncer_shot			= weapons\w_ak74_shot1
 
[wpn_svu_hud]

shell_point          	= -0.15, -0.02, 0.05
shell_dir		 		= 0.0, 1.0, 0.0

fire_point			= -0.070000,-0.050000,0.080000
fire_bone               = wpn_body
orientation             = 0, 0, 0
position                = 0, 0, 0
visual                  = weapons\svu\wpn_svu_hud.ogf

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

;смещения HUD для режима приближения
zoom_offset				= -0.070000,0.000000,0.000000
zoom_rotate_x			= 0.020000
zoom_rotate_y			= -0.040000


