;-------------------------------------------------------------------------------
;   Mod: ARS
; Autor: steelrat
;-------------------------------------------------------------------------------
#include "weapons_addons.ltx"
#include "weapons_sounds.ltx"
#include "weapons_sounds_up.ltx"

#include "delayed_action_fuse.ltx"
#include "upgrades_properties.ltx"

#include "upgrades\w_abakan_up.ltx"
#include "upgrades\w_ak74_up.ltx"
#include "upgrades\w_ak74u_up.ltx"
#include "upgrades\w_beretta_up.ltx"
#include "upgrades\w_bm16_up.ltx"
#include "upgrades\w_colt1911_up.ltx"
#include "upgrades\w_desert_eagle_up.ltx"
#include "upgrades\w_fn2000_up.ltx"
#include "upgrades\w_fort_up.ltx"
#include "upgrades\w_g36_up.ltx"
#include "upgrades\w_groza_up.ltx"
#include "upgrades\w_hpsa_up.ltx"
#include "upgrades\w_l85_up.ltx"
#include "upgrades\w_lr300_up.ltx"
#include "upgrades\w_mp5_up.ltx"
#include "upgrades\w_pb_up.ltx"
#include "upgrades\w_pkm_up.ltx"
#include "upgrades\w_pm_up.ltx"
#include "upgrades\w_protecta_up.ltx"
#include "upgrades\w_sig220_up.ltx"
#include "upgrades\w_sig550_up.ltx"
#include "upgrades\w_spas12_up.ltx"
#include "upgrades\w_svd_up.ltx"
#include "upgrades\w_svu_up.ltx"
#include "upgrades\w_toz34_up.ltx"
#include "upgrades\w_usp45_up.ltx"
#include "upgrades\w_val_up.ltx"
#include "upgrades\w_vintorez_up.ltx"
#include "upgrades\w_walther_up.ltx"
#include "upgrades\w_wincheaster1300_up.ltx"

#include "w_mounted.ltx"

#include "w_abakan.ltx"
#include "w_ak74.ltx"
#include "w_ak74u.ltx"
#include "w_beretta.ltx"
#include "w_binoc.ltx"
#include "w_bm16.ltx"
#include "w_bolt.ltx"
#include "w_colt1911.ltx"
#include "w_desert_eagle.ltx"
#include "w_f1.ltx"
#include "w_fn2000.ltx"
#include "w_fort.ltx"
#include "w_g36.ltx"
#include "w_gauss.ltx"
#include "w_gd5.ltx"
#include "w_grenade_light.ltx"
#include "w_groza.ltx"
#include "w_hpsa.ltx"
#include "w_knife.ltx"
#include "w_l85.ltx"
#include "w_lr300.ltx"
#include "w_mp5.ltx"
#include "w_pb.ltx"
#include "w_pkm.ltx"
#include "w_pm.ltx"
#include "w_protecta.ltx"
#include "w_rg6.ltx"
#include "w_rgd5.ltx"
#include "w_rpg7.ltx"
#include "w_sig220.ltx"
#include "w_sig550.ltx"
#include "w_spas12.ltx"
#include "w_svd.ltx"
#include "w_svu.ltx"
#include "w_toz34.ltx"
#include "w_usp45.ltx"
#include "w_val.ltx"
#include "w_vintorez.ltx"
#include "w_walther.ltx"
#include "w_wincheaster1300.ltx"

;-------------------------------------------------------------------------------
; Огнестрельное оружие
;-------------------------------------------------------------------------------

[bullet_manager]
tracer_shader					= effects\bullet_tracer 	; hud\default
tracer_texture					= fx\fx_tracer_weapons
fire_circle_k					= 2.0f 						; means tracer_width*2

tracer_width					= 0.08
tracer_length_max				= 225
tracer_length_min				= 0

hit_probability_max_dist		= 0.001						; расстояние после которого учитывается hit_probabilty полностью

gravity_const					= 9.81

air_resistance_k				= 1							; сопротивление воздуха, процент, который отнимается от скорости полета пули

time_step						= 5							; размер шага времени (в милисекундах), по которому проигрываются

min_bullet_speed				= 0.001						; минимальная скорость (м/с), на которой пуля еще считается и показывается

collision_energy_min			= 0.001						; cколько процентов энергии потеряет пуля при столкновении с материалом (при падении под прямым углом)
collision_energy_max			= 0.999						; сколько процентов энергии останется у пули при любом столкновении

whine_sounds					= weapons\whine_1, weapons\whine_2, weapons\whine_3, weapons\whine_4, weapons\whine01, weapons\whine02
explode_particles				= explosions\expl_bullet,explosions\expl_bullet_00,explosions\expl_bullet_01

[tracers_color_table]
color_0 						= 255,	130,	0,		255	; yellow
color_1 						= 255,	255,	255,	255	; white
color_2 						= 255,	25,		0,		255	; red
color_3 						= 77,	255,	77,		255	; green
color_4 						= 0,	0,		25,		255	; blue
color_5 						= 255,	127,	63,		150	;

;-------------------------------------------------------------------------------
; AMUNITION
;-------------------------------------------------------------------------------
[ammo_base]:default_weapon_params
;belt							= true

explosive						= false
tracer							= on
tracer_color_ID					= 0

;-------------------------------------------------------------------------------
[ammo_12x70_buck]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_12x70_buck"		; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_12x70_buck.ogf
description						= ammo-12x70-buck_descr
$prefetch 						= 64

cost							= 120

box_size						= 10

inv_name						= ammo-12x70-buck
inv_name_short					= ammo-12x70-buck_s
inv_weight						= 0.45

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 13
inv_grid_y						= 9

k_dist 							= 0.24
k_disp 							= 20
k_hit 							= 0.28
k_impulse	 					= 12.01
k_pierce 						= 0.40
k_ap 							= 0.40
impair 							= 1
buck_shot 						= 20

