;;;;;;;;;;;;;;;;;;;;;;
[wpn_val]:identity_immunities
GroupControlSection			= spawn_group
discovery_dependency 		= 
$spawn                  	= "weapons\val"					; option for Level Editor
$npc			 			= on				; option for Level Editor
$prefetch 					= 8
scheduled            		= off              ; option for ALife Simulator
cform                		= skeleton
class                		= WP_VAL
min_radius					= 30
max_radius					= 100
description					= enc_weapons1_wpn-val

ef_main_weapon_type			= 2
ef_weapon_type				= 6

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

cost		 	 		= 12800		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 14000	
weapon_class				= assault_rifle

ammo_limit				= 210
ammo_current				= 180
ammo_elapsed				= 20
	
ammo_mag_size				= 20
ammo_class		 		= ammo_9x39_pab9, ammo_9x39_sp5, ammo_9x39_ap  
fire_modes				= 1, 3, -1
		
hand_dependence		 		= 1
single_handed				= 0
	
slot 				 	= 2		; // secondary
animation_slot		 		= 2		; type of the animation that will be used

inv_name	         		= wpn-val
inv_name_short		 		= wpn-val
inv_weight		 		= 2.7

inv_grid_width				= 4
inv_grid_height				= 2
inv_grid_x				= 15
inv_grid_y				= 4

kill_msg_x				= 0
kill_msg_y				= 154
kill_msg_width				= 78
kill_msg_height				= 21

;-----------------------------------------------------------------------------------
;базовая дисперсия
fire_dispersion_base		= 0.20		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 0.14	
control_inertion_factor		= 1.61f		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 1.04f


cam_relax_speed         	= 5.9		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS 		
cam_dispersion          	= 0.4		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS 			
cam_dispersion_inc		= 0.3		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS 		
cam_dispertion_frac		= 0.1		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - 0.98		
cam_max_angle			= 1.00		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - 1.215		
cam_max_angle_horz		= 3.00		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - 2.43		
cam_step_angle_horz		= 0.3		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - 0.7		

;отдача
;cam_relax_speed         	= 5	;скорость возврата в исходное положение
;cam_dispersion          	= 0.3	;увеличения угла (в градусах) с каждым выстрелом
;cam_dispersion_inc		= 0.05	;увеличениe cam_dispersion с каждым выстрелом
;cam_dispertion_frac		= 1.0	;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- cam_dispersion*(1-cam_dispertion_frac)
;cam_max_angle			= 7.0	;максимальный угол отдачи
;cam_max_angle_horz		= 10.0	;(degree) maximum shot horizontal degree 
;cam_step_angle_horz		= 0.5;0.4	;(degree) size of step camera moved in horizontal position while shooting

fire_dispersion_condition_factor = 5	;увеличение дисперсии в процентах при максимальном износе 
misfire_probability 		= 0.005		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 0.015	
misfire_condition_k		= 0.05
condition_shot_dec 		= 0.0002 
;-----------------------------------------------------------------------------------


direction            	    	= 0, 0, 1

fire_point           	    	= 0.0, 0.174, 0.562

smoke_particles			= weapons\generic_shoot_00
snd_shoot			= weapons\Needle_medium, 0.1	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - weapons\tm_val_shot_0   
snd_shoot1			= weapons\Needle_medium, 0.1	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - weapons\tm_val_shot_1
snd_shoot2			= weapons\Needle_medium, 0.1	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - weapons\tm_val_shot_2
snd_shoot3			= weapons\Needle_medium, 0.1	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - weapons\tm_val_shot_3

shell_point		= 0.0, 0.174, 0.078
shell_dir		= 0.0, 1.0, 0.0
;shell_particles	= weapons\generic_shells			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE

rpm_empty_click 			= 200

PDM_disp_base 			= 1.0
PDM_disp_vel_factor 		= 1.0		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 1.2
PDM_disp_accel_factor 		= 1.0		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 1.2
PDM_crouch	 		= 1.0
PDM_crouch_no_acc 		= 1.0

; ttc
hit_power        		= 0.61, 0.64, 0.68, 0.71	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - 0.69, 0.72, 0.75, 0.78	
hit_impulse		 	= 149				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 87
hit_type 		 	= strike			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - fire_wound
fire_distance   	    	= 180				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - 150				
bullet_speed			= 290				
rpm             		= 600				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - 750				
; end ttc

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

hud             	        = wpn_val_hud
normal          	        = 0, 1, 0

;----------------------------------------------------------
position        	        = -0.026, -0.131, 0.0
orientation     	        = 0, 0, 0

;--STRAP PARAMETERS-----------------------------------------------------------------
;под мишкой
strap_position         		= -0.26,-0.11,0.25			; position (offset) and orientation of the weapon when it is strapped
strap_orientation      		= -15,-9,110				; (3rd person view in degrees)
strap_bone0			= bip01_spine2
strap_bone1			= bip01_spine1

startup_ammo    	        = 90
visual          	        = weapons\val\wpn_val.ogf

light_disabled				= true

ph_mass			 		= 3
;cost			 		= 2100

;addons
scope_status				= 2	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 0 = never, 1 = integrated, 2 = optional
silencer_status				= 1	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 0 = never, 1 = integrated, 2 = optional
grenade_launcher_status			= 0	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 0 = never, 1 = integrated, 2 = optional

zoom_enabled				= true
scope_zoom_factor	    		= 40	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 30 = 2x, 20 = 3X, 15 = 4x, 10 = 6x

scope_name 				= wpn_addon_scope
scope_texture				= wpn\wpn_crosshair
scope_x 				= 37						; offset in inventory icon
scope_y 				= 0
;звуки
snd_draw					= weapons\generic_draw
snd_holster					= weapons\generic_holster
snd_empty					= weapons\gen_empty, 0.5
snd_reload					= weapons\Needle_medium_stealth_reload, 0.7, 0.5 ;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - NEEDLE - weapons\val_reload, 0.7, 0.5
snd_close					= weapons\generic_close

 
[wpn_val_hud]
shell_point			= -0.030000,-0.020000,0.050000
shell_dir		 	= 0.0, 1.0, 0.0

fire_point       	        = 0.200000,0.020000,0.060000
fire_bone        	        = wpn_body
orientation      	        = 0, 0, 0
position         	        = 0, 0, 0
visual           	        = weapons\val\wpn_val_hud.ogf

anim_idle			= idle
anim_reload			= reload
anim_draw			= draw
anim_holster			= holster
anim_shoot			= shoot1
anim_idle_aim			= idle_aim
anim_idle_sprint		= idle_sprint

;смещения HUD для режима приближения
zoom_offset			= -0.132450,0.054700,-0.080700
zoom_rotate_x		= 0.024500
zoom_rotate_y		= 0.017200

