;Гладкоствольный карабин Сайга-12К
[wpn_saiga12c]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency	= 
$spawn              	= "weapons\saiga12c"	; name and section in level editor
$npc					= on				
$prefetch 				= 8
scheduled				= off               ;[] option for ALife Simulator
cform               	= skeleton
class               	= WP_LR300			; class of the weapon that corresponding to CPP class
min_radius          	= 0				; [] for AI
max_radius          	= 30				; [] for AI
description				= enc_weapons1_saiga12c
	
ef_main_weapon_type		= 2
ef_weapon_type			= 6

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


cost					= 7000				; the price of the item
weapon_class			= shotgun		; the type of the box that will be used in buy-menu in multiplayer mode	
	
ammo_limit				= 80				; obsolete
ammo_elapsed			= 8				; obsolete
	
ammo_mag_size			= 8				; clip (magazine) size
fire_modes				= 1

ammo_class				= ammo_12x70_buck, ammo_12x76_zhekan, ammo_12x76_dart, ammo_zhekan_izomorf 

hand_dependence			= 1				
single_handed			= 0
	
slot 					= 2				; number of slot in inventory we put weapon in (1 - knife slot, 2 - pistol, 3 - rifle, 4 - grenade, 5 - apparatus)
animation_slot			= 2				; type of the animation that will be used


inv_name	        	= wpn-saiga12c			; name in inventory	
inv_name_short			= wpn-saiga12c	
inv_weight			= 3.5					; weight in inventory

inv_grid_width			= 5	 ; position and size of the icon that will be used to display weapon in the inventory menu
inv_grid_height			= 2	 ; all icons are on the texture ui_icon_equipment.dds,   
inv_grid_x				= 20  ; position and size are in terms of 64x64 squares
inv_grid_y				= 32

kill_msg_x			= 0
kill_msg_y			= 123
kill_msg_width		= 69
kill_msg_height		= 30

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

;отдача
cam_relax_speed         		= 7.		;скорость возврата в исходное положение
cam_dispersion          		= 3.5		;увеличения угла (в градусах) с каждым выстрелом
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				= 10.0		;максимальный угол отдачи
cam_max_angle_horz			= 30.0		;(degree) maximum shot horizontal degree 
cam_step_angle_horz			= 1.25;1.1		;(degree) size of step camera moved in horizontal position while shooting

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

fire_point             		=  0.0, 0.07, 0.447		; position (3rd person view) for particles of fire 
;fire_point2            		=  0.0, 0.262, 0.547		; position (3rd person view) for particles of fire (when shooting with secondary fire)

flame_particles				= weapons\generic_weapon05	; particles for shooting effects
smoke_particles 			= weapons\generic_shoot_00
grenade_flame_particles		= weapons\generic_weapon01
	
shell_point		 			= 0.00, 0.262, 0.189			; position (3rd person view) for shell to throw out
;shell_particles	 			= weapons\generic_shells	; name of the particles for shells


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

;;;;;;  Для Народной солянки 2009
hit_power           = 0.57
hit_impulse	        = 4
hit_type 	        = fire_wound
hit_rate	        = 2.0
fire_distance       = 50
bullet_speed		= 370
rpm                 = 200

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

hud                      	= wpn_saiga12c_hud				; name of the section of the hud

position         	        = -0.025,0.005,0.190		; position (offset) and orientation of the weapon in the hands of character
orientation      	        = 0,0,0						; (3rd person view)

;--STRAP PARAMETERS-----------------------------------------------------------------
strap_position         = -0.13,-0.25,0.2  ; position (offset) and orientation of the weapon when it is strapped
strap_orientation      = -10,-5,10	; (3rd person view in degrees)
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1

visual         		        = weapons\saiga12c\saiga12c.ogf	; name of the model for 3rd person view

light_color					= 0.6,0.5,0.3				; params for light during the fire
light_range					= 5							; radius
light_var_color				= 0.05						
light_var_range				= 0.5
light_time 					= 0.2						


ph_mass						= 5							; physic mass (kg)


;addons
scope_status				= 0							; 0 - no addon
silencer_status				= 0							; 1 - permanent
grenade_launcher_status		= 0							; 2 - attachable

zoom_enabled				= true			; (on,off)zoom mode (right mouse button)
scope_zoom_factor	    	= 50					; fov for zoom mode

;------------------------------ S.T.A.L.K.E.R`s sound remake ------------------------------
;sounds (name of the sound, volume (0.0 - 1.0), delay (sec))
snd_draw					= weapons\saiga12c\saiga12c_draw
snd_holster					= weapons\shotgun_holster
snd_shoot					= weapons\saiga12c\saiga12c_shot
snd_shoot1					= weapons\saiga12c\saiga12c_shot
snd_shoot2					= weapons\saiga12c\saiga12c_shot
snd_shoot3					= weapons\saiga12c\saiga12c_shot
snd_empty					= weapons\ak47\ak_empty, 0.5
snd_reload                 			= weapons\saiga12c\saiga12c_reload, 0.7, 0.75
snd_shoot_grenade				= weapons\gen_grenshoot
snd_reload_grenade				= weapons\gen_grenload, 1.0, 0.8
snd_switch					= weapons\groza_switch, 1.0, 0.5
;------------------------------------------------------------------------------------------

;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

snd_silncer_shot			= weapons\w_ak74_shot1 

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


;-----------------------------------------------------------------------------
;-- HUD DESCRIPTION
;-----------------------------------------------------------------------------
 
[wpn_saiga12c_hud]


;similar to corresponding params in weapon section but for 1st person view

shell_point     	   	 	= 0.8, 0.0, -0.05
shell_dir			     	= 0.0, 1.0, 0.0

fire_point               	=0.25,0.005,-0.06
;fire_point2              	= 0.0, 0.0, 0.0
fire_bone               	= silencer_connect

orientation                  = 0.5,-0.0 , 0.          
position                     = 0.10, -0.08, 0.0
visual                  	= weapons\saiga12c\wpn_saiga12c_hud.ogf

;grenade_bone            	= wpn_grenade	; name of the bone in the model for grenade launcher

; animation names

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

		
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;HUD offset in zoom mode (to all)
;(use CONSOLE: hud_adjust_mode 0,1,2, then keys WSADQE and P to show current value in console)


zoom_offset               = -0.099000000,0.01650000,0.0605000
zoom_rotate_x	= 0.00100000
zoom_rotate_y          = 0.00870000



zoom_hide_crosshair	= false						;to hide crosshair in zoom 