tracer							= off

wm_size							= 0.05
k_air_resistance				= 3.64

;-------------------------------------------------------------------------------
[ammo_12x76_zhekan]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_12x76_zhekan"			; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_12x76_zhekan.ogf
description						= ammo-12x76-zhekan_descr
$prefetch 						= 64

cost							= 250

box_size						= 10

inv_name						= ammo-12x76-zhekan
inv_name_short					= ammo-12x76-zhekan_s
inv_weight						= 0.50

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 11
inv_grid_y						= 10

k_dist							= 1
k_disp							= 1
k_hit							= 8.03
k_impulse						= 12.66
k_pierce						= 0.48
k_ap							= 0.48
impair							= 1
buck_shot						= 1

tracer							= off

wm_size							= 0.16

k_air_resistance				= 1.5

;-------------------------------------------------------------------------------
[ammo_12x76_zhekan_heli]:ammo_12x76_zhekan					; Do not use! Fake zhekan for helicopter
$spawn							= "weapons\ammo\ammo_12x76_zhekan_heli"		; option for Level Editor
explosive						= on

;-------------------------------------------------------------------------------
[ammo_9x18_fmj]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_9x18_fmj"				; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_9x18_fmj.ogf
description						= ammo-9x18-fmj_descr
$prefetch 						= 64

cost							= 200

box_size						= 20

inv_name						= ammo-9x18-fmj
inv_name_short					= ammo-9x18-fmj_s
inv_weight						= 0.21						; вес патрона 10г, скорость пули 315-340 м/с

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 11
inv_grid_y						= 12

k_dist							= 1
k_disp							= 1
k_hit							= 1
k_impulse						= 2.07
k_pierce						= 0.30
k_ap							= 0.30
impair							= 1
buck_shot						= 1

wm_size							= 0.0925
k_air_resistance				= 2.2

;-------------------------------------------------------------------------------
[ammo_9x18_pmm]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_9x18_pmm"				; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_9x18_pmm.ogf
description						= ammo-9x18-pmm_descr
$prefetch 						= 64

cost							= 300

box_size						= 20

inv_name						= ammo-9x18-pmm
inv_name_short					= ammo-9x18-pmm_s
inv_weight						= 0.21

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 12
inv_grid_y						= 12

k_dist							= 1.93
k_disp							= 0.71
k_hit							= 1.37
k_impulse						= 2.83
k_pierce						= 0.72
k_ap							= 0.72
impair							= 1
buck_shot						= 1

tracer_color_ID					= 2

wm_size							= 0.05
k_air_resistance				= 1.90

;-------------------------------------------------------------------------------
[ammo_9x19_fmj]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_9x19_fmj"				; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_9x19_fmj.ogf
description						= ammo-9x19-fmj_descr
$prefetch 						= 64

cost							= 250

box_size						= 20

inv_name						= ammo-9x19-fmj
inv_name_short					= ammo-9x19-fmj_s
inv_weight						= 0.24						; вес патрона 7.2-12.5г, скорость пули 485-505 м/с

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 15
inv_grid_y						= 12

k_dist							= 1
k_disp							= 1
k_hit							= 1.53
k_impulse						= 3.21
k_pierce						= 0.40
k_ap							= 0.40
impair							= 1
buck_shot						= 1

wm_size							= 0.0903
k_air_resistance				= 1.90

;-------------------------------------------------------------------------------
[ammo_9x19_pbp]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_9x19_pbp"				; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_9x19_pbp.ogf
description						= ammo-9x19-pbp_descr
$prefetch 						= 64

cost							= 350

box_size						= 20

inv_name						= ammo-9x19-pbp
inv_name_short					= ammo-9x19-pbp_s
inv_weight						= .25

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 14
inv_grid_y						= 12

k_dist							= 1.22
k_disp							= 0.94
k_hit							= 1.75
k_impulse						= 3.67
k_pierce						= 0.50
k_ap							= 0.50
impair							= 1.80
buck_shot						= 1

tracer_color_ID					= 2

wm_size							= 0.0903
k_air_resistance				= 1.82

;-------------------------------------------------------------------------------
[ammo_11.43x23_fmj]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_11.43x23_fmj"			; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_1143x23_fmj.ogf
description						= ammo-11.43x23-fmj_descr
$prefetch 						= 64

cost							= 600

box_size						= 20

inv_name						= ammo-11.43x23-fmj
inv_name_short					= ammo-11.43x23-fmj_s
inv_weight						= 0.28						; вес патрона 14 г, скорость пули 260 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 12

k_dist							= 1
k_disp							= 1
k_hit							= 2.10
k_impulse						= 3.91
k_pierce						= 0.46
k_ap							= 0.46
impair							= 1
buck_shot						= 1

wm_size							= 0.115
k_air_resistance				= 1.6

;-------------------------------------------------------------------------------
[ammo_11.43x23_hydro]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_11.43x23_hydro"		; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_1143x23_Hydro.ogf
description						= ammo-11.43x23-hydro_descr
$prefetch 						= 64

cost							= 1000

box_size						= 20

inv_name						= ammo-11.43x23-hydro
inv_name_short					= ammo-11.43x23-hydro_s
inv_weight						= 0.28

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 7
inv_grid_y						= 12

k_dist							= 0.93
k_disp							= 0.81
k_hit							= 2.20
k_impulse						= 4.09
k_pierce						= 0.31
k_ap							= 0.31
impair							= 1
buck_shot						= 1

tracer_color_ID					= 2

wm_size							= 0.21082
k_air_resistance				= 2.4

;-------------------------------------------------------------------------------
[ammo_5.45x39_fmj]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_5.45x39_fmj"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_545x39_fmj.ogf
description						= ammo-5.45x39-fmj_descr
$prefetch 						= 64

