[wpn_l85]:identity_immunities,weapon_probability,default_weapon_params
GroupControlSection				= spawn_group
$spawn 					= "weapons\l85"
$npc					= on
$prefetch					= 8
scheduled					= off
cform					= skeleton
class					= WP_AK74
description          	= "Az 5.56x45 mm SA-80 Brit puska, a legsikeresebb az új kézifegyverek rendszerek korunk, már a hadsereg 10 éve, bár a fejlesztés csak két évvel ezelőtt fejeződött be. Ennek a fegyvernek a kis méretét, különösen egy korlátozott helyen, nagyra értékelték a brit katonák, akik részt vettek a Sivatagi Vihar hadműveletben 1991-ben. De sajnos a hiányosságok listája meghaladja a kis pozitív tulajdonságokat."
ef_main_weapon_type			= 2
ef_weapon_type				= 7

inv_name					= "L85A2"
inv_name_short 				= "L85A2"

inv_grid_width				= 5
inv_grid_height				= 2
inv_grid_x 				= 0
inv_grid_y 				= 12

upgr_icon_x				= 300
upgr_icon_y				= 1100
upgr_icon_width				= 300
upgr_icon_height 				= 100

kill_msg_x 				= 84
kill_msg_y 				= 28
kill_msg_width 				= 73
kill_msg_height				= 30

cost					= 5000
weapon_class				= assault_rifle
inv_weight 				= 4.13
hud					= wpn_l85_hud
visual					= dynamics\weapons\wpn_l85\wpn_l85.ogf

;upgrades					= up_gr_firstab_sig550, up_gr_seconab_sig550, up_gr_thirdab_sig550, up_gr_fourtab_sig550, up_gr_fifthab_sig550
upgrades                = up_gr_firstab_l85, up_gr_seconab_l85, up_gr_thirdab_l85, up_gr_fourtab_l85, up_gr_fourtcd_l85, up_gr_fourtef_l85, up_gr_fifthab_l85, up_gr_fifthcd_l85
installed_upgrades				=
upgrade_scheme				= upgrade_scheme_l85		;upgrade_scheme_sig550

ph_mass					= 5

ammo_class				= ammo_5.56x45_ss190, ammo_5.56x45_ap

startup_ammo				= 90
ammo_current				= 180
ammo_elapsed				= 30
ammo_limit				= 210
ammo_mag_size				= 30

fire_modes				= 1, 3, -1

grenade_class				= ammo_m209

grenade_vel 				= 76
launch_speed				= 76
hand_dependence				= 1
single_handed				= 0

hit_power               = 0.75, 0.75, 0.75, 0.75
hit_impulse             = 30
hit_type					= fire_wound
fire_distance				= 4500
bullet_speed				= 940
rpm					= 610
rpm_empty_click				= 200

use_aim_bullet				= true
time_to_aim				= 3.0
misfire_probability				= 0.005
misfire_start_condition			= 0.6
misfire_end_condition			= 0.1
misfire_start_prob	 			= 0.006
misfire_end_prob	 			= 0.077
condition_shot_dec				= 0.000125
condition_queue_shot_dec			= 0.0002

zoom_dof					= 0.5, 1.0, 180
reload_dof					= 0.0, 0.5, 5, 2

fire_dispersion_base				= 0.23
fire_dispersion_condition_factor			= 11
control_inertion_factor			= 1.4f
crosshair_inertion				= 6.20

cam_return				= 0
cam_relax_speed				= 5
cam_relax_speed_ai				= 360
cam_dispersion				= 0.6
cam_dispersion_inc				= 0.3
cam_dispersion_frac				= 1.0
cam_max_angle				= 50.0
cam_max_angle_horz				= 50.0
cam_step_angle_horz				= 2.0

zoom_cam_relax_speed			= 5
zoom_cam_relax_speed_ai			= 360
zoom_cam_dispersion			= 0.4
zoom_cam_dispersion_inc			= 0.2
zoom_cam_dispersion_frac			= 1.0
zoom_cam_max_angle			= 50.0
zoom_cam_max_angle_horz			= 50.0
zoom_cam_step_angle_horz			= 1.8

PDM_disp_base 				= 1.0
PDM_disp_vel_factor 			= 1.5
PDM_disp_accel_factor 			= 1.5
PDM_disp_crouch	 			= 0.8
PDM_disp_crouch_no_acc 			= 0.6

