;------------------------------------------------------------------------------------------------
[wpn_kiparis_m3]:identity_immunities,weapon_probability,default_weapon_params;wpn_kiparis_sounds
        GroupControlSection         = spawn_group
        $npc                        = on
        $prefetch                   = 8
        $spawn                      = "weapons\mp5"
        scheduled                   = off
        cform                       = skeleton
		
		parent_section              = wpn_kiparis_m3
        
		kind                        = w_smg ;w_pistol
        class                       = WP_LR300
        slot                        = 2
        animation_slot              = 8
        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     = 4
inv_grid_height    = 2
inv_grid_x         = 74
inv_grid_y         = 5
		
        inv_name                    = st_wpn_kiparis_m3
        inv_name_short              = st_wpn_kiparis_m3
        description                 = st_wpn_kiparis_m3_descr
        
        inv_weight                  = 1.6
        cost                        = 25880
        repair_type                 = pistol
        weapon_class                = assault_rifle
        
        hud                         = wpn_kiparis_m3_hud
        visual                      = dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf
        position                    = -0.026, 0.0, -0.03
        orientation                 = 0, -10, 0
        fire_point                  = 0.0, 0.02, 0.35
        fire_point2                 = 0.0, 0.188, 0.392
        strap_bone0                 = bip01_spine2
        strap_bone1                 = bip01_spine1
        strap_position              = -0.16, -0.36, 0.15
        strap_orientation           = -10, -5, 10
        ph_mass                     = 3
        
        ;flame_particles             = weapons\generic_weapon05
        ;smoke_particles             = weapons\generic_shoot_00
        grenade_flame_particles     = weapons\generic_weapon01
        
		shell_point			        = 0.0, 0.188, 0.082
		shell_dir			        = 0.0, 1.0, 0.0
		;shell_particles	 		    = weapons\9x18

        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_kiparis, up_gr_seconab_kiparis, up_gr_thirdab_kiparis, up_gr_fourtab_kiparis, up_gr_fifthab_kiparis, up_gr_fifthcd_kiparis
        installed_upgrades          =
        upgrade_scheme              = upgrade_scheme_beretta
        upgr_icon_x                 = 750
        upgr_icon_y                 = 1850
        upgr_icon_width             = 150
        upgr_icon_height            = 100
        
        fire_modes                  = 1, -1
        ammo_class                  = ammo_9x18_fmj, ammo_9x18_fmj_bad, ammo_9x18_fmj_verybad, ammo_9x18_pmm, ammo_9x18_pmm_bad, ammo_9x18_pmm_verybad, ammo_9x18_ap, ammo_9x18_ap_bad, ammo_9x18_ap_verybad
        ammo_elapsed                = 81
        ammo_mag_size               = 81
        startup_ammo                = 90
        
scopes                                   = ac10632, okep77, d0cter, aim_low, e0t2, rmr, deltapoint, compm4s, 0kp2, rakurs, kemper, aimpoint, acog
scope_status                             = 0
scope_zoom_factor                        = 0
        
        silencer_name               = wpn_sil_kip
        silencer_status             = 2
        silencer_x                  = 170
        silencer_y                  = -2
        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                 = 20
        hit_power                   = 0.47, 0.47, 0.47, 0.47
        hit_type                    = fire_wound
        fire_distance               = 300
        bullet_speed                = 330
        rpm                         = 950
        rpm_empty_click             = 200
        ap_modifier                 = 1.1
        
        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.2
        reload_dof                  = 0.0, 0.5, 5, 2
control_inertion_factor = 1.0f
        crosshair_inertion          = 2.9
        fire_dispersion_base        = 0.59
        fire_dispersion_condition_factor = 0.001
        
        misfire_probability         = 0.005
        misfire_start_condition     = 0.7 ;  0.81
        misfire_start_prob          = 0.007
        misfire_end_condition       = 0.15
        misfire_end_prob            = 0.11
        
        condition_queue_shot_dec    = 0.0012
        condition_shot_dec          = 0.0012
        
        cam_return                  = 0
        cam_relax_speed             = 10
        cam_dispersion              = 0.48
        cam_dispersion_frac         = 1.0
        cam_dispersion_inc          = 0.04
        cam_max_angle               = 31.0
        cam_max_angle_horz          = 31.0
        cam_step_angle_horz         = 1.44
        zoom_cam_relax_speed        = 10
        zoom_cam_dispersion         = 0.22
        zoom_cam_dispersion_frac    = 1.0
        zoom_cam_dispersion_inc     = 0.025
        zoom_cam_max_angle          = 31.0
        zoom_cam_max_angle_horz     = 31.0
        zoom_cam_step_angle_horz    = 1.42
        
        PDM_disp_accel_factor       = 1.155
        PDM_disp_base               = 0.65
        PDM_disp_crouch             = 1.0
        PDM_disp_crouch_no_acc      = 1.0
        PDM_disp_vel_factor         = 1.15
        
        cam_relax_speed_ai          = 120.75
        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                  = 72
        kill_msg_y                  = 82
        kill_msg_width              = 56
        kill_msg_height             = 23

