;------------------------------------------------------------------------------------------------
[wpn_mp5]:identity_immunities,weapon_probability,default_weapon_params,wpn_mp5_sounds
GroupControlSection                      = spawn_group
$npc                                     = on
$prefetch                                = 8
$spawn                                   = "weapons\mp5"
scheduled                                = off
cform                                    = skeleton
parent_section                           = wpn_mp5

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

inv_grid_height                          = 2
inv_grid_width                           = 4
inv_grid_x                               = 40
inv_grid_y                               = 10
inv_name                                 = st_wpn_mp5a2
inv_name_short                           = st_wpn_mp5a2
description                              = st_wpn_mp5_descr_new

kind                                     = w_smg ;w_pistol
inv_weight                               = 3.1
cost                                     = 20380
repair_type                              = pistol
weapon_class                             = assault_rifle

hud                                      = wpn_mp5_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5.ogf
position                                 = -0.026, -0.125, -0.03
orientation                              = 0, -10, 0
fire_point                               = 0.0, 0.188, 0.392
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_weapon03
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\9x19

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_mp5, up_gr_seconab_mp5, up_gr_thirdab_mp5, up_gr_fourtab_mp5, up_gr_fifthab_mp5, up_gr_fifthcd_mp5
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_mp5
upgr_icon_x                              = 900
upgr_icon_y                              = 500
upgr_icon_width                          = 250
upgr_icon_height                         = 100

fire_modes                               = 1, -1
ammo_class                               = ammo_9x19_fmj, ammo_9x19_fmj_bad, ammo_9x19_fmj_verybad, ammo_9x19_pbp, ammo_9x19_pbp_bad, ammo_9x19_pbp_verybad, ammo_9x19_ap, ammo_9x19_ap_bad, ammo_9x19_ap_verybad
ammo_elapsed                             = 30
ammo_mag_size                            = 30
startup_ammo                             = 90

scopes                                   = ac10632, acog, eot
scope_status                             = 0
scope_zoom_factor                        = 0

silencer_name                            = wpn_sil_9mm
silencer_status                          = 0
silencer_x                               = 185
silencer_y                               = 13
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_name                    = wpn_addon_grenade_launcher
grenade_launcher_status                  = 0
grenade_launcher_x                       = 126
grenade_launcher_y                       = 24
launch_speed                             = 0

hit_impulse                              = 24
hit_power                                = 0.47, 0.47, 0.47, 0.47
hit_type                                 = fire_wound
fire_distance                            = 400
bullet_speed                             = 402
rpm                                      = 800
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.25
reload_dof                               = 0.0, 0.5, 5, 2
control_inertion_factor = 1.0f
crosshair_inertion                       = 3.8
fire_dispersion_base                     = 0.57
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.0009
condition_shot_dec                       = 0.0009

cam_return                               = 0
cam_relax_speed                          = 12
cam_dispersion                           = 0.44
cam_dispersion_frac                      = 1.1
cam_dispersion_inc                       = 0.0475
cam_max_angle                            = 39.0
cam_max_angle_horz                       = 39.0
cam_step_angle_horz                      = 1.22
zoom_cam_relax_speed                     = 12
zoom_cam_dispersion                      = 0.37
zoom_cam_dispersion_frac                 = 1.0
zoom_cam_dispersion_inc                  = 0.0375
zoom_cam_max_angle                       = 39.0
zoom_cam_max_angle_horz                  = 39.0
zoom_cam_step_angle_horz                 = 1.17

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

snd_reload					= weapons\librarian_mplimo\reload
snd_reload_empty			= weapons\librarian_mplimo\reload_empty
snd_reload_misfire			= weapons\librarian_mplimo\unjam
snd_switch_mode				= weapons\librarian_mplimo\bizfiremode