cost							= 650

box_size						= 30

inv_name						= ammo-5.45x39-fmj
inv_name_short					= ammo-5.45x39-fmj_s
inv_weight						= 0.31							; вес патрона 10.2г, скорость пули 890 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 16
inv_grid_y						= 11

;inv_icon						= ui_hud2_res_back

k_dist							= 1
k_disp							= 1
k_hit							= 1.24
k_impulse						= 3.29
k_pierce						= 0.76
k_ap							= 0.76
impair							= 1
buck_shot						= 1

wm_size							= 0.0562
k_air_resistance				= 1.6

;-------------------------------------------------------------------------------
[ammo_5.45x39_ap]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_5.45x39_ap"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_545x39_ap.ogf
description						= ammo-5.45x39-ap_descr
$prefetch 						= 64

cost							= 1100

box_size						= 30

inv_name						= ammo-5.45x39-ap
inv_name_short					= ammo-5.45x39-ap_s
inv_weight						= .31								; вес патрона 10.2г, скорость пули 890 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 12
inv_grid_y						= 11

k_dist							= 1.13
k_disp							= 0.98
k_hit							= 1.23
k_impulse						= 3.28
k_pierce						= 0.80
k_ap							= 0.80
impair							= 1
buck_shot						= 1

tracer_color_ID					= 1

wm_size							= 0.0562
k_air_resistance				= 1.58

;-------------------------------------------------------------------------------
[ammo_5.56x45_ss190]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_5.56x45_ss190"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_556x45_ss190.ogf
description						= ammo-5.56x45-ss190_descr
$prefetch 						= 64

cost							= 700

box_size						= 30

inv_name						= ammo-5.56x45-ss190
inv_name_short					= ammo-5.56x45-ss190_s
inv_weight						= 0.33						; вес патрона 11г, скорость пули 945 м/с

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

k_dist							= 1
k_disp							= 1
k_hit							= 1.37
k_impulse						= 3.61
k_pierce						= 0.73
k_ap							= 0.73
impair							= 1
buck_shot						= 1

tracer_color_ID					= 1

wm_size							= 0.0569
k_air_resistance				= 1.5

;-------------------------------------------------------------------------------
[ammo_5.56x45_ap]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_5.56x45_ap"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_556x45_ap.ogf
description						= ammo-5.56x45-ap_descr
$prefetch 						= 64

cost							= 1150

box_size						= 30

inv_name						= ammo-5.56x45-ap
inv_name_short					= ammo-5.56x45-ap_s
inv_weight						= 0.33						; вес патрона 11г, скорость пули 945 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 10
inv_grid_y						= 11

k_dist							= 1.08
k_disp							= 0.92
k_hit							= 1.46
k_impulse						= 3.81
k_pierce						= 0.78
k_ap							= 0.78
impair							= 1
buck_shot						= 1

tracer_color_ID					= 3

wm_size							= 0.0569
k_air_resistance				= 1.37

;-------------------------------------------------------------------------------
[ammo_9x39_sp5]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_9x39_sp5"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_9x39_sp5.ogf
description						= ammo-9x39-sp5_descr
$prefetch 						= 64

cost							= 1200

box_size						= 30

inv_name						= ammo-9x39-sp5
inv_name_short					= ammo-9x39-sp5_s
inv_weight						= 0.75						; вес патрона 25 г, скорость пули 290 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 18
inv_grid_y						= 11

k_dist							= 1.00
k_disp							= 1.00
k_hit							= 2.36
k_impulse						= 4.90
k_pierce						= 0.80
k_ap							= 0.80
impair							= 1.00
buck_shot						= 1

tracer_color_ID					= 3

wm_size							= 0.0925
k_air_resistance				= 1.37

;-------------------------------------------------------------------------------
[ammo_9x39_pab9]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_9x39_pab9"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_9x39_pab9.ogf
description						= ammo-9x39-pab9_descr
$prefetch 						= 64

cost							= 780

box_size						= 30

inv_name						= ammo-9x39-pab9
inv_name_short					= ammo-9x39-pab9_s
inv_weight						= 0.75						; вес патрона 25 г, скорость пули 290 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 17
inv_grid_y						= 10

k_dist							= 0.97
k_disp							= 1.27
k_hit							= 2.41
k_impulse						= 4.99
k_pierce						= 0.81
k_ap							= 0.81
impair							= 1.80
buck_shot						= 1

tracer_color_ID					= 0

wm_size							= 0.0925
k_air_resistance				= 1.37

;-------------------------------------------------------------------------------
[ammo_9x39_ap]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_9x39_ap"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_9x39_ap.ogf
description						= ammo-9x39-ap_descr
$prefetch 						= 64

cost							= 1800

box_size						= 30

inv_name						= ammo-9x39-ap
inv_name_short					= ammo-9x39-ap_s
inv_weight						= 0.75						; вес патрона 25 г, скорость пули 290 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 5
inv_grid_y						= 12

k_dist							= 0.88
k_disp							= 1.05
k_hit							= 2.18
k_impulse						= 4.52
k_pierce						= 0.83
k_ap							= 0.83
impair							= 1
buck_shot						= 1

tracer_color_ID					= 4

wm_size							= 0.0925
k_air_resistance				= 1.21

;-------------------------------------------------------------------------------
[ammo_7.62x54_7h1]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_7.62x54_7h1"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_762x54_7h1.ogf
description						= ammo-7.62x54-7h1_descr
$prefetch 						= 64

cost							= 1100

box_size						= 10

inv_name						= ammo-7.62x54-7h1
inv_name_short					= ammo-7.62x54-7h1_s
inv_weight						= 0.23						; вес патрона 22.7-25.1 г, скорость пули 830 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 15
inv_grid_y						= 9

