[wpn_vityaz]:weapon_probability,default_weapon_params,wpn_vityaz_sounds
$npc                                     = on
$prefetch                                = 8
$spawn                                   = "weapons\vityaz"
ammo_class                               = ammo_9x19_fmj, ammo_9x19_pbp
ammo_current                             = 180
ammo_elapsed                             = 30
ammo_limit                               = 210
ammo_mag_size                            = 30
ammo_mag_size_ui                         = 30
animation_slot                           = 2
bullet_speed                             = 380
block_bore                               = true
cam_return			 					 = 0
cam_relax_speed      					 = 5		;скорость возврата в исходное положение
cam_relax_speed_ai   					 = 120.75
cam_dispersion       					 = 0.9		;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc   					 = 0.25		;увеличени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.00115
condition_shot_dec                       = 0.00085
control_inertion_factor                  = 1.15f
cost                                     = 12000
crosshair_inertion                       = 4.35
description                              = st_wpn_vityaz_descr
ef_main_weapon_type                      = 2
ef_weapon_type                           = 6
fire_dispersion_base                     = 0.28
fire_dispersion_condition_factor         = 2
fire_distance                            = 220
fire_modes                               = 1, -1
fire_point                               = 0.0, 0.262, 0.447
fire_point2                              = 0.0, 0.262, 0.447
flame_particles                          = weapons\new_effects\ak74
grenade_class                            = ammo_vog-25
grenade_flame_particles                  = weapons\generic_shoot_00
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.00
holder_range_modifier                    = 1.00
hud                                      = wpn_vityaz_hud
installed_upgrades                       =
inv_grid_height                          = 2
inv_grid_width                           = 4
inv_grid_x                               = 45
inv_grid_y                               = 12
inv_name                                 = st_wpn_vityaz
inv_name_short                           = st_wpn_vityaz
inv_weight                               = 2.85
kill_msg_height                          = 23
kill_msg_width                           = 56
kill_msg_x                               = 72
kill_msg_y                               = 82
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                               = 100
min_radius                               = 0
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.057
misfire_probability                      = 0.005
misfire_start_condition                  = 0.6
misfire_start_prob                       = 0.004
orientation                              = 0,0,0
PDM_disp_base 							 = 1.4
PDM_disp_vel_factor 					 = 2.1
PDM_disp_accel_factor 					 = 2.1
PDM_disp_crouch	 						 = 1.0
PDM_disp_crouch_no_acc 					 = 1.0
ph_mass                                  = 3
position                                 = -0.026,-0.215,0
reload_dof                               = 0.0, 0.5, 5, 2.8
reload_empty_dof                         = 0.0, 0.5, 5, 3.5
rpm                                      = 700
rpm_empty_click                          = 200
scheduled                                = off
scopes                                   = ac10632, eot, microt1, acog, specter
parent_section                           = wpn_vityaz
scope_status                             = 2
scope_x                                  = 47
scope_y                                  = 0
scope_zoom_factor                        = 100
shell_dir                                = 0.0, 1.0, 0.0
shell_particles                          = weapons\shells\generic_shells_r_762_39
shell_point                              = 0.00, 0.262, 0.189
silencer_bullet_speed                    = 385
silencer_fire_distance                   = 230
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_vityaz
silencer_smoke_particles                 = weapons\generic_shoot_00
silencer_status                          = 2
silencer_x                               = 166
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.16,-0.36,0.15
time_to_aim                              = 3.0
upgr_icon_height                         = 150
upgr_icon_width                          = 250
upgr_icon_x                              = 1750
upgr_icon_y                              = 1300
upgrade_scheme                           = upgrade_scheme_mp5_nimble
upgrades                                 = up_gr_firstab_mp5, up_gr_seconab_mp5, up_gr_thirdab_mp5, up_gr_fourtab_mp5, up_gr_fifthab_mp5
use_aim_bullet                           = false
visual                                   = dynamics\weapons\wpn_vityaz\wpn_vityaz.ogf
weapon_class                             = assault_rifle
zoom_cam_relax_speed        			 = 10    ; scope & ironsight
zoom_cam_relax_speed_ai     			 = 120.75
zoom_cam_dispersion         			 = 0.55
zoom_cam_dispersion_inc     			 = 0.2
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.4
zoom_dof                                 = 0.5, 1.0, 180
zoom_enabled                             = true
zoom_rotate_time                         = 6.5