[wpn_mp5_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_hud.ogf
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

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

aim_hud_offset_pos               = -0.083093, 0.025457, 0
aim_hud_offset_pos_16x9          = -0.083093, 0.025457, 0
aim_hud_offset_rot               = -0.002485, 0.000642, 0
aim_hud_offset_rot_16x9          = -0.002485, 0.000642, 0

hands_orientation                = -0.0006, -0.001065, 0
hands_orientation_16x9           = -0.0006, -0.001065, 0
hands_position                   = 0.004426, -0.018769, 0.034134
hands_position_16x9              = 0.004426, -0.018769, 0.034134

lowered_hud_offset_pos           = 0.104398, -0.026166, -0.000571
lowered_hud_offset_pos_16x9      = 0.104398, -0.026166, -0.000571
lowered_hud_offset_rot           = 0.10085, -0.799199, 0.099148
lowered_hud_offset_rot_16x9      = 0.10085, -0.799199, 0.099148

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_hide								= mp5_hand_holster, mp5_idle
anm_idle								= mp5_hand_idle, mp5_idle
anm_idle_aim							= mp5_hand_idle_aim, mp5_idle
anm_idle_moving							= mp5_hand_moving, mp5_idle
anm_idle_sprint							= mp5_hand_sprint, mp5_idle
anm_show								= mp5_hand_draw, mp5_idle
anm_reload								= mp5_hand_reload, mp5_reload
anm_reload_empty						= mp5_hand_reload_empty, mp5_reload_empty
anm_reload_misfire						= mp5_hand_unjam, mp5_unjam
anm_shots								= mp5_hand_shoot, mp5_shoot
anm_shots_aim							= mp5_hand_shoot_aim, mp5_shoot
anm_idle_aim_moving						= mp5_hand_moving, mp5_idle, 0.75
anm_idle_aim_moving_crouch				= mp5_hand_moving, mp5_idle, 0.7
anm_idle_moving_crouch					= mp5_hand_moving, mp5_idle, 0.7
anm_switch_mode							= mp5_hand_switch, mp5_idle

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

freelook_z_offset_mul					 = 0.3

;------------------------------------------------------------------------------------------------
[wpn_mp5_eot]:wpn_mp5
1icon_layer                              = eot
1icon_layer_x                            = 88
1icon_layer_y                            = -4

inv_weight                               = 3.41

hud                                      = wpn_mp5_eot_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_eot.ogf


[wpn_mp5_eot_hud]:wpn_mp5_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_eot_hud.ogf

aim_hud_offset_pos               = -0.083305, 0.007956, 0.058096
aim_hud_offset_pos_16x9          = -0.083305, 0.007956, 0.058096
aim_hud_offset_rot               = 0.010731, 0.000589, 0
aim_hud_offset_rot_16x9          = 0.010731, 0.000589, 0

anm_reload_empty						= mp5_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
[wpn_mp5_ac10632]:wpn_mp5
1icon_layer                              = ac10632
1icon_layer_x                            = 88
1icon_layer_y                            = -10

inv_weight                               = 3.215

hud                                      = wpn_mp5_ac10632_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_ac10632.ogf


[wpn_mp5_ac10632_hud]:wpn_mp5_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_ac10632_hud.ogf

aim_hud_offset_pos               = -0.083093, 0.007822, 0
aim_hud_offset_pos_16x9          = -0.083093, 0.007822, 0
aim_hud_offset_rot               = -0.002485, 0.000642, 0
aim_hud_offset_rot_16x9          = -0.002485, 0.000642, 0

anm_reload_empty						= mp5_hand_reload_empty_thumb, mp5_reload_empty


;------------------------------------------------------------------------------------------------
[wpn_mp5_acog]:wpn_mp5
1icon_layer                              = acog
1icon_layer_x                            = 87
1icon_layer_y                            = -8
scope_status                             = 1
scope_texture                            = wpn_crosshair_acog
scope_zoom_factor                        = 25
zoom_rotate_time                         = 0.20
inv_weight                               = 3.5

hud                                      = wpn_mp5_acog_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_acog.ogf

scope_status                             = 0
scope_zoom_factor                        = 20

zoom_rotate_time                         = 0.25


[wpn_mp5_acog_hud]:wpn_mp5_hud,hud_low_interia
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_acog_hud.ogf


aim_hud_offset_pos               = -0.083093, 0.007822, 0.216247
aim_hud_offset_pos_16x9          = -0.083093, 0.007822, 0.216247
aim_hud_offset_rot               = -0.002485, 0.000642, 0
aim_hud_offset_rot_16x9          = -0.002485, 0.000642, 0

anm_reload_empty						= mp5_hand_reload_empty_thumb, mp5_reload_empty


;------------------------------------------------------------------------------------------------
;-- MP5A4
;------------------------------------------------------------------------------------------------
[wpn_mp5_alt]:wpn_mp5
parent_section                           = wpn_mp5_alt

inv_grid_y                               = 14
inv_name                                 = st_wpn_mp5a4
inv_name_short                           = st_wpn_mp5a4

cost                                     = 22350

hud                                      = wpn_mp5_sk2_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_sk2.ogf

installed_upgrades                       =

fire_modes                               = 1, 3, -1

fire_dispersion_base                     = 0.45

misfire_start_condition                  = 0.7 ;  0.83
misfire_start_prob                       = 0.006
misfire_end_condition                    = 0.11
misfire_end_prob                         = 0.08

condition_queue_shot_dec                 = 0.0008
condition_shot_dec                       = 0.0008


[wpn_mp5_sk2_hud]:wpn_mp5_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_sk2_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_mp5_alt_ac10632]:wpn_mp5_alt
1icon_layer                              = ac10632
1icon_layer_x                            = 88
1icon_layer_y                            = -10

