[wpn_abakan]:weapon_probability,default_weapon_params,wpn_abakan_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\abakan"
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
base_dispersioned_bullets_count                    = 2
base_dispersioned_bullets_speed                    = 900
bullet_speed                                       = 900
block_bore										   = true
cam_return				 						   = 0
cam_relax_speed          						   = 10    
cam_relax_speed_ai       						   = 360
cam_dispersion           						   = 0.6   
cam_dispersion_inc       						   = 0.35  
cam_dispersion_frac      						   = 0.9  
cam_max_angle            						   = 50.0  
cam_max_angle_horz       						   = 50.0  
cam_step_angle_horz      						   = 1.5
cform                                              = skeleton
class                                              = WP_AK74
condition_queue_shot_dec                           = 0.00115
condition_shot_dec                                 = 0.00062
control_inertion_factor                            = 1.25f
cost                                               = 21000
crosshair_inertion                                 = 6.85
cycle_down                                         = true
description                                        = st_wpn_abakan_descr
dispersion_start                                   = 2
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 7
fire_dispersion_base                               = 0.19 ;0.17
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 630
fire_modes                                         = 2, 1, -1
fire_point                                         = 0,0.228,0.713
fire_point2                                        = 0,0,153.608
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                                 = 120
grenade_launcher_y                                 = 25
grenade_vel                                        = 73.5
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.00
holder_range_modifier                              = 1.00
hud                                                = wpn_abakan_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 31
inv_grid_y                                         = 2
inv_name                                           = st_wpn_abakan
inv_name_short                                     = st_wpn_abakan
inv_weight                                         = 3.85
kill_msg_height                                    = 32
kill_msg_width                                     = 93
kill_msg_x                                         = 119
kill_msg_y                                         = 199
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.05
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.0037
orientation                                        = 0, 0, 0
PDM_disp_base 									   = 1.1
PDM_disp_vel_factor 							   = 1.7
PDM_disp_accel_factor 							   = 1.7
PDM_disp_crouch	 								   = 1.0
PDM_disp_crouch_no_acc 							   = 1.0
ph_mass                                            = 4
position                                           = -0.026, -0.178, 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
rpm_mode_2                                         = 1200
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_abakan
shell_dir                                          = 0.0, 0.0, 0.4
shell_particles                                    = weapons\shells\generic_shells_r_762_39
shell_point                                        = 0.02,0.04,0.5
silencer_bullet_speed                              = 290
silencer_fire_distance                             = 850
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                                      = wpn_addon_silencer
silencer_smoke_particles                           = weapons\generic_shoot_00
silencer_status                                    = 0
silencer_x                                         = 236
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                                        = 0
upgr_icon_height                                   = 150
upgr_icon_width                                    = 350
upgr_icon_x                                        = 1550
upgr_icon_y                                        = 0
upgrade_scheme                                     = upgrade_scheme_abakan
upgrades                                           = up_gr_firstab_abakan, up_gr_seconab_abakan, up_gr_thirdab_abakan, up_gr_fourtab_abakan, up_gr_fifthab_abakan
use_aim_bullet                                     = false
visual                                             = dynamics\weapons\wpn_abakan\wpn_abakan.ogf
weapon_class                                       = assault_rifle
zoom_cam_relax_speed         					   = 10	    
zoom_cam_relax_speed_ai      					   = 360
zoom_cam_dispersion          					   = 0.4
zoom_cam_dispersion_inc      					   = 0.3
zoom_cam_dispersion_frac     					   = 0.75
zoom_cam_max_angle           					   = 50.0
zoom_cam_max_angle_horz      					   = 50.0
zoom_cam_step_angle_horz     					   = 1.0
zoom_dof                                           = 0.5, 1.0, 150
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

use_mag_scheme 									   = true
mag_bone_type_0 								   = grenade_gp30_red
mag_bone_type_1 								   = grenade_gp30_blue
ammochange_time									   = 0.1

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

reload_time 									   = 2.2
reload_empty_time 								   = 2.9
reload_g_time 									   = 1.5

use_device_anims 								   = true

