[wpn_vintorez]:weapon_probability,default_weapon_params,wpn_vintorez_sounds
$npc                                               = off
$prefetch                                          = 8
$spawn                                             = "weapons\vintorez"
ammo_class                                         = ammo_9x39_pab9, ammo_9x39_ap
ammo_current                                       = 60
ammo_elapsed                                       = 10
ammo_limit                                         = 70
ammo_mag_size                                      = 10
ammo_mag_size_ui                                   = 10
animation_slot                                     = 2
bullet_speed                                       = 290
block_bore										   = true
cam_return										   = 0
cam_relax_speed         						   = 4.4   		;скорость возврата в исходное положение
cam_relax_speed_ai      						   = 360
cam_dispersion          						   = 0.55		;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc      						   = 0.3   	;увеличени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.3		;(degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_VAL
condition_queue_shot_dec                           = 0.00175
condition_shot_dec                                 = 0.00175
control_inertion_factor                            = 1.2f
cost                                               = 21000
crosshair_inertion                                 = 6.10
description                                        = st_wpn_vintorez_descr
ef_main_weapon_type                                = 3
ef_weapon_type                                     = 7
fire_dispersion_base                               = 0.13
fire_dispersion_condition_factor                   = 1.5
fire_distance                                      = 850
fire_modes                                         = 1, -1
fire_point                                         = 0.000000,0.137000,0.649000
fire_point2                                        = 0.0, 0.097, 0.722
grenade_class                                      = ammo_m209
grenade_flame_particles                            = weapons\generic_weapon01
grenade_launcher_name                              = wpn_addon_grenade_launcher_m203
grenade_launcher_status                            = 0
grenade_launcher_x                                 = 109
grenade_launcher_y                                 = 30
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.00
holder_range_modifier                              = 2.00
hud                                                = wpn_vintorez_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 31
inv_grid_y                                         = 29
inv_name                                           = st_wpn_vintorez
inv_name_short                                     = st_wpn_vintorez
inv_weight                                         = 2.6
kill_msg_height                                    = 25
kill_msg_width                                     = 78
kill_msg_x                                         = 98
kill_msg_y                                         = 0
launch_speed                                       = 0
light_color                                        = 0.6,0.5,0.3
light_disabled                                     = true
light_range                                        = 0.01
light_time                                         = 0.07
light_var_color                                    = 0.05
light_var_range                                    = 0.5
max_radius                                         = 100
min_radius                                         = 10
misfire_end_condition                              = 0.1
misfire_end_prob                                   = 0.063
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.005
orientation                                        = 0, 0, 0
PDM_disp_base 									   = 0.7
PDM_disp_vel_factor 							   = 1.4
PDM_disp_accel_factor 							   = 1.5
PDM_disp_crouch	 								   = 1.0
PDM_disp_crouch_no_acc 							   = 1.0
ph_mass                                            = 3
position                                           = -0.026, -0.097, 0.0
reload_dof                                         = 0.0, 0.5, 5, 2.5
reload_empty_dof                                   = 0.0, 0.5, 5, 3.6
rpm                                                = 700
rpm_empty_click                                    = 200
scheduled                                          = off
scopes 											   = 1p78, okp, ekp, 9x39scope, rakurs
parent_section  								   = wpn_vintorez
scope_status                                       = 2
scope_texture                                      = wpn_crosshair_vss
scope_x                                            = 78
scope_y                                            = 0
scope_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                              = 290
silencer_fire_distance                             = 850
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                                      = wpn_addon_silencer
silencer_smoke_particles                           = weapons\generic_shoot_00
silencer_status                                    = 1
silencer_x                                         = 221
silencer_y                                         = 16
single_handed                                      = 0
slot                                               = 2
smoke_particles                                    = weapons\generic_shoot_00
startup_ammo                                       = 90
strap_bone0                                        = bip01_spine2
strap_bone1                                        = bip01_spine1
strap_orientation                                  = -15,-9,110
strap_position                                     = -0.26,-0.11,0.25
time_to_aim                                        = 1.0
upgr_icon_height                                   = 150
upgr_icon_width                                    = 350
upgr_icon_x                                        = 1400
upgr_icon_y                                        = 1300
upgrade_scheme                                     = upgrade_scheme_vintorez
upgrades                                           = up_gr_firstab_vintorez, up_gr_seconab_vintorez, up_gr_thirdab_vintorez, up_gr_fourtab_vintorez, up_gr_fourtcd_vintorez, up_gr_fourtef_vintorez
use_aim_bullet                                     = false
visual                                             = dynamics\weapons\wpn_vintorez\wpn_vintorez.ogf
weapon_class                                       = sniper_rifle
zoom_cam_relax_speed       						   = 4    ; scope & ironsight
zoom_cam_relax_speed_ai    						   = 120.75
zoom_cam_dispersion        						   = 0.4
zoom_cam_dispersion_inc    						   = 0.2
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.1
zoom_dof                                           = 0.5, 1.0, 180
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

shell_section_0                                    = shell_9x39
shell_section_1                                    = shell_9x39

reload_time 									   = 1.9
reload_empty_time 								   = 2.6

use_device_anims 								   = true
sprint_start_time 						 		   = 0.09

[wpn_vintorez_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             							   = vss_draw
anm_hide             							   = vss_hide
anm_idle             							   = vss_idle
anm_idle_sprint        		 					   = vss_sprint
anm_idle_aim_moving            	    			   = vss_aim_walk
anm_idle_moving_slow    						   = vss_walk_slow
anm_idle_moving 								   = vss_walk
anm_idle_moving_crouch							   = vss_walk_slow_down
anm_shots               						   = vss_shoot, shoot
anm_reload              						   = vss_reload, reload
anm_reload_empty        						   = vss_reload_full, reload_empty
anm_reload_misfire								   = vss_revival, misfire
anm_idle_aim           							   = vss_idle_aim
anm_bore										   = vss_idle_aim
anm_shots_when_aim              				   = vss_aim_shoot, shoot
anm_firemode                    				   = vss_firemode

anm_sprint_start         						   = vss_sprint_start
anm_sprint_idle         						   = vss_sprint
anm_sprint_end         						       = vss_sprint_end

anm_switch_device                                  = vss_flash
anm_gasmask                                        = vss_clear

attach_place_idx                                   = 0
fire_bone                                          = sight
fire_bone2                                         = sight
fire_point                                         = 0,0,0
fire_point2                                        = 0,0,0
gl_hud_offset_pos                                  = 0,0,0
gl_hud_offset_rot                                  = 0,0,0
grenade_bone                                       = wpn_body
hands_position_16x9								   = 0.002375,0.040125,-0.190874
hands_orientation_16x9							   = 0,0,0
hands_position									   = 0.002375,0.040125,-0.190874
hands_orientation								   = 0,0,0
item_position									   = 0,0,0
item_orientation								   = 0,0,0
item_visual                                        = dynamics\weapons\wpn_vintorez\wpn_vintorez_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.06
zoom_hide_crosshair                                = true

anim_aim_start 									   = aim_start_vss, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss, 1, 1, 0.14, 0.15

[wpn_vintorez_ekp]:wpn_vintorez
$spawn             			= "weapons\wpn_vintorez_ekp"
hud					= wpn_vintorez_ekp_hud
visual					= dynamics\weapons\wpn_vintorez\wpn_vintorez_ekp.ogf
scope_x                                      = 66
scope_y                                      = 6
scope_back = true

[wpn_vintorez_ekp_hud]:wpn_vintorez_hud
item_visual                		= dynamics\weapons\wpn_vintorez\wpn_vintorez_ekp_hud.ogf

aim_hud_offset_pos_16x9				= 0.000900,-0.018500,0.013500
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos_16x9				= 0.000900,-0.018500,0.013500
aim_hud_offset_rot				= 0,0,0

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_okp]:wpn_vintorez
$spawn             			= "weapons\wpn_vintorez_okp"
hud					= wpn_vintorez_okp_hud
visual					= dynamics\weapons\wpn_vintorez\wpn_vintorez_okp.ogf
scope_x                                      = 76
scope_y                                      = 7
scope_back = true

[wpn_vintorez_okp_hud]:wpn_vintorez_hud
item_visual                		= dynamics\weapons\wpn_vintorez\wpn_vintorez_okp_hud.ogf

aim_hud_offset_pos_16x9				= 0.005700,0.002600,0.000000
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos				= 0.005700,0.002600,0.000000
aim_hud_offset_rot				= 0,0,0


anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_rakurs]:wpn_vintorez
$spawn             			= "weapons\wpn_vintorez_rakurs"
hud					= wpn_vintorez_rakurs_hud
visual					= dynamics\weapons\wpn_vintorez\wpn_vintorez_rakurs.ogf
scope_x                                      = 67
scope_y                                      = 3
scope_back = true

