;--гаусс из Крайзиса автор Рыло-----------------------------------------------------------------
[wpn_gauss_krayzis]:wpn_gauss
GroupControlSection	= spawn_group
discovery_dependency = 
$spawn                  = "weapons\gauss_krayzis"	
$npc			 		= on
$prefetch 		 	= 8
scheduled               = off
cform                   = skeleton
class                   = WP_SVD
min_radius              = 0
max_radius              = 50
description			= enc_weapons_wpn-gauss_krayzis

ef_main_weapon_type		 = 3
ef_weapon_type			 = 8

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

ammo_limit			= 60
ammo_current			= 10
ammo_elapsed			= 0

ammo_mag_size			= 10
ammo_class			= ammo_gauss

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

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

hand_dependence 		= 1
single_handed			= 0

slot 				= 2
animation_slot			= 2

inv_name				= "Модиф. винтовка Гаусса"
inv_name_short			= "Модиф. винтовка Гаусса"
inv_weight			= 4.5

inv_grid_width			= 6
inv_grid_height		= 2
inv_grid_x			= 40
inv_grid_y			= 50

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
smoke_particles	 	= weapons\generic_weapon07
rpm_empty_click 		= 120


hit_power               = 0.9
hit_impulse		 	= 12
hit_type 			     = fire_wound
hit_rate	               = 1.85

fire_distance           = 1000
bullet_speed		 	= 15000	;начальная скорость пули
rpm                     = 30


hud                     = wpn_gauss_krayzis_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
strap_orientation      		= -15,-9,110

strap_bone0				= bip01_spine2
strap_bone1				= bip01_spine1

startup_ammo            = 10
visual                  = weapons\gauss_cry\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

;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_l85

scope_name 			= wpn_addon_scope
scope_x 				= 60
scope_y 				= -2

;звуки
snd_draw				= weapons\gauss_cry\draw
snd_holster			= weapons\gauss_cry\holster
snd_shoot				= weapons\gauss_cry\shot
snd_empty				= weapons\gauss_cry\empty
snd_reload			= weapons\gauss_cry\reload

 
[wpn_gauss_krayzis_hud]

fire_point			= 0,0,-0.8
fire_bone               = muzzle
orientation             = 0, 0, 0
position                = 0.15,-0.06,-0.05
visual                  = weapons\gauss_cry\wpn_gauss_hud.ogf

shell_point			= 0,0,-0.6

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

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