[wpn_usp]:weapon_probability,default_weapon_params,wpn_usp_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\usp"
ammo_class                                         = ammo_11.43x23_fmj, ammo_11.43x23_hydro
ammo_current                                       = 72
ammo_elapsed                                       = 12
ammo_limit                                         = 84
ammo_mag_size                                      = 12
ammo_mag_size_ui                                   = 12
animation_slot                                     = 1
bullet_speed                                       = 290
block_bore										   = true
allow_firemode_on_empty							   = false
cam_return										   = 0
cam_relax_speed         						   = 7				;скорость возврата в исходное положение
cam_relax_speed_ai      						   = 360
cam_dispersion          						   = 1.5				;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc								   = 1.1				;увеличениe cam_dispersion с каждым выстрелом
cam_dispersion_frac								   = 1.0				;ствол будет подыматься на cam_dispersion*cam_dispersion_frac +- cam_dispersion*(1-cam_dispersion_frac)
cam_max_angle									   = 40.0			;максимальный угол отдачи
cam_max_angle_horz								   = 30.0			;(degree) maximum shot horizontal degree
cam_step_angle_horz								   = 1.4				;(degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_PM
condition_queue_shot_dec                           = 0.001
condition_shot_dec                                 = 0.001
control_inertion_factor                            = 1.0f
cost                                               = 12600
crosshair_inertion                                 = 3.65
description                                        = st_wpn_usp_descr
discovery_dependency                               = 
ef_main_weapon_type                                = 0
ef_weapon_type                                     = 5
fire_dispersion_base                               = 0.19 ;0.7
fire_dispersion_condition_factor                   = 3
fire_distance                                      = 70
fire_modes                                         = 1
fire_point                                         = 0.0, 0.133, 0.161
fire_point2                                        = 0.0, 0.133, 0.161
flame_particles                                    = weapons\new_effects\pistol_45acp
grenade_class                                      = ammo_vog-25
grenade_flame_particles                            = weapons\generic_shoot_00
grenade_launcher_name                              = wpn_addon_grenade_launcher
grenade_launcher_status                            = 0
grenade_launcher_x                                 = 126
grenade_launcher_y                                 = 24
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.00
holder_range_modifier                              = 1.00
hud                                                = wpn_usp_hud
installed_upgrades                                 = 
inv_grid_height                                    = 1
inv_grid_width                                     = 2
inv_grid_x                                         = 20
inv_grid_y                                         = 9
inv_name                                           = st_wpn_usp
inv_name_short                                     = st_wpn_usp
inv_weight                                         = 0.88
kill_msg_height                                    = 25
kill_msg_width                                     = 31
kill_msg_x                                         = 134
kill_msg_y                                         = 177
launch_speed                                       = 0
light_color                                        = 0.6,0.5,0.3
light_disabled                                     = false
light_range                                        = 3.0
light_time                                         = 0.07
light_var_color                                    = 0.05
light_var_range                                    = 0.5
max_radius                                         = 30
min_radius                                         = 0
misfire_end_condition                              = 0.1
misfire_end_prob                                   = 0.055
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.0055
orientation                                        = 0, 0, 0
PDM_disp_base 									   = 1.0
PDM_disp_vel_factor 							   = 1.1
PDM_disp_accel_factor 							   = 1.1
PDM_disp_crouch	 								   = 1.0
PDM_disp_crouch_no_acc 							   = 1.0
ph_mass                                            = 1
position                                           = -0.021, -0.085, 0.0
reload_dof                                         = 0.0, 0.5, 5, 2.2
reload_empty_dof                                   = 0.0, 0.5, 5, 2.9
rpm                                                = 310
rpm_empty_click                                    = 250
scheduled                                          = off
scope_status                                       = 0
scope_x                                            = 70
scope_y                                            = 0
scope_zoom_factor                                  = 100
scopes 											   = none
parent_section  								   = wpn_usp
shell_dir                                          = 0.0, 0.0, 0.4
shell_particles                                    = weapons\shells\generic_shells_r_762_39
shell_point                                        = 0.0, 0.133, 0.047
silencer_bullet_speed                              = 295
silencer_fire_distance                             = 75
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_name                                      = sil_45
silencer_smoke_particles                           = weapons\generic_shoot_00
silencer_status                                    = 2
silencer_x                                         = 81
silencer_y                                         = -16
single_handed                                      = 1
slot                                               = 4;1
smoke_particles                                    = weapons\generic_shoot_00
startup_ammo                                       = 90
time_to_aim                                        = 1.0
upgr_icon_height                                   = 100
upgr_icon_width                                    = 150
upgr_icon_x                                        = 1900
upgr_icon_y                                        = 900
upgrade_scheme                                     = upgrade_scheme_usp
upgrades                                           = up_gr_firstab_usp, up_gr_seconab_usp, up_gr_thirdab_usp, up_gr_fourtab_usp, up_gr_fifthab_usp
use_aim_bullet                                     = false
visual                                             = dynamics\weapons\wpn_usp45\wpn_usp45.ogf
weapon_class                                       = 
zoom_cam_relax_speed        					   = 10    ; scope & ironsight
zoom_cam_relax_speed_ai     					   = 120.75
zoom_cam_dispersion         					   = 1.0
zoom_cam_dispersion_inc     					   = 0.8
zoom_cam_dispersion_frac    					   = 0.8
zoom_cam_max_angle          					   = 35.0
zoom_cam_max_angle_horz     					   = 25.0
zoom_cam_step_angle_horz    					   = 1.2
zoom_dof                                           = -1000, 1.0, 1000
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

shell_section                                      = shell_45acp
shell_section_0                                    = shell_45acp
shell_section_1                                    = shell_45acp

reload_time 									   = 1.4
reload_empty_time 								   = 2.15
detector_time 									   = 0.4
sprint_start_time 						 		   = 0.05

use_device_anims = true

[wpn_usp_hud]:hud_base
aim_hud_offset_rot								   = 0.000000,0.001000,0.000000
aim_hud_offset_rot_16x9							   = 0.000000,0.001000,0.000000
aim_hud_offset_pos								   = 0.000100,0.005300,0.000000
aim_hud_offset_pos_16x9							   = 0.000100,0.005300,0.000000
anm_bore                                           = usp45_idle_aim
anm_bore_empty                                     = usp45_idle_aim, idle_empty
anm_hide                                           = usp45_holster
anm_hide_empty                                     = usp45_holster, idle_empty
anm_idle                                           = usp45_idle
anm_idle_aim                                       = usp45_idle_aim
anm_idle_aim_empty                                 = usp45_idle_aim, idle_empty
anm_idle_empty                                     = usp45_idle, idle_empty
anm_idle_moving_slow                               = usp45_moving_slow
anm_idle_moving_slow_empty                         = usp45_moving_slow, idle_empty
anm_idle_moving                                    = usp45_moving
anm_idle_moving_crouch                             = usp45_crouch
anm_idle_moving_crouch_empty                       = usp45_crouch, idle_empty
anm_idle_moving_empty                              = usp45_moving, idle_empty
anm_idle_aim_moving		 						   = usp45_moving_aim
anm_idle_aim_moving_empty						   = usp45_moving_aim, idle_empty
anm_sprint_start         						   = usp45_sprint_start
anm_sprint_idle         						   = usp45_sprint
anm_sprint_end         						   	   = usp45_sprint_end
anm_sprint_start_empty         					   = usp45_sprint_start, idle_empty
anm_sprint_idle_empty         					   = usp45_sprint, idle_empty
anm_sprint_end_empty         					   = usp45_sprint_end, idle_empty
anm_reload                                         = usp45_reload, reload
anm_reload_empty                                   = usp45_reload_empty, reload_empty
anm_reload_misfire								   = usp45_misfire, misfire
anm_shot_l                                         = usp45_shoot, idle_empty
anm_shots                                          = usp45_shoot, shoot
anm_shots_when_aim								   = usp45_shoot_aim, shoot
anm_shot_l_when_aim								   = usp45_shoot_aim, idle_empty
anm_show                                           = usp45_draw
anm_show_empty                                     = usp45_draw, idle_empty

anm_prepare_detector                               = usp45_hand_holster
anm_prepare_detector_empty                         = usp45_hand_holster, idle_empty
anm_finish_detector                                = usp45_hand_draw
anm_finish_detector_empty                          = usp45_hand_draw, idle_empty

anm_switch_device                                  = usp45_flash
anm_gasmask                                        = usp45_clear

anm_switch_device_empty                            = usp45_flash, idle_empty
anm_gasmask_empty                                  = usp45_clear, idle_empty

attach_place_idx                                   = 0
fire_bone                                          = wpn_body
fire_point                                         = 0.000000,0.073700,0.256301
gl_hud_offset_pos                                  = 0,0,0
gl_hud_offset_rot                                  = 0,0,0
hands_position									   = 0.000000,-0.077200,-0.008500
hands_orientation								   = 0.0,0.0,0.0
hands_position_16x9								   = 0.000000,-0.077200,-0.008500
hands_orientation_16x9							   = 0.0,0.0,0.0
item_orientation                                   = 0,0,0
item_position                                      = 0,0,0
item_visual                                        = dynamics\weapons\wpn_usp45\wpn_usp45_hud.ogf
lean_hud_offset_pos                                = 0,0,0
lean_hud_offset_rot                                = 0,0,0
shell_bone                                         = wpn_body
shell_point                                        = 0.03,0.1,0.1
zoom_hide_crosshair                                = true

anim_aim_start 									   = aim_start_pistol, 1, 1, 0.12, 0.12
anim_aim_idle  									   = aim_idle_pistol, 1, 1, 0.2, 0.2
anim_aim_end   						        	   = aim_end_pistol, 1, 1, 0.12, 0.12

anim_fakeshot									   = fakeshot_pistol, 0.7, 0.4

inertion_origin_aim_offset 						   = -0.03					
inertion_offset_LRUD_aim						   = 0.01, 0.01, 0.01, 0.01
inertion_offset_z								   = 0

[wpn_usp_nimble]:wpn_usp, wpn_usp_nimble_sounds
$spawn                                             = "weapons\wpn_usp_nimble"
ammo_elapsed                                       = 15
ammo_mag_size                                      = 15
ammo_mag_size_ui                                   = 15
bullet_speed                                       = 295
control_inertion_factor                            = 1.0
cost                                               = 30000
crosshair_inertion                                 = 2.40
description                                        = st_wpn_usp_nimble_descr
fire_dispersion_base                               = 0.17 ;0.15 
hud                                                = wpn_usp_nimble_hud
inv_grid_height                                    = 2
inv_grid_width                                     = 2
inv_grid_x                                         = 22
inv_grid_y                                         = 24
inv_name                                           = st_wpn_usp_nimble
inv_weight                                         = 1.3
PDM_disp_accel_factor                              = 1
PDM_disp_base                                      = 0.4
PDM_disp_crouch                                    = 1.0
PDM_disp_crouch_no_acc                             = 1.0
PDM_disp_vel_factor                                = 1
silencer_status                                    = 1
silencer_name                                      = wpn_addon_silencer
silencer_x                                         = 63
silencer_y                                         = -12
scopes 											   = none
parent_section  								   = wpn_usp_nimble
upgr_icon_height                                   = 100
upgr_icon_width                                    = 150
upgr_icon_x                                        = 1900
upgr_icon_y                                        = 1200
visual                                             = dynamics\weapons\wpn_usp45\wpn_usp45_nimble.ogf

reload_time 									   = 1.4
reload_empty_time 								   = 2.05

[wpn_usp_nimble_hud]:wpn_usp_hud
aim_hud_offset_rot								   = 0.000000,0.001000,0.000000
aim_hud_offset_rot_16x9							   = 0.000000,0.001000,0.000000
aim_hud_offset_pos								   = -0.000200,0.000700,0.000000
aim_hud_offset_pos_16x9							   = -0.000200,0.000700,0.000000
anm_bore                                           = fnx45_idle_aim
anm_bore_empty                                     = fnx45_idle_aim, idle_empty
anm_hide                                           = fnx45_holster
anm_hide_empty                                     = fnx45_holster, idle_empty
anm_idle                                           = fnx45_idle
anm_idle_aim                                       = fnx45_idle_aim
anm_idle_aim_empty                                 = fnx45_idle_aim, idle_empty
anm_idle_empty                                     = fnx45_idle, idle_empty
anm_idle_moving_slow                               = fnx45_moving_slow
anm_idle_moving_slow_empty                         = fnx45_moving_slow, idle_empty
anm_idle_moving                                    = fnx45_moving
anm_idle_moving_crouch                             = fnx45_crouch
anm_idle_moving_crouch_empty                       = fnx45_crouch, idle_empty
anm_idle_moving_empty                              = fnx45_moving, idle_empty
anm_idle_aim_moving		 						   = fnx45_moving_aim
anm_idle_aim_moving_empty						   = fnx45_moving_aim, idle_empty
anm_sprint_start         						   = fnx45_sprint_start
anm_sprint_idle         						   = fnx45_sprint
anm_sprint_end         						   	   = fnx45_sprint_end
anm_sprint_start_empty         					   = fnx45_sprint_start, idle_empty
anm_sprint_idle_empty         					   = fnx45_sprint, idle_empty
anm_sprint_end_empty         					   = fnx45_sprint_end, idle_empty
anm_reload                                         = fnx45_reload, reload
anm_reload_empty                                   = fnx45_reload_empty, reload_empty
anm_reload_misfire								   = fnx45_misfire, misfire
anm_shot_l                                         = fnx45_shoot, idle_empty
anm_shots                                          = fnx45_shoot, shoot
anm_shots_when_aim								   = fnx45_shoot_aim, shoot
anm_shot_l_when_aim								   = fnx45_shoot_aim, idle_empty
anm_show                                           = fnx45_draw
anm_show_empty                                     = fnx45_draw, idle_empty

anm_prepare_detector                               = fnx45_hand_holster
anm_prepare_detector_empty                         = fnx45_hand_holster, idle_empty
anm_finish_detector                                = fnx45_hand_draw
anm_finish_detector_empty                          = fnx45_hand_draw, idle_empty

anm_switch_device                                  = fnx45_flash
anm_gasmask                                        = fnx45_clear

anm_switch_device_empty                            = fnx45_flash, idle_empty
anm_gasmask_empty                                  = fnx45_clear, idle_empty

item_visual                                        = dynamics\weapons\wpn_usp45\wpn_usp45_nimble_hud.ogf
item_position                                      = 0,-0.002,0
