[wpn_abakan]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency	= 
$spawn              	= "weapons\abakan"
$npc					= on				
$prefetch 				= 8
scheduled				= off
cform               	= skeleton
class               	= WP_AK74
min_radius          	= 30
max_radius          	= 100
description				= enc_weapons1_wpn-abakan
	
ef_main_weapon_type		= 2
ef_weapon_type			= 6

;-----------------------------------------------------------------------------------
holder_range_modifier	= 1.0
holder_fov_modifier		= 0.7
;-----------------------------------------------------------------------------------

cost					= 2500
weapon_class			= assault_rifle
	
ammo_limit				= 210
ammo_elapsed			= 30
	
ammo_mag_size			= 30
fire_modes				= 1, 2, -1

ammo_class				= ammo_5.45x39_fmj, ammo_5.45x39_ap
grenade_class			= ammo_vog-25, ammo_vog-25p
launch_speed			= 0

hand_dependence			= 1
single_handed			= 0
	
slot 					= 2
animation_slot			= 2

inv_name	        	= ABAKAN								; name in inventory	
inv_name_short			= AN-94
inv_weight			= 3.9								; 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				= 6  ; position and size are in terms of 64x64 squares
inv_grid_y				= 2

kill_msg_x			= 119
kill_msg_y			= 199
kill_msg_width		= 93
kill_msg_height		= 32

;-----------------------------------------------------------------------------------
fire_dispersion_base		= 0.12 ;0.19
control_inertion_factor		= 1.0f

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

fire_dispersion_condition_factor = 5
misfire_probability 			 = 0.0050
condition_shot_dec 			     = 0.0001
;-----------------------------------------------------------------------------------

fire_point             		=  0,0.225,0.687
fire_point2            		=  0,0.148,0.558

flame_particles				= weapons\generic_weapon05
smoke_particles				= weapons\generic_shoot_00
grenade_flame_particles		= weapons\generic_weapon01
	
shell_point		 			= 0,0.252,0.196
shell_particles	 			= weapons\545x39

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

hit_power                   = 0.55
hit_impulse		 		    = 30
hit_type 					= fire_wound
hit_rate	                = 1.5

fire_distance            	= 150
bullet_speed				= 900
rpm                      	= 600

use_aim_bullet				= true
time_to_aim					= 1.0

hud                      	= wpn_abakan_hud

position         	        = -0.026,-0.172,0
orientation      	        = 0,0,0

;------------------------------------------------------------------------
strap_position         		= -0.16,-0.40,0.15
strap_orientation      		= -10,-5,10
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1
;------------------------------------------------------------------------

visual         		        = weapons\abakan\wpn_abakan

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

ph_mass						= 5

scope_status				= 2
silencer_status				= 0
grenade_launcher_status		= 0 ;через апгрейды у техника

zoom_enabled				= true
scope_zoom_factor	    	= 70

scope_name 					= wpn_addon_scope
scope_x 					= 72
scope_y 					= -3
	
grenade_launcher_name 		= wpn_addon_grenade_launcher
grenade_launcher_x 			= 167
grenade_launcher_y 			= 23

;------------------------------------------------------------------------
snd_draw					= weapons\generic_draw
snd_holster					= weapons\generic_holster
snd_shoot					= weapons\abakan\abakan_shoot		
snd_empty					= weapons\abakan\rifle_empty, 0.7
snd_reload					= weapons\abakan\an94_reload

snd_shoot_grenade			= weapons\gp25\gp25_grenshoot_vanila
snd_reload_grenade			= weapons\gp25\gp25_grenload_nlc
snd_switch					= weapons\gp25\gp25_switch, 1.0, 0.5
;------------------------------------------------------------------------

silencer_smoke_particles 	= weapons\generic_shoot_00

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_abakan_hud]
shell_point					    = 0.050000,0.020000,-0.370000
shell_dir			     	    = 0.0, 1.0, 0.0

fire_point					    = -0.010000,-0.020000,0.260000
fire_point2              	    = -0.010000,-0.020000,0.260000
fire_bone               	    = wpn_body

position			            = 0.041000,-0.025000,-0.100000
orientation			            = 3.202328,3.412114,0.000000

visual							= weapons\abakan\wpn_abakan_hud.ogf

grenade_bone					= wpn_grenade

anim_idle						= normal_idle
anim_idle_aim					= normal_idle_aim
anim_reload						= normal_reload
anim_draw						= normal_draw
anim_holster					= normal_holster
anim_shoot						= normal_shoot
anim_idle_sprint				= normal_idle_sprint
anim_idle_moving				= normal_idle_moving

anim_idle_g						= g_idle
anim_idle_g_aim					= g_idle_aim
anim_reload_g					= g_reload
anim_shoot_g					= g_shoot
anim_switch_grenade_on			= w_gl_switch_on
anim_switch_grenade_off			= w_gl_switch_off
anim_draw_g						= g_draw
anim_holster_g					= g_holster
anim_idle_sprint_g         	    = w_gl_idle_sprint
anim_idle_g_moving				= g_idle_moving

anim_idle_gl					= w_gl_idle
anim_idle_gl_aim				= w_gl_idle_aim
anim_reload_gl					= w_gl_reload
anim_draw_gl					= w_gl_draw
anim_holster_gl					= w_gl_holster
anim_shoot_gl					= w_gl_shoot
anim_idle_sprint_gl         	= w_gl_idle_sprint
anim_idle_gl_moving				= w_gl_idle_moving

zoom_offset			            = -0.135450,0.055820,-0.185000
zoom_rotate_x		            = 0.059900
zoom_rotate_y		            = 0.056350

grenade_normal_zoom_offset		= -0.135450,0.055820,-0.215000
grenade_normal_zoom_rotate_x	= 0.059900
grenade_normal_zoom_rotate_y	= 0.056350

grenade_zoom_offset			    = -0.071920,-0.347213,-0.105000
grenade_zoom_rotate_x		    = -0.352796
grenade_zoom_rotate_y		    = 0.038050

zoom_hide_crosshair	            = true
zoom_rotate_time		        = 0.2
rotate_time			            = 0.2
