[wpn_l85]:weapon_probability,default_weapon_params,wpn_l85_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\l85"
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                                       = 940
block_bore										   = true
cam_return										   = 0
cam_relax_speed         						   = 5      ;скорость возврата в исходное положение
cam_relax_speed_ai      						   = 360
cam_dispersion          						   = 0.75      ;увеличения угла (в градусах) с первым выстрелом
cam_dispersion_inc      						   = 0.45    ;увеличени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.7    ;(degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_AK74
condition_queue_shot_dec                           = 0.002
condition_shot_dec                                 = 0.0012
control_inertion_factor                            = 1.35f
cost                                               = 22500
crosshair_inertion                                 = 6.20
description                                        = st_wpn_l85_descr
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 7
fire_dispersion_base                               = 0.21
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 700
fire_modes                                         = 1, -1
fire_point                                         = 0.0,0.186,0.435
fire_point2                                        = 0.0, 0.106, 0.468
flame_particles                                    = weapons\new_effects\l85
grenade_class                                      = ammo_m209
grenade_flame_particles                            = weapons\generic_weapon01
grenade_launcher_name                              = wpn_addon_grenade_launcher_l123a2
grenade_launcher_status                            = 2
grenade_launcher_x                                 = 107
grenade_launcher_y                                 = 11
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_l85_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 31
inv_grid_y                                         = 14
inv_name                                           = st_wpn_l85
inv_name_short                                     = st_wpn_l85
inv_weight                                         = 3.82
kill_msg_height                                    = 30
kill_msg_width                                     = 73
kill_msg_x                                         = 84
kill_msg_y                                         = 28
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.077
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.006
orientation                                        = 0, 0, 0
PDM_disp_base 									   = 1.4
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                                            = 5
position                                           = -0.026, -0.135, 0.0
reload_dof                                         = 0.0, 0.5, 5, 2.4
reload_empty_dof                                   = 0.0, 0.5, 5, 3.8
reload_gl_dof                                      = 0.0, 0.5, 5, 3.3
rpm                                                = 610
rpm_empty_click                                    = 200
scheduled                                          = off
scope_status                                       = 2
scopes 											   = ac10632, acog, eot, microt1, specter, susat
parent_section  								   = wpn_l85
scope_texture                                      = wpn_crosshair_l85
scope_x                                            = 60
scope_y                                            = -2
scope_zoom_factor                                  = 100
ironsight_zoom_factor							   = 100
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                              = 945
silencer_fire_distance                             = 710
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                                         = 212
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                                  = -10,-5,10
strap_position                                     = -0.15,-0.36,0.25
time_to_aim                                        = 3.0
upgr_icon_height                                   = 150
upgr_icon_width                                    = 350
upgr_icon_x                                        = 800
upgr_icon_y                                        = 550
upgrade_scheme                                     = upgrade_scheme_l85
upgrades                                           = up_gr_firstab_l85, up_gr_seconab_l85, up_gr_thirdab_l85, up_gr_fourtab_l85, up_gr_fourtcd_l85, up_gr_fourtef_l85, up_gr_fifthab_l85, up_gr_fifthcd_l85
use_aim_bullet                                     = false
visual                                             = dynamics\weapons\wpn_l85\wpn_l85.ogf
weapon_class                                       = assault_rifle
zoom_cam_relax_speed         					   = 5     ; scope & ironsight
zoom_cam_relax_speed_ai      					   = 360
zoom_cam_dispersion          					   = 0.55
zoom_cam_dispersion_inc      					   = 0.45
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.4
zoom_dof                                           = 0.5, 1.0, 180
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

bone_to_gl_hide									   = handguard

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

block_sil_if_gl									   = true

shell_section_0                                    = shell_5.56x45_l85
shell_section_1                                    = shell_5.56x45_l85

reload_time 									   = 2.0
reload_empty_time 								   = 3.0
reload_g_time 									   = 2.4

use_device_anims 								   = true

[wpn_l85_hud]:hud_base
aim_hud_offset_pos								   = -0.004325,-0.011575,0.001925
aim_hud_offset_pos_16x9							   = -0.004325,-0.011575,0.001925
aim_hud_offset_rot								   = -0.006563,0.001027,0.000000
aim_hud_offset_rot_16x9							   = -0.006563,0.001027,0.000000
anm_hide                                           = l85_holster
anm_idle                                           = l85_idle
anm_idle_aim                                       = l85_idle_aim
anm_idle_moving_slow                               = l85_moving_slow
anm_idle_moving                                    = l85_moving
anm_idle_moving_crouch                             = l85_crouch
anm_reload                                         = l85_reload, reload
anm_reload_empty                                   = l85_reload_empty, reload_empty
anm_reload_misfire								   = l85_misfire, misfire
anm_shots                                          = l85_shoot, shoot
anm_shots_when_aim                                 = l85_shoot_aim, shoot
anm_idle_aim_moving                                = l85_moving_aim
anm_show                                           = l85_draw
anm_firemode                                       = l85_firemode
anm_bore                                           = l85_idle_aim

anm_idle_w_gl_aim_moving						   = l85_gl_moving_aim
anm_show_w_gl									   = l85_gl_draw
anm_hide_w_gl                					   = l85_gl_holster
anm_idle_w_gl                					   = l85_gl_idle
anm_idle_moving_slow_w_gl         				   = l85_gl_moving_slow
anm_idle_moving_w_gl         					   = l85_gl_moving
anm_shots_w_gl               					   = l85_gl_shoot, shoot
anm_shots_w_gl_when_aim              			   = l85_gl_shoot_aim, shoot
anm_reload_w_gl	        						   = l85_gl_reload, reload
anm_reload_empty_w_gl	        				   = l85_gl_reload_empty, reload_empty
anm_reload_w_gl_misfire						       = l85_gl_misfire, misfire
anm_idle_moving_crouch_w_gl  					   = l85_gl_crouch
anm_idle_w_gl_aim           					   = l85_gl_idle_aim
anm_bore_w_gl                					   = l85_gl_idle_aim
anm_firemode_w_gl                				   = l85_gl_firemode

anm_switch              						   = l85_g_off, g_off
anm_switch_g            						   = l85_g_on, g_on
anm_show_g              						   = l85_g_draw, g_idle
anm_hide_g              						   = l85_g_holster, g_idle
anm_idle_g              						   = l85_g_idle, g_idle
anm_reload_g            						   = l85_g_reload, g_reload
anm_idle_g_aim          						   = l85_g_idle_aim, g_idle
anm_shots_g             						   = l85_g_shoot, g_shoot
anm_idle_moving_g       						   = l85_g_moving, g_idle
anm_idle_moving_slow_g   						   = l85_g_moving_slow, g_idle
anm_idle_moving_crouch_g						   = l85_g_crouch, g_idle
anm_idle_g_aim_moving							   = l85_g_moving_aim, g_idle
anm_bore_g              						   = l85_g_idle_aim, g_idle

anm_sprint_start         						   = l85_sprint_start
anm_sprint_idle         						   = l85_sprint
anm_sprint_end         						   	   = l85_sprint_end

anm_sprint_start_w_gl         					   = l85_sprint_w_gl_start
anm_sprint_idle_w_gl         					   = l85_sprint_w_gl
anm_sprint_end_w_gl         					   = l85_sprint_w_gl_end

anm_sprint_start_g         						   = l85_sprint_g_start, g_idle
anm_sprint_idle_g         						   = l85_sprint_g, g_idle
anm_sprint_end_g         						   = l85_sprint_g_end, g_idle

anm_firemode_empty                				   = l85_firemode, idle_empty
anm_idle_aim_moving_empty           			   = l85_moving_aim, idle_empty
anm_show_empty									   = l85_draw, idle_empty
anm_hide_empty                					   = l85_holster, idle_empty
anm_idle_empty                					   = l85_idle, idle_empty
anm_idle_aim_empty            					   = l85_idle_aim, idle_empty
anm_idle_sprint_empty         					   = l85_sprint, idle_empty
anm_idle_moving_empty         					   = l85_moving, idle_empty
anm_idle_moving_slow_empty    					   = l85_moving_slow, idle_empty
anm_idle_moving_crouch_empty					   = l85_crouch, idle_empty
anm_shots_when_aim_last             			   = l85_shoot_aim, idle_empty
anm_shots_last               					   = l85_shoot, idle_empty
anm_bore_empty                					   = l85_idle_aim, idle_empty

anm_sprint_start_empty         					   = l85_sprint_start, idle_empty
anm_sprint_idle_empty         					   = l85_sprint, idle_empty
anm_sprint_end_empty         					   = l85_sprint_end, idle_empty

anm_idle_w_gl_aim_moving_empty						   = l85_gl_moving_aim, idle_empty
anm_show_w_gl_empty									   = l85_gl_draw, idle_empty
anm_hide_w_gl_empty                					   = l85_gl_holster, idle_empty
anm_idle_w_gl_empty                					   = l85_gl_idle, idle_empty
anm_idle_moving_slow_w_gl_empty         				   = l85_gl_moving_slow, idle_empty
anm_idle_moving_w_gl_empty         					   = l85_gl_moving, idle_empty
anm_idle_moving_crouch_w_gl_empty  					   = l85_gl_crouch, idle_empty
anm_idle_w_gl_aim_empty           					   = l85_gl_idle_aim, idle_empty
anm_bore_w_gl_empty                					   = l85_gl_idle_aim, idle_empty
anm_firemode_w_gl_empty                				   = l85_gl_firemode, idle_empty
anm_shots_w_gl_last               					   = l85_gl_shoot, idle_empty
anm_shots_w_gl_when_aim_last              			   = l85_gl_shoot_aim, idle_empty

anm_sprint_start_w_gl_empty         					   = l85_sprint_w_gl_start, idle_empty
anm_sprint_idle_w_gl_empty         					   = l85_sprint_w_gl, idle_empty
anm_sprint_end_w_gl_empty         					   = l85_sprint_w_gl_end, idle_empty

anm_switch_empty              						   = l85_g_off, g_off_empty
anm_switch_g_empty            						   = l85_g_on, g_on_empty
anm_show_g_empty              						   = l85_g_draw, g_idle_empty
anm_hide_g_empty              						   = l85_g_holster, g_idle_empty
anm_idle_g_empty              						   = l85_g_idle, g_idle_empty
anm_reload_g_empty            						   = l85_g_reload, g_reload_empty
anm_idle_g_aim_empty          						   = l85_g_idle_aim, g_idle_empty
anm_shots_g_empty             						   = l85_g_shoot, g_shoot_empty
anm_idle_moving_g_empty       						   = l85_g_moving, g_idle_empty
anm_idle_moving_slow_g_empty   						   = l85_g_moving_slow, g_idle_empty
anm_idle_moving_crouch_g_empty						   = l85_g_crouch, g_idle_empty
anm_idle_g_aim_moving_empty							   = l85_g_moving_aim, g_idle_empty
anm_bore_g_empty              						   = l85_g_idle_aim, g_idle_empty

anm_sprint_start_g_empty         						   = l85_sprint_g_start, g_idle_empty
anm_sprint_idle_g_empty         						   = l85_sprint_g, g_idle_empty
anm_sprint_end_g_empty         						   = l85_sprint_g_end, g_idle_empty

anm_switch_device                                = l85_flash
anm_gasmask                                      = l85_clear

anm_switch_device_w_gl                           = l85_flash_w_gl
anm_gasmask_w_gl                                 = l85_clear_w_gl

anm_switch_device_g                              = l85_flash_g, g_idle
anm_gasmask_g                                    = l85_clear_g, g_idle

anm_switch_device_empty                          = l85_flash, idle_empty
anm_gasmask_empty                                = l85_clear, idle_empty

anm_switch_device_w_gl_empty                     = l85_flash_w_gl, idle_empty
anm_gasmask_w_gl_empty                           = l85_clear_w_gl, idle_empty

anm_switch_device_g_empty                        = l85_flash_g, g_idle_empty
anm_gasmask_g_empty                              = l85_clear_g, g_idle_empty

attach_place_idx                                   = 0
fire_bone                                          = muzzle
fire_bone2                                         = wpn_launcher
fire_point                                         = 0,0,0
fire_point2                                        = 0,0,0.179
gl_hud_offset_pos                                  = -0.006200,0.009800,0.000000
gl_hud_offset_pos_16x9                             = -0.006200,0.009800,0.000000
gl_hud_offset_rot                                  = 0.000000,0.001000,0.000000
gl_hud_offset_rot_16x9                             = 0.000000,0.001000,0.000000
hands_position									   = 0.006175,-0.011000,-0.028000
hands_position_16x9 							   = 0.006175,-0.011000,-0.028000
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_l85\wpn_l85_hud.ogf
lean_hud_offset_pos                                = 0,0,0
lean_hud_offset_rot                                = 0,0,0
shell_bone                                         = shell
shell_dir                                          = 0.0, 1.0, 0.0
shell_point                                        = 0.0,0.0,-0.01
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_l85_g, 1, 1, 0.14, 0.15
anim_aim_idle_g								       = aim_idle_l85_g, 1, 1, 0.2, 0.2
anim_aim_end_g   								   = aim_end_l85_g, 1, 1, 0.14, 0.15

[wpn_l85_ac10632]:wpn_l85
$spawn                                             = "weapons\wpn_l85_ac10632"
hud												   = wpn_l85_ac10632_hud
scope_x                                      	   = 63
scope_y                                      	   = -7
visual											   = dynamics\weapons\wpn_l85\wpn_l85_ac10632.ogf

[wpn_l85_ac10632_hud]:wpn_l85_hud
item_visual            	 						   = dynamics\weapons\wpn_l85\wpn_l85_ac10632_hud.ogf

aim_hud_offset_pos_16x9							   = -0.004624,-0.002000,-0.043000
aim_hud_offset_pos								   = -0.004624,-0.002000,-0.043000

[wpn_l85_eot]:wpn_l85
$spawn                                             = "weapons\wpn_l85_eot"
hud												   = wpn_l85_eot_hud
scope_x                                     	   = 63
scope_y                                     	   = -7
visual											   = dynamics\weapons\wpn_l85\wpn_l85_eot.ogf

[wpn_l85_eot_hud]:wpn_l85_hud
item_visual            	 						   = dynamics\weapons\wpn_l85\wpn_l85_eot_hud.ogf

aim_hud_offset_pos_16x9							   = -0.004674,-0.004225,-0.005275
aim_hud_offset_pos								   = -0.004674,-0.004225,-0.005275

[wpn_l85_microt1]:wpn_l85
$spawn                                             = "weapons\wpn_l85_microt1"
hud												   = wpn_l85_microt1_hud
scope_x                                      	   = 63
scope_y                                      	   = -7
visual											   = dynamics\weapons\wpn_l85\wpn_l85_micro-t1.ogf

[wpn_l85_microt1_hud]:wpn_l85_hud
item_visual            	 						   = dynamics\weapons\wpn_l85\wpn_l85_micro-t1_hud.ogf

aim_hud_offset_pos_16x9							   = -0.004624,-0.006375,-0.032175
aim_hud_offset_pos								   = -0.004624,-0.006375,-0.032175

[wpn_l85_acog]:wpn_l85
$spawn                                             = "weapons\wpn_l85_acog"
hud												   = wpn_l85_acog_hud
scope_x                                      	   = 56
scope_y                                      	   = -7
visual											   = dynamics\weapons\wpn_l85\wpn_l85_acog.ogf

max_radius                                         = 200
min_radius                                         = 5

[wpn_l85_acog_hud]:wpn_l85_hud
item_visual            	 						   = dynamics\weapons\wpn_l85\wpn_l85_acog_hud.ogf

anm_shots_when_aim                                 = l85_shoot_scope, shoot
anm_shots_when_aim_last               			   = l85_shoot_scope, idle_empty
anm_shots_w_gl_when_aim              			   = l85_gl_shoot_scope, shoot
anm_shots_w_gl_when_aim_last              		   = l85_gl_shoot_scope, idle_empty

aim_hud_offset_pos_16x9							   = -0.011524,0.007125,-0.057376
aim_hud_offset_pos								   = -0.011524,0.007125,-0.057376
aim_hud_offset_rot								   = 0,0,0
aim_hud_offset_rot_16x9							   = 0,0,0

anm_reload_empty								   = l85_scope_reload_empty, reload_empty
anm_reload_empty_w_gl							   = l85_gl_scope_reload_empty, reload_empty
anm_reload_misfire								   = l85_misfire_scope, misfire
anm_reload_w_gl_misfire						       = l85_gl_misfire_scope, misfire

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_l85_specter]:wpn_l85
$spawn											   = "weapons\wpn_l85_specter"
visual											   = dynamics\weapons\wpn_l85\wpn_l85_specter.ogf
second_scope_zoom_factor                		   = 100
second_aim_enabled                        		   = true
second_aim_transition_time                		   = 6.5
hud											 	   = wpn_l85_specter_hud
scope_x                                      	   = 56
scope_y                                      	   = -7

