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

class                                    = WP_VAL
slot                                     = 2
animation_slot                           = 2
ef_main_weapon_type                      = 2
ef_weapon_type                           = 8
hand_dependence                          = 1
single_handed                            = 0

default_to_ruck                          = false
sprint_allowed                           = true

icons_texture                                       = ui\ui_icon_bas
inv_grid_width     = 5
inv_grid_height    = 2
inv_grid_x         = 12
inv_grid_y         = 8

inv_name                                 = st_wpn_val_tac
inv_name_short                           = st_wpn_val_tac
description                              = st_wpn_val_tac_descr

kind                                     = w_rifle
inv_weight                               = 2.5
cost                                     = 48860
repair_type                              = rifle_7
weapon_class                             = assault_rifle

hud                                      = wpn_val_tac_hud
visual                                   = dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

position                                 = -0.026, 0.0, 0
orientation                              = 0, 0, 0
fire_point                               = 0, 0.174, 0.562
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                                  = 3

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

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_val, up_gr_seconab_val, up_gr_thirdab_val, up_gr_fourtab_val, up_gr_fifthab_val
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_val

upgr_icon_x                              = 600
upgr_icon_y                              = 800
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                             = 20
ammo_mag_size                            = 20
startup_ammo                             = 90

scopes                                   = 1p29, kobra, ps01, okp, pso2, ekp8_02, 1p59, pka, 1pn93, 1pn93n2_1gs, 1p78gs, pso1m21, usp1, 1p76
scope_status                             = 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_launcher_status                  = 0
launch_speed                             = 0

hit_impulse                              = 33
hit_power                                = 0.62, 0.62, 0.62, 0.62
hit_type                                 = fire_wound
fire_distance                            = 600
bullet_speed                             = 500
rpm                                      = 900
rpm_empty_click                          = 200

use_aim_bullet                           = false
time_to_aim                              = 0.0 ;  3.0
zoom_dof                                 = 0.5, 1.0, 180
zoom_enabled                             = true
zoom_rotate_time                         = 0.25
reload_dof                               = 0.0, 0.5, 5, 2
control_inertion_factor = 1.0f
crosshair_inertion                       = 4.8
fire_dispersion_base                     = 0.3
fire_dispersion_condition_factor         = 0.001

misfire_probability                      = 0.005
misfire_start_condition                  = 0.7 ;  0.82
misfire_start_prob                       = 0.007
misfire_end_condition                    = 0.09
misfire_end_prob                         = 0.11

condition_queue_shot_dec                 = 0.00105
condition_shot_dec                       = 0.00105

cam_return                               = 0
cam_relax_speed                          = 10
cam_dispersion                           = 0.5
cam_dispersion_frac                      = 0.9
cam_dispersion_inc                       = 0.05
cam_max_angle                            = 43.0
cam_max_angle_horz                       = 43.0
cam_step_angle_horz                      = 0.59
zoom_cam_relax_speed                     = 10
zoom_cam_dispersion                      = 0.4
zoom_cam_dispersion_frac                 = 0.9
zoom_cam_dispersion_inc                  = 0.04
zoom_cam_max_angle                       = 43.0
zoom_cam_max_angle_horz                  = 43.0
zoom_cam_step_angle_horz                 = 0.41

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                    = 1.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                               = 0
kill_msg_y                               = 154
kill_msg_width                           = 78
kill_msg_height                          = 21

shell_point				            = 0,0.216,0.174
shell_dir					        = 0, 0, 0.4
shell_particles         			= weapons\9x39

scope_zoom_factor_alt             = 0

use_alt_aim_hud                   = true

hud_fov                             = 0.78 

laser_status = true
;---------------------------------------------------------------------SOUNDS----------------------------------------------------------------------------
snd_bore                 = $no_sound
snd_draw                = weapons\ak74m_beard\ak74_draw
snd_holster             = weapons\ak74m_beard\hide

snd_shoot                = weapons\val_young_prince\val_shot_1
snd_shoot1               = weapons\val_young_prince\val_shot_2
snd_shoot2               = weapons\val_young_prince\val_shot_3
snd_shoot3               = weapons\val_young_prince\val_shot_4
snd_shoot4               = weapons\val_young_prince\val_shot_5
snd_shoot5               = weapons\val_young_prince\val_shot_6
snd_shoot6               = weapons\val_young_prince\val_shot_7

snd_silncer_shot         = weapons\val_young_prince\val_shot_1
snd_silncer_shot1        = weapons\val_young_prince\val_shot_1
snd_silncer_shot2        = weapons\val_young_prince\val_shot_1
snd_silncer_shot3        = weapons\val_young_prince\val_shot_1
snd_silncer_shot4        = weapons\val_young_prince\val_shot_1
snd_silncer_shot5        = weapons\val_young_prince\val_shot_1
snd_silncer_shot6        = weapons\val_young_prince\val_shot_1

