;------------------------------------------------------------------------------------------------
[wpn_sks]:identity_immunities,weapon_probability,default_weapon_params,wpn_sks_sounds
GroupControlSection                      = spawn_group
discovery_dependency                     =
$npc                                     = on
$prefetch                                = 8
scheduled                                = off
cform                                    = skeleton

class                                    = WP_ASHTG
slot                                     = 2
animation_slot                           = 2
ef_main_weapon_type                      = 3
ef_weapon_type                           = 11
hand_dependence                          = 1
single_handed                            = 0

default_to_ruck                          = false
sprint_allowed                           = true

inv_grid_height                          = 1
inv_grid_width                           = 5
inv_grid_x                               = 45
inv_grid_y                               = 76
inv_name                                 = st_wpn_sks
inv_name_short                           = st_wpn_sks
description                              = st_wpn_sks_descr

kind                                     = w_sniper
inv_weight                               = 3.75
cost                                     = 19580
repair_type                              = rifle_7
weapon_class                             = sniper_rifle

hud                                      = wpn_sks_hud
visual                                   = dynamics\weapons\wpn_sks\wpn_sks.ogf
position                                 = -0.026, -0.077, 0.00
orientation                              = 0, 0, 0
fire_point                               = 0.0, 0.129, 0.942
fire_point2                              = 0.0, 0.129, 0.942
strap_bone0                              = bip01_spine2
strap_bone1                              = bip01_spine1
strap_position                           = -0.15, -0.15, 0.45
strap_orientation                        = -25, -189, 65
ph_mass                                  = 3

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

shell_point		 	                     = 0, 0.129, 0.192
shell_dir		 	                     = 0, 0, 0.4
shell_particles			                 = weapons\fake_shells

light_disabled                           = false
light_color                              = 0.6, 0.5, 0.3
light_range                              = 4.0
light_time                               = 0.2
light_var_color                          = 0.05
light_var_range                          = 0.5

upgrades                                 = up_gr_firstab_sks, up_gr_seconab_sks, up_gr_thirdab_sks
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_toz34
upgr_icon_x                              = 1200
upgr_icon_y                              = 2000
upgr_icon_width                          = 250
upgr_icon_height                         = 50

fire_modes                               = 1
ammo_class                               = ammo_7.62x39_fmj, ammo_7.62x39_fmj_bad, ammo_7.62x39_fmj_verybad, ammo_7.62x39_ap, ammo_7.62x39_ap_bad, ammo_7.62x39_ap_verybad
ammo_current                             = 10
ammo_elapsed                             = 10
ammo_limit                               = 60
ammo_mag_size                            = 10
startup_ammo                             = 10

scopes_sect                              = scope_sks
scope_status                             = 2
scope_zoom_factor                        = 0

silencer_status                          = 0
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_vog-25, ammo_vog-25_bad, ammo_vog-25_verybad
grenade_launcher_status                  = 0
launch_speed                             = 0

hit_impulse                              = 34
hit_power                                = 0.58, 0.58, 0.58, 0.58
hit_type                                 = fire_wound
fire_distance                            = 900
bullet_speed                             = 700
rpm                                      = 550
rpm_empty_click                          = 200

use_aim_bullet                           = true
time_to_aim                              = 0.0 ;  1.0
zoom_enabled                             = true
zoom_rotate_time                         = 0.25
reload_dof                               = 0.0, 0.5, 5, 1.7
control_inertion_factor = 1.0f
crosshair_inertion                       = 8.3
fire_dispersion_base                     = 0.204
fire_dispersion_condition_factor         = 0.001

misfire_probability                      = 0.005
misfire_start_condition                  = 0.7 ;  0.65
misfire_start_prob                       = 0.01
misfire_end_condition                    = 0.17
misfire_end_prob                         = 0.05

condition_queue_shot_dec                 = 0.0013
condition_shot_dec                       = 0.0013

cam_return                               = 0
cam_relax_speed                          = 10
cam_dispersion                           = 2.845
cam_dispersion_frac                      = 1.1
cam_dispersion_inc                       = 0.0006
cam_max_angle                            = 50.0
cam_max_angle_horz                       = 50.0
cam_step_angle_horz                      = 1.59
zoom_cam_relax_speed                     = 10
zoom_cam_dispersion                      = 2.745
zoom_cam_dispersion_frac                 = 0.9
zoom_cam_dispersion_inc                  = 0.0003
zoom_cam_max_angle                       = 50.0
zoom_cam_max_angle_horz                  = 50.0
zoom_cam_step_angle_horz                 = 1.06

PDM_disp_accel_factor                    = 2.75
PDM_disp_base                            = 1.45
PDM_disp_crouch                          = 1.0
PDM_disp_crouch_no_acc                   = 1.0
PDM_disp_vel_factor                      = 2.75

