;пистолет системы Стечкина АПС
[wpn_aps_sk1]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency	= 
$spawn              	= "weapons\aps"	; name and section in level editor
$npc					= on				
$prefetch 				= 8
scheduled				= off               ;[] option for ALife Simulator
cform               	= skeleton
class               	= WP_LR300			; class of the weapon that corresponding to CPP class
min_radius          	= 30				; [] for AI
max_radius          	= 100				; [] for AI
description				= enc_weapons1_wpn-aps

ef_main_weapon_type		= 2
ef_weapon_type			= 6

;-----------------------------------------------------------------------------------
holder_range_modifier	= 1.0		       ; во сколько раз увеличивается eye_range 
holder_fov_modifier		= 1.0              ; во сколько раз увеличивается eye_fov
;-----------------------------------------------------------------------------------

cost					= 2500				; the price of the item
weapon_class			= assault_rifle		; the type of the box that will be used in buy-menu in multiplayer mode	
	
ammo_limit				= 210				; obsolete
ammo_elapsed			= 30				; obsolete

ammo_mag_size			= 20				; clip (magazine) size
fire_modes				= 1, -1

ammo_class				= ammo_9x18_fmj, ammo_9x18_pmm   ; name of the ltx-section of used ammo 

hand_dependence			= 1									; how many hands (1 or 2) we used to hold weapon in
single_handed			= 0
	
slot 					= 1									; number of slot in inventory we put weapon in (1 - knife slot, 2 - pistol, 3 - rifle, 4 - grenade, 5 - apparatus)
animation_slot			= 1									; type of the animation that will be used

inv_name	        	= wpn-aps							; name in inventory	
inv_name_short			= wpn-aps
inv_weight				= 1.22								; weight in inventory

inv_grid_width				= 2
inv_grid_height				= 1
inv_grid_x					= 14
inv_grid_y					= 37

kill_msg_x			= 161
kill_msg_y			= 153
kill_msg_width		= 37
kill_msg_height		= 24

;-----------------------------------------------------------------------------------
;базовая дисперсия
fire_dispersion_base		= 0.05	;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)

;отдача
cam_relax_speed         	= 0	;скорость возврата в исходное положение
cam_relax_speed_ai         	= 6
cam_dispersion          	= 1.5	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc		= 0.0	;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac		= 1.0	;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle			= 20.0	;максимальный угол отдачи
cam_max_angle_horz		= 10.0	;(degree) maximum shot horizontal degree 
cam_step_angle_horz		= 0.6	;(degree) size of step camera moved in horizontal position while shooting

fire_dispersion_condition_factor = 5	;увеличение дисперсии в процентах при максимальном износе 
misfire_probability 		= 0.003	;вероятность осечки при максимальном износе 
misfire_condition_k			= 0.05
condition_shot_dec			= 0.0001 ;увеличение износа при каждом выстреле
;--------------------------------------------------------------------------------

flame_particles				= weapons\generic_weapon05	; particles for shooting effects
smoke_particles				= weapons\generic_shoot_00
	
shell_point		 			= 0,0.234,0.026				; position (3rd person view) for shell to throw out
shell_particles	 			= weapons\generic_shells	; name of the particles for shells

PDM_disp_base 			= 1.0
PDM_disp_vel_factor 		= 0.9
PDM_disp_accel_factor 		= 0.9
PDM_crouch	 		= 1.0
PDM_crouch_no_acc 		= 1.0

;;;;;;  Для Народной солянки 2009
hit_power           = 0.42, 0.45, 0.47, 0.49
hit_impulse	        = 3
hit_type 	        = fire_wound
hit_rate	        = 1.85
fire_distance       = 60
bullet_speed		= 310
rpm                 = 600

use_aim_bullet				= true		;Поддерживается ли первая суппер пуля
time_to_aim					= 1.0	

;params when silencer is attached 
;similar to corresponding params without prefix silencer_

silencer_hit_power       	= 0.48
silencer_hit_impulse	 	= 3
silencer_fire_distance   	= 50
silencer_bullet_speed	 	= 220

hud                      	= wpn_aps_sk1_hud				; name of the section of the hud
normal                   	= 0, 1, 0
position         	        = -0.026,-0.172,-0.007			; position (offset) and orientation of the weapon in the hands of character
orientation      	        = 0,0,0						; (3rd person view)

fire_point             		=  0,0.226,0.162			; position (3rd person view) for particles of fire 

;--STRAP PARAMETERS-----------------------------------------------------------------
strap_position         		= -0.16,-0.40,0.15			; position (offset) and orientation of the weapon when it is strapped
strap_orientation      		= -10,-5,10					; (3rd person view in degrees)
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1

visual         		        = Arsenal_Mod\wpn_aps_sk1.ogf		; name of the model for 3rd person view

light_color					= 0.6,0.5,0.3				; params for light during the fire
light_range					= 5							; radius
light_var_color				= 0.05						
light_var_range				= 0.5
light_time 					= 0.2						

ph_mass						= 5							; physic mass (kg)

;addons
scope_status				= 0							; 0 - no addon
silencer_status				= 2							; 1 - permanent
grenade_launcher_status		= 0							; 2 - attachable

zoom_enabled				= true						; (on,off)zoom mode (right mouse button)
scope_zoom_factor	    	= 90						; fov for zoom mode

silencer_name  				= wpn_addon_sil_9_p		; section name for the attachable silencer
silencer_x 					= 75						; offset in inventory icon
silencer_y 					= -18				
;------------------------------ S.T.A.L.K.E.R`s sound remake ------------------------------
snd_draw					= weapons\aps\generic_draw
snd_holster					= weapons\aps\generic_holster
snd_shoot					= weapons\aps\aps_shot
snd_empty					= weapons\pistol_empty
snd_reload					= weapons\aps\p_reload2, 0.8
snd_close					= weapons\aps\generic_holster
snd_silncer_shot			= weapons\aps\p_silent2, 0.4
;------------------------------------------------------------------------------------------

;params when silencer is attached 
;similar to corresponding params without prefix silencer_

;silencer_flame_particles 	= weapons\generic_weapon01
silencer_smoke_particles 	= weapons\generic_shoot_00

silencer_light_color		= 0.6,0.5,0.3
silencer_light_range		= 0.01
silencer_light_var_color	= 0.05
silencer_light_var_range	= 0.5
silencer_light_time 		= 0.2

;-----------------------------------------------------------------------------
;-- HUD DESCRIPTION
;-----------------------------------------------------------------------------
 
[wpn_aps_sk1_hud]

shell_point			= -0.330000,-0.010000,0.050000
fire_point			= -0.195,0.0,0.025

fire_bone               	= wpn_body
orientation             	= 0, 0, 0		
position                	= 0, 0, 0
visual                  	= Arsenal_Mod\wpn_aps_sk1_hud.ogf

anim_holster				= holster
anim_idle					= idle
anim_empty					= empty
anim_reload					= reload
anim_reload_empty			= reload
anim_draw					= draw
anim_draw_empty				= draw_empty
anim_shoot					= shoot
anim_shot_last				= shoot_last
anim_close					= close
anim_idle_aim				= idle_aim
anim_idle_sprint			= idle_sprint

;смещения HUD для режима приближения
zoom_offset			= -0.16305,0.02935,0.001
zoom_rotate_x		= -0.0
zoom_rotate_y		= -0.0

zoom_hide_crosshair	= true						;to hide crosshair in zoom