k_dist							= 1
k_disp							= 1
k_hit							= 3.52
k_impulse						= 7.90
k_pierce						= 0.86
k_ap							= 0.86
impair							= 1
buck_shot						= 1

tracer_color_ID					= 0

wm_size							= 0.079
k_air_resistance				= 1.17

;-------------------------------------------------------------------------------
[ammo_7.62x54_7h14]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_7.62x54_7h14"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_762x54_7h14.ogf
description						= ammo-7.62x54-7h14_descr
$prefetch 						= 64

cost							= 1700

box_size						= 10

inv_name						= ammo-7.62x54-7h14
inv_name_short					= ammo-7.62x54-7h14_s
inv_weight						= 0.23						; вес патрона 22.7-25.1 г, скорость пули 830 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 17
inv_grid_y						= 9

k_dist							= 1.02
k_disp							= 0.42
k_hit							= 3.55
k_impulse						= 7.97
k_pierce						= 0.90
k_ap							= 0.90
impair							= 1
buck_shot						= 1

tracer_color_ID					= 1

wm_size							= 0.079
k_air_resistance				= 1.17

;-------------------------------------------------------------------------------
[ammo_7.62x54_ap]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_7.62x54_ap"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_762x54_ap.ogf
description						= ammo-7.62x54-ap_descr
$prefetch 						= 64

cost							= 1400

box_size						= 10

inv_name						= ammo-7.62x54-ap
inv_name_short					= ammo-7.62x54-ap_s
inv_weight						= 0.23						; вес патрона 22.7-25.1 г, скорость пули 830 м/с

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 15
inv_grid_y						= 10

k_dist							= 1.11
k_disp							= 0.73
k_hit							= 3.96
k_impulse						= 8.89
k_pierce						= 0.96
k_ap							= 0.96
impair							= 1
buck_shot						= 1

tracer_color_ID					= 0

wm_size							= 0.079
k_air_resistance				= 1.17

;-------------------------------------------------------------------------------
[ammo_gauss]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_gauss"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_gauss.ogf
description						= ammo-gauss_descr
$prefetch 						= 64

cost							= 2000

box_size						= 10

inv_name						= ammo-gauss
inv_name_short					= ammo-gauss_s
inv_weight						= 0.5

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 4
inv_grid_y						= 14

k_dist							= 1
k_disp							= 1
k_hit							= 4.68
k_impulse						= 13.20
k_pierce						= 999
k_ap							= 999
impair							= 10
buck_shot						= 1

tracer							= off

wm_size							= 0.02
explosive						= on

;-------------------------------------------------------------------------------
[ammo_gauss_cardan]:ammo_gauss
$spawn							= "weapons\ammo\ammo_gauss_cardan"	; option for Level Editor
visual							= dynamics\weapons\wpn_ammo\ammo_gauss_custom.ogf
description						= ammo-gauss_cardan_descr

box_size						= 6

inv_name						= ammo-gauss_cardan
inv_name_short					= ammo-gauss_cardan_s

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 4
inv_grid_y						= 9

;-------------------------------------------------------------------------------
[ammo_pkm_100]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_pkm_100"	; option for Level Editor
class							= AMMO_S
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_pkm.ogf
description						= ammo-7.62x54-pkm_descr
$prefetch 						= 64

cost							= 2000

box_size						= 100

inv_name						= ammo-7.62x54-pkm
inv_name_short					= ammo-7.62x54-pkm_s
inv_weight						= 3.9

inv_grid_width					= 2
inv_grid_height					= 1
inv_grid_x						= 16
inv_grid_y						= 13

hud_icon						= ui_hud2_res_back

k_dist							= 1.00
k_disp							= 1.00
k_hit							= 4.52
k_impulse						= 10.14
k_pierce						= 1.20
k_ap							= 1.20
impair							= 1.50
buck_shot						= 1

wm_size							= 0.079

tracer_color_ID					= 2
k_air_resistance				= 1.17

;-------------------------------------------------------------------------------
; Missiles
;-------------------------------------------------------------------------------
[ammo_og-7b]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_og-7b"	; option for Level Editor
class							= S_OG7B
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_og_7b.ogf
description						= ammo-og-7b_descr
$prefetch 						= 64

cost							= 2000

box_size						= 1

inv_name						= ammo-og-7b
inv_name_short					= ammo-og-7b_s
inv_weight						= 2.0

inv_grid_width					= 3
inv_grid_height					= 1
inv_grid_x						= 15
inv_grid_y						= 19

k_dist							= 1
k_disp							= 1
k_hit							= 8
k_impulse						= 1
k_pierce						= 2.00
k_ap							= 2.00
impair							= 1
buck_shot						= 1

tracer							= off

wm_size							= 0.5

explosive						= on

can_be_unlimited				= true	; false				; могут ли боеприпасы быть неограниченными : 1 - могут, 0 - не могут

;-------------------------------------------------------------------------------
; Grenades for Attachable grenade launcher
;-------------------------------------------------------------------------------

[ammo_vog-25]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_vog-25"	; option for Level Editor
class							= S_VOG25
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_vog_25.ogf
description						= ammo-vog-25_descr

$prefetch 						= 64

cost							= 300

box_size						= 1

inv_name						= ammo-vog-25
inv_name_short					= ammo-vog-25_s
inv_weight						= 0.250						; вес ВВ 48 грм

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 19
inv_grid_y						= 9

kill_msg_x						= 38
kill_msg_y						= 233
kill_msg_width					= 21
kill_msg_height					= 22

k_dist							= 1
k_disp							= 1
k_hit							= 7
k_impulse						= 1
k_pierce						= 0
k_ap							= 0
impair							= 1
buck_shot						= 1

tracer							= off

wm_size							= 0.5

explosive						= on