[wpn_abakan_hud]:hud_base
aim_hud_offset_pos_16x9							   = -0.004700,0.014000,-0.015700
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = -0.004700,0.014000,-0.015700
aim_hud_offset_rot								   = 0,0,0
anm_show										   = abakan_draw
anm_hide                						   = abakan_holster
anm_idle                						   = abakan_idle
anm_idle_aim            						   = abakan_idle_aim 
anm_idle_moving         						   = abakan_moving
anm_idle_moving_slow    						   = abakan_moving_slow
anm_idle_moving_crouch							   = abakan_crouch
anm_idle_aim_moving             				   = abakan_moving_aim
anm_shots_when_aim              				   = abakan_shoot_aim, shoot
anm_shots               						   = abakan_shoot, shoot
anm_firemode                    				   = abakan_firemode
anm_firemode_w_gl                    			   = abakan_firemode_w_gl
anm_reload              						   = abakan_reload, reload
anm_reload_empty             					   = abakan_reload_empty, reload_empty
anm_reload_misfire								   = abakan_misfire, misfire
anm_bore                						   = abakan_idle_aim
anm_switch              						   = abakan_g_off, g_off          
anm_switch_g            						   = abakan_g_on, g_on          
anm_hide_w_gl           						   = abakan_holster_w_gl
anm_show_w_gl           						   = abakan_draw_w_gl
anm_idle_w_gl           						   = abakan_idle_w_gl
anm_shots_w_gl          						   = abakan_w_gl_shoot, shoot
anm_shots_w_gl_when_aim							   = abakan_w_gl_shoot_aim, shoot
anm_reload_w_gl         						   = abakan_reload_w_gl, reload
anm_reload_empty_w_gl         					   = abakan_reload_empty_w_gl, reload_empty
anm_reload_w_gl_misfire							   = abakan_misfire_w_gl, misfire
anm_idle_w_gl_aim       						   = abakan_idle_aim_w_gl
anm_idle_moving_slow_w_gl    					   = abakan_moving_slow_w_gl
anm_idle_moving_w_gl    						   = abakan_moving_w_gl
anm_idle_moving_crouch_w_gl    					   = abakan_crouch_w_gl
anm_idle_w_gl_aim_moving						   = abakan_moving_aim_w_gl
anm_bore_w_gl           						   = abakan_idle_aim_w_gl
anm_show_g              						   = abakan_draw_g, idle_g				
anm_hide_g              						   = abakan_holster_g, idle_g				
anm_idle_g              						   = abakan_idle_g, idle_g		
anm_reload_g            						   = abakan_reload_g, reload_g
anm_idle_g_aim          						   = abakan_idle_aim_g, idle_g			
anm_shots_g             						   = abakan_shoot_g, idle_g		
anm_idle_moving_g       						   = abakan_moving_g, idle_g
anm_idle_moving_slow_g   						   = abakan_moving_slow_g, idle_g
anm_idle_moving_crouch_g						   = abakan_crouch_g, idle_g	
anm_idle_g_aim_moving							   = abakan_moving_aim_g, idle_g	
anm_bore_g              						   = abakan_idle_aim_g, idle_g

anm_sprint_start         						   = abakan_sprint_start
anm_sprint_idle         						   = abakan_sprint
anm_sprint_end         						   	   = abakan_sprint_end

anm_sprint_start_w_gl         						   = abakan_sprint_w_gl_start
anm_sprint_idle_w_gl         						   = abakan_sprint_w_gl
anm_sprint_end_w_gl         						   = abakan_sprint_w_gl_end

anm_sprint_start_g         						   = abakan_sprint_g_start, idle_g
anm_sprint_idle_g         						   	= abakan_sprint_g, idle_g
anm_sprint_end_g         						   = abakan_sprint_g_end, idle_g

anm_switch_device                                = abakan_flash
anm_gasmask                                      = abakan_clear

anm_switch_device_w_gl                           = abakan_flash_w_gl
anm_gasmask_w_gl                                 = abakan_clear_w_gl

anm_switch_device_g                              = abakan_flash_g, idle_g
anm_gasmask_g                                    = abakan_clear_g, idle_g

attach_place_idx                                   = 0
fire_bone                                          = wpn_body
fire_bone2                                         = wpn_body
fire_point                                         = 0.003025,-0.002950,0.345626
fire_point2                                        = 0.000000,-0.075000,0.280000
gl_hud_offset_pos								   = -0.015000,0.011800,-0.049500
gl_hud_offset_pos_16x9							   = -0.015000,0.011800,-0.049500
gl_hud_offset_rot								   = 0.000750,0.001250,0.000000
gl_hud_offset_rot_16x9							   = 0.000750,0.001250,0.000000
hands_position									   = 0.016375,-0.013800,-0.017900
hands_position_16x9								   = 0.016375,-0.013800,-0.017900
hands_orientation								   = 0,0,0
hands_orientation_16x9							   = 0,0,0
item_position							           = 0,0,0
item_orientation						           = 0,0,0
item_visual                                        = dynamics\weapons\wpn_abakan\wpn_abakan_hud.ogf
lean_hud_offset_pos                                = 0,0,0
lean_hud_offset_rot                                = 0,0,0
shell_bone                                         = wpn_body
shell_dir                                          = 0.0, 1.0, 0.0
shell_point                                        = 0.000000,0.000000,-0.118500
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_abakan_ekp]:wpn_abakan
$spawn             							 	   = "weapons\wpn_abakan_ekp"
hud											 	   = wpn_abakan_ekp_hud
visual										 	   = dynamics\weapons\wpn_abakan\wpn_abakan_ekp.ogf
scope_x                                      	   = 60
scope_y                                      	   = -1
scope_back = true

