[wpn_sgauss]:identity_immunities
GroupControlSection	= spawn_group
discovery_dependency = 
$spawn                  = "weapons\gauss"	; 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-sgauss

ef_main_weapon_type		 = 3
ef_weapon_type			 = 8

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

cost					= 60000
weapon_class			= sniper_rifle

ammo_limit				= 999
ammo_current			= 20 
ammo_elapsed			= 0

ammo_mag_size			= 20
ammo_class				= ammo_gauss, ammo_sgauss

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

;отдача
cam_relax_speed         = 3.0	;скорость возврата в исходное положение
cam_dispersion          = 0.05	;увеличения угла (в градусах) с каждым выстрелом
cam_max_angle			= 4.0	;максимальный угол отдачи
cam_max_angle_horz		= 5.0	;(degree) maximum shot horizontal degree 
cam_step_angle_horz		= 0.5	;(degree) size of step camera moved in horizontal position while shooting

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

hand_dependence 		= 1
single_handed			= 0

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

inv_name				= wpn-sgauss
inv_name_short			= wpn-sgauss
inv_weight				= 5.5

inv_grid_width			= 5
inv_grid_height			= 2
inv_grid_x				= 13
inv_grid_y				= 34

kill_msg_x			= 166
kill_msg_y			= 59
kill_msg_width		= 82
kill_msg_height		= 23

direction               = 0, 0, 1

fire_point				= 0.00,0.12,0.69
flame_particles         = weapons\generic_weapon_gauss
smoke_particles	 		= weapons\generic_weapon07

shell_point		 		= 0.00,0.12,0.174				; position (3rd person view) for shell to throw out
rpm_empty_click 		= 120

PDM_disp_base 			= 3.0
PDM_disp_vel_factor 	= 1.2
PDM_disp_accel_factor 	= 1.0
PDM_crouch	 			= 1.2
PDM_crouch_no_acc 		= 1.0

; ttc
hit_power           = 10000, 20000, 30000, 40000
hit_impulse		 	= 10000000
hit_type 			= fire_wound

fire_distance          	= 100000
bullet_speed		 	= 100000	;начальная скорость пули
rpm                    	= 17
; end ttc

hud                     = wpn_sgauss_hud
normal                  = 0, 1, 0
position                = -0.026, -0.070, 0.0
orientation             = 0, 0, 0

;--STRAP PARAMETERS-----------------------------------------------------------------
;под мишкой
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_position         		= -0.20,-0.13,0.25			; position (offset) and orientation of the weapon when it is strapped
;strap_orientation      		= -50,-13,110				; (3rd person view in degrees)
;на спине
;strap_position         		= -0.16,-0.32,0.15			; position (offset) and orientation of the weapon when it is strapped
;strap_orientation      		= -10,-7,10					; (3rd person view in degrees)

strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1

startup_ammo            = 20
visual                  = weapons\mgau\wpn_sgauss.ogf

light_color		 		= 4.3,4.5,4.0 ;1.3,1.5,2
light_range		 		= 4.0 ;4.0
light_var_color		 	= 0.07 ;0.05
light_var_range		 	= 0.5 ;0.5
light_time 		 		= 0.5 ;0.5

ph_mass			 		= 5

;addons
scope_status			= 1
silencer_status			= 0
grenade_launcher_status	= 0

zoom_enabled			= true
scope_zoom_factor	    = 15		;ПСО-1 4X

scope_texture			= wpn\wpn_crosshair ;wpn_crosshair_l85

scope_name 				= wpn_addon_scope
scope_x 				= 60
scope_y 				= -2

;звуки
snd_draw				= weapons\svd_draw
snd_holster				= weapons\generic_holster
snd_shoot				= weapons\gauss_shoot
snd_empty				= weapons\gen_empty, 0.5
snd_reload				= weapons\gauss_reload, 1.0, 1.0

 
[wpn_sgauss_hud]


fire_point				= -0.044000,0.111000,0.155000
fire_bone               = wpn_body
orientation             = 0, 0, 0
position                = 0, 0, 0
visual                  = weapons\mgau\wpn_sgauss_hud.ogf

shell_point				= -0.042000,0.103000,0.267000				; position (3rd person view) for shell to throw out


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


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

