;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; BMK Кальтера ;;;;;;;;;;;;;;;;;;;;;;;;;;;
[wpn_aug_a1]:WP_AK74
min_radius          	= 30
max_radius          	= 100
description				= enc_wpn_aug_a1
	
ef_main_weapon_type		= 2
ef_weapon_type			= 6

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


cost					= 42000
cheat_item = true
weapon_class			= assault_rifle	; Type of the weapon
launch_speed = 0
	
ammo_limit				= 210
ammo_current			= 180
ammo_elapsed			= 30
	
ammo_mag_size			= 42
ammo_class				= ammo_5.56x45_ap, ammo_5.56x45_gd, ammo_5.56x45_ss190, 
grenade_class			= ammo_kumul_82                     ,ammo_12x70_buck, ammo_12x70_kart, 
launch_speed			= 0
fire_modes				= 1, -1

hand_dependence			= 1
single_handed			= 0	

slot 					= 2		; // secondary
animation_slot			= 8 ; 2		; type of the animation that will be used

inv_name	        	      = wpn_aug_a1
inv_weight				= 3.8

inv_grid_width			= 5
inv_grid_height			= 2
inv_grid_x			= 47
inv_grid_y			= 52

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

;отдача
cam_relax_speed         	= 9.5; 0.15		;скорость возврата в исходное положение
cam_dispersion          	= 0.07		;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc			= 0.12		;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac			= 0.15		;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle				= 5.0	    	;максимальный угол отдачи
cam_max_angle_horz			= 8.0		;(degree) maximum shot horizontal degree 
cam_step_angle_horz			= 1.0		;(degree) size of step camera moved in horizontal position while shooting

fire_dispersion_condition_factor 	= 1.5	    	;увеличение дисперсии в процентах при максимальном износе 
misfire_probability 		      = 0.00065	;вероятность осечки при максимальном износе 
misfire_condition_k			= 0.05
condition_shot_dec 			= 0.00004	;увеличение износа при каждом выстреле
;parent dispersion modifiers
PDM_disp_base 			= 1.5
PDM_disp_vel_factor 		= 1.4
PDM_disp_accel_factor 		= 1.4
PDM_crouch	 		= 1.0
PDM_crouch_no_acc 		= 1.0

direction              		= 0, 0, 1
fire_point             		= 0.0, 0.186, 0.430
fire_point2            		= 0.0, 0.116, 0.468

flame_particles			= weapons\generic_weapon05 
smoke_particles			= weapons\generic_shoot_00
grenade_flame_particles		= weapons\generic_weapon01  
	
shell_point		 			= 0.0, 0.186, -0.185
shell_dir		 			= 0.0, 0.0, 0.4
shell_particles	 			= amik\weapons\5_56x45\5_56x45_r ;weapons\arsenal_shells1 

rpm_empty_click 	 		= 200

;;;;;; Для ОП-2.1
hit_power                	= 0.86
hit_impulse		 		= 70
hit_type 					= fire_wound 	
hit_rate	                  = 2.2
fire_distance            	= 800
bullet_speed			= 992	;начальная скорость пули
rpm                      	= 850

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

silencer_hit_power       	= 0.82
silencer_hit_impulse	 	= 62
silencer_fire_distance   	= 650
silencer_bullet_speed	 	= 925

hud                      	= wpn_aug_a1_hud
normal                   	= 0, 1, 0

position         	        = -0.026, -0.135, 0.0
orientation      	        = 0, 0, 0

strap_position         		= -0.15,-0.36,0.25			; 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

startup_ammo   		        = 90
visual         		        = weapons\aug3\wpn_aug3.ogf
	
light_color					= 0.6,0.5,0.3
light_range					= 5
light_var_color				= 0.05
light_var_range				= 0.5
light_time 					= 0.2

ph_mass						= 5
;cost						= 2100

;addons
scope_status				= 2  ;1
silencer_status				= 2
grenade_launcher_status		        = 2

zoom_enabled				= true
scope_zoom_factor			      = 65		;SUSAT 2X

scope_name 					= wpn_addon_optik  
scope_x 					= 78 ;61
scope_y 					= -5 ;0
silencer_name  				= wpn_addon_sil_556_ar
silencer_x 					= 222 ;189
silencer_y 					= 10 ;14
grenade_launcher_name 		      = wpn_addon_shotgun
grenade_launcher_x 			= 139 ;118
grenade_launcher_y 			= 31  ;33

;звуки
snd_draw					= weapons\aug3\draw
snd_holster					= weapons\generic_holster                   
snd_shoot					= weapons\aug3\ar_aug_2 ;aug_shot
snd_shoot1					= weapons\aug3\ar_aug_4
snd_shoot2					= weapons\aug3\ar_aug_2
snd_shoot3					= weapons\aug3\ar_aug_4
snd_empty					= weapons\gen_empty, 0.5
snd_reload					= weapons\aug3\reload, 1.0, 0.75
snd_shoot_grenade			      = weapons\aug3\shot 
snd_reload_grenade			= weapons\aug3\reload_end
snd_switch					= weapons\generic_holster
snd_silncer_shot			      = weapons\aug3\glock_shot_sil