inv_weight                               = 3.215

hud                                      = wpn_mp5_ac10632_sk2_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_ac10632_sk2.ogf


[wpn_mp5_ac10632_sk2_hud]:wpn_mp5_ac10632_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_ac10632_sk2_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_mp5_alt_acog]:wpn_mp5_alt
1icon_layer                              = acog
1icon_layer_x                            = 87
1icon_layer_y                            = -8
scope_status                             = 1
scope_texture                            = wpn_crosshair_acog
scope_zoom_factor                        = 25
zoom_rotate_time                         = 0.20
inv_weight                               = 3.5

hud                                      = wpn_mp5_acog_sk2_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_acog_sk2.ogf


[wpn_mp5_acog_sk2_hud]:wpn_mp5_acog_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_acog_sk2_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_mp5_alt_eot]:wpn_mp5_alt
1icon_layer                              = eot
1icon_layer_x                            = 88
1icon_layer_y                            = -4

inv_weight                               = 3.41

hud                                      = wpn_mp5_eot_sk2_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_eot_sk2.ogf


[wpn_mp5_eot_sk2_hud]:wpn_mp5_eot_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_eot_sk2_hud.ogf

;------------------------------------------------------------------------------------------------
;-- MP5A3
;------------------------------------------------------------------------------------------------
[wpn_mp5_custom]:wpn_mp5
parent_section                           = wpn_mp5_custom

inv_grid_y                               = 12
inv_name                                 = st_wpn_mp5a3
inv_name_short                           = st_wpn_mp5a3

cost                                     = 23680

hud                                      = wpn_mp5_sk1_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_sk1.ogf

installed_upgrades                       = 

inv_weight                               = 2.9

fire_dispersion_base                     = 0.43

misfire_start_condition                  = 0.7 ;  0.8
misfire_start_prob                       = 0.006
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.08

condition_queue_shot_dec                 = 0.00073
condition_shot_dec                       = 0.00073


[wpn_mp5_sk1_hud]:wpn_mp5_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_mp5_custom_ac10632]:wpn_mp5_custom
1icon_layer                              = ac10632
1icon_layer_x                            = 88
1icon_layer_y                            = -10

inv_weight                               = 3.215

hud                                      = wpn_mp5_ac10632_sk1_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_ac10632_sk1.ogf

[wpn_mp5_ac10632_sk1_hud]:wpn_mp5_ac10632_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_ac10632_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_mp5_custom_acog]:wpn_mp5_custom
1icon_layer                              = acog
1icon_layer_x                            = 87
1icon_layer_y                            = -8
scope_status                             = 1
scope_texture                            = wpn_crosshair_acog
scope_zoom_factor                        = 25
zoom_rotate_time                         = 0.20
inv_weight                               = 3.5

hud                                      = wpn_mp5_acog_sk1_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_acog_sk1.ogf


[wpn_mp5_acog_sk1_hud]:wpn_mp5_acog_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_acog_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_mp5_custom_eot]:wpn_mp5_custom
1icon_layer                              = eot
1icon_layer_x                            = 88
1icon_layer_y                            = -4

inv_weight                               = 3.41

hud                                      = wpn_mp5_eot_sk1_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_eot_sk1.ogf


[wpn_mp5_eot_sk1_hud]:wpn_mp5_eot_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_eot_sk1_hud.ogf


;------------------------------------------------------------------------------------------------
;-- MP5A2 Proto
;------------------------------------------------------------------------------------------------
[wpn_mp5_nimble]:wpn_mp5
$spawn                                   = "weapons\wpn_mp5_nimble"
parent_section                           = wpn_mp5_nimble