[wpn_vintorez_rakurs_hud]:wpn_vintorez_hud
item_visual                		= dynamics\weapons\wpn_vintorez\wpn_vintorez_rakurs_hud.ogf

aim_hud_offset_pos_16x9				= 0.002700,-0.016000,0.007400
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos				= 0.002700,-0.016000,0.007400
aim_hud_offset_rot				= 0,0,0

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_1p78]:wpn_vintorez
$spawn             			= "weapons\wpn_vintorez_1p78"
hud					= wpn_vintorez_1p78_hud
visual					= dynamics\weapons\wpn_vintorez\wpn_vintorez_1p78.ogf
scope_x                                      = 60
scope_y                                      = -1
scope_back = true

second_scope_zoom_factor                		   = 100
second_aim_enabled                        		   = true
second_aim_transition_time                		   = 6.5

[wpn_vintorez_1p78_hud]:wpn_vintorez_hud
item_visual                		= dynamics\weapons\wpn_vintorez\wpn_vintorez_1p78_hud.ogf
anm_shots_when_aim               	= vss_aim_shoot_scope, shoot
aim_hud_offset_pos_16x9				= 0.002425,-0.006700,0.018675
aim_hud_offset_rot_16x9				= 0,0,0
aim_hud_offset_pos				= 0.002425,-0.006700,0.018675
aim_hud_offset_rot				= 0,0,0

