[wpn_sa58]:weapon_probability,default_weapon_params,wpn_sa58_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\sa58"
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                                       = 840
block_bore										   = true
cam_return										   = 0
cam_relax_speed         						   = 7		; скорость возврата в исходное положение
cam_relax_speed_ai      						   = 360	; скорость возврата в исходное положение для AI
cam_dispersion          						   = 0.7       ; увеличения угла (в градусах) при первом выстреле
cam_dispersion_inc      						   = 0.4       ; увеличениe cam_dispersion с каждым выстрелом
cam_dispersion_frac     						   = 1.05       ; frac * angle + rand(-1,1)*(1-frac) * angle
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_LR300
condition_queue_shot_dec                           = 0.0016
condition_shot_dec                                 = 0.0008
control_inertion_factor                            = 1.25f
cost                                               = 48000
crosshair_inertion                                 = 5.80
description                                        = st_wpn_sa58_descr
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 7
fire_dispersion_base                               = 0.20
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 650
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
grenade_flame_particles                            = weapons\generic_shoot_00
grenade_launcher_name                              = wpn_addon_grenade_launcher_m203
grenade_launcher_status                            = 0
grenade_launcher_x                                 = 126
grenade_launcher_y                                 = 32
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_sa58_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 6
inv_grid_x                                         = 36
inv_grid_y                                         = 14
inv_name                                           = st_wpn_sa58
inv_name_short                                     = st_wpn_sa58
inv_weight                                         = 4.25
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 									   = 1.1
PDM_disp_vel_factor 							   = 1.5
PDM_disp_accel_factor 							   = 1.5
PDM_disp_crouch	 								   = 1.05
PDM_disp_crouch_no_acc 							   = 1.05
ph_mass                                            = 5
position                                           = -0.026, -0.158, 0.0
reload_dof                                         = 0.0, 0.5, 5, 3.2
reload_empty_dof                                   = 0.0, 0.5, 5, 3.8
rpm                                                = 700
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_sa58
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                              = 850
silencer_fire_distance                             = 660
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                                         = 265
silencer_y                                         = 20
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                                        = 0
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_sa58\wpn_sa58.ogf
weapon_class                                       = assault_rifle
zoom_cam_relax_speed         					   = 7     ; scope & ironsight
zoom_cam_relax_speed_ai      					   = 360
zoom_cam_dispersion          					   = 0.55
zoom_cam_dispersion_inc      					   = 0.35
zoom_cam_dispersion_frac     					   = 0.85
zoom_cam_max_angle           					   = 50.0
zoom_cam_max_angle_horz      					   = 50.0
zoom_cam_step_angle_horz     					   = 1.7
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

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

reload_time 									   = 2.1
reload_empty_time 								   = 3.0

use_device_anims 								   = true

[wpn_sa58_hud]:hud_base
aim_hud_offset_pos							       = -0.013100,0.009300,-0.002500
aim_hud_offset_pos_16x9							   = -0.013100,0.009300,-0.002500
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0
anm_show										   = sa58_draw, idle
anm_show_empty									   = sa58_draw, idle_empty
anm_hide                						   = sa58_holster, idle
anm_hide_empty                					   = sa58_holster, idle_empty
anm_idle                						   = sa58_idle, idle
anm_idle_empty               					   = sa58_idle, idle_empty
anm_idle_aim            						   = sa58_idle_aim, idle
anm_idle_aim_empty            					   = sa58_idle_aim, idle_empty
anm_idle_moving         						   = sa58_moving, idle
anm_idle_moving_empty        					   = sa58_moving, idle_empty
anm_idle_moving_slow    						   = sa58_moving_slow, idle
anm_idle_moving_slow_empty    					   = sa58_moving_slow, idle_empty
anm_idle_moving_crouch							   = sa58_crouch, idle
anm_idle_moving_crouch_empty					   = sa58_crouch, idle_empty
anm_idle_aim_moving							  	   = sa58_moving_aim, idle
anm_idle_aim_moving_empty						   = sa58_moving_aim, idle_empty
anm_shots_when_aim              				   = sa58_shoot_aim, shoot
anm_shots_when_aim_last               			   = sa58_shoot_aim, idle_empty
anm_shots               						   = sa58_shoot, shoot
anm_shots_last               					   = sa58_shoot, idle_empty
anm_reload              						   = sa58_reload, reload
anm_reload_empty             					   = sa58_reload_empty, reload_empty
anm_reload_misfire								   = sa58_misfire, misfire
anm_firemode                					   = sa58_firemode, idle
anm_firemode_empty                				   = sa58_firemode, idle_empty
anm_bore                						   = sa58_idle_aim, idle
anm_bore_empty                					   = sa58_idle_aim, idle_empty

anm_sprint_start         						   = sa58_sprint_start
anm_sprint_idle         						   = sa58_sprint
anm_sprint_end         						   	   = sa58_sprint_end

anm_sprint_start_empty         					   = sa58_sprint_start, idle_empty
anm_sprint_idle_empty         					   = sa58_sprint, idle_empty
anm_sprint_end_empty         					   = sa58_sprint_end, idle_empty

anm_switch_device                                  = sa58_flash
anm_gasmask                                        = sa58_clear

anm_switch_device_empty                            = sa58_flash, idle_empty
anm_gasmask_empty                                  = sa58_clear, idle_empty

