[wpn_ak74]:weapon_probability,default_weapon_params,wpn_ak74_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\ak-74"
ammo_class                                         = ammo_5.45x39_fmj, ammo_5.45x39_ap
ammo_current                                       = 180
ammo_elapsed                                       = 30
ammo_limit                                         = 210
ammo_mag_size                                      = 30
ammo_mag_size_ui                                   = 30
animation_slot                                     = 2
bullet_speed                                       = 890
block_bore										   = true
cam_return										   = 0
cam_relax_speed             					   = 10		;скорость возврата в исходное положение
cam_relax_speed_ai      						   = 360
cam_dispersion              					   = 0.8		;увеличени¤ угла (в градусах) с первым выстрелом
cam_dispersion_inc         						   = 0.55		;увеличениe cam_dispersion с каждым выстрелом
cam_dispersion_frac        						   = 1.0	    ;ствол будет подыматьс¤ на cam_dispersion*cam_dispersion_frac +- cam_dispersion*(1-cam_dispersion_frac)
cam_max_angle									   = 50.0      ;максимальный угол отдачи
cam_max_angle_horz         						   = 50.0      ;(degree) maximum shot horizontal degree
cam_step_angle_horz        						   = 2.0		;(degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_AK74
condition_queue_shot_dec                           = 0.001
condition_shot_dec                                 = 0.0005
control_inertion_factor                            = 1.25f
cost                                               = 11500
crosshair_inertion                                 = 6
description                                        = st_wpn_ak74_descr
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 8
fire_dispersion_base                               = 0.19
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 600
fire_modes                                         = 1, -1
fire_point                                         = 0,0.218,0.656
fire_point2                                        = 0,0.161,0.583
flame_particles				                       = weapons\new_effects\ak74
grenade_class                                      = ammo_vog-25, ammo_vog-25p
grenade_flame_particles                            = weapons\generic_weapon01
grenade_launcher_name                              = wpn_addon_grenade_launcher
grenade_launcher_status                            = 2
grenade_launcher_x                                 = 115
grenade_launcher_y                                 = 26
grenade_vel                                        = 76
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.0
holder_range_modifier                              = 1.0
hud                                                = wpn_ak74_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 31
inv_grid_y                                         = 0
inv_name                                           = st_wpn_ak74
inv_name_short                                     = st_wpn_ak74
inv_weight                                         = 3.3
kill_msg_height                                    = 28
kill_msg_width                                     = 84
kill_msg_x                                         = 0
kill_msg_y                                         = 28
launch_speed                                       = 73.5
light_color                                        = 0.6,0.5,0.3
light_disabled                                     = false
light_range                                        = 5
light_time                                         = 0.07
light_var_color                                    = 0.05
light_var_range                                    = 0.5
max_radius                                         = 150
min_radius                                         = 0
misfire_end_condition                              = 0.1
misfire_end_prob                                   = 0.043
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.003
orientation                                        = 0, 0, 0
PDM_disp_base 									   = 1.4
PDM_disp_vel_factor 							   = 1.9
PDM_disp_accel_factor 							   = 1.9
PDM_disp_crouch	 								   = 1.0
PDM_disp_crouch_no_acc 							   = 1.0
ph_mass                                            = 4
position                                           = -0.026, -0.175, 0.0
reload_dof                                         = 0.0, 0.5, 5, 2.9
reload_empty_dof                                   = 0.0, 0.5, 5, 3.5
reload_gl_dof                                      = 0.0, 0.5, 5, 2.3
rpm                                                = 600
rpm_empty_click                                    = 200
scheduled                                          = off
scope_status                                       = 2
scope_texture                                      = wpn_crosshair
scope_zoom_factor                                  = 100
ironsight_zoom_factor							   = 100
scopes 											   = 1p78, okp, pso, ekp, rakurs
parent_section  								   = wpn_ak74
shell_particles                                    = weapons\shells\generic_shells_r_762_39
shell_point                                        = 0,0.216,0.174
silencer_bullet_speed                              = 895
silencer_fire_distance                             = 605
silencer_light_color                               = 0.6,0.5,0.3
silencer_light_range                               = 0.01
silencer_light_time                                = 0.2
silencer_light_var_color                           = 0.05
silencer_light_var_range                           = 0.5
silencer_name                                      = sil_tgp-a
silencer_smoke_particles                           = weapons\generic_shoot_00
silencer_status                                    = 2
silencer_x                                         = 222
silencer_y                                         = 15
single_handed                                      = 0
slot                                               = 2
smoke_particles				                       = weapons\generic_shoot_00
startup_ammo                                       = 90
strap_bone0                                        = bip01_spine2
strap_bone1                                        = bip01_spine1
strap_orientation                                  = -15,-9,110
strap_position                                     = -0.26,-0.11,0.25
time_to_aim                                        = 3.0
upgr_icon_height                                   = 150
upgr_icon_width                                    = 350
upgr_icon_x                                        = 950
upgr_icon_y                                        = 0
upgrade_scheme                                     = upgrade_scheme_ak74
upgrades                                           = up_gr_firstab_ak74, up_gr_seconab_ak74, up_gr_thirdab_ak74, up_gr_fourtab_ak74, up_gr_fifthab_ak74, up_gr_fifthcd_ak74
use_aim_bullet                                     = false
visual                                             = dynamics\weapons\wpn_ak74\wpn_ak74.ogf
weapon_class                                       = assault_rifle
zoom_cam_relax_speed         					   = 10	    ; scope & ironsight
zoom_cam_relax_speed_ai      					   = 360
zoom_cam_dispersion          					   = 0.7
zoom_cam_dispersion_inc      					   = 0.5
zoom_cam_dispersion_frac     					   = 0.8
zoom_cam_max_angle           					   = 50.0
zoom_cam_max_angle_horz      					   = 50.0
zoom_cam_step_angle_horz     					   = 1.5
zoom_dof                                           = 0.5, 1.0, 180
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

use_mag_scheme 									   = true
mag_bone_type_0 								   = grenade1
mag_bone_type_1 								   = grenade2
ammochange_time									   = 0.1

shell_section_0                                    = shell_5.45x39
shell_section_1                                    = shell_5.45x39

reload_time 									   = 1.9
reload_empty_time 								   = 2.9
reload_g_time 									   = 1.5

use_device_anims 								   = true

[wpn_ak74_hud]:hud_base
aim_hud_offset_pos_16x9							   = 0.006400,0.005100,0.000000
aim_hud_offset_pos				    			   = 0.006400,0.005100,0.000000

anm_show										   = ak74_draw
anm_hide                						   = ak74_hide
anm_idle                						   = ak74_idle
anm_idle_moving_slow         					   = ak74_walk_slow
anm_idle_moving         						   = ak74_walk
anm_shots               						   = ak74_shoot, shoot
anm_shots_when_aim              				   = ak74_aim_shoot, shoot
anm_reload	        							   = ak74_reload, reload
anm_reload_empty	        					   = ak74_reload_empty, reload_empty
anm_reload_misfire								   = ak74_revival, revival
anm_idle_moving_crouch  						   = ak74_walk_slow_down
anm_idle_aim            						   = ak74_idle_aim
anm_idle_aim_moving                                = ak74_aim_walk
anm_bore                						   = ak74_idle_aim
anm_firemode                					   = ak74_firemode
anm_idle_w_gl_aim_moving						   = ak74_aim_walk_w_gl
anm_show_w_gl									   = ak74_draw_w_gl
anm_hide_w_gl                					   = ak74_hide_w_gl
anm_idle_w_gl                					   = ak74_idle_w_gl
anm_idle_moving_slow_w_gl         				   = ak74_walk_slow_w_gl
anm_idle_moving_w_gl         					   = ak74_walk_w_gl
anm_shots_w_gl               					   = ak74_shoot_w_gl, shoot
anm_shots_w_gl_when_aim              			   = ak74_aim_shoot_w_gl, shoot
anm_reload_w_gl	        						   = ak74_reload_w_gl, reload
anm_reload_empty_w_gl	        				   = ak74_reload_empty_w_gl, reload_empty
anm_reload_w_gl_misfire						       = ak74_revival_w_gl, revival
anm_idle_moving_crouch_w_gl  					   = ak74_walk_slow_down_w_gl
anm_idle_w_gl_aim           					   = ak74_idle_aim_w_gl
anm_bore_w_gl                					   = ak74_idle_aim_w_gl
anm_firemode_w_gl                				   = ak74_firemode_w_gl
anm_switch              						   = ak74_g_off, off_g    
anm_switch_g            						   = ak74_g_on, on_g     
anm_show_g              						   = ak74_draw_g, idle_gl				
anm_hide_g              						   = ak74_hide_g, idle_gl			
anm_idle_g              						   = ak74_idle_g, idle_gl	
anm_reload_g            						   = ak74_reload_g, reload_gl
anm_idle_g_aim          						   = ak74_idle_aim_g, idle_gl	
anm_shots_g             						   = ak74_shoot_g, shoot_gl
anm_idle_sprint_g       						   = ak74_sprint_w_gl, idle_gl	
anm_idle_moving_g       						   = ak74_walk_g, idle_gl
anm_idle_moving_slow_g   						   = ak74_walk_slow_g, idle_gl
anm_idle_moving_crouch_g						   = ak74_walk_slow_down_g, idle_gl
anm_idle_g_aim_moving							   = ak74_walk_aim_g, idle_gl
anm_bore_g              						   = ak74_idle_aim_g, idle_gl

anm_sprint_start         						   = ak74_sprint_start
anm_sprint_idle         						   = ak74_sprint
anm_sprint_end         						   	   = ak74_sprint_end

anm_sprint_start_w_gl         					 = ak74_sprint_w_gl_start
anm_sprint_idle_w_gl         				     = ak74_sprint_w_gl
anm_sprint_end_w_gl         					 = ak74_sprint_w_gl_end

anm_sprint_start_g         						 = ak74_sprint_g_start, idle_gl
anm_sprint_idle_g         						 = ak74_sprint_g, idle_gl
anm_sprint_end_g         						 = ak74_sprint_g_end, idle_gl

anm_switch_device                                = ak74_flash
anm_gasmask                                      = ak74_clear

anm_switch_device_w_gl                           = ak74_flash_w_gl
anm_gasmask_w_gl                                 = ak74_clear_w_gl

anm_switch_device_g                              = ak74_flash_g, idle_gl
anm_gasmask_g                                    = ak74_clear_g, idle_gl

attach_place_idx                                   = 0
fire_bone                                          = wpn_body
fire_bone2                                         = wpn_launcher
fire_point                                         = 0.000000,-0.006600,0.354201
fire_point2                                        = 0.000000,-0.004400,0.139700
gl_hud_offset_pos_16x9							   = -0.003400,0.006600,0.000000
gl_hud_offset_rot_16x9							   = -0.000160,0.001390,0.000000
gl_hud_offset_pos								   = -0.003400,0.006600,0.000000
gl_hud_offset_rot								   = -0.000160,0.001390,0.000000
hands_position_16x9								   = 0.004800,-0.008400,-0.024700
hands_orientation_16x9							   = 0,0,0
hands_position									   = 0.004800,-0.008400,-0.024700
hands_orientation								   = 0,0,0
item_position									   = 0,0,0
item_orientation								   = 0,0,0
item_visual                                        = dynamics\weapons\wpn_ak74\wpn_ak74_hud.ogf
lean_hud_offset_pos                                = 0,0,0
lean_hud_offset_rot                                = 0,0,0
shell_bone                                         = bolt
shell_dir                                          = 0.0, 1.0, 0.0
shell_point                                        = 0,-0.01,0
zoom_hide_crosshair                                = true

anim_aim_start 									   = aim_start_abakan, 1.11, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_abakan, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_abakan, 1.18, 1, 0.14, 0.15
anim_aim_start_g 								   = aim_start_abakan_gl, 1, 1, 0.14, 0.15
anim_aim_idle_g								       = aim_idle_abakan_gl, 1, 1, 0.2, 0.2
anim_aim_end_g   								   = aim_end_abakan_gl, 1, 1, 0.14, 0.15

[wpn_ak74_ekp]:wpn_ak74
$spawn             							 	   = "weapons\wpn_ak74_ekp"
hud											 	   = wpn_ak74_ekp_hud
visual										 	   = dynamics\weapons\wpn_ak74\wpn_ak74_ekp.ogf
scope_x                                      	   = 62
scope_y                                      	   = 7
scope_back = true

[wpn_ak74_ekp_hud]:wpn_ak74_hud
item_visual                						   = dynamics\weapons\wpn_ak74\wpn_ak74_ekp_hud.ogf

aim_hud_offset_pos_16x9							   = 0.001300,-0.018700,0.000000
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = 0.001300,-0.018700,0.000000
aim_hud_offset_rot								   = 0,0,0

anim_aim_start 									   = aim_start_abakan_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_abakan_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_abakan_scope, 1.03, 1, 0.14, 0.15

[wpn_ak74_okp]:wpn_ak74
$spawn             							 	   = "weapons\wpn_ak74_okp"
hud											 	   = wpn_ak74_okp_hud
visual										 	   = dynamics\weapons\wpn_ak74\wpn_ak74_okp.ogf
scope_x                                      	   = 68
scope_y                                      	   = 8
scope_back = true

[wpn_ak74_okp_hud]:wpn_ak74_hud
item_visual                						   = dynamics\weapons\wpn_ak74\wpn_ak74_okp_hud.ogf

aim_hud_offset_pos_16x9							   = 0.013300,-0.007100,0.000000
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = 0.013300,-0.007100,0.000000
aim_hud_offset_rot								   = 0,0,0

[wpn_ak74_rakurs]:wpn_ak74
$spawn             							 	   = "weapons\wpn_ak74_rakurs"
hud											 	   = wpn_ak74_rakurs_hud
visual										 	   = dynamics\weapons\wpn_ak74\wpn_ak74_rakurs.ogf
scope_x                                      	   = 62
scope_y                                      	   = 5
scope_back = true

[wpn_ak74_rakurs_hud]:wpn_ak74_hud
item_visual                						   = dynamics\weapons\wpn_ak74\wpn_ak74_rakurs_hud.ogf

aim_hud_offset_pos_16x9							   = 0.000900,-0.017300,-0.025300
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = 0.000900,-0.017300,-0.025300
aim_hud_offset_rot								   = 0,0,0

anim_aim_start 									   = aim_start_abakan_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_abakan_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_abakan_scope, 1.03, 1, 0.14, 0.15

[wpn_ak74_1p78]:wpn_ak74
$spawn             							 	   = "weapons\wpn_ak74_1p78"
hud											 	   = wpn_ak74_1p78_hud
visual										 	   = dynamics\weapons\wpn_ak74\wpn_ak74_1p78.ogf
scope_x                                      	   = 54
scope_y                                      	   = 1
scope_back = true

max_radius                                         = 200
min_radius                                         = 5

[wpn_ak74_1p78_hud]:wpn_ak74_hud
item_visual                						   = dynamics\weapons\wpn_ak74\wpn_ak74_1p78_hud.ogf

anm_shots_when_aim 								   = ak74_aim_shoot_scope, shoot
anm_shots_w_gl_when_aim 						   = ak74_aim_shoot_scope_w_gl, shoot

aim_hud_offset_pos_16x9							   = 0.001200,-0.008900,-0.009700
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = 0.001200,-0.008900,-0.009700
aim_hud_offset_rot								   = 0,0,0

anim_aim_start 									   = aim_start_abakan_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_abakan_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_abakan_scope, 1.03, 1, 0.14, 0.15

[wpn_ak74_pso]:wpn_ak74
$spawn             							 	   = "weapons\wpn_ak74_pso"
hud											 	   = wpn_ak74_pso_hud
scope_x                                      	   = 29
scope_y                                      	   = 6
scope_back = true

max_radius                                         = 200
min_radius                                         = 5

[wpn_ak74_pso_hud]:wpn_ak74_hud
item_visual                						   = dynamics\weapons\wpn_ak74\wpn_ak74_hud.ogf

anm_shots_when_aim 								   = ak74_aim_shoot_scope, shoot
anm_shots_w_gl_when_aim 						   = ak74_aim_shoot_scope_w_gl, shoot

aim_hud_offset_pos_16x9							   = 0.015600,0.007400,0.000000
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos				    			   = 0.015600,0.007400,0.000000
aim_hud_offset_rot				    			   = 0,0,0

anim_aim_start 									   = aim_start_abakan_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_abakan_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_abakan_scope, 1.03, 1, 0.14, 0.15
