; Гаусс-пистолет Сяка
[wpn_gungauss]:identity_immunities 
GroupControlSection	= spawn_group
discovery_dependency = 
$spawn                  = "weapons\gungauss"	; 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              = 10
description				= enc_wpn-gungauss

;ef_main_weapon_type		 = 3
ef_weapon_type			 = 5

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

cost			 			= 25000

ammo_limit		 			= 999
ammo_current		 		= 90
ammo_elapsed		 		= 12
ammo_mag_size		 		= 1
ammo_class		 			= ammo_super_gauss

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

;отдача
cam_dispertion_frac 		= 1.0; 
cam_relax_speed         	= 3;0.05	;скорость возврата в исходное положение
cam_dispersion          	= 0.01	;увеличения угла (в градусах) с каждым выстрелом
cam_max_angle				= 1.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			= 1

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

inv_name				= wpn-gungauss
inv_name_short			= wpn-gungauss
inv_weight				= 3

inv_grid_width			= 2
inv_grid_height			= 1
inv_grid_x				= 10
inv_grid_y				= 25

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

direction               = 0, 0, 1
fire_point              = 0.0, 0.148, 0.157
;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

;;;;;;  Для Народной солянки 2009
hit_power                   = 0.7
hit_impulse		 	        = 5
hit_type 			        = fire_wound
hit_rate	                = 1.85
fire_distance           	= 25
bullet_speed		 	    = 4000
rpm                     	= 50

disp_rate = 1.85

hud                    		= wpn_gungauss_hud
normal                   	= 0, 1, 0
position                 	= -0.021, -0.10, 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            = 1
visual                  = weapons\mgau\wpn_mgau.ogf

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

ph_mass			 		= 5

;addons
scope_status			= 0
silencer_status			= 0
grenade_launcher_status	= 0

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

scope_texture			= wpn\wpn_crosshair_l86

scope_name 				= wpn_addon_scope
scope_x 				= 60
scope_y 				= -2

;звуки
snd_draw				= weapons\gauss_pistol\gauss_pistol_draw
snd_holster				= weapons\gauss_pistol\gauss_pistol_holster
snd_shoot				= weapons\gauss_pistol\gauss_pistol_shoot
snd_empty				= weapons\gauss_pistol\gauss_pistol_empty
snd_reload				= weapons\gauss_pistol\gauss_pistol_reload, 1.0, 1.0
snd_close				= weapons\gauss_pistol\gauss_pistol_close

 
[wpn_gungauss_hud]

shell_point				= -0.320000,-0.010000,0.040000
fire_point				= -0.340000,0.000000,0.040000
fire_bone               = wpn_body
orientation             = -0.05,-0.27,0.25
position                = 0,0,0
visual                  = weapons\mgau\wpn_mgau_hud.ogf

;fire_point				= -0.044000,0.111000,0.155000
;fire_bone              = wpn_body
;orientation            = 0, 0, 0
;position               = 0, 0, 0
;shell_point			= -0.042000,0.103000,0.267000				; position (3rd person view) for shell to throw out


anim_holster			= holster
anim_idle				= idle
anim_empty				= empty
anim_reload				= reload_full
anim_reload_empty		= reload
anim_draw				= draw
anim_draw_empty			= draw_empty
anim_shoot				= shoot1
anim_shot_last			= shoot_last
anim_close				= holster	;close
anim_idle_aim			= idle_aim
anim_idle_sprint		= idle_sprint


;смещения HUD для режима приближения
zoom_offset				= -0.144700,0.086100,-0.156500
zoom_rotate_x			= 0.005100
zoom_rotate_y			= -0.001500