attach_place_idx                                   = 0
fire_bone                                          = wpn_body
fire_bone2                                         = wpn_body
fire_point                                         = 0,0.039000,0.552996
fire_point2                                        = 0,0,0
gl_hud_offset_pos                                  = 0,0,0
gl_hud_offset_pos_16x9                             = 0,0,0
gl_hud_offset_rot                                  = 0,0,0
gl_hud_offset_rot_16x9                             = 0,0,0
hands_orientation                                  = 0,0,0
hands_orientation_16x9                             = 0,0,0
hands_position				           = -0.055925,0.068525,-0.291553
hands_position_16x9				       = -0.055925,0.068525,-0.291553
item_position 									   = 0,0,0
item_orientation 								   = 0,0,0
item_visual                                        = dynamics\weapons\wpn_sa58\wpn_sa58_hud.ogf
lean_hud_offset_pos                                = 0,0,0
lean_hud_offset_rot                                = 0,0,0
shell_bone                                         = wpn_body
shell_dir                                          = 0,0,0
shell_point                                        = 0,0.04,0
zoom_hide_crosshair                                = true

anim_aim_start 									   = aim_start_sig550, 1.07, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_sig550, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_sig550, 1.12, 1, 0.14, 0.15

[wpn_sa58_ac10632]:wpn_sa58
$spawn                                             = "weapons\wpn_sa58_ac10632"
scope_x                                      = 88
scope_y                                      = 0
hud                                                = wpn_sa58_ac10632_hud
visual                                             = dynamics\weapons\wpn_sa58\wpn_sa58_ac10632.ogf

[wpn_sa58_ac10632_hud]:wpn_sa58_hud
item_visual                                        = dynamics\weapons\wpn_sa58\wpn_sa58_ac10632_hud.ogf
aim_hud_offset_pos							       = -0.012500,-0.016900,0.000000
aim_hud_offset_pos_16x9							   = -0.012500,-0.016900,0.000000
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

[wpn_sa58_acog]:wpn_sa58
$spawn                                             = "weapons\wpn_sa58_acog"
scope_x                                      = 69
scope_y                                      = -2
hud                                                = wpn_sa58_acog_hud
visual                                             = dynamics\weapons\wpn_sa58\wpn_sa58_acog.ogf

max_radius                                         = 200
min_radius                                         = 5

[wpn_sa58_acog_hud]:wpn_sa58_hud
item_visual                                        = dynamics\weapons\wpn_sa58\wpn_sa58_acog_hud.ogf
anm_shots_when_aim               				   = sa58_shoot_scope, shoot
anm_shots_when_aim_last               			   = sa58_shoot_scope, idle_empty
aim_hud_offset_pos							       = 0.000000,0.000400,-0.029000
aim_hud_offset_pos_16x9							   = 0.000000,0.000400,-0.029000
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

anim_aim_start 									   = aim_start_sig550_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_sig550_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_sig550_scope, 1, 1, 0.14, 0.15

[wpn_sa58_eot]:wpn_sa58
$spawn                                             = "weapons\wpn_sa58_eot"
scope_x                                      = 88
scope_y                                      = -1
hud                                                = wpn_sa58_eot_hud
visual                                             = dynamics\weapons\wpn_sa58\wpn_sa58_eot.ogf

[wpn_sa58_eot_hud]:wpn_sa58_hud
item_visual                                        = dynamics\weapons\wpn_sa58\wpn_sa58_eot_hud.ogf
aim_hud_offset_pos							       = -0.012600,-0.018700,-0.011300
aim_hud_offset_pos_16x9							   = -0.012600,-0.018700,-0.011300
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

[wpn_sa58_microt1]:wpn_sa58
$spawn                                             = "weapons\wpn_sa58_microt1"
scope_x                                      = 88
scope_y                                      = -1
hud                                                = wpn_sa58_microt1_hud
visual                                             = dynamics\weapons\wpn_sa58\wpn_sa58_micro-t1.ogf

[wpn_sa58_microt1_hud]:wpn_sa58_hud
item_visual                                        = dynamics\weapons\wpn_sa58\wpn_sa58_micro-t1_hud.ogf
aim_hud_offset_pos							       = -0.012900,-0.021200,0.000000
aim_hud_offset_pos_16x9							   = -0.012900,-0.021200,0.000000
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

[wpn_sa58_specter]:wpn_sa58
$spawn											   = "weapons\wpn_sa58_specter"
visual											   = dynamics\weapons\wpn_sa58\wpn_sa58_specter.ogf
hud												   = wpn_sa58_specter_hud
scope_x                                      = 69
scope_y                                      = -3
second_scope_zoom_factor                		= 100
second_aim_enabled                        = true
second_aim_transition_time                = 6.5

max_radius                                         = 200
min_radius                                         = 5

[wpn_sa58_specter_hud]:wpn_sa58_hud
item_visual										   = dynamics\weapons\wpn_sa58\wpn_sa58_specter_hud.ogf
anm_shots_when_aim               				   = sa58_shoot_scope, shoot
anm_shots_when_aim_last               			   = sa58_shoot_scope, idle_empty
aim_hud_offset_pos							       = 0.000100,-0.001200,-0.011300
aim_hud_offset_pos_16x9							   = 0.000100,-0.001200,-0.011300
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

second_aim_hud_offset_pos                 = 0.000100,-0.024500,0.019100
second_aim_hud_offset_pos_16x9            = 0.000100,-0.024500,0.019100
second_aim_hud_offset_rot                 = 0,0,0
second_aim_hud_offset_rot_16x9            = 0,0,0

anim_aim_start 									   = aim_start_sig550_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_sig550_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_sig550_scope, 1, 1, 0.14, 0.15