[wpn_mdr]:weapon_probability,default_weapon_params,wpn_mdr_sounds
$npc                                               = on
$prefetch                                          = 8
$spawn                                             = "weapons\mdr"
ammo_class                                         = ammo_7.62x51_fmj, ammo_7.62x51_ap
ammo_current                                       = 180
ammo_elapsed                                       = 30
ammo_limit                                         = 210
ammo_mag_size                                      = 25
ammo_mag_size_ui                                   = 25
animation_slot                                     = 2
bullet_speed                                       = 895
block_bore										   = true
cam_return										   = 0
cam_relax_speed         						   = 9      ;скорость возврата в исходное положение
cam_relax_speed_ai     							   = 120.75
cam_dispersion         							   = 0.65	;увеличения угла (в градусах) с каждым выстрелом
cam_dispersion_inc     							   = 0.4    ;увеличениe cam_dispersion с каждым выстрелом
cam_dispersion_frac    							   = 1.0    ;ствол будет подыматься на cam_dispersion*cam_dispersion_frac +- cam_dispersion*(1-cam_dispersion_frac)
cam_max_angle          							   = 50.0    ;максимальный угол отдачи
cam_max_angle_horz     							   = 50.0   ;(degree) maximum shot horizontal degree
cam_step_angle_horz    							   = 2.0    ; (degree) size of step camera moved in horizontal position while shooting
cform                                              = skeleton
class                                              = WP_LR300
condition_queue_shot_dec                           = 0.0015
condition_shot_dec                                 = 0.0007
control_inertion_factor                            = 1.0f
cost                                               = 120000
crosshair_inertion                                 = 6.30
description                                        = st_wpn_mdr_descr
ef_main_weapon_type                                = 2
ef_weapon_type                                     = 8
fire_dispersion_base                               = 0.21
fire_dispersion_condition_factor                   = 2
fire_distance                                      = 800
fire_modes                                         = 1, -1
fire_point                                         = 0.000000,0.184,0.35
fire_point2                                        = 0.0, 0.123, 0.398
flame_particles                                    = weapons\new_effects\akmsl_pkm
grenade_class                                      = ammo_m209
grenade_flame_particles                            = weapons\generic_shoot_00
grenade_launcher_name                              = wpn_addon_grenade_launcher
grenade_launcher_status                            = 0
grenade_launcher_x                                 = 95
grenade_launcher_y                                 = 25
grenade_vel                                        = 76
GroupControlSection                                = spawn_group
hand_dependence                                    = 1
hit_type                                           = fire_wound
holder_fov_modifier                                = 1.00
holder_range_modifier                              = 1.25
hud                                                = wpn_mdr_hud
installed_upgrades                                 = 
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 51
inv_grid_y                                         = 0
inv_name                                           = st_wpn_mdr
inv_name_short                                     = st_wpn_mdr
inv_weight                                         = 3.8
kill_msg_height                                    = 30
kill_msg_width                                     = 64
kill_msg_x                                         = 131
kill_msg_y                                         = 123
launch_speed                                       = 76
light_color                                        = 0.6,0.5,0.3
light_disabled                                     = false
light_range                                        = 4
light_time                                         = 0.07
light_var_color                                    = 0.05
light_var_range                                    = 0.1
max_radius                                         = 150
min_radius                                         = 1
misfire_end_condition                              = 0.1
misfire_end_prob                                   = 0.06
misfire_probability                                = 0.005
misfire_start_condition                            = 0.6
misfire_start_prob                                 = 0.005
orientation                                        = 0, 0, 0
PDM_disp_base 									   = 1.0
PDM_disp_vel_factor								   = 1.5
PDM_disp_accel_factor 							   = 1.5
PDM_disp_crouch	 								   = 1.0
PDM_disp_crouch_no_acc 							   = 1.0
ph_mass                                            = 4
position                                           = -0.026, -0.132, 0.0
reload_dof                                         = 0.0, 0.5, 5, 3.0
reload_empty_dof                                   = 0.0, 0.5, 5, 3.7
rpm                                                = 650
rpm_empty_click                                    = 200
scheduled                                          = off
scope_status                                       = 2
scope_texture                                      = wpn_crosshair_mdr
scope_x                                            = -15
scope_y                                            = 10
scopes                                             = ac10632, acog, eot, microt1, specter
parent_section  								   = wpn_mdr
scope_zoom_factor								   = 100
shell_dir                                          = 0.0, 1.0, 0.0
shell_particles                                    = weapons\shells\generic_shells_r_762_39
shell_point                                        = -0.020000,0.186000,0.200000
silencer_bullet_speed                              = 900
silencer_fire_distance                             = 810
silencer_light_color                               = 0.6,0.5,0.3
silencer_light_range                               = 0.01
silencer_light_time                                = 0.2
silencer_light_var_color                           = 0.05
silencer_light_var_range                           = 0.5
silencer_name                                      = sil_nato_762
silencer_smoke_particles                           = weapons\generic_shoot_00
silencer_status                                    = 2
silencer_x                                         = 207
silencer_y                                         = 12
single_handed                                      = 0
slot                                               = 2
smoke_particles                                    = weapons\generic_shoot_00
startup_ammo                                       = 90
strap_bone0                                        = bip01_spine2
strap_bone1                                        = bip01_spine1
strap_orientation                                  = -10,-5,10
strap_orientation                                  = -10,-5,10
strap_position                                     = -0.15,-0.35,0.27
time_to_aim                                        = 1.0
upgr_icon_height                                   = 150
upgr_icon_width                                    = 350
upgr_icon_x                                        = 0
upgr_icon_y                                        = 700
upgrade_scheme                                     = upgrade_scheme_lr300
upgrades                                           = up_gr_firstab_lr300, up_gr_seconab_lr300, up_gr_thirdab_lr300, up_gr_fourtab_lr300, up_gr_fifthab_lr300
use_aim_bullet                                     = false
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr.ogf
weapon_class                                       = assault_rifle
zoom_cam_relax_speed         					   = 5     ; scope & ironsight
zoom_cam_relax_speed_ai      					   = 360
zoom_cam_dispersion          					   = 0.5
zoom_cam_dispersion_inc      					   = 0.3
zoom_cam_dispersion_frac     					   = 0.8
zoom_cam_max_angle           					   = 50.0
zoom_cam_max_angle_horz      					   = 50.0
zoom_cam_step_angle_horz     					   = 1.7
zoom_dof                                           = 0.5, 1.0, 180
zoom_enabled                                       = true
zoom_rotate_time                                   = 6.5

