; Снайперка винтовка В-94

[wpn_b94]:identity_immunities
GroupControlSection 	= spawn_group
discovery_dependency    = 
$spawn                  = "weapons\b94"		; option for Level Editor
$npc			 		= on				; option for Level Editor
$prefetch 		 	= 8
scheduled               = off              	; option for ALife Simulator
cform                   = skeleton
class                   = WP_SVD
min_radius 		     = 20
max_radius 		     = 200
description			= enc_weapons1_wpn-b94

ef_main_weapon_type		 = 3
ef_weapon_type			 = 8

;--- scope weapons -----------------------------------------------------------------
holder_range_modifier	= 2.5
holder_fov_modifier		= 0.6
;-----------------------------------------------------------------------------------

cost					= 47500
weapon_class			= sniper_rifle

ammo_elapsed			= 5
ammo_mag_size			= 5
ammo_class			= ammo_12.7x108
hand_dependence 	     = 1
single_handed		     = 0

slot 			     = 2		
animation_slot		     = 2		

inv_name		          = "Снайперская винтовка В-94"
inv_name_short	          = "Снайперская винтовка В-94"
inv_weight		     = 11.7

inv_grid_width		     = 6
inv_grid_height		= 2
inv_grid_x		     = 25
inv_grid_y		     = 47

kill_msg_x		     = 0
kill_msg_y		     = 0
kill_msg_width		     = 98
kill_msg_height		= 23

sprint_allowed			= true
;-----------------------------------------------------------------------------------
;базовая дисперсия
fire_dispersion_base	    = 0.013	;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor	    = 2.2f
disp_rate 			    = 1.85
	
;отдача
cam_relax_speed         = 4.7	;скорость возврата в исходное положение
cam_dispersion          = 1.8	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc		= 0.5	;увеличениe cam_dispersion с каждым выстрелом
cam_dispertion_frac		= 1.0	;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
cam_max_angle			= 10.0	;максимальный угол отдачи
cam_max_angle_horz		= 3.0	;(degree) maximum shot horizontal degree 
cam_step_angle_horz		= 0.25	;(degree) size of step camera moved in horizontal position while shooting

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

direction           = 0, 0, 1

fire_point          = 0.0, 0.227, 0.944

flame_particles		= weapons\generic_weapon06
smoke_particles		= weapons\generic_shoot_00
rpm_empty_click 	     = 120

shell_point		 	= 0.0, 0.23, 0.179
shell_dir		 	     = 0.0, 0.0, 0.4
shell_particles	 	= weapons\arsenal_shells1

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

; ttc
hit_power               = 1.5
hit_impulse		 	= 20
hit_type 			     = fire_wound
hit_rate			     = 2.0

fire_distance           = 1000
bullet_speed		     = 1200
rpm                     = 25

silencer_hit_power       	= 1.5
silencer_hit_impulse	 	= 100
silencer_fire_distance   	= 1000
silencer_bullet_speed	 	= 1200
; end ttc

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

hud                 = wpn_b94_hud
normal              = 0, 1, 0
position         	= -0.026,-0.172,0
orientation         = 0, 0, 0

;--STRAP PARAMETERS-----------------------------------------------------------------
strap_position         	= -0.16,-0.36,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

startup_ammo            = 10
visual                  = weapons\b94\wpn_b94.ogf

light_color		 		= 0.6,0.5,0.3
light_range		 		= 4.0
light_var_color		 	= 0.05
light_var_range		 	= 0.5
light_time 		 		= 0.2

;addons
scope_status			= 1
silencer_status			= 1
grenade_launcher_status	= 0
zoom_enabled			= true

scope_name 				= wpn_addon_scope			; section name for the attachable scope
scope_x 				= 47						; offset in inventory icon
scope_y 				= 5

scope_zoom_factor	    = 8.6
scope_texture			     = wpn\scope_b94

;silencer_name  			= wpn_addon_sil_762_pms
;silencer_x 				= 263
;silencer_y 				= 15

silencer_light_color		= 1.0, 0.1, 0.0
silencer_light_range		= 0.01
silencer_light_var_color	= 0.05
silencer_light_var_range	= 0.5
silencer_light_time 		= 0.2

;------------------------------ S.T.A.L.K.E.R`s sound remake ------------------------------
;звуки
snd_draw		     = weapons\svd\svd_draw
snd_holster		= weapons\sniper_holster
snd_shoot		     = weapons\b94_shoot
snd_empty		     = weapons\ak_empty, 0.7
snd_reload		= weapons\svd\svd_reload

silencer_smoke_particles 	= weapons\generic_shoot_00
snd_silncer_shot			= weapons\sr25_silent

;------------------------------------------------------------------------------------------
 
hit_probability_gd_novice	= 0.80				; точность стрельбы, 
hit_probability_gd_stalker	= 0.85				; когда оружие в руках НПС
hit_probability_gd_veteran	= 0.90				; в зависимости от уровня
hit_probability_gd_master	= 0.95				; сложности игры

;-----------------------------------------------------------------------------
;-- HUD DESCRIPTION
;-----------------------------------------------------------------------------
[wpn_b94_hud]

allow_inertion		= true

shell_point		= -0.14, -0.03, 0.08
shell_dir		 	= 0.0, 1.0, 0.0

fire_point		 = 0.462,0.0,0.00924
fire_bone           = wpn_body
orientation         = 0, 0, 0
position            = 0, -0.05, 0.03
visual 			 = weapons\b94\wpn_b94_hud.ogf

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

;-----------------------------------------------------------------------------
;смещения HUD для режима приближения
zoom_offset		= -0.127151,0.002,-0.2
zoom_rotate_x		= 0.0
zoom_rotate_y		= 0.0

;-----------------------------------------------------------------------------
;прячем перекрестие прицела в зуме
zoom_hide_crosshair		= true

;время поворота HUD (сек)
zoom_rotate_time		= 0.5
rotate_time			= 0.5

