; Автоматическая винтовка SIG SG-550
;-(TrickSR, Gaz1k)-----------------------------------------
; калибр 					5.56x45 мм
; длина ствола 				528 мм
; магазин					10/20/30
; вес без магазина				4.10
; максимальная дальность стрельбы		4900 м
; эффективная дальность стрельбы		550 м
; прицельная дальность			---
; дульная скорость пули			930 м/с
; темп стрельбы				700 в/с
;---------------------------------------------------
[wpn_sig550]:weapon_probability,default_weapon_params,wpn_sig550_sounds
GroupControlSection			= spawn_group
$spawn					= "weapons\sig550"
$npc					= on
$prefetch					= 8
scheduled					= off
cform					= skeleton
class					= WP_AK74
description				= st_wpn_sig550_descr

scopes 					= ac10632, ac11090, acog, eot, c-more
parent_section  				= wpn_sig550

ef_main_weapon_type			= 2
ef_weapon_type				= 6

inv_name					= st_wpn_sig550
inv_name_short				= st_wpn_sig550

inv_grid_width				= 5
inv_grid_height				= 2
inv_grid_x					= 45
inv_grid_y					= 18

upgr_icon_x				= 600
upgr_icon_y				= 700
upgr_icon_width				= 300
upgr_icon_height 				= 100

kill_msg_x					= 80
kill_msg_y					= 59
kill_msg_width				= 87
kill_msg_height				= 24

cost					= 9000
weapon_class				= assault_rifle
inv_weight				= 4.1
hud					= wpn_sig550_hud
visual					= dynamics\weapons\wpn_sig550\wpn_sig550.ogf

upgrades					= up_gr_firstab_sig550, up_gr_seconab_sig550, up_gr_thirdab_sig550, up_gr_fourtab_sig550, up_gr_fifthab_sig550
installed_upgrades				=
upgrade_scheme				= upgrade_scheme_sig550

ph_mass					= 4

ammo_class				= ammo_5.56x45_ss190, ammo_5.56x45_ap

startup_ammo				= 90
ammo_current				= 120
ammo_elapsed				= 30
ammo_limit				= 140
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.37
;hit_impulse				= 10
hit_type					= fire_wound
fire_distance				= 4900
bullet_speed				= 930
rpm					= 700
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.003
misfire_end_prob	 			= 0.045
condition_shot_dec				= 0.0004
condition_queue_shot_dec			= 0.0008

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

fire_dispersion_base				= 0.21
fire_dispersion_condition_factor		= 7
control_inertion_factor			= 1.5f
crosshair_inertion				= 7.25

cam_return				= 0
cam_relax_speed				= 5
cam_relax_speed_ai				= 360
cam_dispersion				= 0.5
cam_dispersion_inc				= 0.25
cam_dispersion_frac				= 1.0
cam_max_angle				= 50.0
cam_max_angle_horz			= 50.0
cam_step_angle_horz			= 1.5

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			= 0.7
zoom_cam_max_angle			= 50.0
zoom_cam_max_angle_horz			= 50.0
zoom_cam_step_angle_horz			= 1.3

PDM_disp_base 				= 0.5
PDM_disp_vel_factor 			= 2.0
PDM_disp_accel_factor 			= 2.0
PDM_disp_crouch	 			= 1.0
PDM_disp_crouch_no_acc 			= 1.0

min_radius				= 30
max_radius				= 50

holder_range_modifier			= 1.0
holder_fov_modifier				= 1.0

slot					= 2
animation_slot				= 2

;normal					= 0, 1, 0
;direction					= 0, 0, 1

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

fire_point					= 0, 0.137,0.649
fire_point2				= 0, 0.097, 0.722

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

shell_point				= -0.02,0.167,0.082
shell_dir					= 0, 0, 0.4
shell_particles				= weapons\556x45

strap_position				= -0.26,-0.11,0.25
strap_orientation				= -15,-9,110
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				= 2
grenade_launcher_status			= 2

zoom_enabled				= true
zoom_rotate_time				= 0.2
scope_zoom_factor				= 63.3

scopes_sect				= scope_susat_sig550, scope_susat_x1.6_sig550, scope_susat_custom_sig550, scope_susat_dusk_sig550, scope_susat_night_sig550

grenade_launcher_name			= wpn_addon_grenade_launcher_m203
grenade_launcher_x				= 118
grenade_launcher_y				= 30

silencer_name				= sil_nato
silencer_x					= 217
silencer_y					= 21

silencer_hit_power				= 0.35
;silencer_hit_impulse				= 10
silencer_fire_distance				= 870
silencer_bullet_speed				= 290
	
