;------------------------------------------------------------------------------------------------
[wpn_saiga12s_m1]:identity_immunities,weapon_probability,default_weapon_params;wpn_saiga_sounds
GroupControlSection                      = spawn_group
discovery_dependency                     =
$npc                                     = on
$prefetch                                = 8
$spawn                                   = "weapons\ak-74"
scheduled                                = off
cform                                    = skeleton
parent_section                           = wpn_saiga12s_m1

class                                    = WP_ASHTG
slot                                     = 2
animation_slot                           = 2
ef_main_weapon_type                      = 2
ef_weapon_type                           = 6
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         = 29
inv_grid_y         = 7


inv_name                                 = st_wpn_saiga12s_m1
inv_name_short                           = st_wpn_saiga12s_m1
description                              = st_wpn_saiga12s_m1_descr

kind                                     = w_shotgun
inv_weight                               = 3.81
cost                                     = 48680
repair_type                              = shotgun
weapon_class                             = shotgun

hud                                      = wpn_saiga12s_m1_hud
visual                                   = dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_world.ogf
position                                 = -0.026, 0.05, 0.14
orientation                              = 0, 0, 0
fire_point                               = 0, 0.218, 0.656
fire_point2                              = 0, 0.161, 0.583
strap_bone0                              = bip01_spine2
strap_bone1                              = bip01_spine1
strap_position                           = -0.26, -0.10, 0.05
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
        ;smoke_particles		   	    = ghost_particles\weapons\flame_eft_sks          ;particles remade incomp. 

shell_point						         = 0.0, 0.138, 0.07
shell_particles					         = weapons\12ga

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

upgrades                                 = up_gr_firstab_saiga12, up_gr_seconab_saiga12, up_gr_thirdab_saiga12, up_gr_fourtab_saiga12, up_gr_fifthab_saiga12
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_ak74u

upgr_icon_x                              = 1450
upgr_icon_y                              = 350
upgr_icon_width                          = 300
upgr_icon_height                         = 100

fire_modes                               = 1
ammo_class                               = ammo_12x70_buck, ammo_12x70_buck_bad, ammo_12x70_buck_verybad, ammo_12x76_zhekan, ammo_12x76_zhekan_bad, ammo_12x76_zhekan_verybad, ammo_12x76_dart, ammo_12x76_dart_bad, ammo_12x76_dart_verybad; ammo_12x70_buck_self
ammo_elapsed                             = 6
ammo_limit                               = 210
ammo_mag_size                            = 6
startup_ammo                             = 90

scopes 				                     = kobra, okp, ekp8_02, pka, 1p76
scope_status                             = 0
scope_zoom_factor                        = 0

silencer_name                            = wpn_sil_kek12
silencer_status                          = 2
silencer_x                               = 210
silencer_y                               = 10
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, ammo_vog-25, ammo_vog-25_bad, ammo_vog-25_verybadp
grenade_launcher_name                    = wpn_addon_grenade_launcher
grenade_launcher_status                  = 0
grenade_launcher_x                       = 116
grenade_launcher_y                       = 15
launch_speed                             = 0

hit_impulse                              = 40
hit_power                                = 0.788, 0.788, 0.788, 0.788
hit_type                                 = fire_wound
fire_distance                            = 300
bullet_speed                             = 325
rpm                                      = 250
rpm_empty_click                          = 200

use_aim_bullet                           = true
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, 1.7
control_inertion_factor = 1.0f
crosshair_inertion                       = 6.5
fire_dispersion_base                     = 0.46
fire_dispersion_condition_factor         = 0.001

misfire_probability                      = 0.005
misfire_start_condition                  = 0.7 ;  0.88
misfire_start_prob                       = 0.007
misfire_end_condition                    = 0.12
misfire_end_prob                         = 0.11

condition_queue_shot_dec                 = 0.0020
condition_shot_dec                       = 0.0020

