[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          	= 30				; [] for AI
max_radius          	= 100				; [] for AI

inv_name	        		= АКС74-У
inv_name_short				= АКС74-У
description					= enc_weapons1_wpn-ak74u

cost						= 7500
weapon_class			= assault_rifle

inv_weight					= 2.9

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

ef_main_weapon_type			= 2
ef_weapon_type				= 6

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

upg = nil
upg_last = nil

hand_dependence		    	= 1
single_handed				= 0

slot 			         	= 2
animation_slot			 	= 2

inv_grid_width				= 4
inv_grid_height				= 2
inv_grid_x					= 5
inv_grid_y					= 9

kill_msg_x					= 0
kill_msg_y					= 28
kill_msg_width				= 84
kill_msg_height				= 28

ammo_limit		         	= 210
ammo_current		     	= 90
ammo_elapsed		     	= 30

ph_mass						= 5


;-----Ballistics, Handling & Accuracy-----;
hit_power               = 0.62, 0.66, 0.69, 0.72
hit_impulse		        	= 100
hit_type 					= fire_wound

fire_distance            	= 500
bullet_speed				= 735
rpm                      	= 700
	
tri_state_reload			= off

ammo_mag_size				= 30
ammo_class					= ammo_5.45x39_fmj, ammo_5.45x39_ap
fire_modes					= 1, -1


silencer_hit_power       	= 0.40
silencer_hit_impulse	 	= 70
silencer_fire_distance   	= 100
silencer_bullet_speed	 	= 500

;-----------------------------------------------------------------------------------
;params of weapon recoil 
fire_dispersion_base       = 0.55     ;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor    = 1.1f
use_aim_bullet				= true		;Поддерживается ли первая суппер пуля
time_to_aim					= 1.0	

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

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

PDM_disp_base 				= 2.00
PDM_disp_vel_factor 		= 0.75
PDM_disp_accel_factor 		= 1.75
PDM_crouch	 				= 0.50
PDM_crouch_no_acc 			= 0.50



;-----Sights & Attachments-----;
;--Scope & Sight--
zoom_enabled				= true

scope_status				= 0
scope_name 					= wpn_addon_scope
scope_x 					= 42
scope_y 					= -16

scope_zoom_factor	    	= 60						; fov for zoom mode
;max_zoom_factor			= 5
;scope_texture				= wpn\wpn_crosshair_g36

;--Silencer--
silencer_status				= 2

silencer_name  				=  wpn_addon_sil_545
silencer_x                  = 169		; offset in inventory icon
silencer_y                  = 4

;--Grenade Launcher--
grenade_launcher_status		= 0
grenade_vel					= 75
grenade_class				= ammo_vog-25, ammo_vog-25p
launch_speed				= 75

grenade_launcher_name 		= wpn_addon_grenade_launcher
grenade_launcher_x 			= 105
grenade_launcher_y 			= 18


;-----Sounds, Particles, Muzzleflash & Miscellaneous-----;

snd_draw					= weapons\ak_draw
snd_holster					= weapons\ak_holster
snd_shoot					= weapons\ak74u_shot_0
snd_empty					= weapons\empty
snd_reload					= weapons\aksu\reload
snd_silncer_shot			            = weapons\aksu\aksu_silent

rpm_empty_click 	 		= 200

light_disabled				= false

light_color					= 1.0,1.0,0.4
light_range					= 1.0
light_var_color				= 0.0
light_var_range				= 0.5
light_time 					= 0.1

silencer_light_color		= 0.0,0.0,0.0
silencer_light_range		= 0.00
silencer_light_var_color	= 0.00
silencer_light_var_range	= 0.0
silencer_light_time 		= 0.0

flame_particles				= weapons\generic_weapon05
smoke_particles				= weapons\generic_shoot_00

silencer_smoke_particles 	= weapons\generic_shoot_00

shell_point		 			= 0,0.234,0.135
shell_dir		 			= 0.0, 0.0, 0.4
shell_particles	 			= amik\weapons\ak_shells_r

;normal                   	= 0, 1, 0
position         	    	= -0.026,-0.22,-0.01
orientation              	= 0, 0, 0

direction                	= 0, 0, 1

fire_point               	= 0,0.25,0.5

weapon_remove_time			= 1000

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


hud                      	= wpn_ak74u_hud
[wpn_ak74u_hud]
shell_point          		= 0,0,-0.6
shell_dir			 		= 0.0, 0.0, 0.0

fire_point               	= 0,0,-0.5
fire_bone                	= muzzle
orientation              	= -0.58,0.1,0
position                	= 0.093,-0.067,-0.13
visual                   	= weapons\ak-74u\wpn_ak74u_hud.ogf

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

zoom_hide_crosshair			= true
zoom_rotate_time			= 0.26
zoom_offset			= -0.100000,0.053000,-0.100000
zoom_rotate_x		= 0.000000
zoom_rotate_y		= 0.000000