fake_grenade_name				= wpn_fake_vog-25

can_be_unlimited				= true	; false				; могут ли боеприпасы быть неограниченными : 1 - могут, 0 - не могут

;-------------------------------------------------------------------------------
[ammo_vog-25p]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_vog-25p"	; option for Level Editor
class							= S_VOG25
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_vog_25p.ogf
description						= ammo-vog-25p_descr

$prefetch 						= 64

cost							= 300

box_size						= 1

inv_name						= ammo-vog-25p
inv_name_short					= ammo-vog-25p_s
inv_weight						= 0.250						; вес ВВ 48 грм

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 19
inv_grid_y						= 10

kill_msg_x						= 38
kill_msg_y						= 233
kill_msg_width					= 21
kill_msg_height					= 22

k_dist							= 1
k_disp							= 1
k_hit							= 7.5
k_impulse						= 1
k_pierce						= 0
k_ap							= 0
impair							= 1
buck_shot						= 1

tracer							= off

wm_size							= 0.5

explosive						= on

fake_grenade_name				= wpn_fake_vog-25p

can_be_unlimited				= true	; false				; могут ли боеприпасы быть неограниченными : 1 - могут, 0 - не могут

;-------------------------------------------------------------------------------
[ammo_m209]:ammo_base
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn							= "weapons\ammo\ammo_m209"	; option for Level Editor
class							= S_M209
cform							= skeleton
visual							= dynamics\weapons\wpn_ammo\ammo_m209.ogf
description						= ammo-m209_descr
$prefetch 						= 64

cost							= 350

box_size						= 1

inv_name						= ammo-m209
inv_name_short					= ammo-m209_s
inv_weight						= 0.265						; вес гранаты 190, вес ВВ 28 грм

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 5
inv_grid_y						= 13

kill_msg_x						= 61
kill_msg_y						= 232
kill_msg_width					= 19
kill_msg_height					= 22

k_dist							= 1
k_disp							= 1
k_hit							= 7
k_impulse						= 1
k_pierce						= 0
k_ap							= 0
impair							= 1
buck_shot						= 1

tracer							= off

wm_size							= 0.5

fake_grenade_name				= wpn_fake_m209

can_be_unlimited				= true	; false				;могут ли боеприпасы быть неограниченными : 1 - могут, 0 - не могут

;-------------------------------------------------------------------------------
; Fake Missiles and Grenades
;-------------------------------------------------------------------------------

[wpn_fake_og-7b]:ammo_base,wpn_fake_og-7b_sounds
visual							= dynamics\weapons\wpn_rpg7\wpn_rpg7_grenade.ogf
cform							= skeleton
class							= G_RPG7
$prefetch 						= 32

inv_weight						= 0

cost							= 200

blast							= 4
blast_r							= 7.78
blast_impulse					= 140
blast_impulse_factor 			= 1

frags							= 700
frags_r							= 20.44
frag_hit						= 1
frag_hit_impulse				= 10

frag_ap							= 0.76
k_ap							= 0.76

hit_type_blast					= explosion
hit_type_frag					= fire_wound

up_throw_factor					= 0.25

explode_particles				= explosions\explosion_04

light_color					 	= 1.9,1.4,0.5
light_range		 				= 24.0
light_time 		 				= 1.28

ph_mass			 				= 3

jump_height 					= 0

wm_size							= 0.5

fragment_speed	 				= 300					; скорость осколков (м/с)

explode_duration		 		= 5						; подолжительность взрыва (с)

wallmark_section				= explosion_marks		; wallmarks

;свойства которые читаются, но не используются (надо убрать)
inv_name						= "Og-7b"
inv_name_short					= "Og-7b"
inv_weight						= .2

inv_grid_width					= 4
inv_grid_height					= 1
inv_grid_x						= 15
inv_grid_y						= 5


kill_msg_x						= 0
kill_msg_y						= 85
kill_msg_width					= 74
kill_msg_height					= 19

;- Свойства CustomRocket -------------------------------------------------------
engine_present					= true		;присутствует ли в ракете двигатель
engine_work_time				= 3000		;время работы двигателя (в милисекундах)
engine_impulse					= 300
engine_impulse_up				= 133,906	;137.34	= 2*9.81*7 - значение этого параметра (который является некой подъемной силой, вопреки названию),
											;при котором ракета массой 7кг не опускается под дейсвием
											;гравитации. 2*9.81=19.62 - ускорение свободного падения в мире сталкеров
											;при меньших значениях ракета будет опускаться, при больших подниматься
lights_enabled 					= true		;свет вокруг ракеты, во время полета
trail_light_color 				= 0.6,0.5,0.3
trail_light_range 				= 15.0

engine_particles 				= weapons\rpg_trail_00
;fly_particles	 				= weapons\rpg_trail_01

force_explode_time				= 30000		; msec

;-------------------------------------------------------------------------------
[wpn_fake_vog-25]:default_weapon_params,wpn_fake_vog-25_sounds
visual							= dynamics\weapons\wpn_ammo\ammo_vog_25.ogf
cform							= skeleton
class							= G_FAKE
$prefetch 						= 32

inv_weight						= 0

cost							= 150

blast							= 4
blast_r							= 6.50
blast_impulse					= 140

frags							= 100
frags_r							= 6.50
frag_hit						= 1
frag_hit_impulse				= 100

frag_ap							= 0.46
k_ap							= 0.46

hit_type_blast					= explosion
hit_type_frag					= fire_wound

up_throw_factor					= 0.7

;trail							= weapons\rpg_trail_01, weapons\rpg_trail_02

explode_particles				= explosions\explosion_01

light_color						= 1.9, 1.2, 0.5
light_range						= 25.0
light_time 						= 0.5

ph_mass							= 1
;engine_f						= 530
;engine_u						= 90

jump_height						= 0