shell_section_0                                    = shell_7.62x51_mdr
shell_section_1                                    = shell_7.62x51_mdr

reload_time 									   = 2.2
reload_empty_time 								   = 2.8

use_device_anims 								   = true

[wpn_mdr_hud]:hud_base
aim_hud_offset_rot								   = 0.000000,0.000000,0.000000
aim_hud_offset_rot_16x9							   = 0.000000,0.000000,0.000000
aim_hud_offset_pos								   = 0.002350,0.007800,-0.040500
aim_hud_offset_pos_16x9							   = 0.002350,0.007800,-0.040500

anm_bore                                           = mdr_idle_aim
anm_hide                                           = mdr_holster
anm_idle                                           = mdr_idle
anm_idle_aim                                       = mdr_idle_aim
anm_idle_aim_moving                                = mdr_moving_aim
anm_idle_moving_slow                               = mdr_moving_slow
anm_idle_moving                                    = mdr_moving
anm_idle_moving_crouch                             = mdr_crouch
anm_reload                                         = mdr_reload, reload
anm_reload_empty                                   = mdr_reload_empty, reload_empty
anm_reload_misfire								   = mdr_misfire, misfire
anm_shots                                          = mdr_shoot, shoot
anm_shots_when_aim               				   = mdr_shoot_aim, shoot
anm_show                                           = mdr_draw
anm_firemode                					   = mdr_firemode