;silencer_flame_particles			= weapons\generic_weapon01
silencer_smoke_particles			= weapons\generic_shoot_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

[wpn_sig550_hud]:hud_base
zoom_hide_crosshair			= true
attach_place_idx				= 0
item_visual				= dynamics\weapons\wpn_sig550\wpn_sig550_hud

hands_position				= -0.064,-0.18,0.1355
hands_orientation				= 0.55,2.4,0.15

hands_position_16x9			= -0.064,-0.18,0.1355
hands_orientation_16x9			= 0.55,2.4,0.15

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

aim_hud_offset_pos				= -0.0885,0.0785,-0.12
aim_hud_offset_rot				= 0.043,0.0092,-0.01

aim_hud_offset_pos_16x9 			= -0.0885,0.0785,-0.12
aim_hud_offset_rot_16x9 			= 0.043,0.0092,-0.01

shell_point				= 0,0,0
shell_dir       				= 0,1,0
shell_bone				= gilza

fire_point				= 0,0,0
fire_bone      				= muzzle
fire_point2				= 0,0,0
fire_bone2				= muzzle_gl

anm_show             				= sg550_draw
anm_hide             				= sg550_holster
anm_idle             				= sg550_idle
anm_idle_sprint         			= sg550_sprint
anm_idle_moving 				= sg550_move
anm_idle_moving_crouch			= sg550_crouch
anm_shots               			= sg550_shoot, shoot
anm_reload      				= sg550_reload_empty, reload_empty
anm_idle_aim           			= sg550_aim
anm_bore				= sg550_aim
anm_switch              			= sg550_switch_off
anm_switch_g            			= sg550_switch_on
anm_hide_w_gl           			= sg550_holster_w_gl
anm_show_w_gl           			= sg550_draw_w_gl
anm_idle_w_gl           			= sg550_idle_w_gl
anm_shots_w_gl          			= sg550_shoot_w_gl, shoot
anm_reload_w_gl   			= sg550_reload_empty_w_gl, reload_empty
anm_idle_moving_crouch_w_gl 		= sg550_crouch_w_gl
anm_idle_w_gl_aim       			= sg550_aim_w_gl
anm_idle_sprint_w_gl	 		= sg550_sprint_w_gl
anm_idle_moving_w_gl	 		= sg550_move_w_gl
anm_bore_w_gl			 	= sg550_aim_w_gl
anm_show_g         				= sg550_draw_g
anm_hide_g         				= sg550_holster_g
anm_idle_g         				= sg550_idle_g
anm_reload_g       				= sg550_reload_g, reload_g
anm_idle_g_aim     				= sg550_aim_g
anm_shots_g        				= sg550_shoot_g, shoot_g
anm_idle_sprint_g				= sg550_sprint_g
anm_idle_moving_g				= sg550_move_g
anm_idle_moving_crouch_g			= sg550_crouch_g
anm_bore_g				= sg550_aim_g

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

[scope_susat_sig550]
scope_name 				= wpn_addon_scope_susat
scope_x                     			= 70
scope_y                     			= -2

[scope_susat_x1.6_sig550]
scope_name 				= wpn_addon_scope_susat_x1.6
scope_x                     			= 70
scope_y                     			= -2

[scope_susat_custom_sig550]
scope_name 				= wpn_addon_scope_susat_custom
scope_x                     				= 70
scope_y                     				= -2

[scope_susat_dusk_sig550]
scope_name 				= wpn_addon_scope_susat_dusk
scope_x                     				= 70
scope_y                     				= -2

[scope_susat_night_sig550]
scope_name 				= wpn_addon_scope_susat_night
scope_x                     				= 70
scope_y                     				= -2
;-----------------------------------------------------------------------------
; Аддоны
;-----------------------------------------------------------------------------
[wpn_sig550_ac10632]:wpn_sig550
$spawn             				= "weapons\sig550_ac10632"
visual					= dynamics\weapons\wpn_sig550\wpn_sig550_ac10632.ogf
hud					= wpn_sig550_ac10632_hud

inv_weight				= 4.215
inv_grid_x					= 50
scope_zoom_factor				= 58.3

[wpn_sig550_ac10632_hud]:wpn_sig550_hud
item_visual            	 			= dynamics\weapons\wpn_sig550\wpn_sig550_ac10632_hud.ogf

aim_hud_offset_pos				= -0.08865,0.0785,-0.12
aim_hud_offset_rot			 	= 0.0657,0.0092,-0.01