wm_size							= 0.5

fragment_speed					= 300						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

;свойства которые читаются, но не используются
inv_name						= ammo-vog-25
inv_name_short					= ammo-vog-25
inv_weight						= 0.2

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 19
inv_grid_y						= 10

kill_msg_x						= 17
kill_msg_y						= 232
kill_msg_width					= 21
kill_msg_height					= 22

;-Свойства CustomRocket---------------------------------------------------------
engine_present					= false		;присутствует ли в ракете двигатель
lights_enabled					= false		;свет вокруг ракеты, во время полета
force_explode_time				= 10000

;-------------------------------------------------------------------------------
[wpn_fake_vog-25p]:default_weapon_params,wpn_fake_vog-25p_sounds
$prefetch 						= 32
visual							= dynamics\weapons\wpn_ammo\ammo_vog_25p.ogf
cform							= skeleton
class							= G_FAKE

inv_weight						= 0

cost							= 150

blast							= 4
blast_r							= 3.25	; 6.50 / 2
blast_impulse					= 140

frags							= 150
frags_r							= 13	; 6.50 * 2
frag_hit						= 0.50
frag_hit_impulse				= 100
frag_ap							= 0.46

hit_type_blast					= explosion
hit_type_frag					= fire_wound

up_throw_factor					= 0.7

;trail							= weapons\rpg_trail_01, weapons\rpg_trail_02

explode_particles				= explosions\explosion_01

light_color						= 1.9,1.4,0.5
light_range						= 14.0
light_time 						= 0.85

ph_mass							= 1
;engine_f						= 530
;engine_u						= 90

jump_height						= 3							; подскакиваем на 3 метра

wm_size 						= 0.5

fragment_speed					= 300						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

;свойства которые читаются, но не используются
inv_name						= ammo-vog-25p
inv_name_short					= ammo-vog-25p
inv_weight						= .2

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 19
inv_grid_y						= 9

kill_msg_x						= 38
kill_msg_y						= 233
kill_msg_width					= 21
kill_msg_height					= 22

;-Свойства CustomRocket---------------------------------------------------------
engine_present					= false						; присутствует ли в ракете двигатель
lights_enabled 					= true						; свет вокруг ракеты, во время полета
trail_light_color 				= 0.6, 0.5, 0.3
trail_light_range 				= 8.0
force_explode_time				= 10000

;-------------------------------------------------------------------------------
[wpn_fake_m209]:default_weapon_params,wpn_fake_m209_sounds
$prefetch 						= 32
visual							= dynamics\weapons\wpn_ammo\ammo_m209.ogf
cform							= skeleton
class							= G_FAKE

inv_weight						= 0

cost							= 150

blast							= 4
blast_r							= 5.82
blast_impulse					= 140

frags							= 100
frags_r							= 5.82
frag_hit						= 1
frag_hit_impulse				= 100

frag_ap							= 0.46
k_ap							= 0.46

hit_type_blast					= explosion
hit_type_frag					= fire_wound

up_throw_factor					= 0.7

;trail							= weapons\rpg_trail_01, weapons\rpg_trail_02

explode_particles				= explosions\explosion_01

light_color						= 1.9,1.4,0.5
light_range						= 14.0
light_time 						= 0.85

ph_mass							= 1
;engine_f						= 530
;engine_u						= 90

jump_height						= 1

wm_size							= 0.5

fragment_speed					= 300						; скорость осколков (м/с)

wallmark_section				= explosion_marks			; wallmarks

explode_duration				= 5							; подолжительность взрыва (с)

;свойства которые читаются, но не используются
inv_name						= ammo-m209
inv_name_short					= "M209"
inv_weight						= .2

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 5
inv_grid_y						= 13

kill_msg_x						= 61
kill_msg_y						= 232
kill_msg_width					= 19
kill_msg_height					= 22

;-Свойства CustomRocket---------------------------------------------------------
engine_present					= false						; присутствует ли в ракете двигатель
lights_enabled 					= true						; свет вокруг ракеты, во время полета
trail_light_color 				= 0.6,0.5,0.3
trail_light_range 				= 8.0
force_explode_time				= 10000

[wpn_rpg7_missile]:wpn_fake_og-7b
[wpn_fake_missile]:wpn_fake_vog-25
[wpn_fake_missile1]:wpn_fake_vog-25p
[wpn_fake_missile2]:wpn_fake_m209

;-------------------------------------------------------------------------------
; Explosive Inventory Items
;-------------------------------------------------------------------------------

[explosive_fuelcan]:delayed_action_fuse,default_weapon_params,explosive_fuelcan_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\fuelcan"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual		 					= dynamics\balon\balon_01.ogf
inv_name						= "Газовый балон 70 кг"
inv_name_short					= "Газовый балон 70 кг"
inv_weight						= 70

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false 					; вещь невозможно подобрать

cost							= 50
;-------------------------------------------------------------------------------
blast							= 1.50
blast_r							= 8
blast_impulse					= 250
;delete
blast_impulse_factor			= 1

frags							= 5
frags_r							= 15
frag_hit						= 0.75
frag_hit_impulse				= 150

hit_type_blast					= explosion
hit_type_frag					= light_burn

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_fuelcan

light_color						= 1.9,1.3,0.5
light_range						= 30.0
light_time 						= 1.5

fragment_speed					= 100						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= explosive_fuelcan_immunities_sect

[explosive_fuelcan_immunities_sect]							;коэффициенты для попаданий различными типами хитов
burn_immunity					= 0.0
strike_immunity					= 1.0
shock_immunity					= 1.0
wound_immunity					= 1.0
radiation_immunity				= 1.0
telepatic_immunity				= 1.0
chemical_burn_immunity			= 1.0
explosion_immunity				= 1.0
fire_wound_immunity				= 0.7