anm_bore_empty                                     = mdr_idle_aim, idle_empty
anm_hide_empty                                     = mdr_holster, idle_empty
anm_idle_empty                                     = mdr_idle, idle_empty
anm_idle_aim_empty                                 = mdr_idle_aim, idle_empty
anm_idle_aim_moving_empty                          = mdr_moving_aim, idle_empty
anm_idle_moving_slow_empty                         = mdr_moving_slow, idle_empty
anm_idle_moving_empty                              = mdr_moving, idle_empty
anm_idle_moving_crouch_empty                       = mdr_crouch, idle_empty
anm_shots_last                                     = mdr_shoot, shoot_last
anm_shots_when_aim_last               			   = mdr_shoot_aim, shoot_last
anm_show_empty                                     = mdr_draw, idle_empty
anm_firemode_empty                				   = mdr_firemode, idle_empty

anm_sprint_start         						   = mdr_sprint_start
anm_sprint_idle         						   = mdr_sprint
anm_sprint_end         						   	   = mdr_sprint_end

anm_sprint_start_empty         					   = mdr_sprint_start, idle_empty
anm_sprint_idle_empty         					   = mdr_sprint, idle_empty
anm_sprint_end_empty         					   = mdr_sprint_end, idle_empty

anm_switch_device                                  = mdr_flash
anm_gasmask                                        = mdr_clear

anm_switch_device_empty                            = mdr_flash, idle_empty
anm_gasmask_empty                                  = mdr_clear, idle_empty

attach_place_idx                                   = 0
fire_bone                                          = wpn_body
fire_bone2                                         = wpn_body
fire_point                                         = 0.000000,0.013700,0.360100
fire_point2                                        = 0,0,0
gl_hud_offset_pos                                  = 0,0,0
gl_hud_offset_pos_16x9                             = 0,0,0
gl_hud_offset_rot                                  = 0,0,0
gl_hud_offset_rot_16x9                             = 0,0,0
hands_position				        			   = 0.011675,-0.036300,0.051200
hands_position_16x9								   = 0.011675,-0.036300,0.051200
hands_orientation			        			   = 0,0,0
hands_orientation_16x9							   = 0,0,0
item_orientation                                   = 0,0,0
item_position                                      = 0,0,0
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_hud.ogf
lean_hud_offset_pos                                = 0,0,0
lean_hud_offset_rot                                = 0,0,0
shell_bone                                         = wpn_body
shell_dir                                          = 0.0, 1.0, 0.0
shell_point                                        = 0.0,0.02,-0.075
zoom_hide_crosshair                                = true

anim_aim_start 									   = aim_start_groza, 1, 1, 0.14, 0.15
anim_aim_idle  									   = aim_idle_groza, 1, 1, 0.2, 0.2
anim_aim_end   									   = aim_end_groza, 1, 1, 0.14, 0.15

[wpn_mdr_ac10632]:wpn_mdr
$spawn                                             = "weapons\wpn_mdr_ac10632"
scope_x                                      	   = 114
scope_y                                      	   = -10
hud                                                = wpn_mdr_ac10632_hud
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_ac10632.ogf

[wpn_mdr_ac10632_hud]:wpn_mdr_hud
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_ac10632_hud.ogf
aim_hud_offset_pos							       = 0.002350,0.007200,-0.070800
aim_hud_offset_pos_16x9							   = 0.002350,0.007200,-0.070800

[wpn_mdr_acog]:wpn_mdr
$spawn                                             = "weapons\wpn_mdr_acog"
scope_x                                      	   = 105
scope_y                                      	   = -13
hud                                                = wpn_mdr_acog_hud
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_acog.ogf

max_radius                                         = 200
min_radius                                         = 5

[wpn_mdr_acog_hud]:wpn_mdr_hud
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_acog_hud.ogf
anm_shots_when_aim               				   = mdr_shoot_scope, shoot
anm_shots_when_aim_last               			   = mdr_shoot_scope, shoot_last
aim_hud_offset_pos							       = 0.002100,0.006200,-0.089500
aim_hud_offset_pos_16x9							   = 0.002100,0.006200,-0.089500

