;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;		WEAPON ADDONS
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[wpn_addon_scope]:identity_immunities
GroupControlSection		= spawn_group
$spawn					= "weapons\addons\scope"
$prefetch				= 32
cform					= skeleton
class					= WP_SCOPE
visual					= dynamics\weapons\wpn_upgrade\wpn_scope_pso.ogf

inv_grid_width			= 2
inv_grid_height			= 1
inv_grid_x				= 18
inv_grid_y				= 2
inv_sort_prio			= 3

inv_name				= st_addon_scope
inv_name_short			= st_addon_scope
description				= st_addon_scope_descr
inv_weight				= .3
inv_volume				= .5
cost					= 1000

holder_range_modifier	= 1.35
holder_fov_modifier		= 0.6

scope_texture			= wpn\wpn_crosshair_pso
scope_zoom_factor		= 25		;ПСО-1 2X

[wpn_addon_scope_x27]:wpn_addon_scope
$spawn					= "weapons\addons\scope_x27"
inv_grid_x				= 16
inv_grid_y				= 29
inv_name				= st_addon_scope_x27
inv_name_short			= st_addon_scope_x27
description				= st_addon_scope_x27_descr
cost					= 2000

holder_range_modifier	= 1.2
holder_fov_modifier		= 0.7

scope_zoom_factor		= 40		;ПСО-1 2X

[wpn_addon_scope_detector]:wpn_addon_scope
$spawn				=	 "weapons\addons\scope_detector"
inv_grid_x				= 14
inv_grid_y				= 29
inv_name				= st_addon_scope_detector
inv_name_short			= st_addon_scope_detector
description				= st_addon_scope_detector_descr
inv_weight				= .5
cost					= 10000

holder_range_modifier	= 1.5
holder_fov_modifier		= 0.7

scope_func_toggle		= off
snd_scope_func			= interface\snd_scope_pnv
scope_alive_detector	= scope_detector
scope_zoom_factor		= 30		;ПСО-1 2X

[wpn_addon_scope_night]:wpn_addon_scope
$spawn					= "weapons\addons\scope_night"
inv_grid_x				= 14
inv_grid_y				= 30
inv_name				= st_addon_scope_night_vision
inv_name_short			= st_addon_scope_night_vision
description				= st_addon_scope_night_vision_descr
inv_weight				= .5
cost					= 3000

holder_range_modifier	= 1.35
holder_fov_modifier		= 0.7

scope_func_toggle		= on
snd_scope_func			= interface\snd_scope_pnv
scope_nightvision		= scope_nightvision_1
scope_zoom_factor		= 30		;ПСО-1 2X

[wpn_addon_scope_dynamic_zoom]:wpn_addon_scope
$spawn					= "weapons\addons\scope_dynamic_zoom"
inv_grid_x				= 16
inv_grid_y				= 30
inv_name				= st_addon_scope_dynamic_zoom
inv_name_short			= st_addon_scope_dynamic_zoom
description				= st_addon_scope_dynamic_zoom_descr
inv_weight				= .4
cost					= 5000

holder_range_modifier	= 1.6
holder_fov_modifier		= 0.7

scope_zoom_factor		= 25		;ПСО-1 2X
scope_dynamic_zoom		= true
scope_zoom_step_count	= 3
scope_zoom_min_k		= 0.45

[wpn_addon_scope_susat]:identity_immunities
GroupControlSection		= spawn_group
$spawn					= "weapons\addons\scope_susat"
$prefetch				= 32
cform					= skeleton
class					= WP_SCOPE
visual					= dynamics\weapons\wpn_upgrade\wpn_scope_acog.ogf

inv_grid_width			= 1
inv_grid_height			= 1
inv_grid_x				= 19
inv_grid_y				= 1
inv_sort_prio			= 3
inv_name				= st_addon_scope_acog
inv_name_short			= st_addon_scope_acog
description				= st_addon_scope_acog_descr

inv_weight				= .3
inv_volume				= .2
cost					= 1500

holder_range_modifier	= 1.35
holder_fov_modifier		= 0.6

scope_texture			= wpn\wpn_crosshair_acog
scope_zoom_factor		= 30		;SUSAT 2X

[wpn_addon_scope_susat_x16]:wpn_addon_scope_susat
$spawn					= "weapons\addons\scope_susat_x16"
inv_grid_x				= 14
inv_grid_y				= 31
inv_name				= st_addon_scope_acog_x16
inv_name_short			= st_addon_scope_acog_x16
description				= st_addon_scope_acog_x16_descr
cost					= 1500

holder_range_modifier	= 1.2
holder_fov_modifier		= 0.8

scope_zoom_factor		= 50

[wpn_addon_scope_susat_custom]:wpn_addon_scope_susat
$spawn					= "weapons\addons\scope_susat_custom"
inv_grid_x				= 17
inv_grid_y				= 31
inv_name				= st_addon_scope_acog_custom
inv_name_short			= st_addon_scope_acog_custom
description				= st_addon_scope_acog_custom_descr
inv_weight				= .4
cost					= 5500

holder_range_modifier	= 1.5
holder_fov_modifier		= 0.7

scope_dynamic_zoom		= true
scope_zoom_factor		= 30
scope_zoom_min_k		= 0.45

[wpn_addon_scope_susat_dusk]:wpn_addon_scope_susat
$spawn					= "weapons\addons\scope_susat_dusk"
inv_grid_x				= 14
inv_grid_y				= 32
inv_name				= st_addon_scope_acog_dusk
inv_name_short			= st_addon_scope_acog_dusk
description				= st_addon_scope_acog_dusk_descr
cost					= 2500