inv_grid_x                               = 40
inv_grid_y                               = 18
inv_name                                 = st_wpn_mp5_nimble
inv_name_short                           = st_wpn_mp5_nimble
description                              = st_wpn_mp5_nimble_descr_new

inv_weight                               = 3.0
cost                                     = 28950

hud                                      = wpn_mp5_nimble_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_nimble.ogf

upgrades                                 = up_gr_firstab_mp5_nimble, up_gr_seconab_mp5_nimble, up_gr_thirdab_mp5_nimble, up_gr_fourtab_mp5_nimble, up_gr_fifthab_mp5_nimble, up_gr_fifthcd_mp5_nimble

ammo_class                               = ammo_11.43x23_fmj, ammo_11.43x23_fmj_bad, ammo_11.43x23_fmj_verybad, ammo_11.43x23_hydro, ammo_11.43x23_hydro_bad, ammo_11.43x23_hydro_verybad

hit_impulse                              = 35
hit_power                                = 0.56, 0.56, 0.56, 0.56
bullet_speed                             = 284
rpm                                      = 730

fire_dispersion_base                     = 0.44

misfire_start_condition                  = 0.7 ;  0.8
misfire_start_prob                       = 0.006
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.08

condition_queue_shot_dec                 = 0.00083
condition_shot_dec                       = 0.00083

cam_relax_speed                          = 12
cam_dispersion                           = 0.5
cam_dispersion_frac                      = 1.15
cam_dispersion_inc                       = 0.0475
cam_max_angle                            = 4.0
cam_max_angle_horz                       = 4.0
cam_step_angle_horz                      = 1.3
zoom_cam_relax_speed                     = 12
zoom_cam_dispersion                      = 0.45
zoom_cam_dispersion_frac                 = 1.0
zoom_cam_dispersion_inc                  = 0.0375
zoom_cam_max_angle                       = 4.0
zoom_cam_max_angle_horz                  = 4.0
zoom_cam_step_angle_horz                 = 1.27

cam_relax_speed_ai                       = 120.75
zoom_cam_relax_speed_ai                  = 120.75


[wpn_mp5_nimble_hud]:wpn_mp5_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_nimble_hud.ogf

anm_hide								= mp5s_hand_holster, mp5_idle
anm_idle								= mp5s_hand_idle, mp5_idle
anm_idle_aim							= mp5s_hand_idle_aim, mp5_idle
anm_idle_moving							= mp5s_hand_moving, mp5_idle
anm_idle_sprint							= mp5_hand_sprint, mp5_idle
anm_show								= mp5s_hand_draw, mp5_idle
anm_reload								= mp5s_hand_reload, mp5_reload
anm_reload_empty						= mp5s_hand_reload_empty, mp5_reload_empty
anm_reload_misfire						= mp5s_hand_unjam, mp5_unjam
anm_shots								= mp5s_hand_shoot, mp5_shoot
anm_shots_aim							= mp5s_hand_shoot_aim, mp5_shoot
anm_idle_aim_moving						= mp5s_hand_moving, mp5_idle, 0.75
anm_idle_aim_moving_crouch				= mp5s_hand_moving, mp5_idle, 0.7
anm_idle_moving_crouch					= mp5s_hand_moving, mp5_idle, 0.7
anm_switch_mode							= mp5s_hand_switch, mp5_idle


;------------------------------------------------------------------------------------------------
[wpn_mp5_nimble_ac10632]:wpn_mp5_nimble
1icon_layer                              = ac10632
1icon_layer_x                            = 88
1icon_layer_y                            = -10

inv_weight                               = 3.215

hud                                      = wpn_mp5_ac10632_nimble_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_ac10632_nimble.ogf



[wpn_mp5_ac10632_nimble_hud]:wpn_mp5_nimble_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_ac10632_nimble_hud.ogf

aim_hud_offset_pos               = -0.083093, 0.007822, 0
aim_hud_offset_pos_16x9          = -0.083093, 0.007822, 0
aim_hud_offset_rot               = -0.002485, 0.000642, 0
aim_hud_offset_rot_16x9          = -0.002485, 0.000642, 0

anm_reload_empty						 = mp5s_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
[wpn_mp5_nimble_acog]:wpn_mp5_nimble
1icon_layer                              = acog
1icon_layer_x                            = 87
1icon_layer_y                            = -8
scope_status                             = 1
scope_texture                            = wpn_crosshair_acog
scope_zoom_factor                        = 25
zoom_rotate_time                         = 0.20
inv_weight                               = 3.35