second_aim_hud_offset_pos                 		   = 0.003525,0.025775,0.007400
second_aim_hud_offset_pos_16x9            		   = 0.003525,0.025775,0.007400
second_aim_hud_offset_rot                 		   = -0.002500,0.000000,0.000000
second_aim_hud_offset_rot_16x9            		   = -0.002500,0.000000,0.000000

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_9x39scope]:wpn_vintorez
$spawn             			= "weapons\wpn_vintorez_9x39scope"
hud					= wpn_vintorez_9x39scope_hud
scope_x                                      = 55
scope_y                                      = 7
scope_back = true

[wpn_vintorez_9x39scope_hud]:wpn_vintorez_hud
item_visual				= dynamics\weapons\wpn_vintorez\wpn_vintorez_hud.ogf
anm_shots_when_aim               	= vss_aim_shoot_scope, shoot
aim_hud_offset_pos_16x9				= 0.012300,-0.001300,0.020400
aim_hud_offset_rot_16x9				= 0.000000,0.000000,0.000000
aim_hud_offset_pos				= 0.012300,-0.001300,0.020400
aim_hud_offset_rot				= 0.000000,0.000000,0.000000

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_nimble]:wpn_vintorez
$spawn                                             = "weapons\unique\vintorez_nimble"
ammo_mag_size                                      = 20
ammo_mag_size_ui                                   = 20
cam_relax_speed         						   = 3.5        ;скорость возврата в исходное положение
cam_relax_speed_ai      						   = 360		;скорость возврата в исходное положение
cam_dispersion          						   = 0.4        ;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc      						   = 0.2        ;увеличениe cam_dispersion с каждым выстрелом
cam_dispersion_frac     						   = 0.7        ;ствол будет подыматься на 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.1       ;(degree) size of step camera moved in horizontal position while shooting
control_inertion_factor                            = 1.2f
condition_queue_shot_dec                           = 0.00115
condition_shot_dec                                 = 0.00115
cost                                               = 70000
crosshair_inertion                                 = 6
description                                        = st_wpn_vintorez_nimble_descr
fire_dispersion_base                               = 0.11
flame_particles                                    = weapons\generic_weapon05
hud                                                = wpn_vintorez_nimble_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 31
inv_grid_y                                         = 6
inv_name                                           = st_wpn_vintorez_nimble
inv_weight                                         = 2.3
misfire_end_condition                              = 0.1
misfire_end_prob                                   = 0.053
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.004
PDM_disp_base           						   = 0.6
PDM_disp_vel_factor     						   = 2.4
PDM_disp_accel_factor   						   = 2.4
PDM_disp_crouch         						   = 1.0
PDM_disp_crouch_no_acc  						   = 1.0
rpm                                                = 800
scopes 											   = ac10632, eot, microt1, acog, specter
parent_section  								   = wpn_vintorez_nimble
scope_zoom_factor                                  = 100
upgr_icon_height                                   = 150
upgr_icon_width                                    = 350
upgr_icon_x                                        = 0
upgr_icon_y                                        = 1450
visual                                             = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble.ogf
zoom_cam_relax_speed        					   = 3.5    ; scope & ironsight
zoom_cam_relax_speed_ai     					   = 120.75
zoom_cam_dispersion         					   = 0.25
zoom_cam_dispersion_inc     					   = 0.15
zoom_cam_dispersion_frac    					   = 0.55
zoom_cam_max_angle          					   = 50.0
zoom_cam_max_angle_horz     					   = 50.0
zoom_cam_step_angle_horz    					   = 0.9

