;------------------------------------------------------------------------------------------------
[wpn_vintorez]:identity_immunities,weapon_probability,default_weapon_params,wpn_vintorez_sounds
GroupControlSection                      = spawn_group
$npc                                     = off
$prefetch                                = 8
$spawn                                   = "weapons\vintorez"
scheduled                                = off
cform                                    = skeleton
parent_section                           = wpn_vintorez

class                                    = WP_AK74
slot                                     = 2
animation_slot                           = 2
ef_main_weapon_type                      = 3
ef_weapon_type                           = 7
hand_dependence                          = 1
single_handed                            = 0

default_to_ruck                          = false
sprint_allowed                           = true

inv_grid_height                          = 2
inv_grid_width                           = 5
inv_grid_x                               = 20
inv_grid_y                               = 26
inv_name                                 = st_wpn_vintorez
inv_name_short                           = st_wpn_vintorez
description                              = st_wpn_vintorez_descr

kind                                     = w_rifle
inv_weight                               = 2.59
cost                                     = 40580
repair_type                              = rifle_7
weapon_class                             = sniper_rifle

hud                                      = wpn_vintorez_hud
visual                                   = dynamics\weapons\wpn_vintorez\wpn_vintorez.ogf
position                                 = -0.026, -0.097, 0
orientation                              = 0, 0, 0
fire_point                               = 0, 0.137, 0.649
fire_point2                              = 0, 0.097, 0.722
strap_bone0                              = bip01_spine2
strap_bone1                              = bip01_spine1
strap_position                           = -0.26, -0.11, 0.25
strap_orientation                        = -15, -9, 110
ph_mass                                  = 4

flame_particles                          = weapons\generic_weapon05
smoke_particles                          = weapons\generic_shoot_00
grenade_flame_particles                  = weapons\generic_weapon01

shell_point				                 = -0.02, 0.167, 0.082
shell_dir					             = 0, 0, 0.4
shell_particles         			     = weapons\9x39

light_disabled                           = true
light_color                              = 0.6, 0.5, 0.3
light_range                              = 0.01
light_time                               = 0.2
light_var_color                          = 0.05
light_var_range                          = 0.5

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
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_vintorez
upgr_icon_x                              = 600
upgr_icon_y                              = 900
upgr_icon_width                          = 300
upgr_icon_height                         = 100

fire_modes                               = 1, -1
ammo_class                               = ammo_9x39_pab9, ammo_9x39_pab9_bad, ammo_9x39_pab9_verybad, ammo_9x39_ap, ammo_9x39_ap_bad, ammo_9x39_ap_verybad
ammo_elapsed                             = 10
ammo_mag_size                            = 10
startup_ammo                             = 90

scopes                                   = 1p29, kobra, pso1m21
scope_status                             = 0
scope_name                               = wpn_addon_scope
scope_texture                            = 
scope_x                                  = 78
scope_y                                  = 0
scope_zoom_factor                        = 0

silencer_name                            = wpn_addon_silencer
silencer_status                          = 1
silencer_x                               = 221
silencer_y                               = 16
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_smoke_particles                 = weapons\generic_shoot_00

grenade_class                            = ammo_m209, ammo_m209_bad, ammo_m209_verybad
grenade_launcher_name                    = wpn_addon_grenade_launcher_m203
grenade_launcher_status                  = 0
grenade_launcher_x                       = 109
grenade_launcher_y                       = 30
launch_speed                             = 0

hit_impulse                              = 35
hit_power                                = 0.62, 0.62, 0.62, 0.62
hit_type                                 = fire_wound
fire_distance                            = 600
bullet_speed                             = 290
rpm                                      = 800
rpm_empty_click                          = 200

use_aim_bullet                           = false
time_to_aim                              = 0.0 ;  1.0
zoom_enabled                             = true
zoom_rotate_time                         = 0.26
reload_dof                               = 0.0, 0.5, 5, 2.5
control_inertion_factor = 1.0f
crosshair_inertion                       = 4.8
fire_dispersion_base                     = 0.2
fire_dispersion_condition_factor         = 2

misfire_probability                      = 0.005
misfire_start_condition                  = 0.7 ;  0.83
misfire_start_prob                       = 0.007
misfire_end_condition                    = 0.13
misfire_end_prob                         = 0.11

condition_queue_shot_dec                 = 0.0020
condition_shot_dec                       = 0.0015

cam_return                               = 0
cam_relax_speed                          = 10
cam_dispersion                           = 0.9
cam_dispersion_frac                      = 0.9
cam_dispersion_inc                       = 0.05
cam_max_angle                            = 46.0
cam_max_angle_horz                       = 46.0
cam_step_angle_horz                      = 2.46
zoom_cam_relax_speed                     = 10
zoom_cam_dispersion                      = 0.8
zoom_cam_dispersion_frac                 = 0.9
zoom_cam_dispersion_inc                  = 0.04
zoom_cam_max_angle                       = 46.0
zoom_cam_max_angle_horz                  = 46.0
zoom_cam_step_angle_horz                 = 2.26

