[wpn_ak74u]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency	= 
$spawn              	= "weapons\ak-74u"	; name and section in level editor
$npc					= on				
$prefetch 				= 8
scheduled				= off               ;[] option for ALife Simulator
cform               	= skeleton
class               	= WP_LR300			; class of the weapon that corresponding to CPP class
min_radius          	= 30				; [] for AI
max_radius          	= 100				; [] for AI
description				= enc_weapons1_wpn-ak74u
	
ef_main_weapon_type		= 2
ef_weapon_type			= 6

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


cost				= 5800			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 5000	
weapon_class			= assault_rifle		; the type of the box that will be used in buy-menu in multiplayer mode	
	
ammo_limit			= 210			; obsolete
ammo_elapsed			= 30			; obsolete
	
ammo_mag_size			= 40			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 30
fire_modes			= 1, 3, -1

ammo_class			= ammo_5.45x39_fmj, ammo_5.45x39_ap   ; name of the ltx-section of used ammo 

hand_dependence			= 1			; how many hands (1 or 2) we used to hold weapon in
single_handed			= 0
	
slot 				= 1			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 2	
animation_slot			= 2			; type of the animation that will be used


inv_name	        	= wpn-ak74u		; name in inventory	
inv_name_short			= wpn-ak74u	
inv_weight			= 2.7			; weight in inventory

inv_grid_width			= 3			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 4	
inv_grid_height			= 2	 		; all icons are on the texture ui_icon_equipment.dds,   
inv_grid_x			= 0  			; position and size are in terms of 64x64 squares
inv_grid_y			= 16

kill_msg_x			= 0
kill_msg_y			= 123
kill_msg_width			= 69
kill_msg_height			= 30

;-----------------------------------------------------------------------------------
; base dispersion
;
; === Setting of the weapon shooting dispersal parameter ===
;Dispersal consists from to basic constituents - dispersal of the weapon (relatively small). In fact, this is a dispersal of a weapon griped in a vice; - dispersal of the weapon behavior in the hands of the host (if he running, or walking or shoots in single shots or in a burst) is another, more significant factor of dispersal. 
;Dispersal of the weapon depends only from basic dispersal, basket case factor ant time of the ammo.
;Dispersal of the way the host shooting (standing, running and etc.)
;Two types of shooting modes can be defined: - usual mode and zoomed mode.  
;Usual mode: - depends from the position of the player while shooting (standing, sitting, walking and running)
;Zoomed mode - depends from the dispersal of the weapon and do NOT depends from the position of the shooter. In that mode, dispersal of the weapon &laquo switches to;&raquo;  sight swinging (created be effector). 
;Weapon recoil in the game also created by recoil effector. 
;
;-----------------------------------------------------------------------------------
;params of weapon recoil
fire_dispersion_base			= 0.32			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 0.35
control_inertion_factor			= 1.49f			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 1.09f


cam_relax_speed         	= 5.9		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS  		
cam_dispersion          	= 0.4		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS  			
cam_dispersion_inc		= 0.3		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS 		
cam_dispertion_frac		= 0.98		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS  		
cam_max_angle			= 0.001		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 1.005	
cam_max_angle_horz		= 0.001		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 2.01
cam_step_angle_horz		= 0.7		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS  

;cam_relax_speed         		= 6;0.3		;скорость возврата в исходное положение
;cam_dispersion          		= 0.3		;увеличения угла (в градусах) с каждым выстрелом
;cam_dispersion_inc			= 0.20;0.15	;увеличениe cam_dispersion с каждым выстрелом
;cam_dispertion_frac			= 0.9		;ствол будет подыматься на cam_dispersion*cam_dispertion_frac +- ;cam_dispersion*(1-cam_dispertion_frac)
;cam_max_angle				= 9.0		;максимальный угол отдачи
;cam_max_angle_horz			= 30.0		;(degree) maximum shot horizontal degree 
;cam_step_angle_horz			= 1.25;1.1	;(degree) size of step camera moved in horizontal position while shooting

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

fire_point             		=  0.0, 0.262, 0.447		; position (3rd person view) for particles of fire 
;fire_point2            	=  0.0, 0.262, 0.547		; position (3rd person view) for particles of fire (when shooting with secondary fire)


flame_particles			= weapons\generic_weapon05	
smoke_particles			= weapons\generic_weapon07	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - weapons\generic_shoot_00
snd_shoot			= weapons\Disruptor_small	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - weapons\ak74_shot_0
snd_shoot1			= weapons\Disruptor_small	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - weapons\ak74_shot_1
snd_shoot2			= weapons\Disruptor_small	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - weapons\ak74_shot_2
snd_shoot3			= weapons\Disruptor_small	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - weapons\ak74_shot_3
light_color			= 0.0, 1.0, 0.0			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 0.6,0.5,0.3	
grenade_flame_particles		= weapons\generic_weapon01
	