snd_empty               = weapons\ak74m_beard\trigger_hammer
snd_reload              = weapons\vss_val_iwt\val_reload
snd_reload_empty        = weapons\vss_val_iwt\val_reload_empty
snd_reload_misfire		= weapons\vss_val_iwt\val_misfire

snd_switch_mode			= weapons\generic\switch_mode
;-----------------------------------------------------------------------HUD-----------------------------------------------------------------------------
[wpn_val_tac_hud]:hud_base

item_visual                              = dynamics\weapons\wpn_val_tac\wpn_val_tac_hud.ogf

attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

;------
aim_hud_offset_pos_16x9				= -0.064000,0.037800,-0.055202
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000

hands_position_16x9				= 0.003400,0.027000,-0.216001
hands_orientation_16x9			= 0.468684,0.672963,0.000000

item_position				= -0.003341,-0.002496,-0.006854
item_orientation			= 0.000000,0.000000,0.000000

aim_hud_offset_alt_pos_16x9				= -0.094801,-0.045400,-0.020401
aim_hud_offset_alt_rot_16x9				= 0.006487,0.013060,0.798999
;--------

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

hands_position                           = -0.062, -0.15, 0.15

hands_orientation                        = 2, 2, 0


aim_hud_offset_pos                       = -0.09365, 0.0768, -0.3

aim_hud_offset_rot                       = 0.0293, 0.03405, -0.01


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

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

anm_show             			= val_ac_draw
anm_hide             			= val_ac_holster
anm_idle             			= val_ac_idle
anm_idle_sprint        		 	= val_ac_sprint
anm_idle_moving_slow    		= val_ac_moving_slow
anm_idle_moving 				= val_ac_moving
anm_idle_moving_crouch			= val_ac_crouch
anm_shots               		= val_ac_shoot, shoot
anm_reload              		= val_ac_reload, reload
anm_reload_empty        		= val_ac_reload_empty, reload_empty
anm_reload_misfire				= val_ac_misfire, misfire
anm_idle_aim           			= val_ac_idle_aim
anm_bore				        = val_ac_bore
;anm_shots_when_aim             = val_ac_shoot_aim, shoot

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

;-----------------------------------------------------------------Addons--------------------------------------------------------------------------------
[wpn_val_tac_1p29]:wpn_val_tac
1icon_layer                              = 1p29
1icon_layer_x                            = 65
1icon_layer_y                            = 1

inv_weight                               = 3.3

hud                                      = wpn_val_tac_1p29_hud
visual                                   = dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

scope_status                             = 1
scope_dynamic_zoom                       = off
scope_texture                            = wpn_crosshair_1p29
scope_zoom_factor                                  = 25

zoom_rotate_time                         = 0.25

[wpn_val_tac_1p29_hud]:wpn_val_tac_hud

item_visual                              = dynamics\weapons\wpn_val_tac\wpn_val_tac_1p29_hud.ogf

aim_hud_offset_pos_16x9				= -0.069400,0.002600,-0.049702
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000

hands_position_16x9				= 0.003400,0.013300,-0.199901
hands_orientation_16x9			= 0.468684,0.672963,0.000000

aim_hud_offset_alt_pos_16x9				= -0.107601,-0.045400,-0.020401
aim_hud_offset_alt_rot_16x9				= 0.006137,0.014060,0.798999
;-------------------------------------------------------------------------------------------------
[wpn_val_tac_kobra]:wpn_val_tac
1icon_layer                              = kobra
1icon_layer_x                            = 73
1icon_layer_y                            = 1

inv_weight                               = 2.8

hud                                      = wpn_val_tac_kobra_hud
visual                                   = dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

[wpn_val_tac_kobra_hud]:wpn_val_tac_hud

item_visual                              = dynamics\weapons\wpn_val_tac\wpn_val_tac_kobra_hud.ogf

aim_hud_offset_pos_16x9				= -0.065700,-0.004800,-0.063702
aim_hud_offset_rot_16x9				= 0.000687,0.008860,0.000000
;------------------------------------------------------------------------------------------------
[wpn_val_tac_ps01]:wpn_val_tac
1icon_layer                              = ps01
1icon_layer_x                            = 53
1icon_layer_y                            = -2

inv_weight                               = 3.1

hud                                      = wpn_val_tac_pso1_hud

scope_status                             = 1
scope_dynamic_zoom                       = off
scope_texture                            = wpn_crosshair_pso1
scope_zoom_factor                                  = 25

zoom_rotate_time                         = 0.25


[wpn_val_tac_pso1_hud]:wpn_val_tac_hud