holder_range_modifier	= 1.35
holder_fov_modifier		= 0.7

scope_func_toggle		= on
snd_scope_func			= interface\snd_scope_pnv
scope_nightvision		= scope_contrast
scope_zoom_factor		= 50		;SUSAT 2X

[wpn_addon_scope_susat_night]:wpn_addon_scope_susat
$spawn					= "weapons\addons\scope_susat_night"
inv_grid_x				= 16
inv_grid_y				= 31
inv_name				= st_addon_scope_acog_nv
inv_name_short			= st_addon_scope_acog_nv
description				= st_addon_scope_acog_nv_descr
inv_weight				= .4
cost					= 3500

holder_range_modifier	= 1.35
holder_fov_modifier		= 0.7

scope_func_toggle		= on
snd_scope_func			= interface\snd_scope_pnv
scope_nightvision		= scope_nightvision_2
scope_zoom_factor		= 30

; Special Scopes
[wpn_addon_scope_pso_m2]:wpn_addon_scope
visual					= dynamics\weapons\wpn_upgrade\wpn_scope_pso.ogf
inv_grid_x				= 18
inv_grid_y				= 29
inv_name				= st_addon_scope_pso_m2
inv_name_short			= st_addon_scope_pso_m2
description				= st_addon_scope_pso_m2_descr
inv_weight				= .6
inv_volume				= .5
cost					= 3000

holder_range_modifier	= 2.15
holder_fov_modifier		= 0.45

scope_texture			= wpn\wpn_crosshair
scope_zoom_factor		= 15		;4X

[wpn_addon_scope_pso_m201]:wpn_addon_scope_pso_m2
;visual					= dynamics\weapons\wpn_upgrade\wpn_scope_pso-1m2-01.ogf
inv_grid_x				= 18
inv_grid_y				= 30
inv_name				= st_addon_scope_pso_m2_01
inv_name_short			= st_addon_scope_pso_m2_01
description				= st_addon_scope_pso_m2_01_descr
cost					= 3000

holder_range_modifier	= 2.0
holder_fov_modifier		= 0.45

scope_texture			= wpn\wpn_crosshair_vss
scope_zoom_factor		= 15		;4X


;;;;;;;;;;;;;Advanced scope settings;;;;;;;;;;;;;;;;
[scope_nightvision_1]
;snd_night_vision_on		= weapons\nv_start
;snd_night_vision_off		= weapons\nv_off
;snd_night_vision_idle		= weapons\nv_loop
;snd_night_vision_broken	= weapons\nv_off

pp_eff_name				= nightvision_scope.ppe
pp_eff_cyclic			= 1
;pp_eff_overlap			= false

[scope_nightvision_2]:scope_nightvision_1
pp_eff_name				= nightvision_scope_2.ppe
pp_eff_overlap			= false

[scope_detector]
vis_frame_speed			= 4			; скорость, с которой наводится рамка на цель
vis_frame_color			= 0.7,0.7,0.7,1.0	; цвет рамки RGBA (A) Не учитывается
found_snd				= detectors\DA-2_beep1
catch_snd				= detectors\DA-2_beep1

[scope_contrast]
pp_eff_name				= contrast.ppe
pp_eff_cyclic			= 1
pp_eff_overlap			= false


[wpn_addon_silencer]:identity_immunities
GroupControlSection		= spawn_group
$spawn					= "weapons\addons\silencer"
$prefetch				= 32
cform					= skeleton
class					= W_SILENC
visual					= weapons\upgrade\wpn_silencer.ogf

inv_grid_width			= 1
inv_grid_height			= 1
inv_grid_x				= 18
inv_grid_y				= 1
inv_sort_prio			= 3

inv_name				= st_addon_silencer
inv_name_short			= st_addon_silencer
description				= st_addon_silencer_descr
inv_weight				= .15
inv_volume				= .2
cost					= 350

bullet_hit_power_k		= 0.82
bullet_speed_k			= 0.8
fire_dispersion_base_k	= 0.95
cam_dispersion_k		= 0.8


[wpn_addon_grenade_launcher]:identity_immunities
GroupControlSection		= spawn_group
$spawn					= "weapons\addons\grenade_launcher"
$prefetch				= 32
cform					= skeleton
class					= W_GLAUNC
visual					= dynamics\weapons\wpn_upgrade\wpn_grenade_launcher.ogf

inv_grid_width			= 2
inv_grid_height			= 1
inv_grid_x				= 18
inv_grid_y				= 0
inv_sort_prio			= 3

inv_name				= st_addon_gl_gp25
inv_name_short			= st_addon_gl_gp25
description				= st_addon_gl_gp25_descr
inv_weight				= 1.3
inv_volume				= .4
cost					= 400

launch_speed			= 76
ammo_mag_size			= 1
ammo_class				= class_vog25
fire_dispersion_base	= 1.5

[wpn_addon_grenade_launcher_m203]:identity_immunities
GroupControlSection		= spawn_group
$spawn					= "weapons\addons\grenade_launcher_m203"
$prefetch				= 32
cform					= skeleton
class					= W_GLAUNC
visual					= dynamics\weapons\wpn_upgrade\wpn_grenade_launcher_m203.ogf

inv_grid_width			= 2
inv_grid_height			= 1
inv_grid_x				= 17
inv_grid_y				= 3
inv_sort_prio			= 3

inv_name				= st_addon_gl_m203
inv_name_short			= st_addon_gl_m203
description				= st_addon_gl_m203_descr
inv_weight				= 1.36
inv_volume				= .6
cost					= 700

launch_speed			= 71
ammo_mag_size			= 1
ammo_class				= ammo_m209
fire_dispersion_base	= 1.3
