[wpn_lr300]:weapon_probability,default_weapon_params,wpn_m4_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\lr-300"
ammo_class                                         = ammo_5.56x45_ss190, ammo_5.56x45_ap
ammo_current                                       = 180
ammo_elapsed                                       = 30
ammo_limit                                         = 210
ammo_mag_size                                      = 30
ammo_mag_size_ui                                   = 30
animation_slot                                     = 2
bullet_speed                                       = 910
block_bore										   = true
cam_return										   = 0
cam_relax_speed         						   = 5	;скорость возврата в исходное положение
cam_relax_speed_ai      						   = 360
cam_dispersion          						   = 0.6	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc      						   = 0.4	;увеличени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     						   = 1.6	;(degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_AK74
condition_queue_shot_dec                           = 0.0013
condition_shot_dec                                 = 0.0013
control_inertion_factor                            = 1.2f
cost                                               = 25000
crosshair_inertion                                 = 5.25
description                                        = st_wpn_lr300_descr
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 8
fire_dispersion_base                               = 0.15
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 700
fire_modes                                         = 1, -1
fire_point                                         = 0.0, 0.199, 0.575
fire_point2                                        = 0.0, 0.199, 0.575
flame_particles                                    = weapons\new_effects\a1_type_ar15
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                                 = 125
grenade_launcher_y                                 = 28
grenade_vel                                        = 76
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.00
holder_range_modifier                              = 1.00
hud                                                = wpn_lr300_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 41
inv_grid_y                                         = 4
inv_name                                           = st_wpn_lr300
inv_name_short                                     = st_wpn_lr300
inv_weight                                         = 2.9
kill_msg_height                                    = 28
kill_msg_width                                     = 82
kill_msg_x                                         = 175
kill_msg_y                                         = 0
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.1
max_radius                                         = 150
min_radius                                         = 0
misfire_end_condition                              = 0.1
misfire_end_prob                                   = 0.072
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.006
orientation                                        = 0.0, 0.0, 0.0
PDM_disp_base 									   = 1.0
PDM_disp_vel_factor 							   = 2.0
PDM_disp_accel_factor 							   = 2.0
PDM_disp_crouch	 								   = 1.0
PDM_disp_crouch_no_acc 							   = 1.0
ph_mass                                            = 3
position                                           = -0.026, -0.130, 0.0
reload_dof                                         = 0.0, 0.5, 5, 2.55
reload_empty_dof                                   = 0.0, 0.5, 5, 3.9
reload_gl_dof                                      = 0.0, 0.5, 5, 2.9
rpm                                                = 800
rpm_empty_click                                    = 200
scheduled                                          = off
scope_status                                       = 2
scope_zoom_factor                                  = 100
ironsight_zoom_factor							   = 100
scopes 											   = ac10632, acog, eot, microt1, specter
parent_section  								   = wpn_lr300
shell_dir                                          = 0.0, 0.0, 0.4
shell_particles                                    = weapons\shells\generic_shells_r_762_39
shell_point                                        = 0.120000,0.000000,0.070000
silencer_bullet_speed                              = 920
silencer_fire_distance                             = 705
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                                         = 208
silencer_y                                         = 14
single_handed                                      = 0
slot                                               = 2
smoke_particles                                    = weapons\generic_shoot_00
startup_ammo                                       = 90
strap_bone0                                        = bip01_spine2
strap_bone1                                        = bip01_spine1
strap_orientation                                  = -10,-5,10
strap_position                                     = -0.15,-0.37,0.2
time_to_aim                                        = 2.0
upgr_icon_height                                   = 150
upgr_icon_width                                    = 300
upgr_icon_x                                        = 1150
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_lr300\wpn_lr300.ogf
weapon_class                                       = assault_rifle
zoom_cam_relax_speed        					   = 5    ; scope & ironsight
zoom_cam_relax_speed_ai     					   = 360
zoom_cam_dispersion         					   = 0.5
zoom_cam_dispersion_inc     					   = 0.3
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.25
zoom_dof                                           = 0.5, 1.0, 180
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_5.56x45
shell_section_1                                    = shell_5.56x45

reload_time 									   = 2.1
reload_empty_time 								   = 3.0
reload_g_time 									   = 2.1

use_device_anims 								   = true

[wpn_lr300_hud]:hud_base
aim_hud_offset_pos_16x9				= 0,0,0
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos				= 0,0,0
aim_hud_offset_rot				= 0,0,0
anm_show				= m4_draw, idle
anm_hide                		= m4_hide, idle
anm_idle                		= m4_idle, idle
anm_idle_aim            		= m4_idle_aim, idle
anm_idle_aim_moving                     = m4_aim_walk, idle
anm_idle_sprint         		= m4_sprint, idle
anm_idle_moving         		= m4_walk, idle
anm_idle_moving_slow    		= m4_walk_slow, idle
anm_idle_moving_crouch			= m4_walk_down, idle
anm_shots_when_aim               	= m4_aim_shoot, shoot
anm_shots               		= m4_shoot, shoot
anm_reload              		= m4_reload, reload
anm_reload_empty             		= m4_reload_empty, reload_empty
anm_reload_misfire			= m4_revival, revival
anm_bore                		= m4_idle_aim, idle
anm_firemode                	        = m4_firemode, idle

anm_sprint_start         						   = m4_sprint_start
anm_sprint_idle         						   = m4_sprint
anm_sprint_end         						   	   = m4_sprint_end

anm_show_empty				= m4_draw, idle_empty
anm_bore_empty                          = m4_idle_aim, idle_empty
anm_hide_empty                          = m4_hide, idle_empty
anm_idle_empty                          = m4_idle, idle_empty
anm_idle_aim_empty                      = m4_idle_aim, idle_empty
anm_idle_aim_moving_empty               = m4_aim_walk, idle_empty
anm_idle_moving_empty 		        = m4_walk, idle_empty
anm_idle_moving_slow_empty              = m4_walk_slow, idle_empty
anm_idle_moving_crouch_empty            = m4_walk_down, idle_empty
anm_idle_sprint_empty                   = m4_sprint, idle_empty
anm_shots_when_aim_last                 = m4_aim_shoot, idle_empty
anm_shots_last                          = m4_shoot, idle_empty
anm_firemode_empty                      = m4_firemode, idle_empty
        
anm_sprint_start_empty         					   = m4_sprint_start, idle_empty
anm_sprint_idle_empty         					   = m4_sprint, idle_empty
anm_sprint_end_empty         					   = m4_sprint_end, idle_empty		
		
anm_hide_w_gl           		= m4_gloff_hide, idle
anm_show_w_gl           		= m4_gloff_draw, idle
anm_idle_w_gl           		= m4_gloff_idle, idle
anm_shots_w_gl          		= m4_gloff_shoot, shoot
anm_shots_w_gl_when_aim			= m4_gloff_aim_shoot, shoot
anm_reload_w_gl         		= m4_gloff_reload, reload
anm_reload_empty_w_gl         		= m4_gloff_reload_empty, reload_empty
anm_reload_w_gl_misfire			= m4_gloff_revival, revival
anm_idle_w_gl_aim       		= m4_gloff_idle_aim, idle
anm_idle_sprint_w_gl    		= m4_gloff_sprint, idle
anm_idle_moving_w_gl    		= m4_gloff_walk, idle
anm_idle_moving_slow_w_gl    		= m4_gloff_walk_slow, idle
anm_idle_moving_crouch_w_gl    		= m4_gloff_walk_down, idle
anm_bore_w_gl           		= m4_gloff_idle_aim, idle
anm_firemode_w_gl                       = m4_gloff_firemode, idle
anm_idle_w_gl_aim_moving                = m4_gloff_aim_walk, idle

anm_show_w_gl_empty			= m4_gloff_draw, idle_empty
anm_bore_w_gl_empty                     = m4_gloff_idle_aim, idle_empty
anm_hide_w_gl_empty                     = m4_gloff_hide, idle_empty
anm_idle_w_gl_empty                     = m4_gloff_idle, idle_empty
anm_idle_w_gl_aim_empty                 = m4_gloff_idle_aim, idle_empty
anm_idle_w_gl_aim_moving_empty          = m4_gloff_aim_walk, idle_empty
anm_idle_moving_w_gl_empty 	        = m4_gloff_walk, idle_empty
anm_idle_moving_slow_w_gl_empty         = m4_gloff_walk_slow, idle_empty
anm_idle_moving_crouch_w_gl_empty       = m4_gloff_walk_down, idle_empty
anm_shots_when_aim_w_gl_last            = m4_gloff_aim_shoot, idle_empty
anm_shots_w_gl_last                     = m4_gloff_shoot, idle_empty
anm_firemode_w_gl_empty                 = m4_gloff_firemode, idle_empty

anm_sprint_start_w_gl         						   = m4_sprint_w_gl_start, idle
anm_sprint_idle_w_gl         						   	= m4_sprint_w_gl, idle
anm_sprint_end_w_gl         						   = m4_sprint_w_gl_end, idle

anm_sprint_start_w_gl_empty         						   = m4_sprint_w_gl_start, idle_empty
anm_sprint_idle_w_gl_empty         						   	= m4_sprint_w_gl, idle_empty
anm_sprint_end_w_gl_empty         						   = m4_sprint_w_gl_end, idle_empty


anm_idle_g_aim_moving                   = m4_glon_walk_aim, idle_glon
anm_switch              		= m4_gl_off, gl_deactivate          
anm_switch_g            		= m4_gl_on, gl_activate  
anm_show_g              		= m4_glon_draw, idle_glon				
anm_hide_g              		= m4_glon_hide, idle_glon			
anm_idle_g              		= m4_glon_idle, idle_glon				
anm_reload_g            		= m4_gl_reload, reload_gl
anm_idle_g_aim          		= m4_glon_idle_aim, idle_glon		
anm_shots_g             		= m4_glon_shoot, idle_glon
anm_idle_moving_g       		= m4_glon_walk, idle_glon
anm_idle_moving_slow_g   		= m4_glon_walk_slow, idle_glon
anm_idle_moving_crouch_g		= m4_glon_walk_down, idle_glon	
anm_bore_g              		= m4_glon_idle_aim, idle_glon

anm_idle_g_aim_moving_empty             = m4_glon_walk_aim, idle_glon_empty
anm_switch_empty              		= m4_gl_off, gl_deactivate_empty          
anm_switch_g_empty            		= m4_gl_on, gl_activate_empty  
anm_show_g_empty              		= m4_glon_draw, idle_glon_empty				
anm_hide_g_empty              		= m4_glon_hide, idle_glon_empty			
anm_idle_g_empty              		= m4_glon_idle, idle_glon_empty				
anm_reload_g_empty            		= m4_gl_reload, reload_gl_empty
anm_idle_g_aim_empty          		= m4_glon_idle_aim, idle_glon_empty		
anm_shots_g_empty             		= m4_glon_shoot, idle_glon_empty
anm_idle_moving_g_empty       		= m4_glon_walk, idle_glon_empty
anm_idle_moving_slow_g_empty   		= m4_glon_walk_slow, idle_glon_empty
anm_idle_moving_crouch_g_empty		= m4_glon_walk_down, idle_glon_empty	
anm_bore_g_empty              		= m4_glon_idle_aim, idle_glon_empty

anm_sprint_start_g         						   = m4_sprint_g_start, idle_glon
anm_sprint_idle_g         						   	= m4_sprint_g, idle_glon
anm_sprint_end_g         						   = m4_sprint_g_end, idle_glon

anm_sprint_start_g_empty         						   = m4_sprint_g_start, idle_glon_empty
anm_sprint_idle_g_empty         						   	= m4_sprint_g, idle_glon_empty
anm_sprint_end_g_empty         						   = m4_sprint_g_end, idle_glon_empty

anm_switch_device                                = m4_flash
anm_gasmask                                      = m4_clear

anm_switch_device_w_gl                           = m4_flash_w_gl
anm_gasmask_w_gl                                 = m4_clear_w_gl

anm_switch_device_g                              = m4_flash_g, idle_glon
anm_gasmask_g                                    = m4_clear_g, idle_glon

anm_switch_device_empty                          = m4_flash, idle_empty
anm_gasmask_empty                                = m4_clear, idle_empty

anm_switch_device_w_gl_empty                     = m4_flash_w_gl, idle_empty
anm_gasmask_w_gl_empty                           = m4_clear_w_gl, idle_empty

anm_switch_device_g_empty                        = m4_flash_g, idle_glon_empty	
anm_gasmask_g_empty                              = m4_clear_g, idle_glon_empty	

anim_aim_start 									   = aim_start_m4, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_m4, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_m4, 1, 1, 0.14, 0.15

anim_aim_start_g 									   = aim_start_m4, 1, 1, 0.14, 0.15
anim_aim_idle_g  									   = aim_idle_m4, 1, 1, 0.2, 0.2
anim_aim_end_g   									   = aim_end_m4, 1, 1, 0.14, 0.15

attach_place_idx                                = 0
fire_bone                                          = wpn_body
fire_bone2                                         = wpn_launcher_barrel
fire_point                                         = 0,0.05,0.4
fire_point2                                        = 0,0,0
gl_hud_offset_pos_16x9				= -0.006000,-0.034000,0
gl_hud_offset_rot_16x9				= -0.044000,0.008500,0.086500
gl_hud_offset_pos				= -0.006000,-0.034000,0
gl_hud_offset_rot				= -0.044000,0.008500,0.086500
hands_position	 								   = -0.009900,0.008600,-0.077800
hands_position_16x9								   = -0.009900,0.008600,-0.077800
hands_orientation								   = 0,0,0
hands_orientation_16x9							           = 0,0,0
item_orientation                                   = 0,0,0
item_position                                      = 0,0,0
item_visual                                        = dynamics\weapons\wpn_lr300\wpn_lr300_hud.ogf
lean_hud_offset_pos                                = 0,0,0
lean_hud_offset_rot                                = 0,0,0
shell_bone                                         = flap
shell_dir                                          = 0.0, 1.0, 0.0
shell_point                                        = 0,0.01,0
zoom_hide_crosshair                                = true

[wpn_lr300_ac10632]:wpn_lr300
$spawn                                             = "weapons\wpn_lr300_ac10632"
hud													= wpn_lr300_ac10632_hud
scope_x                                      = 84
scope_y                                      = -5
visual												= dynamics\weapons\wpn_lr300\wpn_lr300_ac10632.ogf

[wpn_lr300_ac10632_hud]:wpn_lr300_hud
item_visual            	 							= dynamics\weapons\wpn_lr300\wpn_lr300_ac10632_hud.ogf

aim_hud_offset_pos_16x9				= 0.000000,0.001700,0.000000
aim_hud_offset_rot_16x9				= 0.009500,0.000500,0.000000
aim_hud_offset_pos				= 0.000000,0.001700,0.000000
aim_hud_offset_rot				= 0.009500,0.000500,0.000000

[wpn_lr300_acog]:wpn_lr300
$spawn                                             = "weapons\wpn_lr300_acog"
hud													= wpn_lr300_acog_hud
scope_x                                      = 64
scope_y                                      = -6
visual												= dynamics\weapons\wpn_lr300\wpn_lr300_acog.ogf

max_radius                                         = 200
min_radius                                         = 5

[wpn_lr300_acog_hud]:wpn_lr300_hud
item_visual            	 							= dynamics\weapons\wpn_lr300\wpn_lr300_acog_hud.ogf

anm_shots_when_aim               	           = m4_aim_shoot_scope, shoot
anm_shots_when_aim_last               	           = m4_aim_shoot_scope, idle_empty
anm_shots_w_gl_when_aim				   = m4_gloff_aim_shoot_scope, shoot
anm_shots_when_aim_w_gl_last                       = m4_gloff_aim_shoot_scope, idle_empty

aim_hud_offset_pos_16x9				= -0.000300,-0.001300,-0.032500
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos				= -0.000300,-0.001300,-0.032500
aim_hud_offset_rot				= 0,0,0

[wpn_lr300_eot]:wpn_lr300
$spawn                                             = "weapons\wpn_lr300_eot"
hud													= wpn_lr300_eot_hud
scope_x                                      = 84
scope_y                                      = -5
visual												= dynamics\weapons\wpn_lr300\wpn_lr300_eot.ogf

[wpn_lr300_eot_hud]:wpn_lr300_hud
item_visual            	 							= dynamics\weapons\wpn_lr300\wpn_lr300_eot_hud.ogf

aim_hud_offset_pos_16x9				= 0.000000,-0.000000,0.000000
aim_hud_offset_rot_16x9				= 0.008500,0.000500,0.000000
aim_hud_offset_pos				= 0.000000,-0.000000,0.000000
aim_hud_offset_rot				= 0.008500,0.000500,0.000000

[wpn_lr300_microt1]:wpn_lr300
$spawn                                             = "weapons\wpn_lr300_microt1"
hud													= wpn_lr300_microt1_hud
scope_x                                      = 84
scope_y                                      = -5
visual												= dynamics\weapons\wpn_lr300\wpn_lr300_micro-t1.ogf

[wpn_lr300_microt1_hud]:wpn_lr300_hud
item_visual            	 							= dynamics\weapons\wpn_lr300\wpn_lr300_micro-t1_hud.ogf

aim_hud_offset_pos_16x9	                        = 0.000100,-0.003400,0.000000
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos				= 0.000100,-0.003400,0.000000
aim_hud_offset_rot				= 0,0,0

[wpn_lr300_specter]:wpn_lr300
$spawn					= "weapons\wpn_lr300_specter"
visual					= dynamics\weapons\wpn_lr300\wpn_lr300_specter.ogf
hud					= wpn_lr300_specter_hud
scope_x                                      = 64
scope_y                                      = -6
second_scope_zoom_factor                		= 100
second_aim_enabled                        = true
second_aim_transition_time                = 6.5

max_radius                                         = 200
min_radius                                         = 5

[wpn_lr300_specter_hud]:wpn_lr300_hud
item_visual				= dynamics\weapons\wpn_lr300\wpn_lr300_specter_hud.ogf

anm_shots_when_aim               	           = m4_aim_shoot_scope, shoot
anm_shots_when_aim_last               	           = m4_aim_shoot_scope, idle_empty
anm_shots_w_gl_when_aim				   = m4_gloff_aim_shoot_scope, shoot
anm_shots_when_aim_w_gl_last                       = m4_gloff_aim_shoot_scope, idle_empty

aim_hud_offset_pos_16x9				= 0.000100,-0.003500,-0.014000
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos				= 0.000100,-0.003500,-0.014000
aim_hud_offset_rot				= 0,0,0

second_aim_hud_offset_pos                 = -0.000100,-0.028000,-0.002900 
second_aim_hud_offset_pos_16x9            = -0.000100,-0.028000,-0.002900
second_aim_hud_offset_rot                 = -0.000500,0.000000,0.000000
second_aim_hud_offset_rot_16x9            = -0.000500,0.000000,0.000000