[wpn_mdr_eot]:wpn_mdr
$spawn                                             = "weapons\wpn_mdr_eot"
scope_x                                      	   = 114
scope_y                                      	   = -12
hud                                                = wpn_mdr_eot_hud
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_eot.ogf

[wpn_mdr_eot_hud]:wpn_mdr_hud
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_eot_hud.ogf
aim_hud_offset_pos_16x9							   = 0.002300,0.004300,-0.075000
aim_hud_offset_pos								   = 0.002300,0.004300,-0.075000

[wpn_mdr_microt1]:wpn_mdr
$spawn                                             = "weapons\wpn_mdr_microt1"
scope_x                                      	   = 114
scope_y                                      	   = -12
hud                                                = wpn_mdr_microt1_hud
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_micro-t1.ogf

[wpn_mdr_microt1_hud]:wpn_mdr_hud
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_micro-t1_hud.ogf
aim_hud_offset_pos_16x9							   = 0.002300,0.004100,-0.057000
aim_hud_offset_pos								   = 0.002300,0.004100,-0.057000

[wpn_mdr_specter]:wpn_mdr
$spawn										 	   = "weapons\wpn_mdr_specter"
visual										 	   = dynamics\weapons\wpn_mdr\wpn_mdr_specter.ogf
hud											 	   = wpn_mdr_specter_hud
scope_x                                      	   = 105
scope_y                                      	   = -13
second_scope_zoom_factor                		   = 100
second_aim_enabled                        		   = true
second_aim_transition_time                		   = 6.5

[wpn_mdr_specter_hud]:wpn_mdr_hud
item_visual										   = dynamics\weapons\wpn_mdr\wpn_mdr_specter_hud.ogf
anm_shots_when_aim               				   = mdr_shoot_scope, shoot
anm_shots_when_aim_last               			   = mdr_shoot_scope, shoot_last
aim_hud_offset_pos_16x9							   = 0.002200,0.003800,-0.064699
aim_hud_offset_pos								   = 0.002200,0.003800,-0.064699

second_aim_hud_offset_pos                 		   = 0.002200,-0.018500,-0.039400
second_aim_hud_offset_pos_16x9            		   = 0.002200,-0.018500,-0.039400
second_aim_hud_offset_rot                 		   = 0,0,0
second_aim_hud_offset_rot_16x9            		   = 0,0,0

[wpn_mdr_drum]:wpn_mdr
$spawn                                             = "weapons\mdr_drum"
ammo_mag_size                                      = 50
ammo_mag_size_ui                                   = 50
cost                                               = 170000
description                                        = st_wpn_mdr_descr_drum
hud                                                = wpn_mdr_hud_drum
inv_grid_height                                    = 2
inv_grid_width                                     = 5
inv_grid_x                                         = 46
inv_grid_y                                         = 0
inv_name                                           = st_wpn_mdr_drum
inv_name_short                                     = st_wpn_mdr_drum
inv_weight                                         = 4.2
parent_section  								   = wpn_mdr_drum
PDM_disp_base 									   = 1.2
PDM_disp_vel_factor								   = 1.6
PDM_disp_accel_factor 							   = 1.6
PDM_disp_crouch	 								   = 1.0
PDM_disp_crouch_no_acc 							   = 1.0
silencer_x                                         = 207
silencer_y                                         = 2
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_drum.ogf
upgr_icon_height                                   = 150
upgr_icon_width                                    = 250
upgr_icon_x                                        = 2050
upgr_icon_y                                        = 0

[wpn_mdr_hud_drum]:wpn_mdr_hud
anm_reload                                         = mdr_reload_drum, reload_drum
anm_reload_empty                                   = mdr_reload_empty_drum, reload_empty_drum
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_hud_drum.ogf

