[wpn_akms]:identity_immunities
$spawn                   	= "weapons\ak47"
$npc                     	= on
$prefetch 		         	= 8
scheduled                	= off
cform                    	= skeleton
class                    	= WP_AK74
min_radius               	= 0
max_radius               	= 100

inv_name	        		= АКМС
inv_name_short				= АКМС
description					= desc_wpn_akms

upg = nil
upg_last = nil

cost						= 12000
inv_weight					= 3.8

visual                   	= weapons\akms\wpn_akms.ogf

ef_main_weapon_type			= 2
ef_weapon_type				= 6

holder_range_modifier		= 1
holder_fov_modifier			= 1

hand_dependence		     	= 1
single_handed				= 0

sprint_allowed				= true

slot 			         	= 2
animation_slot			 	= 2

inv_grid_width				= 5
inv_grid_height				= 2
inv_grid_x					= 34
inv_grid_y					= 35

kill_msg_x					= 0
kill_msg_y					= 28
kill_msg_width				= 84
kill_msg_height				= 28

ammo_limit		         	= 210
ammo_current		     	= 90
ammo_elapsed		     	= 30

ph_mass						= 5


;-----Ballistics, Handling & Accuracy-----;
hit_power                	= 0.90, 0.78, 0.82, 0.84		; size of damage by bullet
hit_impulse		        	= 200
hit_type 					= fire_wound

fire_distance            	= 1000
bullet_speed				= 715
rpm                      	= 660

ammo_mag_size				= 30
ammo_class					= ammo_7.62x39_fmj, ammo_7.62x39_ap 
fire_modes					= 1, -1
	
tri_state_reload			= off


silencer_hit_power       	= 0.60
silencer_hit_impulse	 	= 135
silencer_fire_distance   	= 150
silencer_bullet_speed	 	= 540

;-----------------------------------------------------------------------------------
;params of weapon recoil 
dispersion_start		= 2
fire_dispersion_base		= 0.055
control_inertion_factor		= 1.09f
handling_factor				= 1.00
use_aim_bullet				= true		;Поддерживается ли первая суппер пуля
time_to_aim					= 1.0	

cam_relax_speed        	 	= 5.0
cam_relax_speed_ai      	= 360
cam_dispersion         	 	= 0.55
cam_step_angle_horz			= 1.50
cam_dispersion_inc			= 0.15
cam_dispertion_frac			= 0.50
cam_max_angle				= 10.0
cam_max_angle_horz			= 20.0

fire_dispersion_condition_factor 	= 2.000
misfire_probability 				= 0.0002
misfire_condition_k					= 0.15
condition_shot_dec 					= 0.00008
;-----------------------------------------------------------------------------------

PDM_disp_base 				= 2.00
PDM_disp_vel_factor 		= 0.75
PDM_disp_accel_factor 		= 1.75
PDM_crouch	 				= 0.50
PDM_crouch_no_acc 			= 0.50
;-----Sights & Attachments-----;
;--Scope & Sight--
zoom_enabled				= true

scope_status				= 2
scope_name 					= wpn_addon_scope
scope_x 					= 42
scope_y 					= 1

scope_zoom_factor = 70;	    	= 90.0
;max_zoom_factor			= 5
;scope_texture				= wpn\wpn_crosshair_g36

;--Silencer--
silencer_status				= 2

silencer_name  				= wpn_addon_sil_762
silencer_x 					= 195
silencer_y 					= 14

;--Grenade Launcher--
grenade_launcher_status		= 2
grenade_vel					= 75
grenade_class				= ammo_vog-25, ammo_vog-25p	, ammo_vog2box, ammo_vogbox	
launch_speed				= 75

grenade_launcher_name 		= wpn_addon_grenade_launcher
grenade_launcher_x 			= 105
grenade_launcher_y 			= 18


;-----Sounds, Particles, Muzzleflash & Miscellaneous-----;

snd_draw					= weapons\ak_draw
snd_holster					= weapons\ak_holster
snd_shoot			        = weapons\ak47\shot
snd_empty					= weapons\empty
snd_reload				    = weapons\ak47\ak47_reload
snd_shoot_grenade			= weapons\gp25_shot
snd_reload_grenade			= weapons\gp25_reload
snd_switch					= weapons\gp25_switch
snd_silncer_shot		    = weapons\ak47\ak47_silent
light_color					= 0.6,0.5,0.3
light_range					= 5
light_var_color				= 0.05
light_var_range				= 0.5
light_time 					= 0.2

silencer_light_color		= 0.6,0.5,0.3
silencer_light_range		= 0.01
silencer_light_var_color	= 0.05
silencer_light_var_range	= 0.5
silencer_light_time 		= 0.2

flame_particles				= weapons\generic_shoot_00
smoke_particles				= weapons\generic_shoot_00
grenade_flame_particles		= weapons\generic_weapon01
silencer_smoke_particles 	= weapons\generic_shoot_00

shell_point		 			= 0,0.236,0.142
shell_particles	 			= amik\weapons\ak_shells_r

position         	    	= -0.026,-0.172,0
orientation              	= 0, 0, 0

fire_point               	= 0,0.216,0.566
fire_point2            		= 0,0.17,0.463

strap_position         		= -0.16,-0.40,0.15
strap_orientation      		= -10,-5,10
strap_bone0					= bip01_spine2
strap_bone1					= bip01_spine1


hud                      	= wpn_akms_hud
[wpn_akms_hud]
allow_inertion				= true
shell_point					= 0,0,-0.6
shell_dir			     	= 0.0, 1.0, 0.0

fire_point               	= 0,0,-0.5
fire_bone                	= muzzle
grenade_bone           		= wpn_grenade
orientation              	= 0, 0, 0
position                	= 0.10,-0.06,-0.05
visual                   	= weapons\akms\wpn_akms_hud.ogf

anim_idle					= idle
anim_idle_aim				= idle_aim
anim_reload					= reload
anim_draw					= draw
anim_holster				= holster
anim_shoot					= shoot

; attached grenade launcher [NORMAL fire mode]
anim_idle_gl				= idle_w_gl
anim_idle_gl_aim			= idle_w_gl_aim
anim_reload_gl				= reload_w_gl
anim_draw_gl				= draw_w_gl
anim_holster_gl				= holster_w_gl
anim_shoot_gl				= shoot_w_gl
anim_idle_sprint			= idle_sprint

anim_idle_g					=  idle_grenade
anim_idle_g_aim				= idle_grenade
anim_reload_g				= reload_grenade
anim_shoot_g				= idle_grenade ;shoot_grenade
anim_switch_grenade_on		= grenade_on
anim_switch_grenade_off		= grenade_off
anim_draw_g					= draw_grenade
anim_holster_g				= holster_grenade
			
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

zoom_offset			= -0.100000,0.063050,-0.091000
zoom_rotate_x		= 0.000000
zoom_rotate_y		= -0.000000

zoom_hide_crosshair	= true

grenade_normal_zoom_offset			= -0.100000,0.063050,-0.091000
grenade_normal_zoom_rotate_x		= 0.000000
grenade_normal_zoom_rotate_y		= -0.000000


grenade_zoom_offset			= -0.077500,0.058000,0.000000
grenade_zoom_rotate_x		=  -0.005000
grenade_zoom_rotate_y		= -0.026710