silencer_flame_particles 	= weapons\generic_weapon01
silencer_smoke_particles 	= weapons\generic_weapon07	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - weapons\generic_shoot_00
snd_silncer_shot		= weapons\Disruptor_small	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - weapons\w_ak74_shot1, 0.5
silencer_light_color		= 0.0, 1.0, 0.0			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 0.6,0.5,0.3


	
shell_point		 	= 0.00, 0.262, 0.189			; position (3rd person view) for shell to throw out
;shell_particles	 	= weapons\generic_shells	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR

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

; ttc
hit_power               		= 0.54, 0.57, 0.60, 0.63	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 0.47, 0.50, 0.53, 0.56
hit_impulse		 		= 136				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 140			
hit_type 				= radiation			;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - fire_wound 	
fire_distance            		= 210				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 320			
bullet_speed				= 800			
rpm                      		= 800				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 700			

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

silencer_hit_power       		= 0.54, 0.57, 0.60, 0.63	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 0.42, 0.45, 0.48, 0.51	
silencer_hit_impulse	 		= 136				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 120				
silencer_fire_distance   		= 260				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 160				
silencer_bullet_speed	 		= 800				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 300				

hud                      	= wpn_ak74u_hud				; name of the section of the hud

position         	        = -0.026,-0.215,0			; position (offset) and orientation of the weapon in the hands of character
orientation      	        = 0,0,0						; (3rd person view)

;--STRAP PARAMETERS-----------------------------------------------------------------
strap_position         		= -0.18,-0.45,0.2			; 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

visual         		        = weapons\ak-74u\ak74u.ogf	; name of the model for 3rd person view


light_range				= 3.0	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 5
light_var_color				= 0.05						
light_var_range				= 0.1	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 0.5
light_time 				= 0.2							


ph_mass					= 3 ;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 5


;addons
scope_status				= 1	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 0 = never, 1 = integrated, 2 = optional
silencer_status				= 2	;<<<<<<<<<<<<<<<<<<<<< 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

; -------------
; R E D   D O T 
; -------------
scope_texture				= wpn\laser_AK74U		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS
scope_name 				= wpn_addon_scope		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS
scope_x 				= 60				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS
scope_y 				= -2				;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS

;scope_name 				= wpn_addon_scope			; section name for the attachable scope
;scope_x 				= 60						; offset in inventory icon
;scope_y 				= -2
silencer_name  				= wpn_addon_silencer			; section name for the attachable silencer
silencer_x 				= 130					;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - 168							; offset in inventory icon
silencer_y 				= 10					;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - -3					
;grenade_launcher_name 			= wpn_addon_grenade_launcher; section name for the attachable grenade launcher
;grenade_launcher_x 			= 112						; offset in inventory icon
;grenade_launcher_y 			= 17

;sounds (name of the sound, volume (0.0 - 1.0), delay (sec))
snd_draw				= weapons\ak74_draw
snd_holster				= weapons\generic_holster
snd_empty				= weapons\gen_empty, 0.5
snd_reload				= weapons\disruptor_assault_2_reload, 0.7, 0.75		;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - weapons\ak74u_reload, 0.7, 0.75
snd_shoot_grenade			= weapons\gen_grenshoot
snd_reload_grenade			= weapons\gen_grenload, 1.0, 0.8
snd_switch				= weapons\groza_switch, 1.0, 0.5


;params when silencer is attached 
;similar to corresponding params without prefix silencer_


silencer_light_range		= 3.0	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 0.01
silencer_light_var_color	= 0.05
silencer_light_var_range	= 0.1	;<<<<<<<<<<<<<<<<<<<<< HOUSE ORDOS - DISRUPTOR - 0.5
silencer_light_time 		= 0.2


;-----------------------------------------------------------------------------
;-- HUD DESCRIPTION
;-----------------------------------------------------------------------------
 
[wpn_ak74u_hud]


;similar to corresponding params in weapon section but for 1st person view

shell_point     	   	= 0.15, 0.0, -0.05
shell_dir			= 0.0, 1.0, 0.0

fire_point			= 0.090000,0.000000,-0.060000
fire_point2              	= 0.30, 0.00, 0.05
fire_bone               	= wpn_body

orientation             	= 0, 0, 0		
position                	= 0, 0, 0
visual                  	= weapons\ak-74u\wpn_ak74u_hud.ogf

;grenade_bone            	= wpn_grenade	; name of the bone in the model for grenade launcher

; animation names

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 offset in zoom mode (to all)
;(use CONSOLE: hud_adjust_mode 0,1,2, then keys WSADQE and P to show current value in console)

zoom_offset		= -0.137700,0.033800,-0.115100
zoom_rotate_x		= -0.005000
zoom_rotate_y		= 0.017900


zoom_hide_crosshair	= true						;to hide crosshair in zoom 