;Снайперская винтовка СВД
[wpn_svd]:identity_immunities
GroupControlSection	= spawn_group
discovery_dependency = 
$spawn                  = "weapons\svd"		; option for Level Editor
$npc			 		= on				; option for Level Editor
$prefetch 		 		= 8
scheduled               = off              	; option for ALife Simulator
cform                   = skeleton
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	= 2.15               ; во сколько раз увеличивается eye_range 
holder_fov_modifier		= 0.3              ; во сколько раз увеличивается eye_fov
;-----------------------------------------------------------------------------------

cost					= 15000
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.021  ;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor		= 2.2f
disp_rate = 1.85

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

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

hand_dependence 		= 1
single_handed			= 0

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


inv_name				= wpn-svd
inv_name_short			= wpn-svd
inv_weight				= 4.9

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

direction               = 0, 0, 1

fire_point              = 0.0, 0.129, 0.942

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

shell_point		 		= 0.0, 0.129, 0.192	
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	 		= 1.8
PDM_crouch_no_acc 		= 1.0

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

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

hud                     = wpn_svd_hud
normal                  = 0, 1, 0
position                = -0.026, -0.077, 0.00
orientation             = 0, 0, 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

startup_ammo            = 10
visual                  = weapons\svd\wpn_svd.ogf

light_color		 		= 0.6,0.5,0.3
light_range		 		= 4.0
light_var_color		 	= 0.05
light_var_range		 	= 0.5
light_time 		 		= 0.2

ph_mass			 		= 3
;cost			 		= 900

;addons
scope_status				= 1
silencer_status				= 0
grenade_launcher_status		= 0

zoom_enabled				= true

zoom_enabled			= true
scope_zoom_factor	    = 12		;1P21-AMK 5X

scope_texture			= wpn\1P21-AMK_1280-T

;------------------------------ S.T.A.L.K.E.R`s sound remake ------------------------------
;звуки
snd_draw		= weapons\svd_draw
snd_holster		= weapons\generic_holster
snd_shoot		= weapons\rc_svd_shot     ;svd_shoot
snd_empty		= weapons\gen_empty, 0.5
snd_reload		= weapons\svd_reload

 
[wpn_svd_hud]

shell_point			= -0.140000,-0.030000,0.080000
shell_dir		 		= 0.0, 1.0, 0.0

fire_point			= 0.200000,-0.070000,0.090000
fire_bone               = wpn_body
orientation             = 0, 0, 0
position                = 0, 0, 0
visual                  = weapons\svd\wpn_svd_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.020000,-0.030000,0.030000
zoom_rotate_x			= 0.000000
zoom_rotate_y			= -0.020000