;-----------Outfits-----------

[outfit_novice_m1]:novice_outfit	;Аномальная куртка новичка
$spawn              			= "outfit\uniq\outfit_novice_m1"
inv_name						= novice_outfit_name_m
inv_name_short					= novice_outfit_name_m
description						= novice_outfit_description_m
health_restore_speed			= 0.0006
satiety_restore_speed			= 0.001
bleeding_restore_speed			= -0.006
power_restore_speed				= 0.003
fire_wound_protection  			= 0.13
inv_grid_x						= 12
inv_grid_y						= 21
; TODO Уменьшить износ

[outfit_bandit_m1]:bandit_outfit	;Уплотненный бандитский костюм
$spawn              			= "outfit\uniq\outfit_bandit_m1"
inv_name						= bandit_outfit_name_m
inv_name_short					= bandit_outfit_name_m
description						= bandit_outfit_description_m
bones_koeff_protection			= plasch_antigas_damage
fire_wound_protection  			= 0.28
inv_grid_x						= 14
inv_grid_y						= 21
; TODO Уменьшить износ

[outfit_dolg_m1]:dolg_outfit	;Охотничий комбинезон Долга
$spawn							= "outfit\uniq\outfit_dolg_m1"
inv_name						= dolg_outfit_name_m1
inv_name_short					= dolg_outfit_name_m1
description						= dolg_outfit_description_m1
wound_protection				= 0.7 ; TODO Нужна защита от монстров
inv_grid_x						= 16
inv_grid_y						= 21
; TODO Уменьшить износ

[outfit_killer_m1]:killer_outfit	;Укрепленный комбинезон Наемника
$spawn							= "outfit\uniq\outfit_killer_m1"
inv_name						= killer_outfit_name_m1
inv_name_short					= killer_outfit_name_m1
description						= killer_outfit_description_m1
wound_protection				= 0.6 ; TODO Нужна защита от монстров
bones_koeff_protection			= gilet_antigas_damage ; TODO Нужна защита от пуль
inv_grid_x						= 18
inv_grid_y						= 21
nightvision_sect				= effector_nightvision_bad
; TODO Уменьшить износ

[outfit_specnaz_m1]:specops_outfit	;Модифицированный армейский бронекостюм
$spawn							= "outfit\uniq\outfit_specnaz_m1"
inv_name						= specnaz_outfit_name_m1
inv_name_short					= specnaz_outfit_name_m1
description						= specnaz_outfit_description_m1
bleeding_restore_speed			= -0.006
inv_grid_x						= 18
inv_grid_y						= 24
; TODO Уменьшить износ

[outfit_stalker_m1]:stalker_outfit	;Комбинезон призрачного сталкера
$spawn							= "outfit\uniq\outfit_stalker_m1"
inv_name						= stalker_outfit_name_m1
inv_name_short					= stalker_outfit_name_m1
description						= stalker_outfit_description_m1
health_restore_speed			= 0.0006
inv_grid_x						= 16
inv_grid_y						= 24
; TODO Уменьшить износ

[outfit_stalker_m2]:stalker_outfit	;Куртка и рюкзак бывалого
$spawn							= "outfit\uniq\outfit_stalker_m2"
inv_name						= stalker_outfit_name_m2
inv_name_short					= stalker_outfit_name_m2
description						= stalker_outfit_description_m2
additional_inventory_weight		= 20
additional_inventory_weight2	= 20
cost							= 18000
inv_grid_x						= 16
inv_grid_y						= 24
; TODO Уменьшить износ

[outfit_svoboda_m1]:svoboda_light_outfit	;Модифицированный комбинезон свободы
$spawn							= "outfit\uniq\outfit_svoboda_m1"
inv_name						= svoboda_outfit_name_m1
inv_name_short					= svoboda_outfit_name_m1
description						= svoboda_outfit_description_m1
shock_protection 				= 0.9
;strike_protection 				= 0.1
inv_grid_x						= 12
inv_grid_y						= 24
nightvision_sect				= effector_nightvision_bad
; TODO Уменьшить износ

[outfit_exo_m1]:exo_outfit	;Модифицированный экзоскелет
$spawn							= "outfit\uniq\outfit_exo_m1"
inv_name						= exo_outfit_name_m1
inv_name_short					= exo_outfit_name_m1
description						= exo_outfit_description_m1
inv_grid_x						= 14
inv_grid_y						= 24
nightvision_sect				= effector_nightvision_good
; TODO Уменьшить износ


