[wpn_galil]:weapon_probability,default_weapon_params,wpn_galil_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\galil"
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                                       = 850
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.5	;(degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_LR300
condition_queue_shot_dec                           = 0.00125
condition_shot_dec                                 = 0.0006
control_inertion_factor                            = 1.25f
cost                                               = 26500
crosshair_inertion                                 = 5.70
description                                        = st_wpn_galil_descr
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 6
fire_dispersion_base                               = 0.19
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 300
fire_modes                                         = 1, -1
fire_point                                         = 0.0, 0.262, 0.447
fire_point2                                        = 0.0, 0.262, 0.547
flame_particles                                    = weapons\new_effects\galil
grenade_class                                      = ammo_vog-25
grenade_flame_particles                            = weapons\generic_weapon01
grenade_launcher_name                              = 
grenade_launcher_status                            = 0
grenade_launcher_x                                 = 
grenade_launcher_y                                 = 
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.0
holder_range_modifier                              = 1.0
hud                                                = wpn_galil_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 41
inv_grid_y                                         = 10
inv_name                                           = st_wpn_galil
inv_name_short                                     = st_wpn_galil
inv_weight                                         = 3.3
kill_msg_height                                    = 30
kill_msg_width                                     = 69
kill_msg_x                                         = 0
kill_msg_y                                         = 123
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                                         = 70
min_radius                                         = 0
misfire_end_condition                              = 0.1
misfire_end_prob                                   = 0.062
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.0055
orientation                                        = 0, 0, 0
PDM_disp_base 									   = 1.1
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                                            = 4
position                                           = -0.026, -0.175, 0.0
orientation										   = 0,0,0
reload_dof                                         = 0.0, 0.5, 5, 2.8
reload_empty_dof                                   = 0.0, 0.5, 5, 3.7
rpm                                                = 750
rpm_empty_click                                    = 200
scheduled                                          = off
scope_status                                       = 2
scopes                                             = ac10632, acog, eot, microt1, specter
parent_section  								   = wpn_galil
scope_x                                            = 23
scope_y                                            = 7
scope_zoom_factor                                  = 100
shell_particles                                    = weapons\shells\generic_shells_r_762_39
shell_point                                        = 0.0, 0.262, 0.1896
shell_dir               						   = 0,1,0
shell_bone                						   = wpn_body
silencer_bullet_speed                              = 855
silencer_fire_distance                             = 305
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                                         = 225
silencer_y                                         = 6
single_handed                                      = 0
slot                                               = 2
smoke_particles                                    = weapons\generic_shoot_00
startup_ammo                                       = 90
strap_bone0                                        = bip01_spine2
strap_bone1                                        = bip01_spine1
strap_position         							   = -0.17,-0.43,0.2
strap_orientation      							   = -10,-5,10
time_to_aim                                        = 1.0
upgr_icon_height                                   = 150
upgr_icon_width                                    = 300
upgr_icon_x                                        = 1250
upgr_icon_y                                        = 1750
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_galil\wpn_galil.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.85
zoom_cam_max_angle          					   = 50.0
zoom_cam_max_angle_horz     					   = 50.0
zoom_cam_step_angle_horz    					   = 1.3
zoom_dof                                           = 0.5, 1.0, 180
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

shell_section_0                                    = shell_5.56x45
shell_section_1                                    = shell_5.56x45

reload_time 									   = 1.9
reload_empty_time 								   = 2.7

use_device_anims 								   = true

[wpn_galil_hud]:hud_base
aim_hud_offset_pos_16x9							   = 0.002700,0.000900,0.000000
aim_hud_offset_pos								   = 0.002700,0.000900,0.000000
aim_hud_offset_rot_16x9							   = -0.008250,0.000750,0.000000
aim_hud_offset_rot								   = -0.008250,0.000750,0.000000
anm_show										   = galil_draw
anm_hide                						   = galil_holster
anm_idle                						   = galil_idle
anm_idle_moving_slow         					   = galil_moving_slow
anm_idle_moving         						   = galil_moving
anm_shots               						   = galil_shoot, shoot
anm_shots_when_aim              				   = galil_shoot_aim, shoot
anm_reload	        							   = galil_reload, reload
anm_reload_empty	        					   = galil_reload_empty, reload_empty
anm_reload_misfire								   = galil_misfire, misfire
anm_idle_moving_crouch  						   = galil_crouch
anm_idle_aim            						   = galil_idle_aim
anm_idle_aim_moving                                = galil_moving_aim
anm_bore                						   = galil_idle_aim
anm_firemode                					   = galil_firemode

anm_sprint_start         						   = galil_sprint_start
anm_sprint_idle         						   = galil_sprint
anm_sprint_end         						   	   = galil_sprint_end

anm_switch_device                                  = galil_flash
anm_gasmask                                        = galil_clear

attach_place_idx                                   = 0
fire_bone                                          = muzzle
fire_bone2                                         = muzzle
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_16x9				                   = -0.008600,-0.070800,0.065000
hands_orientation_16x9							   = 0.000000,0.000000,0.000000
hands_position				                       = -0.008600,-0.070800,0.065000
hands_orientation			    				   = 0.000000,0.000000,0.000000
item_orientation                                   = 0,0,0
item_position                                      = 0,0,0
item_visual                                        = dynamics\weapons\wpn_galil\wpn_galil_hud.ogf
lean_hud_offset_pos                                = 0,0,0
lean_hud_offset_rot                                = 0,0,0
shell_bone                                         = bullet
shell_dir                                          = 0.0, 1.0, 0.0
shell_point                                        = 0,0.01,0
zoom_hide_crosshair                                = true

anim_aim_start 									   = aim_start_aksu, 1.11, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_aksu, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_aksu, 1.18, 1, 0.14, 0.15

[wpn_galil_ac10632]:wpn_galil
$spawn             							 	   = "weapons\wpn_galil_ac10632"
hud											 	   = wpn_galil_ac10632_hud
visual										 	   = dynamics\weapons\wpn_galil\wpn_galil_ac10632.ogf
scope_x                                      	   = 83
scope_y                                      	   = -17

[wpn_galil_ac10632_hud]:wpn_galil_hud
item_visual                						   = dynamics\weapons\wpn_galil\wpn_galil_ac10632_hud.ogf

aim_hud_offset_pos_16x9							   = 0.002700,-0.016900,0.001400
aim_hud_offset_pos								   = 0.002700,-0.016900,0.001400
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_rot								   = 0,0,0

[wpn_galil_acog]:wpn_galil
$spawn					= "weapons\wpn_galil_acog"
visual					= dynamics\weapons\wpn_galil\wpn_galil_acog.ogf
hud					= wpn_galil_acog_hud
scope_x                                      = 76
scope_y                                      = -19

max_radius                                         = 200
min_radius                                         = 5

[wpn_galil_acog_hud]:wpn_galil_hud
item_visual            	 			= dynamics\weapons\wpn_galil\wpn_galil_acog_hud.ogf
anm_shots_when_aim              				   = galil_shoot_scope, shoot
anm_shots_when_aim_last               			   = galil_shoot_scope, idle_empty
aim_hud_offset_pos							       = 0.002400,-0.018400,-0.038700
aim_hud_offset_pos_16x9							   = 0.002400,-0.018400,-0.038700
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

[wpn_galil_eot]:wpn_galil
$spawn             								   = "weapons\wpn_galil_eot"
hud												   = wpn_galil_eot_hud
visual											   = dynamics\weapons\wpn_galil\wpn_galil_eot.ogf
scope_x                                     	   = 83
scope_y                                     	   = -17

[wpn_galil_eot_hud]:wpn_galil_hud
item_visual               						   = dynamics\weapons\wpn_galil\wpn_galil_eot_hud.ogf

aim_hud_offset_pos_16x9							   = 0.002700,-0.018100,0.001400
aim_hud_offset_pos								   = 0.002700,-0.018100,0.001400
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_rot								   = 0,0,0

[wpn_galil_microt1]:wpn_galil
$spawn             							       = "weapons\wpn_galil_micro-t1"
hud											       = wpn_galil_microt1_hud
visual										       = dynamics\weapons\wpn_galil\wpn_galil_micro-t1.ogf
scope_x                                            = 83
scope_y                                            = -17

[wpn_galil_microt1_hud]:wpn_galil_hud
item_visual               						   = dynamics\weapons\wpn_galil\wpn_galil_micro-t1_hud.ogf

aim_hud_offset_pos_16x9							   = 0.002700,-0.021000,0.001400
aim_hud_offset_pos								   = 0.002700,-0.021000,0.001400
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_rot								   = 0,0,0

[wpn_galil_specter]:wpn_galil
$spawn					= "weapons\wpn_galil_specter"
visual					= dynamics\weapons\wpn_galil\wpn_galil_specter.ogf
hud					= wpn_galil_specter_hud
scope_x                                      = 76
scope_y                                      = -19
second_scope_zoom_factor                		= 100
second_aim_enabled                        = true
second_aim_transition_time                = 6.5

max_radius                                         = 200
min_radius                                         = 5

[wpn_galil_specter_hud]:wpn_galil_hud
item_visual				= dynamics\weapons\wpn_galil\wpn_galil_specter_hud.ogf
anm_shots_when_aim              				   = galil_shoot_scope, shoot
anm_shots_when_aim_last               			   = galil_shoot_scope, idle_empty
aim_hud_offset_pos							       = 0.002800,-0.021500,-0.008800
aim_hud_offset_pos_16x9							   = 0.002800,-0.021500,-0.008800
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

second_aim_hud_offset_pos                 = 0.002800,-0.047400,-0.008800
second_aim_hud_offset_pos_16x9            = 0.002800,-0.047400,-0.008800
second_aim_hud_offset_rot                 = 0,0,0
second_aim_hud_offset_rot_16x9            = 0,0,0

[wpn_galil31]:wpn_galil,wpn_galil31_sounds
$spawn                                             = "weapons\galil31"
ammo_class                                         = ammo_7.62x39_fmj, ammo_7.62x39_ap
ammo_mag_size                                      = 30
ammo_mag_size_ui                                   = 30
bullet_speed                                       = 740
cam_return              						   = 0
cam_relax_speed         						   = 12			;скорость возврата в исходное положение
cam_relax_speed_ai     							   = 120.75
cam_dispersion          						   = 1.0		;увеличения угла (в градусах) с первым выстрелом
cam_dispersion_inc      						   = 0.8	;увеличениe cam_dispersion с каждым выстрелом
cam_dispersion_frac     						   = 1.2	    ;ствол будет подыматься на 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.4		;(degree) size of step camera moved in horizontal position while shooting
control_inertion_factor                            = 1.2f
crosshair_inertion                                 = 5.50
cost                                               = 30000
description                                        = st_wpn_galil31_descr
fire_distance                                      = 250
fire_dispersion_base                               = 0.25
hud                                                = wpn_galil31_hud
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 46
inv_grid_y                                         = 18
inv_name                                           = st_wpn_galil31
inv_name_short                                     = st_wpn_galil31
inv_weight                                         = 2.95
rpm                                                = 650
parent_section  								   = wpn_galil31
PDM_disp_base 									   = 1.25
PDM_disp_vel_factor 							   = 2.0
PDM_disp_accel_factor 							   = 2.0
PDM_disp_crouch	 								   = 1.0
PDM_disp_crouch_no_acc 							   = 1.0
silencer_name                                      = sil_nato_762
silencer_x                                         = 186
silencer_y                                         = 5
upgr_icon_height                                   = 150
upgr_icon_width                                    = 250
upgr_icon_x                                        = 2050
upgr_icon_y                                        = 150
upgrade_scheme                                     = upgrade_scheme_ak74u
upgrades                                           = up_gr_firstab_ak74u, up_gr_seconab_ak74u, up_gr_thirdab_ak74u, up_gr_fourtab_ak74u, up_gr_fifthab_ak74u
visual                                             = dynamics\weapons\wpn_galil\wpn_galil31.ogf
zoom_cam_relax_speed         					   = 10	    ; scope & ironsight
zoom_cam_relax_speed_ai      					   = 360
zoom_cam_dispersion          					   = 0.9
zoom_cam_dispersion_inc      					   = 0.7
zoom_cam_dispersion_frac     					   = 1.0
zoom_cam_max_angle           					   = 50.0
zoom_cam_max_angle_horz      					   = 50.0
zoom_cam_step_angle_horz     					   = 1.8

shell_section_0                                    = shell_7.62x39
shell_section_1                                    = shell_7.62x39

[wpn_galil31_hud]:wpn_galil_hud
anm_reload	        							   = galil31_reload, reload
anm_reload_empty	        					   = galil31_reload_empty, reload_empty
fire_point										   = 0,0,-0.077500
item_visual                                        = dynamics\weapons\wpn_galil\wpn_galil31_hud.ogf

[wpn_galil31_ac10632]:wpn_galil31
$spawn             							 	   = "weapons\wpn_galil31_ac10632"
hud											 	   = wpn_galil31_ac10632_hud
visual										 	   = dynamics\weapons\wpn_galil\wpn_galil31_ac10632.ogf
scope_x                                      	   = 83
scope_y                                      	   = -17

[wpn_galil31_ac10632_hud]:wpn_galil31_hud
item_visual                						   = dynamics\weapons\wpn_galil\wpn_galil31_ac10632_hud.ogf

aim_hud_offset_pos_16x9							   = 0.002700,-0.016900,0.001400
aim_hud_offset_pos								   = 0.002700,-0.016900,0.001400
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_rot								   = 0,0,0

[wpn_galil31_acog]:wpn_galil31
$spawn					= "weapons\wpn_galil31_acog"
visual					= dynamics\weapons\wpn_galil\wpn_galil31_acog.ogf
hud					= wpn_galil31_acog_hud
scope_x                                      = 76
scope_y                                      = -19

max_radius                                         = 200
min_radius                                         = 5

[wpn_galil31_acog_hud]:wpn_galil31_hud
item_visual            	 			= dynamics\weapons\wpn_galil\wpn_galil31_acog_hud.ogf
anm_shots_when_aim              				   = galil_shoot_scope, shoot
anm_shots_when_aim_last               			   = galil_shoot_scope, idle_empty
aim_hud_offset_pos							       = 0.002400,-0.018400,-0.038700
aim_hud_offset_pos_16x9							   = 0.002400,-0.018400,-0.038700
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

[wpn_galil31_eot]:wpn_galil31
$spawn             								   = "weapons\wpn_galil31_eot"
hud												   = wpn_galil31_eot_hud
visual											   = dynamics\weapons\wpn_galil\wpn_galil31_eot.ogf
scope_x                                     	   = 83
scope_y                                     	   = -17

[wpn_galil31_eot_hud]:wpn_galil31_hud
item_visual               						   = dynamics\weapons\wpn_galil\wpn_galil31_eot_hud.ogf

aim_hud_offset_pos_16x9							   = 0.002700,-0.018100,0.001400
aim_hud_offset_pos								   = 0.002700,-0.018100,0.001400
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_rot								   = 0,0,0

[wpn_galil31_microt1]:wpn_galil31
$spawn             							       = "weapons\wpn_galil31_micro-t1"
hud											       = wpn_galil31_microt1_hud
visual										       = dynamics\weapons\wpn_galil\wpn_galil31_micro-t1.ogf
scope_x                                            = 83
scope_y                                            = -17

[wpn_galil31_microt1_hud]:wpn_galil31_hud
item_visual               						   = dynamics\weapons\wpn_galil\wpn_galil31_micro-t1_hud.ogf

aim_hud_offset_pos_16x9							   = 0.002700,-0.021000,0.001400
aim_hud_offset_pos								   = 0.002700,-0.021000,0.001400
aim_hud_offset_rot_16x9							   = 0,0,0
aim_hud_offset_rot								   = 0,0,0

[wpn_galil31_specter]:wpn_galil31
$spawn					= "weapons\wpn_galil31_specter"
visual					= dynamics\weapons\wpn_galil\wpn_galil31_specter.ogf
hud					= wpn_galil31_specter_hud
scope_x                                      = 76
scope_y                                      = -19
second_scope_zoom_factor                		= 100
second_aim_enabled                        = true
second_aim_transition_time                = 6.5

max_radius                                         = 200
min_radius                                         = 5

[wpn_galil31_specter_hud]:wpn_galil31_hud
item_visual				= dynamics\weapons\wpn_galil\wpn_galil31_specter_hud.ogf
anm_shots_when_aim              				   = galil_shoot_scope, shoot
anm_shots_when_aim_last               			   = galil_shoot_scope, idle_empty
aim_hud_offset_pos							       = 0.002800,-0.021500,-0.008800
aim_hud_offset_pos_16x9							   = 0.002800,-0.021500,-0.008800
aim_hud_offset_rot							       = 0,0,0 
aim_hud_offset_rot_16x9							   = 0,0,0

second_aim_hud_offset_pos                 = 0.002800,-0.047400,-0.008800
second_aim_hud_offset_pos_16x9            = 0.002800,-0.047400,-0.008800
second_aim_hud_offset_rot                 = 0,0,0
second_aim_hud_offset_rot_16x9            = 0,0,0