[wpn_mosin]:weapon_probability,default_weapon_params,wpn_mosin_sounds
$npc                                     = on
$prefetch                                = 8
$spawn                                   = "weapons\mosin"

ammo_class                               = ammo_7.62x54_7h1
ammo_current                             = 30
ammo_elapsed                             = 0
ammo_limit                               = 35
ammo_mag_size                            = 5
ammo_mag_size_ui                         = 5

use_31_cartridge                         = false
animation_slot                           = 3
bullet_speed                             = 850
block_bore                               = true

cam_return								 = 1
cam_relax_speed							 = 15
cam_relax_speed_ai						 = 360
cam_dispersion							 = 3.25
cam_dispersion_inc						 = 2.6
cam_dispersion_frac						 = 1.3
cam_max_angle							 = 50.0
cam_max_angle_horz						 = 50.0
cam_step_angle_horz						 = 2.3

cform                                    = skeleton
class                                    = WP_ASHTG
condition_queue_shot_dec                 = 0.00125
condition_shot_dec                       = 0.001
control_inertion_factor                  = 1.3f
cost                                     = 17500
crosshair_inertion                       = 6.85
description                              = st_wpn_mosin_descr
ef_main_weapon_type                      = 3
ef_weapon_type                           = 11
fire_dispersion_base                     = 0.1
fire_dispersion_condition_factor         = 1.3
fire_distance                            = 900
fire_modes                               = 1
fire_point                               = 0.0, 0.158, 0.647
fire_point2                              = 0.0, 0.158, 0.647
flame_particles                          = weapons\new_effects\akmsl_pkm

silencer_smoke_particles				 = weapons\generic_shoot_00
silencer_status                          = 2
silencer_name                            = sil_mosin
silencer_x                               = 284
silencer_y                               = 14
silencer_light_color                     = 0.6,0.5,0.3
silencer_light_range                     = 0.01
silencer_light_time                      = 0.07
silencer_light_var_color                 = 0.05
silencer_light_var_range                 = 0.5
silencer_bullet_speed                    = 860
silencer_fire_distance                   = 910

grenade_launcher_status                  = 0
GroupControlSection                      = spawn_group
hand_dependence                          = 1
hit_type                                 = fire_wound
holder_fov_modifier                      = 1.0
holder_range_modifier                    = 1.0
hud                                      = wpn_mosin_hud
installed_upgrades                       =

inv_grid_height                          = 2
inv_grid_width                           = 6
inv_grid_x                               = 36
inv_grid_y                               = 33
inv_name                                 = st_wpn_mosin
inv_name_short                           = st_wpn_mosin
inv_weight                               = 4.5

kill_msg_height                          = 20
kill_msg_width                           = 75
kill_msg_x                               = 171
kill_msg_y                               = 104

light_color                              = 0.6,0.5,0.3
light_range                              = 6.0
light_time                               = 0.2
light_var_color                          = 0.05
light_var_range                          = 0.5

max_radius                               = 250
min_radius                               = 0

misfire_probability			             = 0.005
misfire_start_condition			         = 0.6
misfire_end_condition			         = 0.1
misfire_start_prob	 		             = 0.0055
misfire_end_prob	 		             = 0.055

position								 = -0.026,-0.105,0.02
orientation                              = 0,30,0

PDM_disp_base 				             = 1.5
PDM_disp_vel_factor 			         = 1.7
PDM_disp_accel_factor 			         = 1.7
PDM_disp_crouch	 			             = 1
PDM_disp_crouch_no_acc 			         = 1
ph_mass                                  = 4

reload_dof                               = 0.0, 0.5, 5, 3.6
reload_empty_dof                         = 0.0, 0.5, 5, 6.6

;reload_dof                               = 0,0,0,0
;reload_empty_dof                         = 0,0,0,0

rpm                                      = 42
rpm_empty_click                          = 200
scheduled                                = off
scope_status                             = 2
scope_zoom_factor                        = 100
scopes                                   = pu
parent_section                           = wpn_mosin
shell_particles                          = weapons\shells\generic_shells_r_762_39
shell_point                              = 0.0, 0.180, 0.647
single_handed                            = 0
slot                                     = 2
smoke_particles                          = weapons\generic_shoot_00
startup_ammo                             = 10
strap_bone0                              = bip01_spine2
strap_bone1                              = bip01_spine1
strap_orientation                        = -15,-9,110
strap_position                           = -0.26,-0.10,0.05
tri_state_reload                         = on
upgr_icon_height                         = 150
upgr_icon_width                          = 350
upgr_icon_x                              = 350
upgr_icon_y                              = 1600
upgrade_scheme                           =
visual                                   = dynamics\weapons\wpn_mosin\wpn_mosin.ogf
weapon_class                             = sniper_rifle
zoom_cam_relax_speed					 = 19
zoom_cam_relax_speed_ai					 = 120.75
zoom_cam_dispersion						 = 1.9
zoom_cam_dispersion_inc					 = 1.8
zoom_cam_dispersion_frac				 = 1.0
zoom_cam_max_angle						 = 50
zoom_cam_max_angle_horz					 = 50
zoom_cam_step_angle_horz				 = 1.9
zoom_dof                                 = 0.5, 1.0, 180
zoom_enabled                             = true
zoom_rotate_time                         = 6.5
use_mosin_scheme                         = true

shell_section_0                          = shell_7.62x54
shell_section_1                          = shell_7.62x54
shell_time								 = 0.65
spawn_shell_on_last_shot 				 = false

use_device_anims 								   = true