[explosive_gaz_balon]:explosive_fuelcan
$spawn							= "weapons\explosive\gaz_balon"
visual							= dynamics\balon\gaz_balon.ogf
inv_name						= "Газовый балон 16 кг"
inv_name_short					= "Газовый балон 16 кг"
inv_weight						= 16


[explosive_tank]:delayed_action_fuse,default_weapon_params,explosive_tank_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\tank"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual							= dynamics\balon\kanistra.ogf
inv_name						= "Канистра 20л"
inv_name_short					= "Канистра 20л"
inv_weight						= 20

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false						; вещь невозможно подобрать

cost							= 50
;-------------------------------------------------------------------------------
blast							= 1.50
blast_r							= 8
blast_impulse					= 250
;delete
blast_impulse_factor			= 1

frags							= 5
frags_r							= 15
frag_hit						= 0.75
frag_hit_impulse				= 150

hit_type_blast					= explosion
hit_type_frag					= light_burn

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_mobiltank

light_color						= 1.9,1.3,0.5
light_range						= 30.0
light_time 						= 1

fragment_speed					= 100						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= explosive_tank_immunities_sect

[explosive_tank_immunities_sect]							;коэффициенты для попаданий различными типами хитов
burn_immunity					= 0.0
strike_immunity					= 1.0
shock_immunity					= 1.0
wound_immunity					= 1.0
radiation_immunity				= 1.0
telepatic_immunity				= 1.0
chemical_burn_immunity			= 1.0
explosion_immunity				= 1.0
fire_wound_immunity				= 0.7

[explosive_barrel_low]:delayed_action_fuse,default_weapon_params,explosive_barrel_low_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\barrel_low"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual							= dynamics\balon\bochka_fuel.ogf
inv_name						= "Бочка 200л"
inv_name_short					= "Бочка 200л"
inv_weight						= 190

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false						; вещь невозможно подобрать

cost							= 500
;-------------------------------------------------------------------------------
blast							= 1.50
blast_r							= 8
blast_impulse					= 250
;delete
blast_impulse_factor			= 1

frags							= 5
frags_r							= 15
frag_hit						= 0.75
frag_hit_impulse				= 150

hit_type_blast					= explosion
hit_type_frag					= light_burn

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_barrel

light_color						= 1.9,1.4,0.5
light_range						= 14.0
light_time 						= 0.85

fragment_speed					= 100						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= explosive_barrel_low_immunities_sect

;time_to_explode				= 0.f

[explosive_grenade]:delayed_action_fuse,default_weapon_params,explosive_grenade_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\explosive_grenade"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual							= dynamics\weapons\wpn_grenades\wpn_f1.ogf
inv_name						=
inv_name_short					=
inv_weight						= .1

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false						; вещь невозможно подобрать

cost							= 500
;-------------------------------------------------------------------------------
blast							= 1.50
blast_r							= 2
blast_impulse					= 240
;delete
blast_impulse_factor			= 1


frags							= 100
frags_r							= 5
frag_hit						= 0.5
frag_hit_impulse				= 240

hit_type_blast					= explosion
hit_type_frag					= fire_wound

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_01

light_color						= 1.9,1.4,0.5
light_range						= 14.0
light_time 						= 0.85

;трассы от осколков
fragment_speed					= 100						; скорость осколков (м/с)

explode_duration				= 2							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= explosive_explosive_grenade_immunities_sect

;time_to_explode				= 0.f

;- pri_a25_enter_door_explosive_grenade ----------------------------------------
[pri_a25_enter_door_explosive_grenade]:explosive_grenade
$spawn							= "dynamic_objects\scene_objects\pri_a25_enter_door_explosive_grenade"
story_id 						= pri_a25_enter_door_explosive_grenade
hit_type_blast					= chemical_burn
hit_type_frag					= chemical_burn
visual							= dynamics\light\light_signal.ogf

;- pri_a25_antenna_grenade -----------------------------------------------------
[pri_a25_antenna_grenade]:explosive_grenade
$spawn							= "dynamic_objects\scene_objects\pri_a25_antenna_grenade"
story_id 						= pri_a25_antenna_grenade
visual							= dynamics\light\light_signal.ogf

[explosive_explosive_grenade_immunities_sect]
burn_immunity					= 0.0
strike_immunity					= 0.0
shock_immunity					= 0.0
wound_immunity					= 0.0
radiation_immunity				= 0.0
telepatic_immunity				= 0.0
chemical_burn_immunity			= 1.0
explosion_immunity				= 0.0
fire_wound_immunity				= 0.0

[explosive_hide]:delayed_action_fuse,default_weapon_params,explosive_hide_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\explosive_hide"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual							= dynamics\weapons\wpn_grenades\wpn_f1.ogf
inv_name						=
inv_name_short					=
inv_weight						= .1

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false						; вещь невозможно подобрать

cost							= 500
;-------------------------------------------------------------------------------
blast							= 1.00
blast_r							= 30
blast_impulse					= 500
;delete
blast_impulse_factor			= 1

frags							= 15
frags_r							= 20
frag_hit						= 0.05
frag_hit_impulse				= 50

hit_type_blast					= explosion
hit_type_frag					= fire_wound

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_01

light_color						= 1.9,1.4,0.5
light_range						= 14.0
light_time 						= 0.85

fragment_speed					= 50						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= explosive_hide_immunities_sect

;time_to_explode				= 0.f

[explosive_hide_immunities_sect]							;коэффициенты для попаданий различными типами хитов
burn_immunity					= 0.0
strike_immunity					= 0.0
shock_immunity					= 0.0
wound_immunity					= 0.0
radiation_immunity				= 0.0
telepatic_immunity				= 0.0
chemical_burn_immunity			= 1.0
explosion_immunity				= 0.0
fire_wound_immunity				= 0.0