cam_return                               = 0
cam_relax_speed                          = 10
cam_dispersion                           = 6.6
cam_dispersion_frac                      = 1.0
cam_dispersion_inc                       = 0.0
cam_max_angle                            = 50.0
cam_max_angle_horz                       = 50.0
cam_step_angle_horz                      = 1.24
zoom_cam_relax_speed                     = 9
zoom_cam_dispersion                      = 5.3
zoom_cam_dispersion_frac                 = 0.8
zoom_cam_dispersion_inc                  = 0.0
zoom_cam_max_angle                       = 50.0
zoom_cam_max_angle_horz                  = 50.0
zoom_cam_step_angle_horz                 = 1.12

PDM_disp_accel_factor                    = 2.4
PDM_disp_base                            = 0.96
PDM_disp_crouch                          = 1.0
PDM_disp_crouch_no_acc                   = 1.0
PDM_disp_vel_factor                      = 2.4

cam_relax_speed_ai                       = 360
zoom_cam_relax_speed_ai                  = 360
holder_fov_modifier                      = 0.7
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                               = 28
kill_msg_width                           = 84
kill_msg_height                          = 28

hud_fov                             = 0.78 

flame_particles = ghost_particles\weapons\flame_eft_shotgun
smoke_particles = ghost_particles\weapons\flame_eft_sks
silencer_smoke_particles = ghost_particles\weapons\generic_smoke_eft_sil
grenade_flame_particles = weapons\generic_weapon01
--------------------------------------------------------------------Sounds------------------------------------------------------------------------------
snd_draw				= weapons\saiga_eft\saiga_draw
snd_holster				= weapons\saiga_eft\saiga_holster

snd_shoot             	  = weapons\saiga12_young_prince\saiga12_shot_1
snd_shoot1             	  = weapons\saiga12_young_prince\saiga12_shot_2
snd_shoot2             	  = weapons\saiga12_young_prince\saiga12_shot_3
snd_shoot3             	  = weapons\saiga12_young_prince\saiga12_shot_4

snd_reload				= weapons\saiga_eft\reload
snd_reload_empty		= weapons\saiga_eft\reload_full
snd_silncer_shot		= weapons\saiga_eft\saiga_shot_sil
snd_empty			    = weapons\protecta\protecta_empty
snd_reload_misfire      = weapons\saiga_eft\reload_full
;---------------------------------------------------------------------HUD-------------------------------------------------------------------------------
[wpn_saiga12s_m1_hud]:hud_base

item_visual                	             = dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_hud.ogf

attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

;-----------
hands_position_16x9				= 0.006100,-0.028800,-0.200000
hands_orientation_16x9			= 1.418723,2.100001,0.000000

aim_hud_offset_pos_16x9				= -0.062676,0.035425,-0.038300
aim_hud_offset_rot_16x9				= 0.038587,0.024469,0.000000

item_position				= 0,0,0
item_orientation			= 0,0,0
;------------

        		lowered_hud_offset_pos_16x9		= 0.1,-0.01,0
		        lowered_hud_offset_rot_16x9		= 0.1,-0.8,0.1  
				
hands_position                           = -0.074, -0.16, 0.1
hands_orientation                        = 0.52, 2.4, 0.15

aim_hud_offset_pos                       = -0.0755,0.0768,-0.23
aim_hud_offset_rot                       = 0.03885,0.0082,-0.012

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                     = saiga12_eft_draw, draw
anm_hide                     = saiga12_eft_hide, hide
anm_idle                     = saiga12_eft_idle, idle
;anm_idle_sprint             = saiga12_eft_idle_sprint_common, idle
anm_idle_sprint         	 = saiga12_idle_sprint, idle
anm_idle_moving              = saiga12_eft_idle_moving_common, idle
anm_idle_moving_crouch       = saiga12_eft_idle_moving_crouch_common, idle
anm_shots                    = saiga12_eft_shoot_1, shoot
anm_reload                   = saiga12_eft_reload, reload
anm_reload_empty             = saiga12_eft_reload_full, reload_full
anm_idle_aim                 = saiga12_eft_idle_aim, idle
anm_bore                     = saiga12_eft_inspect, idle
anm_reload_misfire           = saiga12_eft_reload_full, reload_full