;-----------Weapons-----------

[wpn_ak74_m1]:wpn_ak74	;Скорострельный АК-74
$spawn             				= "weapons\uniq\wpn_ak74_m1"	
description						= enc_weapons1_wpn-ak74_m1
inv_name	        			= wpn-ak74_m1
inv_name_short					= wpn-ak74_m1
rpm                      		= 850
condition_shot_dec 				= 0.0001
cam_dispersion					= 0.05		
cam_dispersion_inc				= 0.1
inv_grid_x						= 0
inv_grid_y						= 30

[wpn_abakan_m1]:wpn_abakan	;АH-94 снайперский
$spawn              			= "weapons\uniq\wpn_abakan_m1"	
description						= enc_weapons1_wpn-abakan_m1
inv_name	        			= wpn-abakan_m1
inv_name_short					= wpn-abakan_m1
fire_dispersion_base			= 0.12
scope_status					= 1
scope_zoom_factor				= 20
scope_texture					= wpn\wpn_crosshair
condition_shot_dec 				= 0.0001
inv_grid_x						= 0
inv_grid_y						= 20

[wpn_fort_m1]:wpn_fort	;Экспериментальный Fort
$spawn              			= "weapons\uniq\wpn_fort_m1"
inv_name						= wpn-fort_m
inv_name_short					= wpn-fort_m
description						= enc_weapons1_wpn-fort_m1
ammo_mag_size		 			= 15
condition_shot_dec 				= 0.0001
inv_grid_x						= 10
inv_grid_y						= 21

[wpn_ak74u_m1]:wpn_ak74u	;АК-74у спецназ
$spawn             				= "weapons\uniq\wpn_ak74u_m1"
description						= enc_weapons1_wpn-ak74u_m1
inv_name	        			= wpn-ak74u_m1
inv_name_short					= wpn-ak74u_m1
silencer_status					= 1
condition_shot_dec 				= 0.00003
inv_grid_x						= 5
inv_grid_y						= 20
inv_grid_width					= 5

smoke_particles 				= weapons\generic_shoot_00
flame_particles					= 
light_disabled					= true
snd_shoot					= weapons\w_ak74_shot1 
snd_shoot1					= weapons\w_ak74_shot1 
snd_shoot2					= weapons\w_ak74_shot1 
snd_shoot3					= weapons\w_ak74_shot1 

[wpn_mp5_m1]:wpn_mp5	;Модифицированный МП5
$spawn             				= "weapons\uniq\wpn_mp5_m1"
description						= enc_weapons1_wpn-mp5_m1
inv_name	        			= wpn-mp5_m1
inv_name_short					= wpn-mp5_m1
ammo_class		 				= ammo_9x18_fmj, ammo_9x18_pmm
condition_shot_dec 				= 0.00003
inv_grid_x						= 5
inv_grid_y						= 33

[wpn_groza_m1]:wpn_groza	;Гроза генерала Воронина
$spawn             				= "weapons\uniq\wpn_groza_m1"	
description						= enc_weapons1_wpn-groza_m1
inv_name	        			= wpn-groza_m1
inv_name_short					= wpn-groza_m1
ammo_class						= ammo_5.45x39_fmj, ammo_5.45x39_ap
condition_shot_dec 				= 0.00005
inv_grid_x						= 5
inv_grid_y						= 29

[wpn_spas12_m1]:wpn_spas12	;Спас-12 Хантера
$spawn             				= "weapons\uniq\wpn_spas12_m1"	
description						= enc_weapons1_wpn-spas12_m1
inv_name						= wpn-spas12_m1
inv_name_short					= wpn-spas12_m1
fire_dispersion_base			= 0.25
condition_shot_dec 				= 0.00015
inv_grid_x						= 0
inv_grid_y						= 34

[wpn_winchester_m1]:wpn_wincheaster1300	;Боевой винчестер
$spawn             				= "weapons\uniq\wpn_winchester_m1"	
description						= enc_weapons1_wpn-winchester_m1
inv_name	        			= wpn-winchester_m1
inv_name_short					= wpn-winchester_m1
hit_power        				= 0.9
hit_impulse      				= 250
ammo_mag_size		 			= 5
condition_shot_dec 				= 0.00015
inv_grid_x						= 0
inv_grid_y						= 35
	