shell_section_0                                    = shell_9x19
shell_section_1                                    = shell_9x19

reload_time 									   = 1.85
reload_empty_time 								   = 2.55

use_device_anims 								   = true
sprint_start_time 						 		   = 0.075

[wpn_vityaz_hud]:hud_base
aim_hud_offset_pos                       = 0.004500,0.008300,0.001600
aim_hud_offset_pos_16x9                  = 0.004500,0.008300,0.001600
aim_hud_offset_rot                       = 0.000000,0.000850,0.000000
aim_hud_offset_rot_16x9                  = 0.000000,0.000850,0.000000
anm_bore                                 = vityaz_idle_aim
anm_show                                 = vityaz_draw
anm_hide                                 = vityaz_hide
anm_idle                                 = vityaz_idle
anm_idle_aim           			         = vityaz_idle_aim
anm_idle_aim_moving                      = vityaz_aim_walk
anm_idle_moving_slow                     = vityaz_walk_slow
anm_idle_moving                          = vityaz_walk
anm_idle_moving_crouch                   = vityaz_walk_slow_down
anm_reload                               = vityaz_reload, reload
anm_reload_empty                         = vityaz_reload_empty, reload_empty
anm_reload_misfire                       = vityaz_revival, misfire
anm_shots                                = vityaz_shoot, shoot
anm_shots_when_aim                       = vityaz_aim_shoot, shoot
anm_firemode                             = vityaz_firemode

anm_sprint_start         				 = vityaz_sprint_start
anm_sprint_idle         				 = vityaz_sprint
anm_sprint_end         					 = vityaz_sprint_end

anm_switch_device                        = vityaz_flash
anm_gasmask                              = vityaz_clear

attach_place_idx                         = 0
fire_bone                                = wpn_body
fire_bone2                               = wpn_body
fire_point                               = 0.000000,-0.006600,0.344700
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.026625,0.018275,-0.200324
hands_position_16x9                      = -0.026625,0.018275,-0.200324
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_vityaz\wpn_vityaz_hud.ogf
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,0.02,0.05
zoom_hide_crosshair                      = true

anim_aim_start                           = aim_start_bizon, 1.11, 1, 0.14, 0.15
anim_aim_idle                            = aim_idle_bizon, 1, 1, 0.2, 0.2
anim_aim_end                             = aim_end_bizon, 1.18, 1, 0.14, 0.15

[wpn_vityaz_ac10632]:wpn_vityaz
$spawn                                   = "weapons\wpn_vityaz_ac10632"
hud                                      = wpn_vityaz_ac10632_hud
visual                                   = dynamics\weapons\wpn_vityaz\wpn_vityaz_ac10632.ogf
scope_x                                  = 79
scope_y                                  = -7

[wpn_vityaz_ac10632_hud]:wpn_vityaz_hud
item_visual                              = dynamics\weapons\wpn_vityaz\wpn_vityaz_ac10632_hud.ogf

aim_hud_offset_pos_16x9                  = 0.006300,-0.006300,0.000000
aim_hud_offset_pos                       = 0.006300,-0.006300,0.000000
aim_hud_offset_rot_16x9                  = 0,0,0
aim_hud_offset_rot                       = 0,0,0


anim_aim_start                           = aim_start_bizon_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle                            = aim_idle_bizon_scope, 1, 1, 0.2, 0.2
anim_aim_end                             = aim_end_bizon_scope, 1.03, 1, 0.14, 0.15

[wpn_vityaz_eot]:wpn_vityaz
$spawn                                   = "weapons\wpn_vityaz_eot"
hud                                      = wpn_vityaz_eot_hud
visual                                   = dynamics\weapons\wpn_vityaz\wpn_vityaz_eot.ogf
scope_x                                  = 79
scope_y                                  = -7