hud                                      = wpn_mp5_acog_nimble_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_acog_nimble.ogf


[wpn_mp5_acog_nimble_hud]:wpn_mp5_nimble_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_acog_nimble_hud.ogf

aim_hud_offset_pos               = -0.083093, 0.007822, 0.216247
aim_hud_offset_pos_16x9          = -0.083093, 0.007822, 0.216247
aim_hud_offset_rot               = -0.002485, 0.000642, 0
aim_hud_offset_rot_16x9          = -0.002485, 0.000642, 0

anm_reload_empty						 = mp5s_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
[wpn_mp5_nimble_eot]:wpn_mp5_nimble
1icon_layer                              = eot
1icon_layer_x                            = 88
1icon_layer_y                            = -4

inv_weight                               = 3.3

hud                                      = wpn_mp5_eot_nimble_hud
visual                                   = dynamics\weapons\wpn_mp5\wpn_mp5_eot_nimble.ogf

[wpn_mp5_eot_nimble_hud]:wpn_mp5_nimble_hud
item_visual                              = anomaly_weapons\wpn_mp5\wpn_mp5_eot_nimble_hud.ogf

aim_hud_offset_pos               = -0.083305, 0.007956, 0.058096
aim_hud_offset_pos_16x9          = -0.083305, 0.007956, 0.058096
aim_hud_offset_rot               = 0.010731, 0.000589, 0
aim_hud_offset_rot_16x9          = 0.010731, 0.000589, 0

anm_reload_empty						 = mp5s_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
;-- MP5SD2
;------------------------------------------------------------------------------------------------
[wpn_mp5sd]:wpn_mp5,wpn_mp5sd_sounds
parent_section                           = wpn_mp5sd

inv_grid_x                               = 40
inv_grid_y                               = 20
inv_name                                 = st_wpn_mp5sd2
inv_name_short                           = st_wpn_mp5sd2
description                              = st_wpn_mp5sd_descr

inv_weight                               = 2.97
cost                                     = 21880

hud                                      = wpn_mp5sd_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd.ogf

upgrades                                 = up_gr_firstab_mp5sd, up_gr_seconab_mp5sd, up_gr_thirdab_mp5sd, up_gr_fourtab_mp5sd, up_gr_fifthab_mp5sd, up_gr_fifthcd_mp5sd

silencer_status                          = 1

control_inertion_factor = 1.0f
crosshair_inertion                       = 3.7
fire_dispersion_base                     = 0.5

cam_return                               = 0
cam_relax_speed                          = 12
cam_dispersion                           = 0.39
cam_dispersion_frac                      = 1.02
cam_dispersion_inc                       = 0.04
cam_max_angle                            = 39.0
cam_max_angle_horz                       = 39.0
cam_step_angle_horz                      = 1.02

zoom_cam_dispersion_inc                  = 0.03

cam_relax_speed_ai                       = 120.75

snd_reload					= weapons\librarian_mplimo\reload
snd_reload_empty			= weapons\librarian_mplimo\reload_empty
snd_reload_misfire			= weapons\librarian_mplimo\unjam
snd_switch_mode				= weapons\librarian_mplimo\bizfiremode