[wpn_l85_m1]:wpn_l85	;Сбалансированная L85
$spawn             				= "weapons\uniq\wpn_l85_m2"	
description				= "Enfield L86A2 модернизированная версия легкого оружия поддержки L86A1 калибра 5,56 мм, созданного по програме SA-80. Хотя легкое оружие поддержки было принято в качестве замены ручного пулемета, его основное назначение – стрельба на большие дальности одиночными выстрелами в высоком темпе. С учетом таких факторов, как стрельба при запертом затворе, несменяемый ствол и склонность к большому рассеиванию при стрельбе очередями трудно не прийти к заключению, что его тактическое применение предопределила конструкция. На легком оружии поддержки (которое имеет 80 процентов унифицированных узлов с индивидуальным оружием) используется укороченное цевье, образующее основание для длинной перфорированной опоры сошек. Сошки размещены прямо под пламегасителем. На легком оружии поддержки имеются также крюк на затылке приклада, расположенный сверху, и вертикальная пластмассовая рукоятка сзади, за которую берутся свободной рукой. Хотя и у обеих модификаций SA80 выстрел происходит, когда затвор находится в переднем положении, для легкого оружия поддержки существует спусковой механизм с задним шепталом, которое обеспечивает выстрел с заднего положения затвора. Для SA80 предельное число выстрелов без охлаждения, после которого не происходит самовоспламенения патрона в патроннике, составляет 300 выстрелов. В Зоне встречается крайне редко, так как имея массу и габариты легких пулеметов, не может использоватся в качестве полноценного пулемета. Однако иногда используется наемниками, и постовыми отрядами Монолита."
	
ef_main_weapon_type		= 2
ef_weapon_type			= 6

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


cost					= 9000
weapon_class			= assault_rifle	; Type of the weapon
launch_speed = 0
	
ammo_limit				= 210
ammo_current			= 180
ammo_elapsed			= 30
	
ammo_mag_size			= 30
ammo_class				= ammo_5.56x45_ss190, ammo_5.56x45_ap
grenade_class			= ammo_m209
fire_modes				= 1, -1

hand_dependence			= 1
single_handed			= 0	

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

inv_name	        	= "Enfield L86A2"
inv_name_short			= "Enfield L86A2"
inv_weight				= 4.72

inv_grid_width     = 6
inv_grid_height    = 2
inv_grid_x         = 26
inv_grid_y         = 18

kill_msg_x				= 84
kill_msg_y				= 28
kill_msg_width			= 73
kill_msg_height			= 30

;-----------------------------------------------------------------------------------
;базовая дисперсия
;базовая дисперсия
fire_dispersion_base			= 0.18		;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor			= 1.35f
disp_rate = 1.9

;отдача
cam_relax_speed         		= 4.5 		;скорость возврата в исходное положение
cam_dispersion          	= 0.18		;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc			= 0.20		;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac			= 0.65	;0.000001	;0.85		;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle					= 12.0		;максимальный угол отдачи
cam_max_angle_horz				= 18.0		;(degree) maximum shot horizontal degree 
cam_step_angle_horz				= 1.2	;0.18		;(degree) size of step camera moved in horizontal position while shooting

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

rpm_empty_click 	 		= 200

; ttc
hit_power                	= 0.57, 0.58, 0.59, 0.60
hit_impulse		 			= 94
hit_type 					= fire_wound 	

fire_distance            	= 180
bullet_speed				= 950	;начальная скорость пули
rpm                      	= 750
; end ttc

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

silencer_hit_power       	= 0.57
silencer_hit_impulse	 	= 82
silencer_fire_distance   	= 150
silencer_bullet_speed	 	= 600

hud                      	= wpn_l85_m2_hud
normal                   	= 0, 1, 0

strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1

startup_ammo   		        = 90
visual         		        = weapons\l85\l86-w.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				= 0
silencer_status				= 0;2
grenade_launcher_status		= 0;2
;grenade_vel			= 76

zoom_enabled				= true
scope_zoom_factor			= 25		;SUSAT 2X
scope_texture				= wpn\wpn_crosshair_l86

scope_name 					= wpn_addon_scope
scope_x 					= 60
scope_y 					= -2
silencer_name  				= wpn_addon_sil_556_ar
silencer_x 					= 190
silencer_y 					= 10
grenade_launcher_name 		= wpn_addon_grenade_launcher_m203
grenade_launcher_x 			= 128
grenade_launcher_y 			= 28


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

 
[wpn_l85_m2_hud]:wpn_l85_hud