[explosive_particle]:delayed_action_fuse,default_weapon_params,explosive_particle_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\explosive_particle"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual							= dynamics\weapons\wpn_grenades\wpn_f1.ogf
inv_name						=
inv_name_short					=
inv_weight						= .1

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false						; вещь невозможно подобрать

cost							= 500
;-------------------------------------------------------------------------------
blast							= 0.25
blast_r							= 3
blast_impulse					= 50
;delete
blast_impulse_factor			= 1

frags							= 5
frags_r							= 15
frag_hit						= 0.75
frag_hit_impulse				= 50

hit_type_blast					= explosion
hit_type_frag					= fire_wound

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_concrete_box

light_color						= 0,0,0
light_range						= 0.0
light_time 						= 0.85

fragment_speed					= 25						; скорость осколков (м/с)

explode_duration				= 2							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= explosive_barrel_low_immunities_sect

;time_to_explode				= 0.f

[explosive_barrel_low_immunities_sect]						; коэффициенты для попаданий различными типами хитов
burn_immunity					= 1
strike_immunity					= 1
shock_immunity					= 1
wound_immunity					= 1
radiation_immunity				= 1
telepatic_immunity				= 1
chemical_burn_immunity			= 1
explosion_immunity				= 1
fire_wound_immunity				= 5

[explosive_barrel]:delayed_action_fuse,default_weapon_params,explosive_barrel_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\barrel"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual							= dynamics\balon\bochka_fuel.ogf
inv_name						= "Бочка 200л"
inv_name_short					= "Бочка 200л"
inv_weight						= 190

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false						; вещь невозможно подобрать

cost							= 500
;-------------------------------------------------------------------------------
blast							= 1.50
blast_r							= 8
blast_impulse					= 250
;delete
blast_impulse_factor			= 1

frags							= 5
frags_r							= 15
frag_hit						= 0.75
frag_hit_impulse				= 150

hit_type_blast					= explosion
hit_type_frag					= light_burn

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_barrel

light_color						= 1.9,1.4,0.5
light_range						= 14.0
light_time 						= 0.85

fragment_speed					= 100						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= explosive_barrel_immunities_sect

[explosive_barrel_immunities_sect]							; коэффициенты для попаданий различными типами хитов
burn_immunity					= 0.0
strike_immunity					= 1
shock_immunity					= 1
wound_immunity					= 1
radiation_immunity				= 1
telepatic_immunity				= 1
chemical_burn_immunity			= 1
explosion_immunity				= 1
fire_wound_immunity				= 0.7

[explosive_mobiltank]:delayed_action_fuse,default_weapon_params,explosive_mobiltank_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\mobiltank"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual							= dynamics\balon\kanistra.ogf
inv_name						= "Канистра 20л"
inv_name_short					= "Канистра 20л"
inv_weight						= 20

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false						; вещь невозможно подобрать

cost							= 500
;-------------------------------------------------------------------------------
blast							= 1.50
blast_r							= 8
blast_impulse					= 250
;delete
blast_impulse_factor			= 1

frags							= 5
frags_r							= 15
frag_hit						= 0.75
frag_hit_impulse				= 150

hit_type_blast					= explosion
hit_type_frag					= light_burn

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_mobiltank

light_color						= 1.9,1.2,0.5
light_range						= 30.0
light_time 						= 1

fragment_speed					= 100						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= explosive_mobiltank_immunities_sect

[explosive_mobiltank_immunities_sect]						; коэффициенты для попаданий различными типами хитов
burn_immunity					= 0.0
strike_immunity					= 1.0
shock_immunity					= 1.0
wound_immunity					= 1.0
radiation_immunity				= 1.0
telepatic_immunity				= 1.0
chemical_burn_immunity			= 1.0
explosion_immunity				= 1.0
fire_wound_immunity				= 0.7

[explosive_dinamit]:delayed_action_fuse,default_weapon_params,explosive_dinamit_sounds
GroupControlSection				= spawn_group
discovery_dependency			=
$spawn 							= "weapons\explosive\dinamit"
$prefetch						= 16
class							= S_EXPLO
cform							= skeleton
visual		 					= dynamics\box\expl_dinamit.ogf
inv_name						= "Ящик с динамитом"
inv_name_short					= "Ящик с динамитом"
inv_weight						= 10.0

inv_grid_width					= 1
inv_grid_height					= 1
inv_grid_x						= 9
inv_grid_y						= 9

can_take						= false						; вещь невозможно подобрать

cost							= 50
;-------------------------------------------------------------------------------
blast							= 3.00
blast_r							= 10
blast_impulse					= 250
;delete
blast_impulse_factor			= 1

frags							= 100
frags_r							= 10
frag_hit						= 100
frag_hit_impulse				= 100

hit_type_blast					= explosion	;chemical_burn
hit_type_frag					= chemical_burn	;burn

up_throw_factor					= 1.0
;-------------------------------------------------------------------------------
wm_size							= 0.1

explode_particles				= explosions\explosion_dynamite

light_color						= 1.9,1.3,0.5
light_range						= 30.0
light_time 						= 1.5

fragment_speed					= 200						; скорость осколков (м/с)

explode_duration				= 5							; подолжительность взрыва (с)

wallmark_section				= explosion_marks			; wallmarks

immunities_sect					= dinamit_immunities_sect
;condition_to_explode			= 0.f

[dinamit_immunities_sect]									; коэффициенты для попаданий различными типами хитов
burn_immunity					= 0.0
strike_immunity					= 0.0
shock_immunity					= 0.0
wound_immunity					= 0.0
radiation_immunity				= 0.0
telepatic_immunity				= 0.0
chemical_burn_immunity			= 1.0
explosion_immunity				= 0.5
fire_wound_immunity				= 0.05