[wpn_vityaz_eot_hud]:wpn_vityaz_hud
item_visual                              = dynamics\weapons\wpn_vityaz\wpn_vityaz_eot_hud.ogf

aim_hud_offset_pos_16x9                  = 0.006000,-0.008700,0.000000
aim_hud_offset_pos                       = 0.006000,-0.008700,0.000000
aim_hud_offset_rot_16x9                  = 0,0,0
aim_hud_offset_rot                       = 0,0,0

anim_aim_start                           = aim_start_bizon_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle                            = aim_idle_bizon_scope, 1, 1, 0.2, 0.2
anim_aim_end                             = aim_end_bizon_scope, 1.03, 1, 0.14, 0.15

[wpn_vityaz_microt1]:wpn_vityaz
$spawn                                   = "weapons\wpn_vityaz_micro-t1"
hud                                      = wpn_vityaz_microt1_hud
visual                                   = dynamics\weapons\wpn_vityaz\wpn_vityaz_micro-t1.ogf
scope_x                                  = 84
scope_y                                  = -7

[wpn_vityaz_microt1_hud]:wpn_vityaz_hud
item_visual                              = dynamics\weapons\wpn_vityaz\wpn_vityaz_micro-t1_hud.ogf

aim_hud_offset_pos_16x9                  = 0.006200,-0.011100,0.006800
aim_hud_offset_pos                       = 0.006200,-0.011100,0.006800
aim_hud_offset_rot_16x9                  = 0,0,0
aim_hud_offset_rot                       = 0,0,0

anim_aim_start                           = aim_start_bizon_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle                            = aim_idle_bizon_scope, 1, 1, 0.2, 0.2
anim_aim_end                             = aim_end_bizon_scope, 1.03, 1, 0.14, 0.15

[wpn_vityaz_acog]:wpn_vityaz
$spawn					= "weapons\wpn_vityaz_acog"
hud					= wpn_vityaz_acog_hud
scope_x                                      = 67
scope_y                                      = -12

max_radius                                         = 150
min_radius                                         = 5

[wpn_vityaz_acog_hud]:wpn_vityaz_hud
anm_shots_when_aim					= vityaz_shoot_scope, shoot

aim_hud_offset_pos_16x9				= 0.005700,-0.008000,-0.021300
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos					= 0.005700,-0.008000,-0.021300
aim_hud_offset_rot					= 0,0,0

anim_aim_start                           = aim_start_bizon_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle                            = aim_idle_bizon_scope, 1, 1, 0.2, 0.2
anim_aim_end                             = aim_end_bizon_scope, 1.03, 1, 0.14, 0.15

[wpn_vityaz_specter]:wpn_vityaz
$spawn					= "weapons\wpn_vityaz_specter"
visual					= dynamics\weapons\wpn_vityaz\wpn_vityaz_specter.ogf
hud					= wpn_vityaz_specter_hud
scope_x                                      = 68
scope_y                                      = -12

second_scope_zoom_factor                		= 100
second_aim_enabled                        = true
second_aim_transition_time                = 6.5

max_radius                                         = 150
min_radius                                         = 5

[wpn_vityaz_specter_hud]:wpn_vityaz_hud
item_visual				= dynamics\weapons\wpn_vityaz\wpn_vityaz_specter_hud.ogf

anm_shots_when_aim					= vityaz_shoot_scope, shoot

aim_hud_offset_pos_16x9				= 0.005800,-0.010900,0.001600
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos					= 0.005800,-0.010900,0.001600
aim_hud_offset_rot					= 0,0,0

second_aim_hud_offset_pos_16x9				= 0.005800,-0.035800,-0.003600
second_aim_hud_offset_rot_16x9				= 0,0,0
second_aim_hud_offset_pos					= 0.005800,-0.035800,-0.003600
second_aim_hud_offset_rot					= 0,0,0

anim_aim_start                           = aim_start_bizon_scope, 1.05, 1, 0.14, 0.15
anim_aim_idle                            = aim_idle_bizon_scope, 1, 1, 0.2, 0.2
anim_aim_end                             = aim_end_bizon_scope, 1.03, 1, 0.14, 0.15