;------------------------------------------------------------------------------------------------
[wpn_toz106]:identity_immunities,weapon_probability,default_weapon_params;wpn_sv98_sounds
        GroupControlSection         = spawn_group
        $npc                        = on
        $prefetch                   = 8
        $spawn                      = "weapons\toz-34"
        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
		
		;scopes 					    = none
        
		;parent_section              = wpn_toz106

icons_texture                                       = ui\ui_icon_bas		
inv_grid_width     = 4
inv_grid_height    = 1
inv_grid_x         = 29
inv_grid_y         = 3

        inv_name                    = st_wpn_toz106
        inv_name_short              = st_wpn_toz106
        description                 = st_wpn_toz106_descr
        
        kind                                     = w_shotgun
        inv_weight                  = 2.500
        cost                        = 5300
repair_type                              = shotgun
weapon_class                             = shotgun
        
        hud                         = wpn_toz106_hud
        visual                      = dynamics\weapons\wpn_toz106\wpn_toz106_world.ogf
        position                    = -0.026, -0.077, 0
        orientation                 = 0, 0, 0
        fire_point                  = 0, 0.129, 0.942
        fire_point2                 = 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

        smoke_particles		   	    = ghost_particles\weapons\flame_eft_sks          ;particles remade incomp.
        
		shell_point		 			= 0,0.129,0.192
		shell_dir		 			= 0,0,0.4
		;shell_particles			= weapons\762x54

        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_toz34, up_gr_seconab_toz34, up_gr_thirdab_toz34
        installed_upgrades          =
        upgrade_scheme              = upgrade_scheme_toz34
		
upgr_icon_x                              = 1450
upgr_icon_y                              = 550
upgr_icon_width                          = 300
upgr_icon_height                         = 50
        
        fire_modes                  = 1
        ammo_class                  = ammo_20x70_buck
        ammo_elapsed                = 2
        ammo_mag_size               = 2
        startup_ammo                = 10
        
        scope_status                = 0
		scope_dynamic_zoom          = off

        scope_zoom_factor           = 0
        

        silencer_status             = 0
        silencer_x                  = 272
        silencer_y                  = 22
        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
        
        hit_impulse                 = 40
        hit_power                   = 0.8, 0.8, 0.8, 0.8
        hit_type                    = fire_wound
        fire_distance               = 50
        bullet_speed                = 370
        rpm                         = 30
        rpm_empty_click             = 200
        
        use_aim_bullet              = false
        time_to_aim                 = 0.0 ;  1.0
        zoom_enabled                = true
        zoom_rotate_time            = 0.25
        reload_dof                  = 0.0, 0.5, 5, 2.2
control_inertion_factor = 1.0f
        crosshair_inertion          = 9.2
        fire_dispersion_base        = 0.08
        fire_dispersion_condition_factor = 0.001
        
        misfire_probability         = 0.005
        misfire_start_condition     = 0.7 ;  0.86
        misfire_start_prob          = 0.007
        misfire_end_condition       = 0.16
        misfire_end_prob            = 0.11
        
        condition_queue_shot_dec    = 0.0048
        condition_shot_dec          = 0.0048
        
        cam_return                  = 0
        cam_relax_speed             = 4.5
        cam_dispersion              = 2.81
        cam_dispersion_frac         = 1.1
        cam_dispersion_inc          = 2.81
        cam_max_angle               = 50.0
        cam_max_angle_horz          = 50.0
        cam_step_angle_horz         = 0.9
        zoom_cam_relax_speed        = 0.75
        zoom_cam_dispersion         = 1.0
        zoom_cam_dispersion_frac    = 1.0
        zoom_cam_dispersion_inc     = 1.87
        zoom_cam_max_angle          = 50.0
        zoom_cam_max_angle_horz     = 50.0
        zoom_cam_step_angle_horz    = 0.68
        
        PDM_disp_accel_factor       = 3.105
        PDM_disp_base               = 1.45
        PDM_disp_crouch             = 1.0
        PDM_disp_crouch_no_acc      = 1.0
        PDM_disp_vel_factor         = 3.105
        
        cam_relax_speed_ai          = 360
        zoom_cam_relax_speed_ai     = 120.75
        holder_fov_modifier         = 1.0
        holder_range_modifier       = 2.15
        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                  = 0
        kill_msg_width              = 98
        kill_msg_height             = 23