max_radius                                         = 200
min_radius                                         = 5

[wpn_l85_specter_hud]:wpn_l85_hud
item_visual										   = dynamics\weapons\wpn_l85\wpn_l85_specter_hud.ogf

anm_shots_when_aim                                 = l85_shoot_scope, shoot
anm_shots_when_aim_last               			   = l85_shoot_scope, idle_empty
anm_shots_w_gl_when_aim              			   = l85_gl_shoot_scope, shoot
anm_shots_w_gl_when_aim_last              		   = l85_gl_shoot_scope, idle_empty

aim_hud_offset_pos_16x9							   = -0.011424,0.006225,-0.039576
aim_hud_offset_pos								   = -0.011424,0.006225,-0.039576
aim_hud_offset_rot								   = 0,0,0
aim_hud_offset_rot_16x9							   = 0,0,0

second_aim_hud_offset_pos                 		   = -0.011424,-0.019075,-0.039576 
second_aim_hud_offset_pos_16x9            		   = -0.011424,-0.019075,-0.039576 
second_aim_hud_offset_rot                 		   = 0,0,0
second_aim_hud_offset_rot_16x9            		   = 0,0,0

anm_reload_empty								   = l85_scope_reload_empty, reload_empty
anm_reload_empty_w_gl							   = l85_gl_scope_reload_empty, reload_empty
anm_reload_misfire								   = l85_misfire_scope, misfire
anm_reload_w_gl_misfire						       = l85_gl_misfire_scope, misfire

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_l85_susat]:wpn_l85
$spawn                                             = "weapons\wpn_l85_susat"
hud												   = wpn_l85_susat_hud
scope_x                                      	   = 63
scope_y                                     	   = -9
visual											   = dynamics\weapons\wpn_l85\wpn_l85_susat.ogf
second_scope_zoom_factor                		   = 100
second_aim_enabled                        	       = true
second_aim_transition_time                	       = 6.5

[wpn_l85_susat_hud]:wpn_l85_hud
item_visual            	 						   = dynamics\weapons\wpn_l85\wpn_l85_susat_hud.ogf

anm_shots_when_aim                                 = l85_shoot_scope, shoot
anm_shots_when_aim_last               			   = l85_shoot_scope, idle_empty
anm_shots_w_gl_when_aim              			   = l85_gl_shoot_scope, shoot
anm_shots_w_gl_when_aim_last              		   = l85_gl_shoot_scope, idle_empty

aim_hud_offset_pos_16x9							   = -0.011024,0.003525,-0.089276
aim_hud_offset_pos								   = -0.011024,0.003525,-0.089276
aim_hud_offset_rot								   = 0,0,0
aim_hud_offset_rot_16x9							   = 0,0,0

anm_reload_misfire								   = l85_misfire_scope, misfire
anm_reload_w_gl_misfire						       = l85_gl_misfire_scope, misfire

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

second_aim_hud_offset_pos                 		   = -0.011024,-0.016875,-0.089276 
second_aim_hud_offset_pos_16x9            		   = -0.011024,-0.016875,-0.089276 
second_aim_hud_offset_rot                 		   = 0,0,0
second_aim_hud_offset_rot_16x9            		   = 0,0,0