[wpn_abakan_ekp_hud]:wpn_abakan_hud
item_visual                					       = dynamics\weapons\wpn_abakan\wpn_abakan_ekp_hud.ogf

aim_hud_offset_pos_16x9							   = -0.006000,-0.028600,-0.055500
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = -0.006000,-0.028600,-0.055500
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_abakan_okp]:wpn_abakan
$spawn             							 	   = "weapons\wpn_abakan_okp"
hud											 	   = wpn_abakan_okp_hud
visual										 	   = dynamics\weapons\wpn_abakan\wpn_abakan_okp.ogf
scope_x                                      	   = 71
scope_y                                      	   = -1
scope_back = true

[wpn_abakan_okp_hud]:wpn_abakan_hud
item_visual                						   = dynamics\weapons\wpn_abakan\wpn_abakan_okp_hud.ogf

aim_hud_offset_pos_16x9							   = -0.001125,-0.007100,-0.055100
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = -0.001125,-0.007100,-0.055100
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_abakan_rakurs]:wpn_abakan
$spawn             						     	   = "weapons\wpn_abakan_rakurs"
hud										     	   = wpn_abakan_rakurs_hud
visual									     	   = dynamics\weapons\wpn_abakan\wpn_abakan_rakurs.ogf
scope_x                                      	   = 61
scope_y                                      	   = -3
scope_back = true

[wpn_abakan_rakurs_hud]:wpn_abakan_hud
item_visual                						   = dynamics\weapons\wpn_abakan\wpn_abakan_rakurs_hud.ogf
aim_hud_offset_pos_16x9							   = -0.006000,-0.025400,-0.071400
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = -0.006000,-0.025400,-0.071400
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_abakan_1p78]:wpn_abakan
$spawn             						     	   = "weapons\wpn_abakan_1p78"
hud										     	   = wpn_abakan_1p78_hud
visual									     	   = dynamics\weapons\wpn_abakan\wpn_abakan_1p78.ogf
scope_x                                      	   = 55
scope_y                                      	   = -7
scope_back = true

max_radius                                         = 200
min_radius                                         = 5

second_scope_zoom_factor                		   = 100
second_aim_enabled                        		   = true
second_aim_transition_time                		   = 6.5

[wpn_abakan_1p78_hud]:wpn_abakan_hud
item_visual                						   = dynamics\weapons\wpn_abakan\wpn_abakan_1p78_hud.ogf

anm_shots_when_aim 								   = abakan_shoot_scope, shoot
anm_shots_w_gl_when_aim 						   = abakan_shoot_scope_w_gl, shoot

aim_hud_offset_pos_16x9							   = -0.004525,-0.010800,-0.051100
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = -0.004525,-0.010800,-0.051100
aim_hud_offset_rot								   = 0,0,0

second_aim_hud_offset_pos                 		   = -0.011300,0.024700,-0.015700
second_aim_hud_offset_pos_16x9            		   = -0.011300,0.024700,-0.015700
second_aim_hud_offset_rot                 		   = 0,0,0
second_aim_hud_offset_rot_16x9            		   = 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_abakan_pso]:wpn_abakan
$spawn             						     	   = "weapons\wpn_abakan_pso"
hud										     	   = wpn_abakan_pso_hud
scope_x                                      	   = 34
scope_y                                      	   = -1
scope_back = true

max_radius                                         = 200
min_radius                                         = 5

second_scope_zoom_factor                		   = 100
second_aim_enabled                        		   = true
second_aim_transition_time                		   = 6.5

[wpn_abakan_pso_hud]:wpn_abakan_hud
item_visual                						   = dynamics\weapons\wpn_abakan\wpn_abakan_hud.ogf

anm_shots_when_aim 								   = abakan_shoot_scope, shoot
anm_shots_w_gl_when_aim 						   = abakan_shoot_scope_w_gl, shoot

aim_hud_offset_pos_16x9							   = 0.007700,-0.001300,-0.012000
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_pos								   = 0.007700,-0.001300,-0.012000
aim_hud_offset_rot								   = 0,0,0

second_aim_hud_offset_pos                 		   = -0.011300,0.024700,-0.015700
second_aim_hud_offset_pos_16x9            		   = -0.011300,0.024700,-0.015700
second_aim_hud_offset_rot                 		   = 0,0,0
second_aim_hud_offset_rot_16x9            		   = 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