[wpn_mp5sd_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_hud.ogf
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

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

aim_hud_offset_pos               = -0.083093, 0.025457, 0
aim_hud_offset_pos_16x9          = -0.083093, 0.025457, 0
aim_hud_offset_rot               = -0.002485, 0.000642, 0
aim_hud_offset_rot_16x9          = -0.002485, 0.000642, 0

hands_orientation                = -0.0006, -0.001065, 0
hands_orientation_16x9           = -0.0006, -0.001065, 0
hands_position                   = 0.004426, -0.018769, 0.034134
hands_position_16x9              = 0.004426, -0.018769, 0.034134

lowered_hud_offset_pos           = 0.104398, -0.026166, -0.000571
lowered_hud_offset_pos_16x9      = 0.104398, -0.026166, -0.000571
lowered_hud_offset_rot           = 0.10085, -0.799199, 0.099148
lowered_hud_offset_rot_16x9      = 0.10085, -0.799199, 0.099148

anm_hide								= mp5sd_hand_holster, mp5_idle
anm_idle								= mp5sd_hand_idle, mp5_idle
anm_idle_aim							= mp5sd_hand_idle_aim, mp5_idle
anm_idle_moving							= mp5sd_hand_moving, mp5_idle
anm_idle_sprint							= mp5_hand_sprint, mp5_idle
anm_show								= mp5sd_hand_draw, mp5_idle
anm_reload								= mp5sd_hand_reload, mp5_reload
anm_reload_empty						= mp5sd_hand_reload_empty, mp5_reload_empty
anm_reload_misfire						= mp5sd_hand_unjam, mp5_unjam
anm_shots								= mp5sd_hand_shoot, mp5_shoot
anm_shots_aim							= mp5sd_hand_shoot_aim, mp5_shoot
anm_idle_aim_moving						= mp5sd_hand_moving, mp5_idle, 0.75
anm_idle_aim_moving_crouch				= mp5sd_hand_moving, mp5_idle, 0.7
anm_idle_moving_crouch					= mp5sd_hand_moving, mp5_idle, 0.7
anm_switch_mode							= mp5sd_hand_switch, mp5_idle

shell_bone                               = gilza
shell_dir                                = 0, 0, 0
shell_point                              = 0, 0, 0

fire_bone                                = muzzle
fire_bone2                               = muzzle
fire_point                               = 0, 0, 0
fire_point2                              = 0, 0, 0

freelook_z_offset_mul					 = 0.5

;------------------------------------------------------------------------------------------------
[wpn_mp5sd_eot]:wpn_mp5sd
1icon_layer                              = eot
1icon_layer_x                            = 81
1icon_layer_y                            = 1

inv_weight                               = 3.28

hud                                      = wpn_mp5sd_eot_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd_eot.ogf


[wpn_mp5sd_eot_hud]:wpn_mp5sd_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_eot_hud.ogf

aim_hud_offset_pos               = -0.083305, 0.007956, 0.058096
aim_hud_offset_pos_16x9          = -0.083305, 0.007956, 0.058096
aim_hud_offset_rot               = 0.010731, 0.000589, 0
aim_hud_offset_rot_16x9          = 0.010731, 0.000589, 0

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
[wpn_mp5sd_ac10632]:wpn_mp5sd
1icon_layer                              = ac10632
1icon_layer_x                            = 74
1icon_layer_y                            = -5

inv_weight                               = 3.085

hud                                      = wpn_mp5sd_ac10632_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd_ac10632.ogf


[wpn_mp5sd_ac10632_hud]:wpn_mp5sd_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_ac10632_hud.ogf

aim_hud_offset_pos               = -0.083093, 0.007822, 0
aim_hud_offset_pos_16x9          = -0.083093, 0.007822, 0
aim_hud_offset_rot               = -0.002485, 0.000642, 0
aim_hud_offset_rot_16x9          = -0.002485, 0.000642, 0

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
[wpn_mp5sd_acog]:wpn_mp5sd
1icon_layer                              = acog
1icon_layer_x                            = 74
1icon_layer_y                            = -2
scope_status                             = 1
scope_texture                            = wpn_crosshair_acog
scope_zoom_factor                        = 25
zoom_rotate_time                         = 0.20
inv_weight                               = 3.37

hud                                      = wpn_mp5sd_acog_hud


[wpn_mp5sd_acog_hud]:wpn_mp5sd_hud,hud_low_interia
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_acog_hud.ogf

aim_hud_offset_pos               = -0.083093, 0.007822, 0.216247
aim_hud_offset_pos_16x9          = -0.083093, 0.007822, 0.216247
aim_hud_offset_rot               = -0.002485, 0.000642, 0
aim_hud_offset_rot_16x9          = -0.002485, 0.000642, 0

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
;-- MP5SD3
;------------------------------------------------------------------------------------------------
[wpn_mp5sd_custom]:wpn_mp5sd
parent_section                           = wpn_mp5sd_custom

inv_grid_y                               = 22
inv_name                                 = st_wpn_mp5sd3
inv_name_short                           = st_wpn_mp5sd3

cost                                     = 24560

hud                                      = wpn_mp5sd_sk1_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd_sk1.ogf

installed_upgrades                       = up_fourta_mp5sd

fire_dispersion_base                     = 0.46

misfire_start_condition                  = 0.77
misfire_start_prob                       = 0.006
misfire_end_condition                    = 0.09
misfire_end_prob                         = 0.08

condition_queue_shot_dec                 = 0.00074
condition_shot_dec                       = 0.00074


[wpn_mp5sd_sk1_hud]:wpn_mp5sd_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_sk1_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_mp5sd_custom_ac10632]:wpn_mp5sd_custom
1icon_layer                              = ac10632
1icon_layer_x                            = 74
1icon_layer_y                            = -5

