[wpn_famas]:identity_immunities
GroupControlSection		= spawn_group
discovery_dependency 		= 
$spawn                   	= "weapons\famas_g2"
$npc                     	= on
$prefetch 		         	= 8
scheduled                	= off
cform                    	= skeleton
class                    	= WP_LR300
min_radius               	= 0
max_radius               	= 100

inv_name	        		= ars-famas_p3
inv_name_short				= ars-famas_p3
description					= enc_arsenal_famas_p3

upg = nil
upg_last = nil

cost						= 25000
inv_weight					= 3.7

visual                   	= weapons\famas\wpn_famas.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			 	= 8

inv_grid_width				= 5
inv_grid_height				= 2
inv_grid_x					= 26
inv_grid_y					= 6

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.86
hit_impulse		        	= 205
hit_type 					= fire_wound

fire_distance            	= 400
bullet_speed				= 950
rpm                      	= 800

ammo_mag_size				= 30
ammo_class					= ammo_5.56x45_ss190, ammo_5.56x45_ap, ammo_5.56x45_he

fire_modes					= 1, 3, -1
	
tri_state_reload			= off

;-----------------------------------------------------------------------------------
;params of weapon recoil
fire_dispersion_base			= 0.015		;угол (в градусах) базовой дисперсии оружия (оружия зажатого в тисках)
control_inertion_factor			= 1.25f

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

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

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_susat
scope_x 					= 85
scope_y 					= -14

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

;--Silencer--
silencer_status				= 2

silencer_name  				= wpn_addon_silencer
silencer_x 					= 190
silencer_y 					= 16

;--Grenade Launcher--
grenade_launcher_status		= 0
grenade_vel					= 75
grenade_class				= ammo_vog-25, ammo_vog-25p
launch_speed				= 75

grenade_launcher_name 		= wpn_addon_grenade_launcher
grenade_launcher_x 			= 110
grenade_launcher_y 			= 17


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

snd_draw			= weapons\draw
snd_holster			= weapons\holster
snd_shoot			= weapons\famas_shot
snd_empty			= weapons\empty
snd_reload			= weapons\famas_reload, 0.5
snd_silncer_shot		= weapons\smg_silent2

rpm_empty_click 	 		= 200

light_disabled				= false

light_color					= 1.0,1.0,0.4
light_range					= 1.0
light_var_color				= 0.0
light_var_range				= 0.5
light_time 					= 0.1

silencer_light_color		= 0.0,0.0,0.0
silencer_light_range		= 0.00
silencer_light_var_color	= 0.00
silencer_light_var_range	= 0.0
silencer_light_time 		= 0.0

flame_particles				= weapons\generic_weapon05
smoke_particles				= weapons\generic_shoot_00

silencer_smoke_particles 	= weapons\generic_shoot_00

shell_point		 			= 0.0,0.235,-0.158
shell_dir		 			= 0.0, 1.0, 0.0
shell_particles	 			= weapons\generic_shells

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

direction                	= 0, 0, 1

fire_point               	= 0.0,0.216,0.395

weapon_remove_time			= 1000

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


hud                      	= wpn_famas_hud
[wpn_famas_hud]
shell_point          		= -0.,-0.1, -0.8
shell_dir			 		= 0.0, 0.0, 0.0

fire_point               	= 0,0,-0.54
fire_bone                	= muzzle
orientation              	= 0, 0, 0
position                	= 0.10,-0.04,0.1
visual                   	=  weapons\famas\wpn_famas_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

zoom_hide_crosshair			= true
zoom_rotate_time			= 0.30
zoom_offset					= -0.10,0.04,-0.1
zoom_rotate_x				= 0.0
zoom_rotate_y				= 0.0
