;Охотничий облегчённый арбалет
[wpn_crossbow]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency	 	= 
$spawn          			= "weapons\w_crossbow"
$npc				= on
$prefetch 			= 8
scheduled                  = off
cform           	        = skeleton
class           	        = WP_PM
min_radius      	        = 10
max_radius      	        = 75
description	= enc_weapons_wpn-arb
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
holder_range_modifier  = 1.0
holder_fov_modifier  = 1.0

ef_weapon_type		= 8

cost			= 1800
weapon_class		= sniper_rifle
ammo_limit		= 120
ammo_current		= 96
ammo_elapsed		= 5

ammo_mag_size	= 1
ammo_class		= ammo_arbolt   ;ammo_gauss
f_mode			= 1

;тип анимации 
hand_dependence = 1
single_handed = 0
slot = 2
animation_slot = 2

;иконка в инвентаре
inv_name		= wpn-arb
inv_name_short		= wpn-arb
inv_weight		= 2.44
	
inv_grid_width		= 4
inv_grid_height		= 2
inv_grid_x		= 32  ;29
inv_grid_y		= 22  ;22

kill_msg_x		= 80
kill_msg_y		= 154
kill_msg_width		= 49
kill_msg_height		= 22

;базовая дисперсия
fire_dispersion_base        = 0.021
control_inertion_factor      = 2.2f
disp_rate		 = 1.85

;отдача
cam_relax_speed         		= 2.5
cam_relax_speed_ai        	= 120.75
cam_dispersion        		= 0.22
cam_dispersion_inc		= 0.15
cam_dispertion_frac		= 0.6
cam_max_angle			= 18.0
cam_max_angle_horz		= 20.0
cam_step_angle_horz		= 1.5

fire_dispersion_condition_factor   = 25
misfire_probability 		= 0.05
misfire_condition_k		= 0.05
condition_shot_dec 		= 0.0001

PDM_disp_base 		= 3.5
PDM_disp_vel_factor 		= 1.8
PDM_disp_accel_factor 		= 1.0
PDM_crouch	 		= 1.8
PDM_crouch_no_acc 		= 1.0

;партиклы (от 3 лица)
direction           	    = 0, 0, 1
fire_point          	    = 0.0, 0.104, 0.273

smoke_particles = weapons\generic_shoot_00
shell_point = 0.0, 0.104, 0.03
shell_dir = 0.0, 0.0, 0.4
shell_particles = weapons\generic_shoot_00

;;;;;;  Для Народной солянки 2009
hit_power      = 0.54
hit_impulse    = 8
hit_type       = fire_wound
hit_rate	   = 4.0
fire_distance  = 100
bullet_speed   = 300
rpm            = 60

use_aim_bullet = true
time_to_aim = 0.3   ;0.5
;
rpm_empty_click = 200

;насторойки для камеры от 3 лица
hud              	        = wpn_crossbow_hud
normal           	        = 0, 1, 0
position         	        = -0.021, -0.09, 0.05
orientation      	        = 0, 0, 0

visual = w_cro.ogf
light_disabled = true
ph_mass = 5


;аддоны
scope_status				= 1
silencer_status				= 0
grenade_launcher_status		= 0

;прицел
zoom_enabled = true
zoom_hide_crosshair = true
scope_zoom_factor = 10
scope_texture = wpn\wpn_cro_crosshair

;звуки
snd_draw	= weapons\generic_draw
snd_holster	= weapons\generic_holster, 0.0
snd_shoot	= weapons\crossbow_shoot
snd_empty	= weapons\generic_empty, 0.0
snd_reload	= weapons\crossbow_reload
snd_close	= weapons\generic_close, 0.0

[wpn_crossbow_hud]
shell_point		= 1.0, -0.06, 0.07
fire_point               	= -0.140000,-0.001,0.030000
;fire_bone                	= wpn_body
fire_bone                	= xernyshka
;orientation             	= -13.0, 8.0, 0		
;position                	= 0.07, -0.39, 0.3
orientation             	= 1, 0.5, 0		
position                	= 0.15, -0.41, 0.13
;visual                   	= crossbow.ogf
visual                   	= w_cro_hud.ogf

;анимации
;anim_holster = holster1
anim_holster = holster
anim_idle = idle
anim_empty =empty
anim_reload = reload
anim_reload_empty = reload
anim_draw = draw
anim_draw_empty = draw_empty
anim_shoot = shoot
anim_shot_last = shoot
;anim_close = close
anim_close = holster
anim_idle_aim = idle
anim_idle_sprint	= sprint


zoom_offset		= -0.132600,0.0000,-0.178000
zoom_rotate_x		= -0.009300
zoom_rotate_y		= 0.000600

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(c) eNdimiOn