PDM_disp_accel_factor                    = 1.745
PDM_disp_base                            = 0.73
PDM_disp_crouch                          = 1.0
PDM_disp_crouch_no_acc                   = 1.0
PDM_disp_vel_factor                      = 1.745

cam_relax_speed_ai                       = 360
zoom_cam_relax_speed_ai                  = 120.75
holder_fov_modifier                      = 1.0
holder_range_modifier                    = 2.0
min_radius                               = 0
max_radius                               = 500
hit_probability_gd_novice                = 1.00
hit_probability_gd_stalker               = 1.00
hit_probability_gd_veteran               = 1.00
hit_probability_gd_master                = 1.00

kill_msg_x                               = 98
kill_msg_y                               = 0
kill_msg_width                           = 78
kill_msg_height                          = 25


[wpn_vintorez_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_hud.ogf
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

item_position                            = 0,0,0
item_orientation                         = 0,0,0

hands_position                           = 0,-0.01,0
hands_position_16x9                      = 0,-0.01,0
hands_orientation                        = 1, 1, 0
hands_orientation_16x9                   = 1, 1, 0

aim_hud_offset_pos                       = -0.0717,0.047,-0.15
aim_hud_offset_pos_16x9                  = -0.0717,0.047,-0.15
aim_hud_offset_rot                       = 0.019,0.0182,0
aim_hud_offset_rot_16x9                  = 0.019,0.0182,0


lowered_hud_offset_pos					 = 0.23,0.03,0
lowered_hud_offset_rot					 = 0.1,-0.8,0.1

lowered_hud_offset_pos_16x9				 = 0.23,0.03,0
lowered_hud_offset_rot_16x9				 = 0.1,-0.8,0.1

lean_hud_offset_pos                      = 0, 0, 0
lean_hud_offset_rot                      = 0, 0, 0

anm_bore                                 = vintorez_inspect, idle, 1
anm_hide                                 = vintorez_holster, holster, 1
anm_idle                                 = vintorez_idle, idle, 1
anm_idle_aim                             = vintorez_idle_ads, idle
anm_idle_aim_moving                      = vintorez_idle_ads, idle
anm_idle_aim_moving_crouch               = vintorez_idle_ads, idle
anm_idle_moving                          = vintorez_walk, idle, 0.87
anm_idle_moving_crouch                   = vintorez_walk, idle, 0.87
anm_idle_sprint                          = vintorez_sprint, idle, 1.2
anm_reload                               = vintorez_reload, reload, 1
anm_reload_empty                         = vintorez_reload_empty, reload_empty, 1
anm_shots                                = vintorez_shoot, shoot
anm_shots1                               = vintorez_shoot1, shoot
anm_shots2                               = vintorez_shoot2, shoot
anm_show                                 = vintorez_draw, draw, 1
anm_reload_misfire                       = vintorez_unjam, unjam, 1
anm_switch_mode                  		 = vintorez_firemode, idle, 1

shell_bone                               = gilza
shell_dir                                = 0, 1, 0
shell_point                              = 0, 0, 0

fire_bone                                = muzzle
fire_bone2                               = muzzle
fire_point                               = 0, 0, 0
fire_point2                              = 0, 0, 0

grenade_bone                             = grenade

freelook_z_offset_mul					 = 0.6

;------------------------------------------------------------------------------------------------
[wpn_vintorez_1p29]:wpn_vintorez
1icon_layer                              = 1p29
1icon_layer_x                            = 68
1icon_layer_y                            = 5

inv_weight                               = 3.41

hud                                      = wpn_vintorez_1p29_hud
visual                                   = dynamics\weapons\wpn_vintorez\wpn_vintorez_1p29.ogf

scope_status                             = 1
scope_texture                            = wpn_crosshair_1p29
scope_zoom_factor                        = 15

zoom_rotate_time                         = 0.25


[wpn_vintorez_1p29_hud]:wpn_vintorez_hud
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_1p29_hud.ogf

aim_hud_offset_pos                       = -0.078, 0.011, -0.14
aim_hud_offset_pos_16x9                  = -0.078, 0.011, -0.14
aim_hud_offset_rot                       = 0.01095, 0.03505, -0.01
aim_hud_offset_rot_16x9                  = 0.01095, 0.03505, -0.01

;------------------------------------------------------------------------------------------------
[wpn_vintorez_kobra]:wpn_vintorez
1icon_layer                              = kobra
1icon_layer_x                            = 79
1icon_layer_y                            = 8

inv_weight                               = 2.98

hud                                      = wpn_vintorez_kobra_hud
visual                                   = dynamics\weapons\wpn_vintorez\wpn_vintorez_kobra.ogf

scope_status                             = 0
scope_dynamic_zoom                       = off


[wpn_vintorez_kobra_hud]:wpn_vintorez_1p29_hud
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_kobra_hud.ogf

aim_hud_offset_pos                       = -0.078, 0.01, -0.15
aim_hud_offset_pos_16x9                  = -0.078, 0.01, -0.15
aim_hud_offset_rot                       = 0.01085, 0.03405, -0.01
aim_hud_offset_rot_16x9                  = 0.01085, 0.03405, -0.01

;------------------------------------------------------------------------------------------------
[wpn_vintorez_1pn93]:wpn_vintorez
parent_section                           = wpn_vintorez_1pn93

inv_grid_x                               = 25
inv_grid_y                               = 24
description                              = st_wpn_vintorez_1pn93_descr

inv_weight                               = 3.9
cost                                     = 55880

hud                                      = wpn_vintorez_1pn93_hud
visual                                   = dynamics\weapons\wpn_vintorez\wpn_vintorez_1pn93.ogf

upgrades                                 = up_gr_firstab_vintorez_1pn93, up_gr_seconab_vintorez_1pn93, up_gr_thirdab_vintorez_1pn93, up_gr_fourtab_vintorez_1pn93, up_gr_fourtcd_vintorez_1pn93, up_gr_fourtef_vintorez_1pn93
installed_upgrades                       =

scopes                                   = none
scope_status                             = 1
scope_nightvision                        = scope_nightvision_2gen
scope_texture                            = wpn_crosshair_1pn93
scope_zoom_factor                        = 15

zoom_rotate_time                         = 0.25


[wpn_vintorez_1pn93_hud]:wpn_vintorez_hud
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_1pn93_hud.ogf

aim_hud_offset_pos                       = -0.065, 0.004, -0.15
aim_hud_offset_pos_16x9                  =  -0.065, 0.004, -0.15
aim_hud_offset_rot                       = 0.01095, 0.03505, -0.01
aim_hud_offset_rot_16x9                  = 0.01095, 0.03505, -0.01


;------------------------------------------------------------------------------------------------
[wpn_vintorez_pso1m21]:wpn_vintorez
1icon_layer                              = pso1m21
1icon_layer_x                            = 56
1icon_layer_y                            = 7

inv_weight                               = 3.22

hud                                      = wpn_vintorez_pso1m21_hud

scope_status                             = 1
scope_dynamic_zoom                       = on
scope_texture                            = wpn_crosshair_pso1
scope_zoom_factor                        = 15


[wpn_vintorez_pso1m21_hud]:wpn_vintorez_1p29_hud
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_hud.ogf

aim_hud_offset_pos                       = -0.078, 0.02, -0.16
aim_hud_offset_pos_16x9                  = -0.078, 0.02, -0.16
aim_hud_offset_rot                       = 0.01095, 0.03505, -0.01
aim_hud_offset_rot_16x9                  = 0.01095, 0.03505, -0.01


;------------------------------------------------------------------------------------------------
;-- Alt
;------------------------------------------------------------------------------------------------
[wpn_vintorez_alt]:wpn_vintorez
parent_section                           = wpn_vintorez_alt

inv_grid_y                               = 24
inv_name                                 = st_wpn_vintorez_alt
inv_name_short                           = st_wpn_vintorez_alt

cost                                     = 41860

hud                                      = wpn_vintorez_sk1_hud
visual                                   = dynamics\weapons\wpn_vintorez\wpn_vintorez_sk1.ogf

[wpn_vintorez_sk1_hud]:wpn_vintorez_hud
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_vintorez_alt_1p29]:wpn_vintorez_alt
1icon_layer                              = 1p29
1icon_layer_x                            = 68
1icon_layer_y                            = 5