scope_zoom_factor_alt             = 0

use_alt_aim_hud                   = true

hud_fov                           = 0.78

laser_status                      = true 
;-----------------------------------------------------------------Particles----------------------------------------------------------------------------
flame_particles                          = ghost_particles\weapons\generic_smoke_eft_sil         
smoke_particles		   	                 = ghost_particles\weapons\flame_eft_sks  
silencer_smoke_particles   		         = ghost_particles\weapons\generic_smoke_eft_sil  
;-----------------------------------------------------------------SOUNDS-------------------------------------------------------------------------------
snd_bore                = weapons\kiparis_s\kiparis_bore
snd_draw                = weapons\sr2m\sr2m_draw
snd_holster             = weapons\kiparis_blindside\kiparis_holster

snd_empty               = weapons\sr2m\sr2m_empty

snd_reload              = weapons\kiparis_young_prince\kiparis_reload
snd_reload_empty        = weapons\kiparis_young_prince\kiparis_reload_empty
snd_reload_misfire      = weapons\kiparis_young_prince\kiparis_unjam

snd_shoot				= weapons\aps_young_prince\aps_shot_1
snd_shoot1				= weapons\aps_young_prince\aps_shot_2
snd_shoot2				= weapons\aps_young_prince\aps_shot_3
snd_shoot3				= weapons\aps_young_prince\aps_shot_4
snd_shoot4				= weapons\aps_young_prince\aps_shot_5

snd_silncer_shot		= weapons\aps\aps_shot_sil

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

        item_visual                 = dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_hud.ogf
		
        attach_place_idx            = 0
        zoom_hide_crosshair         = true

;-------------------------------------------------------------      
item_position				= 0.000000,0.000000,0.000000                      
item_orientation			= 0.000000,0.000000,0.000000                      
		
hands_position_16x9				= 0.010000,0.002400,0.011600
hands_orientation_16x9			= 0.660000,0.270000,3.139997
		
aim_hud_offset_pos_16x9				= -0.010000,-0.008700,0.044000
aim_hud_offset_rot_16x9				= 0.011500,0.011500,0.033500
;------------------------------------------------------------

aim_hud_offset_alt_pos_16x9				= 0.038800,-0.014300,0.056300
aim_hud_offset_alt_rot_16x9				= 0.012500,0.003000,-0.357497
				
        hands_position              = 0.085, -0.045, -0.12        
        hands_orientation           = 1, 0.5, 1.5
        
        aim_hud_offset_pos          = -0.0845, 0.0355, -0.06
        aim_hud_offset_rot          = 0.009, 0.017, 0.02

        
        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_bore                                 = wpn_hand_kiparis_siber_boring_drum																					   
        anm_hide                                 = wpn_hand_kiparis_siber_out_drum																								   																						
        anm_idle                                 = wpn_hand_kiparis_siber_idle_drum,             idle
        anm_idle_aim                             = wpn_hand_kiparis_siber_idle_aim_drum																								 
        anm_idle_aim_moving                      = wpn_hand_kiparis_siber_idle_aim_drum																						
        anm_idle_aim_moving_crouch               = wpn_hand_kiparis_siber_walk_drum																						
        anm_idle_moving                          = wpn_hand_kiparis_siber_walk_drum																							  
        anm_idle_sprint                          = wpn_hand_kiparis_siber_run																							   
        anm_reload                               = wpn_hand_kiparis_siber_reload_drum,           wpn_kiparis_siber_reload
        anm_reload_empty                         = wpn_hand_kiparis_siber_reload_empty_drum,     wpn_kiparis_siber_reload_empty																						  
        anm_shots                                = wpn_hand_kiparis_siber_shoot_drum,            wpn_kiparis_siber_shoot
        anm_show                                 = wpn_hand_kiparis_siber_in_drum
        anm_reload_misfire                       = wpn_hand_kiparis_siber_misfire_drum,          wpn_kiparis_siber_misfire
        anm_shots_aim                            = wpn_hand_kiparis_siber_shoot_aim_drum,        wpn_kiparis_siber_shoot
        anm_idle_aim_start                       = wpn_hand_kiparis_siber_in_aim_drum,           idle                           ,1.9
        anm_idle_aim_end                         = wpn_hand_kiparis_siber_out_aim_drum,          idle                           ,1.9
        
        shell_bone                  = gilza
        shell_dir                   = 0.0, 1.0, 0.0
        shell_point                 = 0.05, -0.05, 0.15
        
        fire_bone                   = muzzle
        fire_bone2                  = wpn_body
        fire_point                  = 0, 0, 0
        fire_point2                 = 0, 0, 0
		
		        lowered_hud_offset_pos_16x9		= 0.1,0,0
		        lowered_hud_offset_rot_16x9		= 0.1,-0.8,0.1  		