shell_point           	  		= 0,-0.025,-0.075
shell_dir               		= 0,1,0
shell_bone              		= slide

fire_point				        = 0,0,0.4
fire_bone               		= wpn_body
fire_point2				        = -0.03,0.0745,-0.037
fire_bone2                		= wpn_body

freelook_z_offset_mul					 = 0.5

;------------------------------------------------------------------------Addons-------------------------------------------------------------------------
[wpn_saiga12s_m1_kobra]:wpn_saiga12s_m1

inv_weight			= 4.21

hud                     	= wpn_saiga12s_m1_kobra_hud

1icon_layer			= kobra
1icon_layer_x			= 72
1icon_layer_y			= 2              

visual = dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_world.ogf

[wpn_saiga12s_m1_kobra_hud]:wpn_saiga12s_m1_hud

item_visual                	= dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_kobra_hud.ogf

aim_hud_offset_pos_16x9				= -0.061276,0.004225,-0.049300
aim_hud_offset_rot_16x9				= 0.038587,0.024469,0.000000
;-----------------------------------------------------------------------------
[wpn_saiga12s_m1_okp]:wpn_saiga12s_m1

inv_weight			= 4.065

hud                     	= wpn_saiga12s_m1_okp_hud

1icon_layer			= okp
1icon_layer_x			= 72
1icon_layer_y			= 2            

visual = dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_world.ogf

[wpn_saiga12s_m1_okp_hud]:wpn_saiga12s_m1_hud

item_visual                	= dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_okp_hud.ogf

aim_hud_offset_pos_16x9				= -0.051700,0.014900,-0.046800
aim_hud_offset_rot_16x9				= 0.020862,0.008110,0.000000
;-----------------------------------------------------------------------------
[wpn_saiga12s_m1_ekp8_02]:wpn_saiga12s_m1

hud					= wpn_saiga12s_m1_ekp8_02_hud

visual					= dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_world.ogf

1icon_layer                              = ekp8_02
1icon_layer_x                            = 67
1icon_layer_y                            = -1

inv_weight                               = 4.083

[wpn_saiga12s_m1_ekp8_02_hud]:wpn_saiga12s_m1_hud

item_visual                		= dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_ekp_hud.ogf

aim_hud_offset_pos_16x9				= -0.060976,0.008125,-0.043700
aim_hud_offset_rot_16x9				= 0.060087,0.029969,0.000000
;------------------------------------------------------------------------------------
[wpn_saiga12s_m1_1p76]:wpn_saiga12s_m1

1icon_layer                              = 1p76
1icon_layer_x                            = 75
1icon_layer_y                            = -5

hud					= wpn_saiga12s_m1_1p76_hud

visual					= dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_world.ogf

inv_weight                               = 4.31

[wpn_saiga12s_m1_1p76_hud]:wpn_saiga12s_m1_hud

item_visual                		= dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_1p76_hud.ogf

aim_hud_offset_pos_16x9				= -0.061676,-0.001075,-0.030200
aim_hud_offset_rot_16x9				= 0.038587,0.024469,0.000000
;---------------------------------------------------------------------------------------------------
[wpn_saiga12s_m1_pka]:wpn_saiga12s_m1

1icon_layer                              = pka
1icon_layer_x                            = 72
1icon_layer_y                            = 2

visual					= dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_world.ogf

inv_weight                               = 4.410

hud                                      = wpn_saiga12s_m1_pka_hud

                                            zoom_rotate_time                         = 0.25
                                            scope_lense_fov                          = 16

[wpn_saiga12s_m1_pka_hud]:wpn_saiga12s_m1_hud

item_visual                		= dynamics\weapons\wpn_saiga12s_m1\wpn_saiga12s_m1_pka_hud.ogf

aim_hud_offset_pos_16x9				= -0.053076,0.009925,-0.062000
aim_hud_offset_rot_16x9				= 0.038587,0.024469,0.000000
;----------------------------------------------------------------------------------------------------