inv_weight                               = 3.41

hud                                      = wpn_vintorez_1p29_sk1_hud
visual                                   = dynamics\weapons\wpn_vintorez\wpn_vintorez_1p29_sk1.ogf

scope_status                             = 1
scope_texture                            = wpn_crosshair_1p29
scope_zoom_factor                        = 15

zoom_rotate_time                         = 0.25


[wpn_vintorez_1p29_sk1_hud]:wpn_vintorez_1p29_hud
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_1p29_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_vintorez_alt_kobra]:wpn_vintorez_alt
1icon_layer                              = kobra
1icon_layer_x                            = 79
1icon_layer_y                            = 8

inv_weight                               = 2.98

hud                                      = wpn_vintorez_kobra_sk1_hud
visual                                   = dynamics\weapons\wpn_vintorez\wpn_vintorez_kobra_sk1.ogf

scope_status                             = 0
scope_dynamic_zoom                       = off


[wpn_vintorez_kobra_sk1_hud]:wpn_vintorez_kobra_hud
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_kobra_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_vintorez_alt_pso1m21]:wpn_vintorez_alt
1icon_layer                              = pso1m21
1icon_layer_x                            = 56
1icon_layer_y                            = 7

inv_weight                               = 3.22

hud                                      = wpn_vintorez_pso1m21_sk1_hud