item_visual                              = dynamics\weapons\wpn_val_tac\wpn_val_tac_ps01_hud.ogf

aim_hud_offset_pos_16x9				= -0.058700,0.004700,-0.041502
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000

hands_position_16x9				= 0.003400,0.027000,-0.192001
hands_orientation_16x9			= 0.468684,0.672963,0.000000
;------------------------------------------------------------------------------------------------
[wpn_val_tac_pso2]:wpn_val_tac

inv_weight			= 3.100

hud				= wpn_val_tac_pso2_hud

1icon_layer			    = pso2
1icon_layer_x			= 56
1icon_layer_y			= 0

visual				= dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

scope_status            = 1
scope_texture			= wpn_crosshair_pso2_vss
scope_zoom_factor                                  = 25
zoom_rotate_time		= 0.25

[wpn_val_tac_pso2_hud]:wpn_val_tac_hud

item_visual                	= dynamics\weapons\wpn_val_tac\wpn_val_tac_pso2_hud.ogf

aim_hud_offset_pos_16x9				= -0.055200,0.001500,-0.055202
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000
;------------------------------------------------------------------------------------------
[wpn_val_tac_okp]:wpn_val_tac

inv_weight			= 2.755

hud				= wpn_val_tac_okp_hud

1icon_layer			    = okp
1icon_layer_x			= 70
1icon_layer_y			= 0

visual				= dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

scope_status			= 0

scope_dynamic_zoom      = off

[wpn_val_tac_okp_hud]:wpn_val_tac_hud

item_visual                	= dynamics\weapons\wpn_val_tac\wpn_val_tac_okp_hud.ogf

aim_hud_offset_pos_16x9				= -0.061400,0.011700,-0.055202
aim_hud_offset_rot_16x9				= 0.003037,0.008410,0.000000
;------------------------------------------------------------------------------------------
[wpn_val_tac_ekp8_02]:wpn_val_tac

inv_weight			= 2.773

hud				= wpn_val_tac_ekp8_02_hud

1icon_layer			    = ekp8_02
1icon_layer_x			= 70
1icon_layer_y			= 0

visual				= dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

scope_status			= 0

scope_dynamic_zoom = off

[wpn_val_tac_ekp8_02_hud]:wpn_val_tac_hud

item_visual                	= dynamics\weapons\wpn_val_tac\wpn_val_tac_ekp8_02_hud.ogf

aim_hud_offset_pos_16x9				= -0.064300,-0.002200,-0.064902
aim_hud_offset_rot_16x9				= 0.001437,0.008860,0.000000
;----------------------------------------------------------------------------------------
[wpn_val_tac_pka]:wpn_val_tac

inv_weight			= 3.15

hud				= wpn_val_tac_pka_hud

1icon_layer			    = pka
1icon_layer_x			= 87
1icon_layer_y			= 0

visual				= dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

                                            zoom_rotate_time                         = 0.25
                                            scope_lense_fov                          = 12

[wpn_val_tac_pka_hud]:wpn_val_tac_hud

item_visual                	= dynamics\weapons\wpn_val_tac\wpn_val_tac_pka_hud.ogf

aim_hud_offset_pos_16x9				= -0.058300,0.003100,-0.082000
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000
;----------------------------------------------------------------------------------------
[wpn_val_tac_1pn93]:wpn_val_tac

inv_weight			= 3.75

hud				= wpn_val_tac_1pn93_hud

1icon_layer			    = 1pn93
1icon_layer_x			= 30
1icon_layer_y			= 0

nv_scope_status = 1

visual				= dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

;installed_upgrades                       = up_fourte_svd_nimble


scope_status            = 1
;scope_nightvision       = scope_nightvision_2gen
scope_texture			= wpn_crosshair_1pn93
scope_zoom_factor                                  = 25
zoom_rotate_time		= 0.25

[wpn_val_tac_1pn93_hud]:wpn_val_tac_hud

item_visual                	= dynamics\weapons\wpn_val_tac\wpn_val_tac_1pn93_hud.ogf

aim_hud_offset_pos_16x9				= -0.055600,-0.003900,-0.019402
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000
;-----------------------------------------------------------------------------------------
[wpn_val_tac_1p76]:wpn_val_tac

inv_weight			= 3.00

hud				= wpn_val_tac_1p76_hud

1icon_layer			    = 1p76
1icon_layer_x			= 68
1icon_layer_y			= -4

visual				= dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

scope_status			= 0

scope_dynamic_zoom = off

[wpn_val_tac_1p76_hud]:wpn_val_tac_hud

item_visual                	= dynamics\weapons\wpn_val_tac\wpn_val_tac_1p76_hud.ogf