visual                  	= weapons\l85\l86-h.ogf

fire_bone                = muzzle

grenade_bone             = wpn_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_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_on
anim_switch_grenade_off  = switch_off
anim_draw_g   = draw_grenade
anim_holster_g   = holster_grenade

; attached grenade launcher [NORMAL fire mode]
anim_idle_gl   = idle_w_gl
anim_idle_gl_aim  = idle_w_gl_aim
anim_reload_gl   = reload_w_gl
anim_draw_gl   = draw_w_gl
anim_holster_gl   = holster_w_gl
anim_shoot_gl   = shoot_w_gl



[wpn_lr300_m1]:wpn_lr300	;LR300 М1
$spawn             				= "weapons\uniq\wpn_lr300_m1"	
description						= enc_weapons1_wpn-lr300_m1
inv_name						= wpn-lr300_m1
inv_name_short					= wpn-lr300_m1
rpm								= 300
fire_dispersion_base			= 0.09
scope_texture					= wpn\wpn_crosshair_l85
scope_status					= 1
silencer_status					= 1
condition_shot_dec 				= 0.00005
inv_grid_x						= 0
inv_grid_y						= 26

smoke_particles 				= weapons\generic_shoot_00
flame_particles					= 
light_disabled					= true

snd_shoot					= weapons\w_ak74_shot1 

[wpn_svd_m1]:wpn_svd	;СВД "Дальнобойщик"
$spawn             				= "weapons\uniq\wpn_svd_m1"	
description						= enc_weapons1_wpn-svd_m1
inv_name						= wpn-svd_m1
inv_name_short					= wpn-svd_m1
cam_dispersion					= 0.9
cam_step_angle_horz				= 0.1
scope_zoom_factor				= 10
scope_status					= 1
condition_shot_dec 				= 0.00055
inv_grid_x						= 5
inv_grid_y						= 23

[wpn_sig_m1]:wpn_sig550	;Штурмовой SiG
$spawn             				= "weapons\uniq\wpn_sig_m1"	
description						= enc_weapons1_wpn-sig_m1
inv_name						= wpn-sig_m1
inv_name_short					= wpn-sig_m1
scope_status					= 0
silencer_status					= 0
grenade_launcher_status			= 0
inv_weight						= 2.2
condition_shot_dec 				= 0.00005
inv_grid_x						= 0
inv_grid_y						= 32

[wpn_eagle_m1]:wpn_desert_eagle	;Большой Бэн
$spawn             				= "weapons\uniq\wpn_eagle_m1"	
description						= enc_weapons1_wpn-eagle_m1
inv_name						= wpn-eagle_m1
inv_name_short					= wpn-eagle_m1
ammo_class						= ammo_9x39_sp5, ammo_9x39_ap, ammo_9x39_pab9
hit_power               		= 0.67
condition_shot_dec				= 0.0003
inv_grid_x						= 9
inv_grid_y						= 22

[wpn_colt_m1]:wpn_colt1911	;Модифицированный кольт
$spawn             				= "weapons\uniq\wpn_colt_m1"	
description						= enc_weapons1_wpn-colt_m1
inv_name						= wpn-colt_m1
inv_name_short					= wpn-colt_m1
silencer_status					= 1
condition_shot_dec 				= 0.00033
inv_grid_x						= 18
inv_grid_y						= 20

smoke_particles 				= weapons\generic_shoot_00
flame_particles					= 
light_disabled					= true

snd_shoot			= weapons\pb_shoot


[wpn_val_m1]:wpn_val	;Модифицированный Вал
$spawn             				= "weapons\uniq\wpn_val_m1"	
description						= enc_weapons1_wpn-val_m1
inv_name						= wpn-val_m1
inv_name_short					= wpn-val_m1
scope_status					= 2
scope_texture					= wpn\wpn_crosshair
condition_shot_dec 				= 0.00005
inv_grid_x						= 5
inv_grid_y						= 31

[wpn_mp5_m2]:wpn_mp5	;Модифицированный МП5
$spawn             				= "weapons\uniq\wpn_mp5_m2"
description						= enc_weapons1_wpn-mp5_m2
inv_name	        			= wpn-mp5_m2
inv_name_short					= wpn-mp5_m2
silencer_status					= 1
fire_dispersion_base			= 0.15
condition_shot_dec 				= 0.00003
inv_grid_x						= 5
inv_grid_y						= 22
inv_grid_width					= 4

