[wpn_protecta]:identity_immunities
GroupControlSection			= spawn_group
discovery_dependency 		= 
$spawn                   	= "weapons\protecta"					; option for Level Editor
$npc			 			= on				; option for Level Editor
$prefetch 		 		= 8
scheduled                	= off              ; option for ALife Simulator
cform                    	= skeleton
class                    	= WP_SHOTG
min_radius               	= 0
max_radius               	= 50
description				= enc_weapons_wpn-protecta

ef_main_weapon_type			= 1
ef_weapon_type				= 7

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

tri_state_reload			= on

cost					 	= 8500
weapon_class			 	= shotgun


ammo_limit		 		= 60
ammo_current		 		= 12
ammo_elapsed		 		= 0

ammo_mag_size		 		= 12
ammo_class		 		= ammo_12x70_buck, ammo_12x76_zhekan, ammo_12x76_dart, ammo_zhekan_izomorf 

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

;отдача
cam_relax_speed         	= 8.0	;скорость возврата в исходное положение
cam_dispersion          	= 5.0	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc			= 0.5	;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac			= 1.0	;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle				= 12.0	;максимальный угол отдачи
cam_max_angle_horz			= 30.0	;(degree) maximum shot horizontal degree 
cam_step_angle_horz			= 6.0	;(degree) size of step camera moved in horizontal position while shooting

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

hand_dependence 	 		= 1
single_handed				= 0

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

inv_name					= "Протекта"
inv_name_short				= "Протекта"
inv_weight					= 4.4

inv_grid_width     = 5
inv_grid_height    = 2
inv_grid_x         = 37
inv_grid_y         = 44

kill_msg_x				= 91
kill_msg_y				= 104
kill_msg_width				= 80
kill_msg_height			= 20

direction                	= 0, 0, 1
shell_point				= 0.0, 0.138, 0.07
fire_point               	= 0.0, 0.163, 0.546
fire_point2              	= 0.0, 0.133, 0.546

flame_particles		   		= weapons\generic_weapon05
smoke_particles		   		= weapons\generic_shoot_00
rpm_empty_click 	   		= 200

PDM_disp_base 				= 1.0
PDM_disp_vel_factor 		= 1.7
PDM_disp_accel_factor 		= 1.7
PDM_crouch	 			= 1.0
PDM_crouch_no_acc 			= 1.0

; ttc
hit_power        			= 0.64
hit_impulse	        		= 8
hit_type 					= fire_wound
hit_rate					= 2.0
fire_distance     	 	    = 50 ;1000
bullet_speed				= 320	;начальная скорость пули
rpm                 	    = 150
; end ttc

hud                      	= wpn_protecta_hud
normal                   	= 0, 1, 0
position                 	= -0.02, -0.087, -0.0
orientation              	= 0.0, -4.5, -2.0      ;значение устанавливается в градусах

;--STRAP PARAMETERS-----------------------------------------------------------------
;под мишкой
strap_position         		= -0.28, -0.17, 0.05			; position (offset) and orientation of the weapon when it is strapped
strap_orientation      		= -12, -6, 93				; (3rd person view in degrees)
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1

startup_ammo             	= 10
visual                   	= weapons\protecta\wpn_protecta.ogf

light_color		 			= 0.6,0.5,0.3
light_range		 			= 6.0
light_var_color		 		= 0.05
light_var_range		 		= 0.5
light_time 		 			= 0.2

ph_mass			 			= 3
;cost			 			= 900

;addons
scope_status				= 0
silencer_status				= 0
grenade_launcher_status		= 0

zoom_enabled				= true
scope_zoom_factor	    	= 55

;звуки
snd_draw					= weapons\generic_draw
snd_holster				= weapons\generic_holster
snd_shoot					= weapons\tm_spas12_shot      ;toz34_shoot
snd_empty					= weapons\generic_empty
snd_reload				= weapons\toz34_reload
snd_shoot_duplet			= weapons\toz34_shoot_both
snd_open_weapon			= weapons\spas12_open		
snd_add_cartridge			= weapons\w1300_load        ; was gen_grenload	
snd_close_weapon			= weapons\spas12_close		
 
[wpn_protecta_hud]
shell_point		 			= 0.0, 0.0, 0.0
fire_point               	= -0.051400,0.000000,0.040000
fire_point2              	= -0.051400,0.000000,0.040000
fire_bone                	= wpn_body
position					= -0.035000,-0.183000,0.112002
orientation					= -6.850007,-3.649996,3.449997
visual                   	= weapons\protecta\wpn_protecta_hud.ogf

anim_idle					= protecta_idle
anim_reload					= protecta_draw
anim_draw					= protecta_draw
anim_holster				= protecta_holster
anim_shoot					= protecta_shoot
anim_shoot_both 			= protecta_shoot
anim_idle_aim				= protecta_idle_aim
anim_idle_sprint			= protecta_idle_sprint


anim_open_weapon			= protecta_reload_start
anim_add_cartridge			= protecta_reload
anim_close_weapon			= protecta_reload_end

;смещения HUD для режима приближения
zoom_offset					= -0.120300, -0.02500,-0.006000
zoom_rotate_x				= -0.105700
zoom_rotate_y				= 0.043600

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

zoom_hide_crosshair		= false