[wpn_ak74u]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency	= 
$spawn              	= "weapons\ak-74u"
$npc					= on				
$prefetch 				= 8
scheduled				= off
cform               	= skeleton
class               	= WP_LR300
min_radius          	= 0
max_radius          	= 100
description				= enc_weapons1_wpn-ak74u
	
ef_main_weapon_type		= 2
ef_weapon_type			= 6

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

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

ammo_class				= ammo_5.45x39_fmj,ammo_5.45x39_ap

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


inv_name	        	= AK-74U								; name in inventory	
inv_name_short			= AK-74U
inv_weight			= 2.7								; weight in inventory

inv_grid_width			= 4	 ; 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				= 0  ; position and size are in terms of 64x64 squares
inv_grid_y				= 16

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

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

;отдача
cam_relax_speed         	= 6;0.3		;скорость возврата в исходное положение
cam_dispersion          	= 0.3		;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc			= 0.20;0.15		;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac			= 0.9		;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle				= 9.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.0001	;увеличение износа при каждом выстреле
;------------------------------------------------------------------------

fire_point             		=  0.0, 0.220, 0.465

flame_particles				= weapons\generic_weapon05
smoke_particles				= weapons\generic_shoot_00
grenade_flame_particles		= weapons\generic_weapon01
	
shell_point		 		    = 0.00, 0.245, 0.156
shell_particles	 			= weapons\545x39

PDM_disp_base 				= 1.0
PDM_disp_vel_factor 		= 0.95
PDM_disp_accel_factor 		= 0.95
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            	= 100
bullet_speed				= 735
rpm                      	= 700

use_aim_bullet				= false
time_to_aim					= 1.0

hud                      	= wpn_ak74u_hud

position         	        = -0.026,-0.174,0
orientation      	        = 0,0,0

;-----------------------------------------------------------------------------------
strap_position         		= -0.18,-0.40,0.2
strap_orientation      		= -10,-5,10
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1
;-----------------------------------------------------------------------------------

visual         		        = weapons\ak-74u\ak74u.ogf

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				= 0
silencer_status				= 2
grenade_launcher_status		= 0

zoom_enabled				= true
scope_zoom_factor	    	= 70

silencer_name  				= wpn_addon_silencer
silencer_x 					= 220
silencer_y 					= -1

;------------------------------------------------------------------------
snd_draw					= weapons\generic_draw
snd_holster					= weapons\generic_holster
snd_shoot					= weapons\ak_74x\aks74u_shoot_v2		
snd_empty					= weapons\ak_74x\rifle_empty, 0.7
snd_reload					= weapons\ak_74x\ak74_reload
snd_silncer_shot			= weapons\silencer\aks74u_pbs4
;------------------------------------------------------------------------

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

silencer_smoke_particles 	= weapons\generic_shoot_00
silencer_flame_particles	= weapons\generic_shoot_00

;-----------------------------------------------------------------------------
;-------------------------- HUD DESCRIPTION ----------------------------------
;-----------------------------------------------------------------------------
 
[wpn_ak74u_hud]
shell_point					    = 0.020000,0.020000,-0.370000
shell_dir			     	    = 0.0, 1.0, 0.0

fire_point					    = 0.000000,-0.020000,0.030000
fire_bone               	    = wpn_body

position			            = 0.030000,-0.050000,-0.110000
orientation			            = 1.999828,1.981898,0.000000

visual                  	    = weapons\ak-74u\wpn_ak74u_hud.ogf

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

zoom_offset			            = -0.126950,0.037120,-0.085000
zoom_rotate_x		            = 0.014900
zoom_rotate_y		            = 0.034500

zoom_hide_crosshair			    = true
zoom_rotate_time			    = 0.2
rotate_time			            = 0.2
