[wpn_scarh]:weapon_probability,default_weapon_params,wpn_scarh_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\scarh"
ammo_class                                         = ammo_7.62x51_fmj, ammo_7.62x51_ap
ammo_current                                       = 180
ammo_elapsed                                       = 30
ammo_limit                                         = 210
ammo_mag_size                                      = 20
ammo_mag_size_ui                                   = 20
animation_slot                                     = 2
bullet_speed                                       = 800
block_bore										   = true
cam_return 			   							   = 0
cam_relax_speed        							   = 5		;скорость возврата в исходное положение
cam_relax_speed_ai     							   = 120.75
cam_dispersion         							   = 0.75	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc     							   = 0.5    ;увеличениe cam_dispersion с каждым выстрелом
cam_dispersion_frac    							   = 1.1    ;ствол будет подыматься на 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.1    ; (degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_AK74
condition_queue_shot_dec                           = 0.0016
condition_shot_dec                                 = 0.0008
control_inertion_factor                            = 1.25f
cost                                               = 75000
crosshair_inertion                                 = 5.80
description                                        = st_wpn_scarh_descr
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 7
fire_dispersion_base                               = 0.19
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 600
fire_modes                                         = 1, -1
fire_point                                         = 0.0, 0.21, 0.58
fire_point2                                        = 0.0, 0.21, 0.71
flame_particles                                    = weapons\new_effects\fal_fnc
grenade_class                                      = ammo_m209, ammo_m397a1
grenade_flame_particles                            = weapons\generic_shoot_00
grenade_launcher_name                              = wpn_addon_grenade_launcher_m203
grenade_launcher_status                            = 2
grenade_launcher_x                                 = 118
grenade_launcher_y                                 = 27
grenade_vel                                        = 76
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.00
holder_range_modifier                              = 1.25
hud                                                = wpn_scarh_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 36
inv_grid_y                                         = 4
inv_name                                           = st_wpn_scarh
inv_name_short                                     = st_wpn_scarh
inv_weight                                         = 3.8
kill_msg_height                                    = 31
kill_msg_width                                     = 78
kill_msg_x                                         = 157
kill_msg_y                                         = 29
launch_speed                                       = 76
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.004
orientation                                        = 0,0,0
PDM_disp_base 									   = 0.9
PDM_disp_vel_factor 							   = 1.4
PDM_disp_accel_factor 							   = 1.4
PDM_disp_crouch	 								   = 0.95
PDM_disp_crouch_no_acc 							   = 0.95
ph_mass                                            = 5
position                                           = -0.026, -0.126, -0.015
reload_dof                                         = 0.0, 0.5, 5, 3.2
reload_empty_dof                                   = 0.0, 0.5, 5, 3.8
reload_gl_dof                                      = 0.0, 0.5, 5, 2.9
rpm                                                = 625
rpm_empty_click                                    = 200
scheduled                                          = off
scope_status                                       = 2
scope_texture                                      = wpn_crosshair_g36
scope_x                                            = 78
scope_y                                            = 0
scopes 											   = ac10632, acog, eot, microt1, specter
parent_section  								   = wpn_scarh
scope_zoom_factor								   = 100
shell_dir                                          = 0.0, 0.0, 0.4
shell_particles                                    = weapons\shells\generic_shells_r_762_39
shell_point                                        = 0.0, 0.21, 0.13
silencer_bullet_speed                              = 810
silencer_fire_distance                             = 610
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_nato_762
silencer_smoke_particles                           = weapons\generic_shoot_00
silencer_status                                    = 2
silencer_x                                         = 203
silencer_y                                         = 13
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                                        = 900
upgr_icon_y                                        = 1150
upgrades                						   = up_gr_firstab_sig550, up_gr_seconab_sig550, up_gr_thirdab_sig550, up_gr_fourtab_sig550, up_gr_fifthab_sig550
upgrade_scheme          						   = upgrade_scheme_sig550
use_aim_bullet                                     = false
visual                                             = dynamics\weapons\wpn_scarh\wpn_scarh.ogf
weapon_class                                       = assault_rifle
zoom_cam_relax_speed         					   = 5     ; scope & ironsight
zoom_cam_relax_speed_ai      					   = 360
zoom_cam_dispersion          					   = 0.6
zoom_cam_dispersion_inc      					   = 0.4
zoom_cam_dispersion_frac     					   = 0.9
zoom_cam_max_angle           					   = 50.0
zoom_cam_max_angle_horz      					   = 50.0
zoom_cam_step_angle_horz     					   = 1.8
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

use_mag_scheme 									   = true
mag_bone_type_0 								   = wpn_launcher_grenade_blue
mag_bone_type_1 								   = wpn_launcher_grenade_red
ammochange_time									   = 0.1

shell_section_0                                    = shell_7.62x51
shell_section_1                                    = shell_7.62x51

reload_time 									   = 2.1
reload_empty_time 								   = 3.0
reload_g_time 									   = 2.1

use_device_anims 								   = true

[wpn_scarh_hud]:hud_base
aim_hud_offset_pos_16x9				= 0.002200,-0.006300,-0.022800
aim_hud_offset_rot_16x9				= -0.004000,0.001000,0.000000
aim_hud_offset_pos				    = 0.002200,-0.006300,-0.022800
aim_hud_offset_rot				    = -0.004000,0.001000,0.000000
anm_show										   = scar_draw, idle
anm_show_empty									   = scar_draw, idle_empty
anm_hide                						   = scar_holster, idle
anm_hide_empty                					   = scar_holster, idle_empty
anm_idle                						   = scar_idle, idle
anm_idle_empty               					   = scar_idle, idle_empty
anm_idle_aim            						   = scar_idle_aim, idle
anm_idle_aim_empty            					   = scar_idle_aim, idle_empty
anm_idle_moving         						   = scar_moving, idle
anm_idle_moving_empty        					   = scar_moving, idle_empty
anm_idle_moving_slow    						   = scar_moving_slow, idle
anm_idle_moving_slow_empty    					   = scar_moving_slow, idle_empty
anm_idle_moving_crouch							   = scar_crouch, idle
anm_idle_moving_crouch_empty					   = scar_crouch, idle_empty
anm_idle_aim_moving							  	   = scar_moving_aim, idle
anm_idle_aim_moving_empty						   = scar_moving_aim, idle_empty
anm_shots_when_aim              				   = scar_shoot_aim, shoot
anm_shots_when_aim_last               			   = scar_shoot_aim, idle_empty
anm_shots               						   = scar_shoot, shoot
anm_shots_last               					   = scar_shoot, idle_empty
anm_reload              						   = scar_reload, reload
anm_reload_empty             					   = scar_reload_empty, reload_empty
anm_reload_misfire								   = scar_misfire, misfire
anm_firemode                					   = scar_firemode, idle
anm_firemode_empty                				   = scar_firemode, idle_empty
anm_bore                						   = scar_idle_aim, idle
anm_bore_empty                					   = scar_idle_aim, idle_empty

anm_sprint_start         						   = scar_sprint_start
anm_sprint_idle         						   = scar_sprint
anm_sprint_end         						   	   = scar_sprint_end

anm_sprint_start_empty         					   = scar_sprint_start, idle_empty
anm_sprint_idle_empty         					   = scar_sprint, idle_empty
anm_sprint_end_empty         					   = scar_sprint_end, idle_empty

anm_hide_w_gl           						   = scar_holster_w_gl, idle
anm_hide_w_gl_empty           					   = scar_holster_w_gl, idle_empty
anm_show_w_gl           						   = scar_draw_w_gl, idle
anm_show_w_gl_empty           					   = scar_draw_w_gl, idle_empty
anm_idle_w_gl           						   = scar_idle_w_gl, idle
anm_idle_w_gl_empty            					   = scar_idle_w_gl, idle_empty
anm_shots_w_gl          						   = scar_w_gl_shoot, shoot
anm_shots_w_gl_last          					   = scar_w_gl_shoot, idle_empty
anm_shots_w_gl_when_aim							   = scar_w_gl_shoot_aim, shoot
anm_shots_w_gl_when_aim_last					   = scar_w_gl_shoot_aim, idle_empty
anm_reload_w_gl         						   = scar_reload_w_gl, reload
anm_reload_empty_w_gl         					   = scar_reload_empty_w_gl, reload_empty
anm_reload_w_gl_misfire							   = scar_misfire_w_gl, misfire
anm_idle_w_gl_aim       						   = scar_idle_aim_w_gl, idle
anm_idle_w_gl_aim_empty       					   = scar_idle_aim_w_gl, idle_empty
anm_idle_moving_slow_w_gl    					   = scar_moving_slow_w_gl, idle
anm_idle_moving_slow_w_gl_empty     			   = scar_moving_slow_w_gl, idle_empty
anm_idle_moving_w_gl    						   = scar_moving_w_gl, idle
anm_idle_moving_w_gl_empty    					   = scar_moving_w_gl, idle_empty
anm_idle_moving_crouch_w_gl    					   = scar_crouch_w_gl, idle
anm_idle_moving_crouch_w_gl_empty    			   = scar_crouch_w_gl, idle_empty
anm_idle_w_gl_aim_moving						   = scar_moving_aim_w_gl, idle
anm_idle_w_gl_aim_moving_empty 					   = scar_moving_aim_w_gl, idle_empty
anm_firemode_w_gl                				   = scar_firemode_w_gl, idle
anm_firemode_w_gl_empty                			   = scar_firemode_w_gl, idle_empty
anm_bore_w_gl           						   = scar_idle_aim_w_gl, idle
anm_bore_w_gl_empty            					   = scar_idle_aim_w_gl, idle_empty

anm_sprint_start_w_gl         						   = scar_sprint_w_gl_start, idle
anm_sprint_idle_w_gl         						   = scar_sprint_w_gl, idle
anm_sprint_end_w_gl         						   = scar_sprint_w_gl_end, idle

anm_sprint_start_w_gl_empty         				   = scar_sprint_w_gl_start, idle_empty
anm_sprint_idle_w_gl_empty         					   = scar_sprint_w_gl, idle_empty
anm_sprint_end_w_gl_empty         				       = scar_sprint_w_gl_end, idle_empty

anm_switch              						   = scar_g_off, g_off
anm_switch_empty              					   = scar_g_off, g_off_empty       
anm_switch_g            						   = scar_g_on, g_on 
anm_switch_g_empty            					   = scar_g_on, g_on_empty 
anm_hide_g           						   	   = scar_holster_g, idle_g
anm_hide_g_empty           					   	   = scar_holster_g, idle_empty_g
anm_show_g           						   	   = scar_draw_g, idle_g
anm_show_g_empty           					   	   = scar_draw_g, idle_empty_g
anm_idle_g           						   	   = scar_idle_g, idle_g
anm_idle_g_empty            					   = scar_idle_g, idle_empty_g
anm_shots_g          						   	   = scar_g_shoot, shoot_g
anm_shots_g_empty          						   = scar_g_shoot, shoot_empty_g
anm_reload_g         						   	   = scar_reload_g, reload_g
anm_reload_g_empty         						   = scar_reload_g, reload_empty_g
anm_idle_g_aim       						   	   = scar_idle_aim_g, idle_g
anm_idle_g_aim_empty       					   	   = scar_idle_aim_g, idle_empty_g
anm_idle_sprint_g    						   	   = scar_sprint_g, idle_g
anm_idle_sprint_g_empty     					   = scar_sprint_g, idle_empty_g
anm_idle_moving_slow_g    					   	   = scar_moving_slow_g, idle_g
anm_idle_moving_slow_g_empty     			   	   = scar_moving_slow_g, idle_empty_g
anm_idle_moving_g    						   	   = scar_moving_g, idle_g
anm_idle_moving_g_empty    					   	   = scar_moving_g, idle_empty_g
anm_idle_moving_crouch_g    					   = scar_crouch_g, idle_g
anm_idle_moving_crouch_g_empty    			   	   = scar_crouch_g, idle_empty_g
anm_idle_g_aim_moving						   	   = scar_moving_aim_g, idle_g
anm_idle_g_aim_moving_empty 					   = scar_moving_aim_g, idle_empty_g
anm_bore_g           						  	   = scar_idle_aim_g, idle_g
anm_bore_g_empty            					   = scar_idle_aim_g, idle_empty_g

anm_sprint_start_g         						   = scar_sprint_g_start, idle_g
anm_sprint_idle_g         						   	= scar_sprint_g, idle_g
anm_sprint_end_g         						   = scar_sprint_g_end, idle_g

anm_sprint_start_g_empty         						   = scar_sprint_g_start, idle_empty_g
anm_sprint_idle_g_empty         						   	= scar_sprint_g, idle_empty_g
anm_sprint_end_g_empty         						   = scar_sprint_g_end, idle_empty_g

anm_switch_device                                = scar_flash
anm_gasmask                                      = scar_clear

anm_switch_device_w_gl                           = scar_flash_w_gl
anm_gasmask_w_gl                                 = scar_clear_w_gl

anm_switch_device_g                              = scar_flash_g, idle_g
anm_gasmask_g                                    = scar_clear_g, idle_g

anm_switch_device_empty                          = scar_flash, idle_empty
anm_gasmask_empty                                = scar_clear, idle_empty

anm_switch_device_w_gl_empty                     = scar_flash_w_gl, idle_empty
anm_gasmask_w_gl_empty                           = scar_clear_w_gl, idle_empty

anm_switch_device_g_empty                        = scar_flash_g, idle_empty_g
anm_gasmask_g_empty                              = scar_clear_g, idle_empty_g

attach_place_idx                                   = 0
fire_bone                                          = wpn_body
fire_bone2                                         = wpn_launcher_barrel
fire_point                                         = 0.000000,0.044900,0.440200
fire_point2                                        = 0,0,-0.155400
gl_hud_offset_pos_16x9							   = -0.005500,-0.035700,0.000000
gl_hud_offset_rot_16x9							   = -0.045000,0.009750,0.080750
gl_hud_offset_pos								   = -0.005500,-0.035700,0.000000
gl_hud_offset_rot								   = -0.045000,0.009750,0.080750
hands_orientation                                  = 0,0,0
hands_orientation_16x9                             = 0,0,0
hands_position                                     = -0.058025,0.056425,-0.291453
hands_position_16x9                                = -0.058025,0.056425,-0.291453
item_orientation                                   = 0,0,0
item_position                                      = 0,0,0
item_visual                                        = dynamics\weapons\wpn_scarh\wpn_scarh_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,0.035,-0.035
zoom_hide_crosshair                                = true

anim_aim_start 									   = aim_start_scar, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_scar, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_scar, 1, 1, 0.14, 0.15

anim_aim_start_g 									   = aim_start_scar, 1, 1, 0.14, 0.15
anim_aim_idle_g  									   = aim_idle_scar, 1, 1, 0.2, 0.2
anim_aim_end_g   									   = aim_end_scar, 1, 1, 0.14, 0.15

[wpn_scarh_ac10632]:wpn_scarh
$spawn                                             = "weapons\wpn_scarh_ac10632"
scope_x                                      = 72
scope_y                                      = -9
hud                                                = wpn_scarh_ac10632_hud
visual                                             = dynamics\weapons\wpn_scarh\wpn_scarh_ac10632.ogf

[wpn_scarh_ac10632_hud]:wpn_scarh_hud
item_visual                                        = dynamics\weapons\wpn_scarh\wpn_scarh_ac10632_hud.ogf
aim_hud_offset_pos                  			   = 0.002100,-0.002600,-0.015800
aim_hud_offset_pos_16x9							   = 0.002100,-0.002600,-0.015800

[wpn_scarh_acog]:wpn_scarh
$spawn                                             = "weapons\wpn_scarh_acog"
scope_x                                      = 58
scope_y                                      = -10
hud                                                = wpn_scarh_acog_hud
visual                                             = dynamics\weapons\wpn_scarh\wpn_scarh_acog.ogf

max_radius                                         = 200
min_radius                                         = 5

[wpn_scarh_acog_hud]:wpn_scarh_hud
item_visual                                        = dynamics\weapons\wpn_scarh\wpn_scarh_acog_hud.ogf
anm_shots_when_aim               				   = scar_shoot_scope, shoot
anm_shots_when_aim_last               			   = scar_shoot_scope, idle_empty
anm_shots_w_gl_when_aim							   = scar_w_gl_shoot_scope, shoot
anm_shots_w_gl_when_aim_last					   = scar_w_gl_shoot_scope, idle_empty
aim_hud_offset_pos								   = 0.001900,-0.004900,-0.043300
aim_hud_offset_pos_16x9							   = 0.001900,-0.004900,-0.043300

[wpn_scarh_eot]:wpn_scarh
$spawn                                             = "weapons\wpn_scarh_eot"
scope_x                                      = 72
scope_y                                      = -9
hud                                                = wpn_scarh_eot_hud
visual                                             = dynamics\weapons\wpn_scarh\wpn_scarh_eot.ogf

[wpn_scarh_eot_hud]:wpn_scarh_hud
item_visual                                        = dynamics\weapons\wpn_scarh\wpn_scarh_eot_hud.ogf
aim_hud_offset_pos                  			   = 0.002000,-0.005500,-0.041000
aim_hud_offset_pos_16x9							   = 0.002000,-0.005500,-0.041000

[wpn_scarh_microt1]:wpn_scarh
$spawn                                             = "weapons\wpn_scarh_microt1"
scope_x                                      = 70
scope_y                                      = -11
hud                                                = wpn_scarh_microt1_hud
visual                                             = dynamics\weapons\wpn_scarh\wpn_scarh_micro-t1.ogf

[wpn_scarh_microt1_hud]:wpn_scarh_hud
item_visual                                        = dynamics\weapons\wpn_scarh\wpn_scarh_micro-t1_hud.ogf
aim_hud_offset_pos                  			   = 0.002100,-0.007200,-0.013200
aim_hud_offset_pos_16x9							   = 0.002100,-0.007200,-0.013200

[wpn_scarh_specter]:wpn_scarh
$spawn					= "weapons\wpn_scarh_specter"
visual					= dynamics\weapons\wpn_scarh\wpn_scarh_specter.ogf
hud					= wpn_scarh_specter_hud
scope_x                                      = 58
scope_y                                      = -10
second_scope_zoom_factor                		= 100
second_aim_enabled                        = true
second_aim_transition_time                = 6.5

max_radius                                         = 200
min_radius                                         = 5

[wpn_scarh_specter_hud]:wpn_scarh_hud
item_visual										   = dynamics\weapons\wpn_scarh\wpn_scarh_specter_hud.ogf
anm_shots_when_aim               				   = scar_shoot_scope, shoot
anm_shots_when_aim_last               			   = scar_shoot_scope, idle_empty
anm_shots_w_gl_when_aim							   = scar_w_gl_shoot_scope, shoot
anm_shots_w_gl_when_aim_last					   = scar_w_gl_shoot_scope, idle_empty

aim_hud_offset_pos						  		   = 0.002000,-0.006800,-0.038100
aim_hud_offset_pos_16x9					  		   = 0.002000,-0.006800,-0.038100

second_aim_hud_offset_pos                 		   = 0.001800,-0.030500,-0.010600
second_aim_hud_offset_pos_16x9            		   = 0.001800,-0.030500,-0.010600
second_aim_hud_offset_rot                 		   = 0,0,0
second_aim_hud_offset_rot_16x9            		   = 0,0,0