scope_status                             = 1
scope_dynamic_zoom                       = on
scope_texture                            = wpn_crosshair_pso1
scope_zoom_factor                        = 15


[wpn_vintorez_pso1m21_sk1_hud]:wpn_vintorez_1p29_hud
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_sk1_hud.ogf


;------------------------------------------------------------------------------------------------
;-- Nimble
;------------------------------------------------------------------------------------------------
[wpn_vintorez_nimble]:wpn_vintorez,wpn_vintorez_nimble_sounds
$spawn                                   = "weapons\unique\vintorez_nimble"
parent_section                           = wpn_vintorez_nimble

inv_grid_x                               = 30
inv_grid_y                               = 24
inv_name                                 = st_wpn_vintorez_nimble
description                              = st_wpn_vintorez_nimble_descr

inv_weight                               = 3.28
cost                                     = 51850
weapon_class                             = sniper_rifle

hud                                      = wpn_vintorez_nimble_hud
visual                                   = dynamics\weapons\wpn_vintorez\wpn_vintorez_nimble.ogf

upgrades                                 = up_gr_firstab_vintorez_nimble, up_gr_seconab_vintorez_nimble, up_gr_thirdab_vintorez_nimble, up_gr_fourtab_vintorez_nimble, up_gr_fourtcd_vintorez_nimble, up_gr_fourtef_vintorez_nimble

scopes                                   = none
scope_status                             = 1
scope_dynamic_zoom                       = on
scope_texture                            = wpn_crosshair_pso1
scope_zoom_factor                        = 15

hit_power                                = 0.64, 0.64, 0.64, 0.64
rpm                                      = 774

fire_dispersion_base                     = 2

misfire_start_condition                  = 0.7 ;  0.8
misfire_start_prob                       = 0.004
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.03

condition_queue_shot_dec                 = 0.0023
condition_shot_dec                       = 0.0018


[wpn_vintorez_nimble_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_vintorez\wpn_vintorez_nimble_hud.ogf
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

shell_bone                               = wpn_body
shell_dir                                = 0.0, 1.0, 0.0
shell_point                              = 0.01, 0.05, 0.041

fire_bone                                = wpn_body
fire_bone2                               = wpn_body
fire_point                               = 0, 0.037, 0.626
fire_point2                              = -0.014000, 0.010000, -0.037000

item_position                            = 0,0,0
item_orientation                         = 0,0,0

hands_position                           = 0,-0.01,0
hands_position_16x9                      = 0,-0.01,0
hands_orientation                        = 1, 1, 0
hands_orientation_16x9                   = 1, 1, 0

aim_hud_offset_pos                       = -0.0717,0.047,-0.15
aim_hud_offset_pos_16x9                  = -0.0717,0.047,-0.15
aim_hud_offset_rot                       = 0.019,0.0182,0
aim_hud_offset_rot_16x9                  = 0.019,0.0182,0

lowered_hud_offset_pos					 = 0.23,0.03,0
lowered_hud_offset_rot_16x9				 = 0.1,-0.8,0.1

lean_hud_offset_pos                      = 0, 0, 0
lean_hud_offset_rot                      = 0, 0, 0

anm_bore                                 = vintorez_inspect, nimble_idle, 1
anm_hide                                 = vintorez_holster, nimble_idle, 1
anm_idle                                 = vintorez_idle, nimble_idle, 1
anm_idle_aim                             = vintorez_idle_ads, nimble_idle
anm_idle_aim_moving                      = vintorez_idle_ads, nimble_idle
anm_idle_aim_moving_crouch               = vintorez_idle_ads, nimble_idle
anm_idle_moving                          = vintorez_walk, nimble_idle, 0.87
anm_idle_moving_crouch                   = vintorez_walk, nimble_idle, 0.87
anm_idle_sprint                          = vintorez_sprint, nimble_idle, 1.2
anm_reload                               = vintorez_nimble_reload, nimble_reload, 1
anm_reload_empty                         = vintorez_nimble_reload_empty, nimble_reload_empty, 1
anm_shots                                = vintorez_shoot, nimble_shoot
anm_shots1                               = vintorez_shoot1, nimble_shoot
anm_shots2                               = vintorez_shoot2, nimble_shoot
anm_show                                 = vintorez_draw, nimble_idle, 1
anm_reload_misfire                       = vintorez_unjam, nimble_idle, 1
anm_switch_mode                  		 = vintorez_firemode, nimble_idle, 1