min_radius				= 30
max_radius				= 90

holder_range_modifier			= 1.25
holder_fov_modifier				= 1.00

hit_probability_gd_novice			= 0.55
hit_probability_gd_stalker			= 0.65
hit_probability_gd_veteran			= 0.75
hit_probability_gd_master			= 0.85

slot					= 2
animation_slot				= 8

position					= -0.026, -0.135, 0.0
orientation					= 0, 0, 0

fire_point					= 0.0, 0.186, 0.435
fire_point2					= 0.0, 0.106, 0.468

flame_particles				= amik\weapons\nato_shoot_00
smoke_particles				= amik\weapons\nato_smoke_00
grenade_flame_particles			= weapons\generic_weapon01

shell_point					= -0.020000, 0.167000, 0.082000
shell_dir					= 0.0, 0.0, 0.4
shell_particles				= weapons\556x45

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

light_disabled				= false
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

scope_status				= 0
silencer_status				= 0
grenade_launcher_status			= 0

zoom_enabled				= true
zoom_rotate_time				= 0.25
scope_zoom_factor				= 63.3

scope_texture				= wpn_crosshair_l85
scope_x 					= 60
scope_y 					= -2

grenade_launcher_name 			= wpn_addon_grenade_launcher_m203
grenade_launcher_x 				= 140
grenade_launcher_y 				= 29
	
silencer_name				= wpn_addon_silencer
silencer_x 					= 212
silencer_y 					= 15

hit_power               = 0.75, 0.75, 0.75, 0.75
hit_impulse             = 30
silencer_fire_distance 			= 850
silencer_bullet_speed	 			= 290

silencer_smoke_particles 			= amik\weapons\smoke_particles\silencer_smoke_particles_00

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

snd_draw					= weapons\l85\l85_draw
snd_holster					= weapons\rifle_holster
snd_shoot					= weapons\l85\l85_shoot 
snd_shoot1				= weapons\l85\l85_shoot1 
snd_shoot2				= weapons\l85\l85_shoot2
snd_shoot3				= weapons\l85\l85_shoot3 
snd_empty					= weapons\l85\l85_empty,	0.7
snd_reload					= weapons\l85\l85_reload
snd_shoot_grenade				= weapons\m203\M203_grenshoot
snd_reload_grenade				= weapons\m203\M203_reload
snd_switch				= weapons\m203\M203_switch
snd_silncer_shot				= weapons\l85\l85_shot_sil

[wpn_l85_hud]:hud_base
zoom_hide_crosshair 				= true
attach_place_idx				= 0
item_visual				= dynamics\weapons\wpn_l85\wpn_l85_hud.ogf

hands_position				= -0.062,-0.2,0.2655
hands_orientation				= 1.5,3.0,-0.85

hands_position_16x9				= -0.062,-0.2,0.2655
hands_orientation_16x9			= 1.5,3.0,-0.85

item_position				= 0,0,0
item_orientation				= 0,0,0

aim_hud_offset_pos 				= -0.0955,0.063,-0.2
aim_hud_offset_rot 				= 0.047,0.0265,-0.0145

aim_hud_offset_pos_16x9 			= -0.0955,0.063,-0.2
aim_hud_offset_rot_16x9 			= 0.047,0.0265,-0.0145

shell_point					= 0.02,0.06,-0.019
shell_dir					= 0,1,0
shell_bone					= wpn_body

fire_point					= 0,0.071272,0.402523
fire_bone					= wpn_body
fire_point2					= 0.0,-0.029,0.525
fire_bone2					= wpn_body

anm_show                				= lancew_l85a2_draw
anm_hide                				= lancew_l85a2_holster
anm_idle                				= lancew_l85a2_idle
anm_idle_sprint         				= lancew_l85a2_sprint
anm_idle_moving         			= lancew_l85a2_moving
anm_shots               				= lancew_l85a2_shoot, shoot
anm_reload              				= lancew_l85a2_reload, reload
anm_idle_aim            				= lancew_l85a2_idle_aim, idle_aim
anm_bore                				= lancew_l85a2_no_reload

gl_hud_offset_pos				= 0,0,0
gl_hud_offset_rot				= 0,0,0

gl_hud_offset_pos_16x9			= 0,0,0
gl_hud_offset_rot_16x9			= 0,0,0

lean_hud_offset_pos				= 0,0,0
lean_hud_offset_rot				= 0,0,0