smoke_particles 				= weapons\generic_shoot_00
flame_particles					= 
light_disabled					= true

snd_shoot						= weapons\w_ak74_shot1 

[wpn_abakan_m2]:wpn_abakan	;АH-94 штурмовой
$spawn              			= "weapons\uniq\wpn_abakan_m2"	
description						= enc_weapons1_wpn-abakan_m2
inv_name	        			= wpn-abakan_m2
inv_name_short					= wpn-abakan_m2
grenade_launcher_status			= 1
grenade_vel						= 76
condition_shot_dec 				= 0.00003
inv_grid_x						= 0
inv_grid_y						= 28

[wpn_l85_m2]:wpn_l85	;Облегченная l85
$spawn             				= "weapons\uniq\wpn_l85_m2"	
description						= enc_weapons1_wpn-l85_m2
inv_name	        			= wpn-l85_m2
inv_name_short					= wpn-l85_m2
silencer_status					= 1
inv_weight						= 3
condition_shot_dec 				= 0.00005
inv_grid_x						= 0
inv_grid_y						= 24

smoke_particles 				= weapons\generic_shoot_00
flame_particles					= 
light_disabled					= true

snd_shoot					= weapons\w_ak74_shot1 



[wpn_sig_m2]:wpn_sig550	;SiG снайперский
$spawn             				= "weapons\uniq\wpn_sig_m2"	
description						= enc_weapons1_wpn-sig_m2
inv_name						= wpn-sig_m2
inv_name_short					= wpn-sig_m2
scope_status					= 1
scope_zoom_factor				= 20
scope_texture					= wpn\wpn_crosshair_l85
condition_shot_dec 				= 0.00005
inv_grid_x						= 0
inv_grid_y						= 22

[wpn_rg6_m1]:wpn_rg-6	;РГ-6 м209
$spawn             				= "weapons\uniq\wpn_rg6_m1"	
description						= enc_weapons1_wpn-rg6_m1
inv_name						= wpn-rg6_m1
inv_name_short					= wpn-rg6_m1
ammo_class		 				= ammo_m209
condition_shot_dec 				= 0.00001
inv_grid_x						= 5
inv_grid_y						= 27

[wpn_walther_m1]:wpn_walther	;Вальтер 9x18
$spawn             				= "weapons\uniq\wpn_walther_m1"	
description						= enc_weapons1_wpn-walther_m1
inv_name	        			= wpn-walther_m1
inv_name_short					= wpn-walther_m1
ammo_class		 				= ammo_9x18_fmj, ammo_9x18_pmm
condition_shot_dec 				= 0.00015
inv_grid_x						= 11
inv_grid_y						= 21


;-----------Arena-----------
[wpn_pm_arena]:wpn_pm;
$spawn             		= "weapons\arena\wpn_pm_arena"

[wpn_mp5_arena]:wpn_mp5;
$spawn             		= "weapons\arena\wpn_mp5_arena"

[wpn_toz34_arena]:wpn_bm16;
$spawn             		= "weapons\arena\wpn_toz34_arena"

[wpn_spas12_arena]:wpn_spas12;
$spawn             		= "weapons\arena\wpn_spas12_arena"

[wpn_ak74_arena]:wpn_ak74;
$spawn             		= "weapons\arena\wpn_ak74_arena"

[wpn_bm16_arena]:wpn_bm16;
$spawn             		= "weapons\arena\wpn_bm16_arena"

[wpn_ak74u_arena]:wpn_ak74u;
$spawn             		= "weapons\arena\wpn_ak74u_arena"

[wpn_val_arena]:wpn_val;
$spawn             		= "weapons\arena\wpn_val_arena"

[wpn_groza_arena]:wpn_groza;
$spawn             		= "weapons\arena\wpn_groza_arena"

[wpn_fn2000_arena]:wpn_fn2000;
$spawn             		= "weapons\arena\wpn_fn2000_arena"

[wpn_g36_arena]:wpn_g36;
$spawn             		= "weapons\arena\wpn_g36_arena"



[hunters_toz]:wpn_bm16
$spawn                  = "devices\uniq\hunters_toz"					; option for Level Editor