cam_relax_speed_ai                       = 360
zoom_cam_relax_speed_ai                  = 360
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                               = 259
kill_msg_y                               = 293
kill_msg_width                           = 114
kill_msg_height                          = 22


[wpn_sks_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_sks\wpn_sks_hud.ogf
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

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

hands_position                           = -0.001, 0, 0.035
hands_position_16x9                      = -0.001, 0, 0.035
hands_orientation                        = 0, 0, 0
hands_orientation_16x9                   = 0, 0, 0

aim_hud_offset_pos                       = -0.05725, 0.039, -0.16
aim_hud_offset_pos_16x9                  = -0.05725, 0.039, -0.16
aim_hud_offset_rot                       = 0.0039, 0.0011, 0
aim_hud_offset_rot_16x9                  = 0.0039, 0.0011, 0

gl_hud_offset_pos                        = 0, 0, 0
gl_hud_offset_rot                        = 0, 0, 0

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

anm_bore                                 = sks_b_inspect
anm_bore_empty                           = sks_b_inspect, idle_empty
anm_hide                                 = sks_b_holster, idle, 1
anm_hide_empty                           = sks_b_holster, idle_empty, 1
anm_idle                                 = sks_b_idle, idle, 0.75
anm_idle_empty                           = sks_b_idle, idle_empty, 0.75
anm_idle_aim                             = sks_b_idle_ads, idle, 0.35
anm_idle_aim_empty                       = sks_b_idle_ads, idle_empty, 0.35
anm_idle_aim_moving                      = sks_b_idle_ads, idle, 0.35
anm_idle_aim_moving_empty                = sks_b_idle_ads, idle, 0.35
anm_idle_aim_moving_crouch               = sks_b_idle_ads, idle, 0.35
anm_idle_aim_moving_crouch_empty         = sks_b_idle_ads, idle, 0.35
anm_idle_moving                          = sks_b_walk, idle, 0.87
anm_idle_moving_empty                    = sks_b_walk, idle_empty, 0.87
anm_idle_sprint                          = sks_b_sprint, idle, 1.2
anm_idle_sprint_empty                    = sks_b_sprint, idle_empty, 1.2
anm_reload                               = sks_b_reload, reload, 1
anm_reload_empty                         = sks_b_reload_empty, reload_empty, 1
anm_shot_l                               = sks_b_shoot_empty
anm_shots                                = sks_b_shoot
anm_show                                 = sks_b_draw, idle, 0.90
anm_show_empty                           = sks_b_draw, idle_empty, 0.90
anm_reload_misfire                       = sks_b_unjam, unjam, 1.12

shell_bone                               = wpn_body
shell_point			                     = 0, 0.216, 0.174
shell_dir			                     = 0, 0, 0.4
shell_particles	 		                 = weapons\762x39

fire_bone                                = muzzle
fire_point                               = 0, 0, 0

grenade_bone                             = grenade

;------------------------------------------------------------------------------------------------
[wpn_sks_modern]:wpn_sks
inv_grid_height                          = 1
inv_grid_width                           = 5
inv_grid_x                               = 50
inv_grid_y                               = 76
inv_name                                 = st_wpn_sks_modern
inv_name_short                           = st_wpn_sks_modern

cost                                     = 22960

hud                                      = wpn_sks_sk1_hud
visual                                   = dynamics\weapons\wpn_sks\wpn_sks_sk1

installed_upgrades                       = up_firsta_sks

bullet_speed                             = 715

fire_dispersion_base                     = 0.176

misfire_start_condition                  = 0.7 ;  0.6
misfire_start_prob                       = 0.007
misfire_end_condition                    = 0.15
misfire_end_prob                         = 0.035

condition_queue_shot_dec                 = 0.0014
condition_shot_dec                       = 0.0014

cam_return                               = 0
cam_relax_speed                          = 10
cam_dispersion                           = 2.545
cam_dispersion_frac                      = 1.1
cam_dispersion_inc                       = 0.0006
cam_max_angle                            = 50.0
cam_max_angle_horz                       = 50.0
cam_step_angle_horz                      = 1.59
zoom_cam_relax_speed                     = 10
zoom_cam_dispersion                      = 2.445
zoom_cam_dispersion_frac                 = 0.9
zoom_cam_dispersion_inc                  = 0.0003
zoom_cam_max_angle                       = 50.0
zoom_cam_max_angle_horz                  = 50.0
zoom_cam_step_angle_horz                 = 1.06


[wpn_sks_sk1_hud]:wpn_sks_hud
item_visual                              = anomaly_weapons\wpn_sks\wpn_sks_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[scope_sks]
scope_name                               = wpn_addon_scope_pu
scope_x                                  = 58
scope_y                                  = -21

