; Гаусс-винтовка ПЫСа.
[wpn_gauss]:identity_immunities
GroupControlSection	= spawn_group
discovery_dependency = 
$spawn                  = "weapons\gauss"
$npc			 		= on	
$prefetch 		 	= 8
scheduled               = off 
cform                   = skeleton
class                   = WP_SVD
min_radius              = 0
max_radius              = 50
description			= enc_weapons1_wpn-gauss

ef_main_weapon_type		 = 3
ef_weapon_type			 = 8

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

cost					= 35000
weapon_class			= sniper_rifle

ammo_limit				= 60
ammo_current			= 10
ammo_elapsed			= 0

ammo_mag_size			= 10
ammo_class				= ammo_gauss

f_mode				= 1

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

;отдача
cam_relax_speed         	= 3;0.05	;скорость возврата в исходное положение
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.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-gauss
inv_name_short			= wpn-gauss
inv_weight				= 6.5

inv_grid_width			= 5
inv_grid_height			= 2
inv_grid_x				= 10
inv_grid_y				= 6

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
shell_point		 		= 0.00,0.12,0.174				; position (3rd person view) for shell to throw out
smoke_particles	 		= weapons\generic_weapon07	; name of the particles for shells
rpm_empty_click 		= 120

PDM_disp_base 			= 5.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.8
hit_impulse		 	= 10
hit_type 			= fire_wound
hit_rate	        = 1.85
fire_distance       = 1000
bullet_speed		= 15000
rpm                 = 30
; end ttc

hud                     = wpn_gauss_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            = 10
visual                  = weapons\gauss\wpn_gauss.ogf

light_color		 		= 1.3,1.5,2
light_range		 		= 4.0
light_var_color		 	= 0.05
light_var_range		 	= 0.5
light_time 		 		= 0.5

ph_mass			 		= 3
;cost			 		= 900

;addons
scope_status			= 1
silencer_status			= 0
grenade_launcher_status	= 0

zoom_enabled			= true
scope_zoom_factor	    = 7.5		;8X

scope_texture			= wpn\Gauss-AMK-T

scope_name 				= wpn_addon_scope
scope_x 				= 60
scope_y 				= -2

;------------------------------ S.T.A.L.K.E.R`s sound remake ------------------------------
;звуки
snd_draw				= weapons\gauss\gauss_draw
snd_holster				= weapons\gauss\gauss_holster
snd_shoot				= weapons\gauss\gauss_shoot
snd_empty				= weapons\gauss\gauss_empty, 0.5
snd_reload				= weapons\gauss\gauss_reload, 1.0, 1.0
;------------------------------------------------------------------------------------------

 
[wpn_gauss_hud]


fire_point			= -0.044000,0.111000,0.155000
fire_bone               = wpn_body
orientation             = 0, 0, 0
position                = 0, 0, 0
visual                  = weapons\gauss\wpn_gauss_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