aim_hud_offset_pos_16x9				= -0.065600,-0.007500,-0.055202
aim_hud_offset_rot_16x9				= 0.000387,0.009060,0.000000
;----------------------------------------------------------------------------------------
[wpn_val_tac_1pn93n2_1gs]:wpn_val_tac

hud					= wpn_val_tac_1pn93n2_1gs_hud

visual					= dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

1icon_layer                              = 1pn93n2_1gs
1icon_layer_x                            = 36
1icon_layer_y                            = 0

nv_scope_status = 1

scope_status                             = 1
scope_dynamic_zoom                       = off
;scope_nightvision                        = scope_nightvision_1gen
scope_texture                            = wpn_crosshair_1pn93n2_1gs
scope_zoom_factor                                  = 25
;installed_upgrades                       = up_fourte_svd_nimble

inv_weight                               = 3.450

[wpn_val_tac_1pn93n2_1gs_hud]:wpn_val_tac_hud

item_visual                		= dynamics\weapons\wpn_val_tac\wpn_val_tac_1pn93n2_1gs_hud.ogf

aim_hud_offset_pos_16x9				= -0.051700,0.004700,-0.030602
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000
;---------------------------------------------------------------------------------------------
[wpn_val_tac_1p78gs]:wpn_val_tac
1icon_layer                              = 1p78gs
1icon_layer_x                            = 68
1icon_layer_y                            = -7

inv_weight                               = 3.00

hud                                      = wpn_val_tac_1p78gs_hud

visual                                   = dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

scope_status                             = 1
scope_dynamic_zoom                       = off
scope_texture                            = wpn_crosshair_1p78gs
scope_zoom_factor                                  = 41

[wpn_val_tac_1p78gs_hud]:wpn_val_tac_hud

item_visual                              = dynamics\weapons\wpn_val_tac\wpn_val_tac_1p78gs_hud.ogf

aim_hud_offset_pos_16x9				= -0.066100,0.002300,-0.030802
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000
;-----------------------------------------------------------------------------------------------------
[wpn_val_tac_pso1m21]:wpn_val_tac
1icon_layer                              = pso1m21
1icon_layer_x                            = 51
1icon_layer_y                            = -2

inv_weight                               = 3.1

hud                                      = wpn_val_tac_pso1m21_hud

scope_status                             = 1
scope_dynamic_zoom                       = off
scope_texture                            = wpn_crosshair_vss
scope_zoom_factor                                  = 25

zoom_rotate_time                         = 0.25


[wpn_val_tac_pso1m21_hud]:wpn_val_tac_hud

item_visual                              = dynamics\weapons\wpn_val_tac\wpn_val_tac_pso1m21_hud.ogf

aim_hud_offset_pos_16x9				= -0.056000,0.001900,-0.026002
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000

hands_position_16x9				= 0.003400,0.027000,-0.201301
hands_orientation_16x9			= 0.468684,0.672963,0.000000
;------------------------------------------------------------------------------------------------
[wpn_val_tac_usp1]:wpn_val_tac                                                                  
1icon_layer                              = usp1
1icon_layer_x                            = 56
1icon_layer_y                            = 1

inv_weight                               = 3.300

hud                                      = wpn_val_tac_usp1_hud
visual                                   = dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf



scope_status                             = 1
scope_dynamic_zoom                       = off
scope_texture                            = wpn_crosshair_usp1
scope_zoom_factor                                  = 25


[wpn_val_tac_usp1_hud]:wpn_val_tac_hud

item_visual                              = dynamics\weapons\wpn_val_tac\wpn_val_tac_usp1_hud.ogf

aim_hud_offset_pos_16x9				= -0.067600,-0.003700,-0.055202
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000
;-----------------------------------------------------------------------------------------------------
[wpn_val_tac_1p59]:wpn_val_tac															;19

inv_weight			= 3.800

hud				= wpn_val_tac_1p59_hud

scope_dynamic_zoom                       = off
1icon_layer			    = 1p59
1icon_layer_x			= 65
1icon_layer_y			= 0

visual				= dynamics\weapons\wpn_val_tac\wpn_val_tac_world.ogf

scope_texture			= wpn_crosshair_1p59
scope_zoom_factor                                  = 11
zoom_rotate_time		= 0.25

scope_zoom_factor_alt             = 0

use_alt_aim_hud                   = true

[wpn_val_tac_1p59_hud]:wpn_val_tac_hud

item_visual                	= dynamics\weapons\wpn_val_tac\wpn_val_tac_1p59_hud.ogf

aim_hud_offset_pos_16x9				= -0.051200,0.005100,-0.066802
aim_hud_offset_rot_16x9				= 0.006137,0.008860,0.000000
;---------------------------------------------------------------------------------------------------
