; Гладкоствольное ружье Armsel Protecta
;-(TrickSR)-----------------------------------------
; калибр 						12/70
; длина ствола 					305 мм
; магазин						12
; вес без магазина					4.2
; максимальная дальность стрельбы			560 м
; эффективная дальность стрельбы			60 м
; прицельная дальность				---
; дульная скорость пули				235 м/с
; темп стрельбы					210 в/м
;---------------------------------------------------

[wpn_protecta]:weapon_probability,default_weapon_params,wpn_protecta_sounds
GroupControlSection					= spawn_group
discovery_dependency 				=
$spawn 						= "weapons\protecta"
$npc			 			= on
$prefetch 		 				= 8
scheduled						= off
cform						= skeleton
class						= WP_ASHTG
description						= st_wpn_protecta_descr

ef_main_weapon_type				= 1
ef_weapon_type					= 9

inv_name						= st_wpn_protecta
inv_name_short					= st_wpn_protecta

inv_grid_width					= 5
inv_grid_height					= 2
inv_grid_x						= 0
inv_grid_y						= 23

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

kill_msg_x						= 258
kill_msg_y						= 3
kill_msg_width					= 94
kill_msg_height					= 21

cost						= 9000
weapon_class			 		= shotgun
inv_weight					= 4.2
hud						= wpn_protecta_hud
visual 						= dynamics\weapons\wpn_protecta\wpn_protecta

upgrades                					= up_gr_firstab_protecta, up_gr_seconab_protecta, up_gr_thirdab_protecta, up_gr_fourtab_protecta
installed_upgrades      				=
upgrade_scheme          				= upgrade_scheme_protecta

ph_mass					 	= 4

ammo_class		 			= ammo_12x70_buck, ammo_12x76_zhekan

startup_ammo 					= 90
ammo_current		 			= 72
ammo_elapsed		 			= 0
ammo_limit		 			= 84
ammo_mag_size		 			= 12

fire_modes					= 1

tri_state_reload					= on

hand_dependence 	 				= 1
single_handed					= 0

hit_power						= 0.8
;hit_impulse					= 10
hit_type 						= fire_wound
fire_distance					= 560
bullet_speed					 = 235
rpm						= 155
rpm_empty_click					= 200

misfire_probability					= 0.005
misfire_start_condition				= 0.6
misfire_end_condition				= 0.1
misfire_start_prob	 				= 0
misfire_end_prob	 				= 0
condition_shot_dec					= 0.0005
condition_queue_shot_dec				= 0.000667

zoom_dof						= 0.5, 1.0, 180
reload_dof						= 0.0, 0.5, 5, 1.7

fire_dispersion_base					= 0.35
fire_dispersion_condition_factor				= 3
control_inertion_factor				= 1.2f
crosshair_inertion					= 7.75

cam_return					= 0
cam_relax_speed					= 10
cam_relax_speed_ai					= 360
cam_dispersion					= 3.0
cam_dispersion_inc					= 2.0
cam_dispersion_frac					= 0.7
cam_max_angle					= 15.0
cam_max_angle_horz					= 15.0
cam_step_angle_horz					= 3.0

zoom_cam_relax_speed				= 10
zoom_cam_relax_speed_ai				= 120.75
zoom_cam_dispersion				= 3.0
zoom_cam_dispersion_inc				= 2.5
zoom_cam_dispersion_frac				= 0.7
zoom_cam_max_angle				= 10.0
zoom_cam_max_angle_horz				= 10.0
zoom_cam_step_angle_horz				= 3.0

PDM_disp_base 					= 0.5
PDM_disp_vel_factor 				= 2.0
PDM_disp_accel_factor 				= 2.0
PDM_disp_crouch	 				= 1.0
PDM_disp_crouch_no_acc 				= 1.0

min_radius 					= 30
max_radius 					= 50

holder_range_modifier				= 1.0
holder_fov_modifier					= 1.0

slot 						= 2
animation_slot		 			= 10

position 						= -0.024, -0.097, 0.0
orientation						= 0, -4, 0

fire_point						= 0.0, 0.158, 0.647
fire_point2					= 0.0, 0.158, 0.647

flame_particles					= weapons\generic_weapon05
smoke_particles     					= amik\weapons\smoke_particles\smoke_particles_pump_00

shell_point					= 0.0, 0.180, 0.647
shell_particles         					= weapons\12ga

strap_position 					= -0.26, -0.15, 0.15
strap_orientation					= -15, -9, 110
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1

light_color		 				= 0.6, 0.5, 0.3
light_range		 			= 6.0
light_var_color		 			= 0.05
light_var_range		 			= 0.5
light_time 		 				= 0.2

scope_status					= 0
silencer_status					= 0
grenade_launcher_status				= 0

zoom_enabled					= true
zoom_rotate_time					= 0.15
scope_zoom_factor					= 73.3

[wpn_protecta_hud]:hud_base
zoom_hide_crosshair				= true

attach_place_idx				= 0
item_visual                   			= dynamics\weapons\wpn_protecta\wpn_protecta_hud

hands_position				= 0.1,-0.055,0.25
hands_orientation				= 0,0,0
	
hands_position_16x9				= 0.1,-0.055,0.25
hands_orientation_16x9			= 0,0,0

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

aim_hud_offset_pos				= -0.1,-0.015,-0.15
aim_hud_offset_rot				= -0.0555,0.0003,0

aim_hud_offset_pos_16x9 			= -0.1,-0.015,-0.15
aim_hud_offset_rot_16x9 			= -0.0555,0.0003,0

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

fire_point		  			= 0,0,0
fire_bone              		 		= muzzle

anm_show					= protecta_draw
anm_hide					= protecta_holster
anm_idle					= protecta_idle
anm_idle_aim				= protecta_aim
anm_idle_moving				= protecta_move
anm_idle_sprint				= protecta_sprint
anm_bore					= protecta_aim
anm_shots					= protecta_shoot, shoot
anm_open					= protecta_reload_start, reload_start
anm_add_cartridge				= protecta_reload, reload
anm_close					= protecta_reload_end, reload_end

[wpn_protecta_nimble]:wpn_protecta
$spawn                  				= "weapons\protecta_nimble"