[wpn_korobka]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency 		= 
$spawn 				= "weapons\megadevice"	; option for Level Editor
$npc 				= on
$prefetch 			= 8
scheduled 			= off 		; option for ALife Simulator
cform 				= skeleton
class 				= WP_VINT
min_radius 			= 5
max_radius 			= 150
description			= megadevice_info

ef_main_weapon_type		= 1
ef_weapon_type			= 1

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

upg = nil
upg_last = nil

cost				= 1000
weapon_class			= sniper_rifle ; ну почти )

ammo_limit			= 0
ammo_current			= 0
ammo_elapsed			= 0
ammo_mag_size			= 0 

ammo_class			= ammo_9x39_pab9
tracers				= off

fire_modes			= -1

hand_dependence			= 1
single_handed			= 0

slot 				= 1		
animation_slot			= 13		

inv_name			= "Дозиметр"
inv_name_short			= "Дозиметр"
inv_weight			= 0.350

show_ammo			= false

inv_grid_width     = 1
inv_grid_height    = 1
inv_grid_x         = 1
inv_grid_y         = 32

;спавнить автоматически боеприпасы при подъеме оружия
auto_spawn_ammo			= false

;-----------------------------------------------------------------------------------
;базовая дисперсия
fire_dispersion_base		= 0.04 	;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor		= 1

;отдача
cam_relax_speed         	= 5.7;0.2	;скорость возврата в исходное положение
cam_dispersion          	= 0.0		;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc			= 0.1		;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac			= 0.05		;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle				= 7.0		;максимальный угол отдачи
cam_max_angle_horz			= 9.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 = 2	;увеличение дисперсии в процентах при максимальном износе 
misfire_probability 		= 0.000		;вероятность осечки при максимальном износе 
misfire_condition_k			= 0.00
condition_shot_dec 			= 0.00015 	;увеличение износа при каждом 
;-----------------------------------------------------------------------------------

direction 			= 0, 0, 1
fire_point 			= 0.0, 0.127, 0.559
smoke_particles			= weapons\generic_shoot_00

shell_point			= 0.0, 0.127, 0.10
shell_dir			= 0.0, 1.0, 0.0
shell_particles	 			= weapons\generic_shells

PDM_disp_base 			= 1.0
PDM_disp_vel_factor 		= 1.4
PDM_disp_accel_factor 		= 1.6
PDM_crouch	 		= 0.8
PDM_crouch_no_acc 		= 0.6

hit_power           = 0.93
hit_impulse		    = 87
hit_type 			= fire_wound

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

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

hud 				= wpn_korobka_hud
normal 				= 0, 1, 0
position 			= -0.026, -0.084, 0.0
orientation 			= 0, 0, 0

;--STRAP PARAMETERS-----------------------------------------------------------------
;на плечо
strap_position 			= -0.26,-0.11,0.20	; 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

visual 				= weapons\megadevice\korobka.ogf
	
light_disabled			= true

ph_mass			 	= 3

;addons
scope_status			= 0
silencer_status			= 0
grenade_launcher_status		= 0

zoom_enabled			= true
scope_zoom_factor	 	= 60		
scope_texture			=

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

;params when silencer is attached 
;similar to corresponding params without prefix silencer_

;silencer_flame_particles 	= weapons\generic_weapon01
silencer_smoke_particles 	= weapons\generic_shoot_00

silencer_hit_power 		= 1.800, 1.800, 1.800, 1.800
silencer_hit_impulse	 	= 64
silencer_fire_distance 		= 400
silencer_bullet_speed	 	= 290

silencer_light_color		= 0.6, 0.5, 0.3
silencer_light_range		= 0.01
silencer_light_var_color	= 0.05
silencer_light_var_range	= 0.5
silencer_light_time 		= 0.2

hit_probability_gd_novice	= 0.80				; точность стрельбы,      
hit_probability_gd_stalker	= 0.85				; когда оружие в руках НПС
hit_probability_gd_veteran	= 0.90				; в зависимости от уровня 
hit_probability_gd_master	= 0.95				; сложности игры          

;-----------------------------------------------------------------------------
;-- HUD DESCRIPTION
;-----------------------------------------------------------------------------
[wpn_korobka_hud]
allow_inertion			= true

shell_point          		= 0,0,-0.6
shell_dir			 		= 0.0, 1.0, 0.0

fire_point               	= 0,0,-0.5
fire_bone                	= wpn_body
orientation              	= 0, 0, 0
position                	= 0.0,-0.00,0.0

visual                   	= weapons\megadevice\korobka_hud.ogf

anim_idle			= idle
anim_idle_aim			= idle_aim2
anim_reload			= empty
anim_draw			= draw
anim_holster			= holster
anim_shoot			= empty
anim_idle_sprint		= idle_sprint

zoom_hide_crosshair		= true

zoom_offset					= 0,0,0
zoom_rotate_x				= 0.0
zoom_rotate_y				= 0.0

;время поворота HUD (сек)
zoom_rotate_time		= 0.0
rotate_time			= 0.0