[wpn_mdr_drum_ac10632]:wpn_mdr_drum
$spawn                                             = "weapons\wpn_mdr_drum_ac10632"
scope_x                                      	   = 112
scope_y                                      	   = -20
hud                                                = wpn_mdr_drum_ac10632_hud
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_ac10632_drum.ogf

[wpn_mdr_drum_ac10632_hud]:wpn_mdr_hud_drum
aim_hud_offset_pos							       = 0.002350,0.007200,-0.070800
aim_hud_offset_pos_16x9							   = 0.002350,0.007200,-0.070800
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_ac10632_hud_drum.ogf

[wpn_mdr_drum_acog]:wpn_mdr_drum
$spawn                                             = "weapons\wpn_mdr_drum_acog"
scope_x                                      	   = 95
scope_y                                      	   = -24
hud                                                = wpn_mdr_drum_acog_hud
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_acog_drum.ogf

max_radius                                         = 200
min_radius                                         = 5

[wpn_mdr_drum_acog_hud]:wpn_mdr_hud_drum
aim_hud_offset_pos							       = 0.002100,0.006200,-0.089500
aim_hud_offset_pos_16x9							   = 0.002100,0.006200,-0.089500
anm_shots_when_aim               				   = mdr_shoot_scope, shoot
anm_shots_when_aim_last               			   = mdr_shoot_scope, shoot_last
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_acog_hud_drum.ogf

[wpn_mdr_drum_eot]:wpn_mdr_drum
$spawn                                             = "weapons\wpn_mdr_drum_eot"
scope_x                                      	   = 112
scope_y                                      	   = -21
hud                                                = wpn_mdr_drum_eot_hud
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_eot_drum.ogf

[wpn_mdr_drum_eot_hud]:wpn_mdr_hud_drum
aim_hud_offset_pos_16x9							   = 0.002300,0.004300,-0.075000
aim_hud_offset_pos								   = 0.002300,0.004300,-0.075000
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_eot_hud_drum.ogf

[wpn_mdr_drum_microt1]:wpn_mdr_drum
$spawn                                             = "weapons\wpn_mdr_drum_microt1"
scope_x                                      	   = 112
scope_y                                      	   = -22
hud                                                = wpn_mdr_drum_microt1_hud
visual                                             = dynamics\weapons\wpn_mdr\wpn_mdr_micro-t1_drum.ogf

[wpn_mdr_drum_microt1_hud]:wpn_mdr_hud_drum
aim_hud_offset_pos_16x9							   = 0.002300,0.004100,-0.057000
aim_hud_offset_pos								   = 0.002300,0.004100,-0.057000
item_visual                                        = dynamics\weapons\wpn_mdr\wpn_mdr_micro-t1_hud_drum.ogf

[wpn_mdr_drum_specter]:wpn_mdr_drum
$spawn										 	   = "weapons\wpn_mdr_drum_specter"
scope_x                                      	   = 95
scope_y                                      	   = -24
visual										 	   = dynamics\weapons\wpn_mdr\wpn_mdr_specter_drum.ogf
hud											 	   = wpn_mdr_drum_specter_hud
second_scope_zoom_factor                		   = 100
second_aim_enabled                        		   = true
second_aim_transition_time                		   = 6.5

[wpn_mdr_drum_specter_hud]:wpn_mdr_hud_drum
anm_shots_when_aim               				   = mdr_shoot_scope, shoot
anm_shots_when_aim_last               			   = mdr_shoot_scope, shoot_last
aim_hud_offset_pos_16x9							   = 0.002200,0.003800,-0.064699
aim_hud_offset_pos								   = 0.002200,0.003800,-0.064699

item_visual										   = dynamics\weapons\wpn_mdr\wpn_mdr_specter_hud_drum.ogf

second_aim_hud_offset_pos                 		   = 0.002200,-0.018500,-0.039400
second_aim_hud_offset_pos_16x9            		   = 0.002200,-0.018500,-0.039400
second_aim_hud_offset_rot                 		   = 0,0,0
second_aim_hud_offset_rot_16x9            		   = 0,0,0