;-------------------------------------------------------------------------------------Addons--------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_ac10632]:wpn_kiparis_m3

inv_weight			= 1.715

hud                     	= wpn_kiparis_m3_ac10632_hud

1icon_layer			    = ac10632
1icon_layer_x			= 98
1icon_layer_y			= -18              

visual = dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

[wpn_kiparis_m3_ac10632_hud]:wpn_kiparis_m3_hud

item_visual                	= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_ac10632_hud.ogf

aim_hud_offset_pos_16x9				= -0.009500,-0.026100,0.044000
aim_hud_offset_rot_16x9				= 0.008500,0.011500,0.033500
;-----------------------------------------------------------------------------
[wpn_kiparis_m3_aim_low]:wpn_kiparis_m3

visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

hud						= wpn_kiparis_m3_aim_low_hud

inv_weight                                         = 1.705

1icon_layer			    = aim_low
1icon_layer_x			= 98
1icon_layer_y			= -12

[wpn_kiparis_m3_aim_low_hud]:wpn_kiparis_m3_hud

item_visual				= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_aim_low_hud.ogf

aim_hud_offset_pos_16x9				= -0.009700,-0.010000,0.044000
aim_hud_offset_rot_16x9				= 0.011500,0.011500,0.033500
;-------------------------------------------------------------------------------------
[wpn_kiparis_m3_d0cter]:wpn_kiparis_m3

visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

hud						= wpn_kiparis_m3_d0cter_hud

inv_weight                                         = 1.630

1icon_layer			    = d0cter
1icon_layer_x			= 98
1icon_layer_y			= -14

[wpn_kiparis_m3_d0cter_hud]:wpn_kiparis_m3_hud

item_visual				= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_docter_hud.ogf

aim_hud_offset_pos_16x9				= -0.010000,-0.011100,0.044000
aim_hud_offset_rot_16x9				= 0.011500,0.011500,0.033500
;-------------------------------------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_okep77]:wpn_kiparis_m3

1icon_layer                              = okep77
1icon_layer_x			= 95
1icon_layer_y			= -12

hud					= wpn_kiparis_m3_okep77_hud
visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

inv_weight                               = 1.750

[wpn_kiparis_m3_okep77_hud]:wpn_kiparis_m3_hud

item_visual                		= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_okep77_hud.ogf

aim_hud_offset_pos_16x9				= -0.008500,-0.014800,0.044000
aim_hud_offset_rot_16x9				= 0.010000,0.011500,0.033500
;---------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_rmr]:wpn_kiparis_m3

1icon_layer                              = rmr
1icon_layer_x                            = 95
1icon_layer_y                            = -12

hud					= wpn_kiparis_m3_rmr_hud

visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

inv_weight                               = 1.634

[wpn_kiparis_m3_rmr_hud]:wpn_kiparis_m3_hud

item_visual                		= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_rmr_hud.ogf

aim_hud_offset_pos_16x9				= -0.009700,-0.011700,0.044000
aim_hud_offset_rot_16x9				= 0.011000,0.011500,0.033500
;---------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_deltapoint]:wpn_kiparis_m3

1icon_layer                              = deltapoint
1icon_layer_x                            = 95
1icon_layer_y                            = -12

hud					= wpn_kiparis_m3_deltapoint_hud
visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

inv_weight                               = 1.641

[wpn_kiparis_m3_deltapoint_hud]:wpn_kiparis_m3_hud

item_visual                		= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_deltapoint_hud.ogf

aim_hud_offset_pos_16x9				= -0.009800,-0.017300,0.044000
aim_hud_offset_rot_16x9				= 0.010500,0.011500,0.033500
;----------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_compm4s]:wpn_kiparis_m3

hud					= wpn_kiparis_m3_compm4s_hud

visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

1icon_layer                              = compm4s
1icon_layer_x                            = 100
1icon_layer_y                            = -22

inv_weight                               = 1.980

[wpn_kiparis_m3_compm4s_hud]:wpn_kiparis_m3_hud

item_visual                		= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_compm4s_hud.ogf

aim_hud_offset_pos_16x9				= -0.009600,-0.027800,0.044000
aim_hud_offset_rot_16x9				= 0.008500,0.011500,0.033500
;--------------------------------------------------------------------------------------------
[wpn_kiparis_m3_rakurs]:wpn_kiparis_m3

hud					= wpn_kiparis_m3_rakurs_hud
visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

1icon_layer                              = rakurs
1icon_layer_x                            = 95
1icon_layer_y                            = -16

inv_weight                               = 2.100