[wpn_mosin_hud]:hud_base
aim_hud_offset_pos_16x9				     = -0.002000,0.013000,0.000000
aim_hud_offset_rot_16x9                  = -0.003500,0.000500,0.000000
aim_hud_offset_pos                       = -0.002000,0.013000,0.000000
aim_hud_offset_rot_16x9                  = -0.003500,0.000500,0.000000
anm_reload_empty                         = mosin_reload_full, reload_full
anm_open_empty                           = mosin_reload_full_start, reload_full_start
anm_add_cartridge_empty                  = mosin_reload, reload_empty
anm_close_empty                          = mosin_reload_end, reload_end
anm_open                                 = mosin_reload_start, reload_start
anm_add_cartridge                        = mosin_reload, reload
anm_close                                = mosin_reload_end, reload_end
anm_reload_misfire                       = mosin_misfire, misfire
anm_bore                                 = mosin_idle_aim, idle
anm_hide                                 = mosin_hide, idle
anm_idle                                 = mosin_idle, idle
anm_idle_aim                             = mosin_idle_aim, idle
anm_idle_moving_slow                     = mosin_walk_slow, idle
anm_idle_moving                          = mosin_walk, idle
anm_idle_moving_crouch                   = mosin_walk_slow_down, idle
anm_idle_aim_moving                      = mosin_walk_aim, idle
anm_idle_sprint                          = mosin_sprint, idle
anm_shots                                = mosin_shoot, shoot
anm_show                                 = mosin_draw, idle
anm_shots_when_aim                       = mosin_shoot_aim, shoot
anm_shots_when_aim_last                  = mosin_shoot_last_aim, idle_empty
anm_shots_last                           = mosin_shoot_last, idle_empty
anm_show_empty                           = mosin_draw, idle_empty
anm_hide_empty                           = mosin_hide, idle_empty
anm_idle_empty                           = mosin_idle, idle_empty
anm_idle_moving_slow_empty               = mosin_walk_slow, idle_empty
anm_idle_sprint_empty                    = mosin_sprint, idle_empty
anm_idle_moving_empty                    = mosin_walk, idle_empty
anm_idle_moving_crouch_empty             = mosin_walk_slow_down, idle_empty
anm_idle_aim_empty                       = mosin_idle_aim, idle_empty
anm_idle_aim_moving_empty                = mosin_walk_aim, idle_empty
anm_bore_empty                           = mosin_idle_aim, idle_empty

anm_sprint_start         						   = mosin_sprint_start
anm_sprint_idle         						   = mosin_sprint
anm_sprint_end         						   	   = mosin_sprint_end

anm_sprint_start_empty         					   = mosin_sprint_start, idle_empty
anm_sprint_idle_empty         					   = mosin_sprint, idle_empty
anm_sprint_end_empty         					   = mosin_sprint_end, idle_empty

anm_switch_device                                  = mosin_flash
anm_gasmask                                        = mosin_clear

anm_switch_device_empty                            = mosin_flash, idle_empty
anm_gasmask_empty                                  = mosin_clear, idle_empty

attach_place_idx                         = 0
fire_point                               = 0.000000,0.000000,0.142499
fire_bone                                = muzzle
fire_point2                              = 0,0,0
fire_bone2                               = muzzle
hands_orientation                        = 0,0,0
hands_orientation_16x9                   = 0,0,0
hands_position                           = 0.014000,-0.017000,-0.034000
hands_position_16x9                      = 0.014000,-0.017000,-0.034000
item_position                            = 0,0,0
item_orientation                         = 0,0,0
item_visual                              = dynamics\weapons\wpn_mosin\wpn_mosin_hud
shell_point                              = 0,0,-0.25
shell_dir                                = 0,1,0
shell_bone                               = wpn_body
zoom_hide_crosshair                      = true

anim_aim_start                           = aim_start_abakan, 1, 1, 0.14, 0.15
anim_aim_idle                            = aim_idle_abakan, 1, 1, 0.2, 0.2
anim_aim_end                             = aim_end_abakan, 1, 1, 0.14, 0.15

[wpn_mosin_pu]:wpn_mosin
$spawn                                   = "weapons\wpn_mosin_pu"
hud                                      = wpn_mosin_pu_hud
scope_x                                  = 76
scope_y                                  = 4
scope_back = true
second_scope_zoom_factor                 = 100
second_aim_enabled                       = true
second_aim_transition_time               = 6.5

[wpn_mosin_pu_hud]:wpn_mosin_hud
item_visual                              = dynamics\weapons\wpn_mosin\wpn_mosin_hud.ogf

aim_hud_offset_pos_16x9				     = 0.008100,-0.001300,0.021300
aim_hud_offset_rot_16x9                  = 0,0,0
aim_hud_offset_pos                       = 0.008100,-0.001300,0.021300
aim_hud_offset_rot                       = 0,0,0

second_aim_hud_offset_pos                = 0.008100,0.023700,0.060000
second_aim_hud_offset_pos_16x9           = 0.008100,0.023700,0.060000
second_aim_hud_offset_rot                = -0.003750,0.000750,0.000000
second_aim_hud_offset_rot_16x9           = -0.003750,0.000750,0.000000

anim_aim_start                           = aim_start_mosin, 1, 1, 0.14, 0.15
anim_aim_idle                            = aim_idle_mosin, 1, 1, 0.2, 0.2
anim_aim_end                             = aim_end_mosin, 1, 1, 0.14, 0.15

anm_open_empty                           = mosin_reload_full_start, reload_full_start
anm_add_cartridge_empty                  = mosin_reload, reload_empty
anm_close_empty                          = mosin_reload_end, reload_end
