inv_weight                               = 3.085

hud                                      = wpn_mp5sd_ac10632_sk1_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd_ac10632_sk1.ogf


[wpn_mp5sd_ac10632_sk1_hud]:wpn_mp5sd_ac10632_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_ac10632_sk1_hud.ogf

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
[wpn_mp5sd_custom_acog]:wpn_mp5sd_custom
1icon_layer                              = acog
1icon_layer_x                            = 74
1icon_layer_y                            = -2
scope_status                             = 1
scope_texture                            = wpn_crosshair_acog
scope_zoom_factor                        = 25
zoom_rotate_time                         = 0.20
inv_weight                               = 3.37

hud                                      = wpn_mp5sd_acog_sk1_hud


[wpn_mp5sd_acog_sk1_hud]:wpn_mp5sd_acog_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_acog_sk1_hud.ogf

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
[wpn_mp5sd_custom_eot]:wpn_mp5sd_custom
1icon_layer                              = eot
1icon_layer_x                            = 81
1icon_layer_y                            = 1

inv_weight                               = 3.28

hud                                      = wpn_mp5sd_eot_sk1_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd_eot_sk1.ogf


[wpn_mp5sd_eot_sk1_hud]:wpn_mp5sd_eot_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_eot_sk1_hud.ogf

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty

;------------------------------------------------------------------------------------------------
;-- MP5SD6
;------------------------------------------------------------------------------------------------
[wpn_mp5sd_new]:wpn_mp5sd
parent_section                           = wpn_mp5sd_new

inv_grid_y                               = 24
inv_name                                 = st_wpn_mp5sd6
inv_name_short                           = st_wpn_mp5sd6

cost                                     = 22650

installed_upgrades                       = up_fiftha_mp5sd

hud                                      = wpn_mp5sd_sk2_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd_sk2.ogf

fire_modes                               = 1, 3, -1

fire_dispersion_base                     = 0.49

misfire_start_condition                  = 0.7 ;  0.8
misfire_start_prob                       = 0.006
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.08

condition_queue_shot_dec                 = 0.0008
condition_shot_dec                       = 0.0008


[wpn_mp5sd_sk2_hud]:wpn_mp5sd_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_sk2_hud.ogf

;------------------------------------------------------------------------------------------------
[wpn_mp5sd_new_ac10632]:wpn_mp5sd_new
1icon_layer                              = ac10632
1icon_layer_x                            = 74
1icon_layer_y                            = -5

inv_weight                               = 3.085

hud                                      = wpn_mp5sd_ac10632_sk2_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd_ac10632_sk2.ogf


[wpn_mp5sd_ac10632_sk2_hud]:wpn_mp5sd_ac10632_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_ac10632_sk2_hud.ogf

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty


;------------------------------------------------------------------------------------------------
[wpn_mp5sd_new_acog]:wpn_mp5sd_new
1icon_layer                              = acog
1icon_layer_x                            = 74
1icon_layer_y                            = -2
scope_status                             = 1
scope_texture                            = wpn_crosshair_acog
scope_zoom_factor                        = 25
zoom_rotate_time                         = 0.20
inv_weight                               = 3.37

hud                                      = wpn_mp5sd_acog_sk2_hud


[wpn_mp5sd_acog_sk2_hud]:wpn_mp5sd_acog_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_acog_sk2_hud.ogf

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty


;------------------------------------------------------------------------------------------------
[wpn_mp5sd_new_eot]:wpn_mp5sd_new
1icon_layer                              = eot
1icon_layer_x                            = 81
1icon_layer_y                            = 1

inv_weight                               = 3.28

hud                                      = wpn_mp5sd_eot_sk2_hud
visual                                   = dynamics\weapons\wpn_mp5sd\wpn_mp5sd_eot_sk2.ogf


[wpn_mp5sd_eot_sk2_hud]:wpn_mp5sd_eot_hud
item_visual                              = anomaly_weapons\wpn_mp5sd\wpn_mp5sd_eot_sk2_hud.ogf

anm_reload_empty						 = mp5sd_hand_reload_empty_thumb, mp5_reload_empty