aim_hud_offset_pos_16x9 			= -0.08865,0.0785,-0.12
aim_hud_offset_rot_16x9		 	= 0.0657,0.0092,-0.01

[wpn_sig550_ac11090]:wpn_sig550
$spawn             				= "weapons\sig550_ac11090"
visual					= dynamics\weapons\wpn_sig550\wpn_sig550_ac11090.ogf
hud					= wpn_sig550_ac11090_hud

inv_weight				= 4.35
inv_grid_x					= 55
scope_zoom_factor				= 43.3

[wpn_sig550_ac11090_hud]:wpn_sig550_hud
item_visual            	 			= dynamics\weapons\wpn_sig550\wpn_sig550_ac11090_hud.ogf

aim_hud_offset_pos				= -0.0885,0.0595,-0.12
aim_hud_offset_rot				= 0.0425,0.0085,-0.01

aim_hud_offset_pos_16x9 			= -0.0885,0.0595,-0.12
aim_hud_offset_rot_16x9 			= 0.0425,0.0085,-0.01

[wpn_sig550_acog]:wpn_sig550
$spawn					= "weapons\sig550_acog"
hud					= wpn_sig550_acog_hud

inv_weight				= 4.450
inv_grid_x					= 60

scope_status				= 1
scope_texture				= wpn_crosshair_acog
scope_zoom_factor				= 25
zoom_rotate_time				= 0.3

[wpn_sig550_acog_hud]:wpn_sig550_ac11090_hud
item_visual            	 			= dynamics\weapons\wpn_sig550\wpn_sig550_hud.ogf

[wpn_sig550_eot]:wpn_sig550
$spawn					= "weapons\sig550_eot"
visual					= dynamics\weapons\wpn_sig550\wpn_sig550_eot.ogf
hud					= wpn_sig550_eot_hud

inv_weight				= 4.40
inv_grid_x					= 65
scope_zoom_factor				= 53.3

[wpn_sig550_eot_hud]:wpn_sig550_hud
item_visual				= dynamics\weapons\wpn_sig550\wpn_sig550_eot_hud.ogf

aim_hud_offset_pos				= -0.0885,0.0552,-0.12
aim_hud_offset_rot				= 0.043,0.0095,-0.01

aim_hud_offset_pos_16x9 			= -0.0885,0.0552,-0.12
aim_hud_offset_rot_16x9 			= 0.043,0.0095,-0.01

[wpn_sig550_c-more]:wpn_sig550
$spawn					= "weapons\sig550_c-more"
visual					= dynamics\weapons\wpn_sig550\wpn_sig550_c-more.ogf
hud					= wpn_sig550_c-more_hud

inv_weight				= 4.28
inv_grid_x					= 70
scope_zoom_factor				= 58.3

[wpn_sig550_c-more_hud]:wpn_sig550_hud
item_visual				= dynamics\weapons\wpn_sig550\wpn_sig550_c-more_hud.ogf

aim_hud_offset_rot	 			= 0.06525,0.0092,-0.01
aim_hud_offset_rot_16x9 			= 0.06525,0.0092,-0.01
;-----------------------------------------------------------------------------
; Уникальные
;-----------------------------------------------------------------------------
[wpn_sig550_luckygun]:wpn_sig550
$spawn					= "weapons\wpn_sig550_luckygun"
visual					= dynamics\weapons\wpn_sig551\wpn_sig551.ogf
description				= st_wpn_sig551_descr
inv_name					= st_wpn_sig551
hud					= wpn_sig551_lucky_hud

cost 					= 20000
inv_weight				= 3.40

inv_grid_width				= 6
inv_grid_height				= 2
inv_grid_x					= 65
inv_grid_y					= 34

upgr_icon_x				= 1750
upgr_icon_y				= 1050

ammo_current				= 60
ammo_elapsed				= 30
ammo_limit				= 70
ammo_mag_size				= 30

fire_dispersion_base				= 0.012

scope_status            				= 1
grenade_launcher_status            		= 0

hud                     				= wpn_sig551_lucky_hud

silencer_x					= 246
silencer_y					= 17

scope_texture				= wpn_crosshair_mark4
scope_zoom_factor				= 12

[wpn_sig551_lucky_hud]:wpn_sig550_hud
item_visual				= dynamics\weapons\wpn_sig551\wpn_sig551_hud.ogf

fire_point					= 0,0,0.15

hands_position				= -0.044,-0.18,0.1355
hands_position_16x9			= -0.044,-0.18,0.1355

aim_hud_offset_pos				= -0.1085,0.0585,-0.12
aim_hud_offset_pos_16x9 			= -0.1085,0.0585,-0.12