hud_fov                             = 0.78 		
;----------------------------------------------------------------------SND------------------------------------------------------------------------------
snd_draw                        = weapons\ak74\ak74_draw
snd_holster                     = weapons\ak74\ak74_draw
snd_shoot						= weapons\toz106\shoot_1, 2.0
snd_shoot1						= weapons\toz106\shoot_2, 2.0
snd_bore						= weapons\toz106\inspect
snd_empty						= weapons\toz106\empty_click_rifle
snd_reload						= weapons\toz106\reload
snd_reload_empty				= weapons\toz106\reload_empty
snd_close						= weapons\toz106\sil
snd_reload_misfire              = weapons\toz106\reload_empty
;----------------------------------------------------------------------HUD------------------------------------------------------------------------------
[wpn_toz106_hud]:hud_base

item_visual                              = dynamics\weapons\wpn_toz106\wpn_toz106_hud.ogf

        attach_place_idx            = 0
        zoom_hide_crosshair         = true
        
;--------
item_position                            = 0, 0, 0
item_orientation                         = 0, 0, 0

hands_position_16x9				= -0.030900,0.007000,-0.189001
hands_orientation_16x9			= 2.999998,1.300000,-2.649999

aim_hud_offset_pos_16x9				= -0.049650,0.024100,-0.048800
aim_hud_offset_rot_16x9				= 0.024500,0.053290,-0.046500
;--------
        
        hands_position              = -0.06, -0.165, 0.1
        hands_orientation           = 0, 0, 0
       
        aim_hud_offset_pos          = -0.091, 0.0495, -0.115
        aim_hud_offset_rot          = 0.004, -0.0012, 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_show						= toz106_draw, draw
anm_show_empty					= toz106_draw, draw_empty

anm_hide             			= toz106_hide, hide
anm_hide_empty             		= toz106_hide, hide_empty

anm_idle             			= toz106_idle, idle
anm_idle_empty             		= toz106_idle, idle_empty

anm_shots						= toz106_shoot_1, shoot_1
anm_shots1						= toz106_shoot_2, shoot_2
anm_shots2						= toz106_shoot_3, shoot_3
anm_shot_l						= toz106_shoot_1, shoot_last_new  ;shoot_1

;anm_shots_aim					= toz106_shoot_aim, shoot_1
;anm_shots_aim1					= toz106_shoot_aim, shoot_2
;anm_shots_aim2					= toz106_shoot_aim, shoot_3
;anm_shot_l_aim					= toz106_shoot_aim, shoot_1

anm_idle_aim					= toz106_idle_aim, idle_aim
anm_idle_aim_empty				= toz106_idle_aim, idle_aim_empty

anm_reload						= toz106_reload_2rnd, reload
anm_reload_empty				= toz106_reload_empty_2rnd, reload_empty_old

anm_idle_moving 				= toz106_idle_moving, idle
anm_idle_moving_empty 			= toz106_idle_moving, idle_empty

anm_idle_moving_crouch 			= toz106_idle_moving, idle
anm_idle_moving_empty_crouch 	= toz106_idle_moving, idle_empty

anm_idle_sprint					= toz106_idle_sprint, idle
anm_idle_sprint_empty			= toz106_idle_sprint, idle_empty

anm_bore						= toz106_inspect, inspect
anm_bore_empty					= toz106_inspect, inspect_empty

anm_reload_misfire              = toz106_reload_empty_2rnd, reload_empty_old
        
;--------

shell_dir                   = 0, 1, 0

shell_point				    = 0,0,0 ;0.013,0.046,0.463
shell_bone              	= shell

fire_point			        = 0,0,0 ;0,0.045,0.142
fire_bone               	= muzzle
fire_point2		            = 0.0,0.0,0.0
freelook_z_offset_mul		= 0.4
fire_bone2                  = wpn_body

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