;настройки для глушителя
;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		= 2
silencer_light_var_color	= 0.05
silencer_light_var_range	= 0.5
silencer_light_time 		= 0.2

 
[wpn_aug_a1_hud]

allow_inertion				= false  ; true

shell_point     	   	 	= -0.100, -0.045, 0.020  ;0.0, 0.0, -0.025
shell_dir			     	= 0.0, 1.0, 0.0

fire_point			= -0.005, 0.070, 0.040 ;-0.02500, 0.19750000 ,0.00185000  
fire_point2              	= -0.010000, 0.050000, 0.001500
fire_bone               	= wpn_body
orientation             	= 0.75, 1.65, 0        ;0.03, 1.2, 0
position                	= 0.082, 0.008, -0.11  ;0.09, 0.02, -0.12

visual                  	= weapons\aug3\wpn_aug3_hud.ogf

grenade_bone            	= grenade

anim_idle			= idle
anim_idle_aim			= idle_aim
anim_reload			= reload
anim_draw			= draw
anim_holster			= holster
anim_shoot			= shoot
anim_idle_sprint		= idle_sprint
;anim_idle_moving		        = idle_moving
			
;анимации с подключенным дробовиком
;(режим стрельбы из дробовика)
anim_idle_g				= idle_grenade
anim_idle_g_aim				= idle_grenade_aim
anim_reload_g				= reload_grenade
anim_shoot_g				= shoot_grenade
anim_switch_grenade_on		= switch_gl_on
anim_switch_grenade_off		= switch_gl_off
anim_draw_g				= draw_grenade
anim_holster_g				= holster_grenade
;anim_idle_moving_g		= idle_grenade_moving

;(режим обычной стрельбы)			  
anim_idle_gl				= idle_with_gl
anim_idle_gl_aim			= idle_with_gl_aim
anim_reload_gl				= reload_with_gl_1
anim_draw_gl				= draw_with_gl
anim_holster_gl				= holster_with_gl 
anim_shoot_gl				= shoot_with_gl
;anim_idle_moving_gl		= idle_with_gl_moving

;прячем перекрестие прицела в зуме
zoom_hide_crosshair	= true
zoom_offset     = -0.0800,0.014385,-0.0550 ;-0.092700,0.014385,-0.01500
zoom_rotate_x   = 0.02050                  ;0.03475
zoom_rotate_y   = 0.01000                ;0.004450

;режим подствола
grenade_zoom_offset    = -0.0800,0.014385,-0.0550
grenade_zoom_rotate_x  = 0.02050
grenade_zoom_rotate_y  = 0.01000

grenade_normal_zoom_offset   = -0.0800,0.014385,-0.0550
grenade_normal_zoom_rotate_x = 0.02050
grenade_normal_zoom_rotate_y = 0.01000


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;; Модифицированный ВМК Кальтера ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[wpn_aug_a2]:wpn_aug_a1
inv_name	        	      = wpn_aug_a2
description				= enc_wpn_aug_a2
inv_grid_width			= 6
inv_grid_x			= 40
inv_grid_y			= 72
cheat_item = true

ammo_mag_size			= 50
fire_modes				= 1, 2, -1
ammo_class				= ammo_5.56x45_gd, ammo_5.56x45_ap, ammo_5.56x45_ss190
grenade_class			= ammo_kumul_82, ammo_20x85 
fire_dispersion_base		= 0.022
condition_shot_dec 			= 0.000055
hit_power                	= 0.90
bullet_speed			= 1075
rpm                      	= 980
silencer_hit_power       	= 0.86
silencer_bullet_speed	 	= 980

hud                      	= wpn_aug_a2_hud
visual         		      = weapons\aug3\wpn_aug_a3.ogf

scope_status		= 1
scope_texture		= Arsenal_Mod\Crosshairs\wpn_aug_a2
scope_zoom_factor		= 12
scope_zoom_step_count           = 8
ironsight_zoom_factor		= 75	
silencer_x 					= 224
silencer_y 					= 11
grenade_launcher_x 			= 139
grenade_launcher_y 			= 31
snd_silncer_shot	        = weapons\fn2000\9a91_shot_l_v1
snd_zoomdec  = weapons\sniper_scope_zoom
snd_zoominc  = weapons\sniper_scope_zoom

[wpn_aug_a2_hud]:wpn_aug_a1_hud
shell_point     	   	= -0.107, -0.045, 0.020

visual                  = weapons\aug3\wpn_aug_a3_hud.ogf

zoom_offset     = -0.0800,0.014385,-0.120
zoom_rotate_x   = 0.0375
zoom_rotate_y   = 0.0100

grenade_normal_zoom_offset   = -0.0800,0.014385,-0.120
grenade_normal_zoom_rotate_x = 0.0375
grenade_normal_zoom_rotate_y = 0.0100

;режим подствола
grenade_zoom_offset    = -0.0800,-0.02850,-0.0350
grenade_zoom_rotate_x  = -0.0225  ;-0.00150
grenade_zoom_rotate_y  = 0.01000   ;0.00530

zoom_rotate_time		= 0.325
rotate_time			= 0.325