[wpn_kiparis_m3_rakurs_hud]:wpn_kiparis_m3_hud

item_visual                		= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_rakurs_hud.ogf

aim_hud_offset_pos_16x9				= -0.009100,-0.015700,0.044000
aim_hud_offset_rot_16x9				= 0.009500,0.011500,0.033500
;-----------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_aimpoint]:wpn_kiparis_m3


visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

hud						= wpn_kiparis_m3_aimpoint_hud

inv_weight                                         = 1.730

1icon_layer			    = aimpoint
1icon_layer_x			= 95
1icon_layer_y			= -22

[wpn_kiparis_m3_aimpoint_hud]:wpn_kiparis_m3_hud

item_visual				= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_aimpoint_hud.ogf

aim_hud_offset_pos_16x9				= -0.009700,-0.029500,0.044000
aim_hud_offset_rot_16x9				= 0.008500,0.011500,0.033500
;------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_acog]:wpn_kiparis_m3

inv_weight			= 1.950

hud				= wpn_kiparis_m3_acog_hud

1icon_layer			    = acog
1icon_layer_x			= 88
1icon_layer_y			= -18


scope_status                                       = 1
scope_texture                                      = wpn_crosshair_acog
scope_zoom_factor                                  = 25
zoom_rotate_time		                           = 0.25
scope_dynamic_zoom		                           = off

visual = dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

[wpn_kiparis_m3_acog_hud]:wpn_kiparis_m3_hud

item_visual            	 	= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_acog_hud.ogf

aim_hud_offset_pos_16x9				= -0.010000,-0.018600,0.040300
aim_hud_offset_rot_16x9				= 0.011500,0.011500,0.033500

hands_position_16x9				= 0.010000,-0.005000,0.021700
hands_orientation_16x9			= 0.580000,0.390000,3.139997
;------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_e0t2]:wpn_kiparis_m3

visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

hud						= wpn_kiparis_m3_e0t2_hud

inv_weight                                         = 1.827

1icon_layer			    = e0t2
1icon_layer_x			= 96
1icon_layer_y			= -20

[wpn_kiparis_m3_e0t2_hud]:wpn_kiparis_m3_hud

item_visual				= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_e0t2_hud.ogf

aim_hud_offset_pos_16x9				= -0.009800,-0.026000,0.044000
aim_hud_offset_rot_16x9				= 0.008000,0.011500,0.033500
;------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_kemper]:wpn_kiparis_m3

inv_weight			= 1.866

hud				= wpn_kiparis_m3_kemper_hud

1icon_layer			    = kemper
1icon_layer_x			= 95
1icon_layer_y			= -20

visual				= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

scope_status			= 0

scope_dynamic_zoom = off

[wpn_kiparis_m3_kemper_hud]:wpn_kiparis_m3_hud

item_visual                	= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_kemper_hud.ogf

aim_hud_offset_pos_16x9				= -0.009500,-0.029600,0.044000
aim_hud_offset_rot_16x9				= 0.007500,0.011500,0.033500
;------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_0kp2]:wpn_kiparis_m3

visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

hud						= wpn_kiparis_m3_0kp2_hud

inv_weight                                         = 1.800

1icon_layer			    = 0kp2
1icon_layer_x			= 105
1icon_layer_y			= -12

[wpn_kiparis_m3_0kp2_hud]:wpn_kiparis_m3_hud

item_visual				= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_0kp2_hud.ogf

aim_hud_offset_pos_16x9				= -0.007100,-0.020600,0.044000
aim_hud_offset_rot_16x9				= 0.009500,0.011500,0.033500
;------------------------------------------------------------------------------------------------
[wpn_kiparis_m3_pn23]:wpn_kiparis_m3

visual					= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_world.ogf

hud					= wpn_kiparis_m3_pn23_hud

1icon_layer                              = pn23
1icon_layer_x                            = 60
1icon_layer_y                            = -22

;installed_upgrades                       = up_fourte_svd_nimble
;scope_nightvision                        = scope_nightvision_3gen

nv_scope_status = 1

inv_weight                                         = 2.250
scope_status                                       = 1
scope_texture                                      = wpn_crosshair_pn23
scope_zoom_factor                                  = 25
zoom_rotate_time                                   = 0.25

[wpn_kiparis_m3_pn23_hud]:wpn_kiparis_m3_hud

item_visual				= dynamics\weapons\wpn_kiparis_m3\wpn_kiparis_m3_pn23_hud.ogf

aim_hud_offset_pos_16x9				= -0.010400,-0.023000,0.071900
aim_hud_offset_rot_16x9				= 0.011500,0.011500,0.033500

hands_position_16x9				= 0.010000,-0.015500,0.032400
hands_orientation_16x9			= 0.660000,0.490000,3.139997
;------------------------------------------------------------------------------------------------