[wpn_vintorez_nimble_hud]:wpn_vintorez_hud
anm_reload              						   = val_reload, reload
anm_reload_empty        						   = val_reload_full, reload_empty
item_visual                                        = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_hud.ogf

[wpn_vintorez_nimble_ac10632]:wpn_vintorez_nimble
$spawn                                             = "weapons\wpn_vintorez_nimble_ac10632"
hud												   = wpn_vintorez_nimble_ac10632_hud
scope_x                                      	   = 88
scope_y                                      	   = 2
visual											   = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_ac10632.ogf

[wpn_vintorez_nimble_ac10632_hud]:wpn_vintorez_nimble_hud
item_visual            	 						   = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_ac10632_hud.ogf

aim_hud_offset_pos								   = 0.003600,-0.001000,0.000000
aim_hud_offset_pos_16x9							   = 0.003600,-0.001000,0.000000

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_nimble_eot]:wpn_vintorez_nimble
$spawn                                             = "weapons\wpn_vintorez_nimble_eot"
hud												   = wpn_vintorez_nimble_eot_hud
scope_x                                      	   = 88
scope_y                                     	   = 2
visual												= dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_eot.ogf

[wpn_vintorez_nimble_eot_hud]:wpn_vintorez_nimble_hud
item_visual            	 						   = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_eot_hud.ogf

aim_hud_offset_pos								   = 0.003400,-0.003700,0.000000
aim_hud_offset_pos_16x9							   = 0.003400,-0.003700,0.000000

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_nimble_microt1]:wpn_vintorez_nimble
$spawn                                             = "weapons\wpn_vintorez_nimble_microt1"
hud												   = wpn_vintorez_nimble_microt1_hud
scope_x                                      	   = 88
scope_y                                      	   = 0
visual											   = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_micro-t1.ogf

[wpn_vintorez_nimble_microt1_hud]:wpn_vintorez_nimble_hud
item_visual            	 						   = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_micro-t1_hud.ogf

aim_hud_offset_pos								   = 0.003500,-0.005300,0.000000
aim_hud_offset_pos_16x9							   = 0.003500,-0.005300,0.000000

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_nimble_acog]:wpn_vintorez_nimble
$spawn             							 	   = "weapons\wpn_vintorez_nimble_acog"
hud											 	   = wpn_vintorez_nimble_acog_hud
scope_x                                      	   = 81
scope_y                                      	   = -3

[wpn_vintorez_nimble_acog_hud]:wpn_vintorez_nimble_hud
anm_shots_when_aim               				   = vss_aim_shoot_scope, shoot
aim_hud_offset_pos								   = 0.003300,-0.004300,-0.017000
aim_hud_offset_pos_16x9							   = 0.003300,-0.004300,-0.017000

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

[wpn_vintorez_nimble_specter]:wpn_vintorez_nimble
$spawn             							 	   = "weapons\wpn_vintorez_nimble_specter"
hud											 	   = wpn_vintorez_nimble_specter_hud
visual										 	   = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_specter.ogf
scope_x                                      	   = 81
scope_y                                      	   = -1
second_scope_zoom_factor                		   = 100
second_aim_enabled                        		   = true
second_aim_transition_time                		   = 6.5

[wpn_vintorez_nimble_specter_hud]:wpn_vintorez_nimble_hud
item_visual										   = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble_specter_hud.ogf
anm_shots_when_aim               				   = vss_aim_shoot_scope, shoot
aim_hud_offset_pos								   = 0.003500,-0.007600,-0.004700
aim_hud_offset_pos_16x9							   = 0.003500,-0.007600,-0.004700

anim_aim_start 									   = aim_start_vss_scope, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_vss_scope, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_vss_scope, 1, 1, 0.14, 0.15

second_aim_hud_offset_pos                 		   = 0.003400,-0.032200,-0.004700
second_aim_hud_offset_pos_16x9            		   = 0.003400,-0.032200,-0.004700
second_aim_hud_offset_rot                 		   = -0.001000,0.001000,0.000000
second_aim_hud_offset_rot_16x9            		   = -0.001000,0.001000,0.000000
