[wpn_m249]:weapon_probability,default_weapon_params,wpn_m249_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\m249"
ammo_class                                         = ammo_5.56x45_ss190, ammo_5.56x45_ap
ammo_current                                       = 600
ammo_elapsed                                       = 200
ammo_limit                                         = 700
ammo_mag_size                                      = 200
ammo_mag_size_ui                                   = 200
use_31_cartridge								   = false
change_misfire_mag								   = false
animation_slot                                     = 2
bullet_speed                                       = 915
block_bore										   = true
cam_return										   = 0
cam_relax_speed         						   = 5	;скорость возврата в исходное положение
cam_relax_speed_ai      						   = 360
cam_dispersion          						   = 0.55	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc      						   = 0.35	;увеличениe cam_dispersion с каждым выстрелом
cam_dispersion_frac     						   = 0.8	;ствол будет подыматься на 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     						   = 1.5	;(degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_LR300
condition_queue_shot_dec                           = 0.00085
condition_shot_dec                                 = 0.00085
control_inertion_factor                            = 1.75f
cost                                               = 80000
crosshair_inertion                                 = 7.70
description                                        = st_wpn_m249_descr
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 10
fire_dispersion_base                               = 0.23
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 650
fire_modes                                         = -1
fire_point                                         = 0.0, 0.158, 0.845
fire_point2                                        = 0.0, 0.097, 0.722
flame_particles                                    = weapons\new_effects\a1_type_ar15
grenade_class                                      = ammo_m209
grenade_flame_particles                            = weapons\generic_shoot_00
grenade_launcher_status                            = 0
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.0
holder_range_modifier                              = 1.0
hud                                                = wpn_m249_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 6
inv_grid_x                                         = 25
inv_grid_y                                         = 11
inv_name                                           = st_wpn_m249
inv_name_short                                     = st_wpn_m249
inv_weight                                         = 7.5
kill_msg_height                                    = 24
kill_msg_width                                     = 87
kill_msg_x                                         = 80
kill_msg_y                                         = 59
launch_speed                                       = 0
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.05
misfire_end_prob                                   = 0.021
misfire_probability                                = 0.0025
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.0015
orientation                                        = 0, -2, 0
PDM_disp_base           						   = 2.7
PDM_disp_vel_factor     						   = 2.7
PDM_disp_accel_factor   						   = 2.7
PDM_disp_crouch         						   = 0.9
PDM_disp_crouch_no_acc  						   = 0.9
ph_mass                                            = 8
position                                           = -0.027, -0.097, 0.042
reload_dof                                         = 0.0, 0.5, 5, 8.7
reload_empty_dof                                   = 0.0, 0.5, 5, 10.9
rpm                                                = 800
rpm_empty_click                                    = 200
scheduled                                          = off
scope_status                                       = 2
scope_zoom_factor                                  = 100
scopes 											   = ac10632, acog, eot, microt1, specter
parent_section  								   = wpn_m249
shell_dir                                          = 0.0, 0.0, 0.4
shell_particles                                    = weapons\shells\generic_shells_r_762_39
shell_point                                        = -0.020000,0.167000,0.082000
silencer_bullet_speed                              = 925
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
silencer_smoke_particles                           = weapons\generic_shoot_00
silencer_status                                    = 2
silencer_x                                         = 272
silencer_y                                         = 14
single_handed                                      = 0
slot                                               = 2
smoke_particles                                    = weapons\generic_shoot_00
sprint_allowed                                     = true
startup_ammo                                       = 100
strap_bone0                                        = bip01_spine2
strap_bone1                                        = bip01_spine1
strap_orientation                                  = -15,-9,110
strap_position                                     = -0.26,-0.11,0.25
time_to_aim                                        = 5.0
upgr_icon_height                                   = 150
upgr_icon_width                                    = 350
upgr_icon_x                                        = 1450
upgr_icon_y                                        = 550
upgrade_scheme                                     = upgrade_scheme_lr300
upgrades                                           = up_gr_firstab_lr300, up_gr_seconab_lr300, up_gr_thirdab_lr300, up_gr_fourtab_lr300, up_gr_fifthab_lr300
use_aim_bullet                                     = false
visual                                             = dynamics\weapons\wpn_m249\wpn_m249.ogf
weapon_class                                       = heavy_weapon
zoom_cam_relax_speed        					   = 5    ; scope & ironsight
zoom_cam_relax_speed_ai     					   = 360
zoom_cam_dispersion         					   = 0.4
zoom_cam_dispersion_inc     					   = 0.25
zoom_cam_dispersion_frac    					   = 0.6
zoom_cam_max_angle          					   = 50.0
zoom_cam_max_angle_horz     					   = 50.0
zoom_cam_step_angle_horz    					   = 1.2
zoom_dof                                           = 0.5, 1.0, 180
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.25

bullet_scheme_disable_reload 					   = false
bullet_bone_name 								   = ammo
bullets_count 									   = 13
reload_time 									   = 4.1
reload_empty_time 								   = 4.1

shell_section_0                                    = shell_5.56x45m249
shell_section_1                                    = shell_5.56x45m249
sprint_start_time 								   = 0.15

use_device_anims = true

[wpn_m249_hud]:hud_base
aim_hud_offset_rot				    			   = -0.003100,0.001200,0.000000
aim_hud_offset_rot_16x9							   = -0.003100,0.001200,0.000000
aim_hud_offset_pos				    			   = -0.003300,0.027600,-0.005500
aim_hud_offset_pos_16x9							   = -0.003300,0.027600,-0.005500
anm_hide                                           = m249_holster, holster
anm_idle                                           = m249_idle
anm_idle_aim                                       = m249_idle_aim
anm_idle_moving_slow                               = m249_moving_slow, moving_slow
anm_idle_moving                                    = m249_moving, moving
anm_idle_moving_crouch                             = m249_crouch
anm_reload                                         = m249_reload, reload
anm_reload_empty                                   = m249_reload_empty, reload_empty
anm_reload_misfire								   = m249_misfire, misfire
anm_shots                                          = m249_shoot
anm_shots_when_aim                                 = m249_shoot_aim
anm_idle_aim_moving                                = m249_moving_aim
anm_show                                           = m249_draw, draw
anm_bore                                           = m249_idle_aim

anm_sprint_start         						   = m249_sprint_start, sprint_start
anm_sprint_idle         						   = m249_sprint, sprint
anm_sprint_end         						   	   = m249_sprint_end, sprint_end

anm_switch_device                                  = m249_flash, flash
anm_gasmask                                        = m249_clear, clear

attach_place_idx                                   = 0
fire_bone                                          = muzzle
fire_bone2                                         = wpn_body
fire_point                                         = 0,0,0
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_position									   = -0.030499,0.005900,-0.149000
hands_position_16x9								   = -0.030499,0.005900,-0.149000
hands_orientation								   = 0.000000,0.000000,0.000000
hands_orientation_16x9							   = 0.000000,0.000000,0.000000
item_orientation                                   = 0,0,0
item_position                                      = 0,0,0
item_visual                                        = dynamics\weapons\wpn_m249\wpn_m249_hud
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.05,-0.1,-0.1
zoom_hide_crosshair                                = true

anim_aim_start 									   = aim_start_m249, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_m249, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_m249, 1, 1, 0.14, 0.15

[wpn_m249_ac10632]:wpn_m249
$spawn                                             = "weapons\wpn_m249_ac10632"
hud													= wpn_m249_ac10632_hud
scope_x                                      = 93
scope_y                                      = -9
visual												= dynamics\weapons\wpn_m249\wpn_m249_ac10632.ogf

[wpn_m249_ac10632_hud]:wpn_m249_hud
item_visual            	 							= dynamics\weapons\wpn_m249\wpn_m249_ac10632_hud.ogf

aim_hud_offset_pos_16x9				= -0.003500,-0.001100,-0.005500
aim_hud_offset_pos					= -0.003500,-0.001100,-0.005500

[wpn_m249_eot]:wpn_m249
$spawn                                             = "weapons\wpn_m249_eot"
hud													= wpn_m249_eot_hud
scope_x                                      = 93
scope_y                                      = -9
visual												= dynamics\weapons\wpn_m249\wpn_m249_eot.ogf

[wpn_m249_eot_hud]:wpn_m249_hud
item_visual            	 							= dynamics\weapons\wpn_m249\wpn_m249_eot_hud.ogf

aim_hud_offset_pos_16x9				= -0.003800,-0.002800,-0.005500
aim_hud_offset_pos					= -0.003800,-0.002800,-0.005500

[wpn_m249_microt1]:wpn_m249
$spawn                                             = "weapons\wpn_m249_microt1"
hud													= wpn_m249_microt1_hud
scope_x                                      = 93
scope_y                                      = -11
visual												= dynamics\weapons\wpn_m249\wpn_m249_micro-t1.ogf

[wpn_m249_microt1_hud]:wpn_m249_hud
item_visual            	 							= dynamics\weapons\wpn_m249\wpn_m249_micro-t1_hud.ogf

aim_hud_offset_pos_16x9				= -0.003400,-0.004300,-0.005500
aim_hud_offset_pos					= -0.003400,-0.004300,-0.005500

[wpn_m249_acog]:wpn_m249
$spawn                                             = "weapons\wpn_m249_acog"
hud													= wpn_m249_acog_hud
scope_x                                      = 87
scope_y                                      = -11
visual												= dynamics\weapons\wpn_m249\wpn_m249_acog.ogf

max_radius                                         = 200
min_radius                                         = 5

[wpn_m249_acog_hud]:wpn_m249_hud
item_visual            	 							= dynamics\weapons\wpn_m249\wpn_m249_acog_hud.ogf

anm_shots_when_aim                                 = m249_shoot_scope, shoot
anm_reload                                         = m249_reload_acog, reload
anm_reload_empty                                   = m249_reload_empty_acog, reload_empty

aim_hud_offset_pos_16x9				= -0.003400,-0.001400,-0.065999
aim_hud_offset_pos					= -0.003400,-0.001400,-0.065999
aim_hud_offset_rot					= 0,0,0
aim_hud_offset_rot_16x9				= 0,0,0

[wpn_m249_specter]:wpn_m249
$spawn					= "weapons\wpn_m249_specter"
visual					= dynamics\weapons\wpn_m249\wpn_m249_specter.ogf
second_scope_zoom_factor                		= 100
second_aim_enabled                        = true
second_aim_transition_time                = 6.5
hud					= wpn_m249_specter_hud
scope_x                                      = 89
scope_y                                      = -11

max_radius                                         = 200
min_radius                                         = 5

[wpn_m249_specter_hud]:wpn_m249_hud
item_visual				= dynamics\weapons\wpn_m249\wpn_m249_specter_hud.ogf

anm_shots_when_aim                                 = m249_shoot_scope, shoot
anm_reload                                         = m249_reload_elcan, reload
anm_reload_empty                                   = m249_reload_empty_elcan, reload_empty

aim_hud_offset_pos_16x9				= -0.003000,-0.004700,-0.035500
aim_hud_offset_pos					= -0.003000,-0.004700,-0.035500
aim_hud_offset_rot					= 0,0,0
aim_hud_offset_rot_16x9				= 0,0,0

second_aim_hud_offset_pos                 = -0.003000,-0.030000,-0.035500
second_aim_hud_offset_pos_16x9            = -0.003000,-0.030000,-0.035500
second_aim_hud_offset_rot                 = 0,0,0
second_aim_hud_offset_rot_16x9            = 0,0,0
