;------------------------------------------------------------------------------------------------
[wpn_dvl10]:identity_immunities,weapon_probability,default_weapon_params
        GroupControlSection         = spawn_group
        $npc                        = on
        $prefetch                   = 8
        $spawn                      = "weapons\svd"
        scheduled                   = off
        cform                       = skeleton
		
parent_section                      = wpn_dvl10
      
        class                       = WP_SVD
        slot                        = 2
        animation_slot              = 2
        ef_main_weapon_type         = 3
        ef_weapon_type              = 11
        hand_dependence             = 1
        single_handed               = 0
        
        default_to_ruck             = false
        sprint_allowed              = true

icons_texture                                       = ui\ui_icon_bas        
inv_grid_width     = 6
inv_grid_height    = 2
inv_grid_x         = 40
inv_grid_y         = 6

        inv_name                    = st_wpn_dvl10
        inv_name_short              = st_wpn_dvl10
        description                 = st_wpn_dvl10_descr
        
        kind                        = w_sniper
inv_weight                  = 6.0
cost                        = 95580
        repair_type                 = rifle_7
        weapon_class                = sniper_rifle
        
        hud                         = wpn_dvl10_hud
        visual                      = dynamics\weapons\wpn_dvl10\wpn_dvl10_world.ogf
		
        position                    = -0.08, 0.1, -0.23      ;(left/right, up/down, forward/back )
        orientation                 = 0, 0, 0
        fire_point                  = 0.0, 0.195, 0.777
        fire_point2                 = 0.0, 0.195, 0.777
        strap_bone0                 = bip01_spine2
        strap_bone1                 = bip01_spine1
        strap_position              = -0.15, -0.15, 0.45
        strap_orientation           = -25, -189, 65
        ph_mass                     = 3
        
        flame_particles             = weapons\generic_weapon06
        ;smoke_particles             = weapons\generic_shoot_00
        smoke_particles		   	    = ghost_particles\weapons\flame_eft_sks          ;particles remade incomp. 
        
		shell_point		 			= 0.0, 0.129, 0.192
		shell_dir		 			= 0.0, 0.0, 0.4
		;shell_particles         	= weapons\762x51

        light_disabled              = false
        light_color                 = 0.6, 0.5, 0.3
        light_range                 = 4.0
        light_time                  = 0.2
        light_var_color             = 0.05
        light_var_range             = 0.5
        
        upgrades                    = up_gr_firstab_sv98, up_gr_seconab_sv98, up_gr_thirdab_sv98
        ;installed_upgrades          =
        upgrade_scheme              = upgrade_scheme_svd
		
        upgr_icon_x                 = 1750
        upgr_icon_y                 = 100
        upgr_icon_width             = 300
        upgr_icon_height            = 100
        
        fire_modes                  = 1
        ammo_class                  = ammo_7.62x51_fmj, ammo_7.62x51_fmj_bad, ammo_7.62x51_fmj_verybad, ammo_7.62x51_ap, ammo_7.62x51_ap_bad, ammo_7.62x51_ap_verybad
        ammo_elapsed                = 10
        ammo_mag_size               = 10
        startup_ammo                = 10
        
        scope_status                = 0
		scopes 				                     = acog, specter, leupold, pn23, gauss_sight, marchf
		scope_zoom_factor                        = 0
		
        silencer_name               = wpn_addon_silencer
        silencer_status             = 0
        silencer_x                  = 272
        silencer_y                  = 22
        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_smoke_particles    = weapons\generic_shoot_00
        
        grenade_launcher_status     = 0
        
        hit_impulse                 = 40
        hit_power                   = 1.0, 1.0, 1.0, 1.0
        hit_type                    = fire_wound
        fire_distance               = 1200
        bullet_speed                = 1150
        rpm                         = 30
        rpm_empty_click             = 200
        
        use_aim_bullet              = false
        time_to_aim                 = 0.0 ;  1.0
        zoom_enabled                = true
        zoom_rotate_time            = 0.25
        reload_dof                  = 0.0, 0.5, 5, 2.2
control_inertion_factor = 1.0f
        crosshair_inertion          = 9
        fire_dispersion_base        = 0.065
        fire_dispersion_condition_factor = 0.001
        
        misfire_probability         = 0.005
        misfire_start_condition     = 0.7 ;  0.82
        misfire_start_prob          = 0.007
        misfire_end_condition       = 0.09
        misfire_end_prob            = 0.11
        
        condition_queue_shot_dec    = 0.0038
        condition_shot_dec          = 0.0038
        
        cam_return                  = 0
        cam_relax_speed             = 4.5
        cam_dispersion              = 2.24
        cam_dispersion_frac         = 1.1
        cam_dispersion_inc          = 2.24
        cam_max_angle               = 50.0
        cam_max_angle_horz          = 50.0
        cam_step_angle_horz         = 0.64
        zoom_cam_relax_speed        = 0.75
        zoom_cam_dispersion         = 1.00
        zoom_cam_dispersion_frac    = 1.0
        zoom_cam_dispersion_inc     = 1.54
        zoom_cam_max_angle          = 50.0
        zoom_cam_max_angle_horz     = 50.0
        zoom_cam_step_angle_horz    = 0.49
        
        PDM_disp_accel_factor       = 2.355
        PDM_disp_base               = 1.45
        PDM_disp_crouch             = 1.0
        PDM_disp_crouch_no_acc      = 1.0
        PDM_disp_vel_factor         = 2.355
        
        cam_relax_speed_ai          = 360
        zoom_cam_relax_speed_ai     = 120.75
        holder_fov_modifier         = 1.0
        holder_range_modifier       = 2.15
        min_radius                  = 0
        max_radius                  = 500
        hit_probability_gd_novice   = 1.00
        hit_probability_gd_stalker  = 1.00
        hit_probability_gd_veteran  = 1.00
        hit_probability_gd_master   = 1.00
        
        kill_msg_x                  = 0
        kill_msg_y                  = 0
        kill_msg_width              = 98
        kill_msg_height             = 23

hud_fov                             = 0.78		
;----------------------------------------------------------------------------SND------------------------------------------------------------------------
snd_draw						= eft_wp\dvl_10\dvl_draw
snd_holster					    = eft_wp\dvl_10\dvl_hide
snd_shoot					    = eft_wp\dvl_10\dvl_shoot
snd_empty					    = eft_wp\dvl_10\trigger_hammer
snd_reload					    = eft_wp\dvl_10\dvl_reload
snd_reload_empty			    = eft_wp\dvl_10\dvl_reload_empty
;snd_close					    = weapons\generic_close
snd_bore				        = $no_sound
snd_bore1				        = $no_sound				
snd_reload_misfire              = eft_wp\dvl_10\dvl_reload_empty 
;----------------------------------------------------------------------HUD------------------------------------------------------------------------------
[wpn_dvl10_hud]:hud_base

item_visual				= dynamics\weapons\wpn_dvl10\wpn_dvl10_hud.ogf

        attach_place_idx            = 0
        zoom_hide_crosshair         = true
                
        hands_position              = -0.07, -0.185, 0.2
        hands_orientation           = 0, 0, 0

        aim_hud_offset_pos          = -0.0818, 0.057, -0.15
        aim_hud_offset_rot          = 0, 0, 0

        gl_hud_offset_pos           = 0, 0, 0
        gl_hud_offset_rot           = 0, 0, 0
        
        lean_hud_offset_pos         = 0, 0, 0
        lean_hud_offset_rot         = 0, 0, 0

;-----------		
aim_hud_offset_pos_16x9				= -0.047265,0.002550,-0.064101
aim_hud_offset_rot_16x9				= 0.016137,0.019610,0.000000

hands_position_16x9				= 0.000000,-0.018526,-0.102698
hands_orientation_16x9			= 1.078683,1.809961,0.000000

        item_position               = 0, 0, 0
        item_orientation            = 0, 0, 0
;----------
        		lowered_hud_offset_pos_16x9		= 0.1,0,0
		        lowered_hud_offset_rot_16x9		= 0.1,-0.8,0.1  
        
anm_show						= dvl_10_draw, idle
anm_hide             	        = dvl_10_holster, idle
anm_shots					    = dvl_10_shoot, shoot
anm_reload					    = dvl_10_reload, reload
anm_reload_empty				= dvl_10_reload_empty, reload_empty
anm_bore						= dvl_10_idle, idle
anm_idle             	        = dvl_10_idle, idle
anm_idle_aim				    = dvl_10_idle_aim, idle
anm_idle_moving 		     	= dvl_10_idle_move, idle
anm_idle_sprint			        = dvl_10_idle_sprint, idle
anm_reload_misfire              = dvl_10_reload_empty, reload_empty

        shell_bone                  = gilza
        shell_dir                   = 0, 1, 0
        shell_point                 = 0, 0, 0
        
        fire_bone                   = muzzle
        fire_point                  = 0, 0, 0
 
		freelook_z_offset_mul		= 0.3
 
;-----------------------------------------------------------------------Addons--------------------------------------------------------------------------
[wpn_dvl10_acog]:wpn_dvl10

visual					     = dynamics\weapons\wpn_dvl10\wpn_dvl10_world.ogf

$spawn                                             = "weapons\wpn_dvl10_acog"
1icon_layer                                        = acog
1icon_layer_x                                      = 79
1icon_layer_y                                      = 0

inv_weight                                         = 6.350
scope_status                                       = 1
scope_texture                                      = wpn_crosshair_acog
scope_zoom_factor                                  = 25
zoom_rotate_time                                   = 0.25

hud					                               = wpn_dvl10_acog_hud

[wpn_dvl10_acog_hud]:wpn_dvl10_hud

item_visual				= dynamics\weapons\wpn_dvl10\wpn_dvl10_acog_hud.ogf

hands_position_16x9				= 0.000000,-0.024826,-0.102698
hands_orientation_16x9			= 1.078683,1.809961,0.000000

aim_hud_offset_pos_16x9				= -0.046365,0.004950,-0.064101
aim_hud_offset_rot_16x9				= 0.016137,0.019610,0.000000
;-------------------------------------------------------------------------------
[wpn_dvl10_specter]:wpn_dvl10

$spawn					= "weapons\wpn_dvl10_specter"
visual					= dynamics\weapons\wpn_dvl10\wpn_dvl10_world.ogf
hud					= wpn_dvl10_specter_hud

1icon_layer                              = specter
1icon_layer_x                            = 56
1icon_layer_y                            = -4

inv_weight                                         = 6.670
scope_status                                       = 1
scope_texture                                      = wpn_crosshair_specter
scope_zoom_factor                                  = 25
zoom_rotate_time                                   = 0.25
scope_dynamic_zoom                                 = on

[wpn_dvl10_specter_hud]:wpn_dvl10_hud

item_visual				= dynamics\weapons\wpn_dvl10\wpn_dvl10_specter_hud.ogf

hands_position_16x9				= 0.000000,-0.024826,-0.102698
hands_orientation_16x9			= 1.078683,1.809961,0.000000

aim_hud_offset_pos_16x9				= -0.046365,0.004950,-0.034101
aim_hud_offset_rot_16x9				= 0.016137,0.019610,0.000000
;--------------------------------------------------------------------------------
[wpn_dvl10_pks]:wpn_dvl10

$spawn					= "weapons\wpn_dvl10_pks"

visual					     = dynamics\weapons\wpn_dvl10\wpn_dvl10_world.ogf

hud					= wpn_dvl10_pks_hud

1icon_layer                              = pks
1icon_layer_x                            = 60
1icon_layer_y                            = 2

inv_weight                                         = 6.800
scope_status                                       = 1
scope_texture                                      = wpn_crosshair_pks
scope_zoom_factor                                  = 25
zoom_rotate_time                                   = 0.25

[wpn_dvl10_pks_hud]:wpn_dvl10_hud

item_visual				= dynamics\weapons\wpn_dvl10\wpn_dvl10_pks_hud.ogf

hands_position_16x9				= 0.000000,-0.018526,-0.091898
hands_orientation_16x9			= 1.078683,1.809961,0.000000

aim_hud_offset_pos_16x9				= -0.047265,0.005850,-0.030501
aim_hud_offset_rot_16x9				= 0.016137,0.019610,0.000000
---------------------------------------------------------------------------------------------
[wpn_dvl10_leupold]:wpn_dvl10

$spawn					= "weapons\wpn_dvl10_leupold"

visual					= dynamics\weapons\wpn_dvl10\wpn_dvl10_world.ogf

hud					= wpn_dvl10_leupold_hud

1icon_layer                              = leupold
1icon_layer_x                            = 64
1icon_layer_y                            = 4

inv_weight                                         = 6.680
scope_status                                       = 1
scope_texture                                      = wpn_crosshair_leupold
scope_zoom_factor                                  = 7
zoom_rotate_time                                   = 0.25
scope_dynamic_zoom                                 = on

[wpn_dvl10_leupold_hud]:wpn_dvl10_hud

item_visual				= dynamics\weapons\wpn_dvl10\wpn_dvl10_leupold_hud.ogf

hands_position_16x9				= 0.000000,-0.023926,-0.090998
hands_orientation_16x9			= 1.078683,1.809961,0.000000

aim_hud_offset_pos_16x9				= -0.047265,0.004950,-0.043401
aim_hud_offset_rot_16x9				= 0.016137,0.019610,0.000000
----------------------------------------------------------------------------------------------------------
[wpn_dvl10_pn23]:wpn_dvl10
$spawn					= "weapons\wpn_dvl10_pn23"

visual					= dynamics\weapons\wpn_dvl10\wpn_dvl10_world.ogf

hud					= wpn_dvl10_pn23_hud

1icon_layer                              = pn23
1icon_layer_x                            = 44
1icon_layer_y                            = -7

;scope_nightvision                        = scope_nightvision_3gen

nv_scope_status = 1

inv_weight                                         = 6.649
scope_status                                       = 1
scope_texture                                      = wpn_crosshair_pn23
scope_zoom_factor                                  = 25
zoom_rotate_time                                   = 0.25

[wpn_dvl10_pn23_hud]:wpn_dvl10_hud

item_visual				= dynamics\weapons\wpn_dvl10\wpn_dvl10_pn23_hud.ogf

hands_position_16x9				= 0.000000,-0.033226,-0.046598
hands_orientation_16x9			= 1.078683,1.809961,0.000000

aim_hud_offset_pos_16x9				= -0.048165,0.007650,-0.036201
aim_hud_offset_rot_16x9				= 0.016137,0.019610,0.000000
-------------------------------------------------------------------------------------------------------------------------------
[wpn_dvl10_gauss_sight]:wpn_dvl10
$spawn					= "weapons\wpn_dvl10_gauss_sight"

visual					= dynamics\weapons\wpn_dvl10\wpn_dvl10_world.ogf

hud					= wpn_dvl10_gauss_sight_hud

1icon_layer                              = gauss_sight
1icon_layer_x                            = 54
1icon_layer_y                            = 8

inv_weight                                         = 7.400
scope_status                                       = 1
scope_texture                                      = wpn_crosshair_gauss
scope_zoom_factor                                  = 12
zoom_rotate_time                                   = 0.25
scope_dynamic_zoom                                 = on

[wpn_dvl10_gauss_sight_hud]:wpn_dvl10_hud

item_visual				= dynamics\weapons\wpn_dvl10\wpn_dvl10_gauss_hud.ogf

aim_hud_offset_pos_16x9				= -0.046965,0.012150,-0.050001
aim_hud_offset_rot_16x9				= 0.016137,0.019610,0.000000
;-----------------------------------------------------------------------------------------------------
[wpn_dvl10_marchf]:wpn_dvl10
1icon_layer                              = marchf
1icon_layer_x                            = 64
1icon_layer_y                            = 4

inv_weight                               = 6.640

hud                                      = wpn_dvl10_marchf_hud
visual                                   = dynamics\weapons\wpn_dvl10\wpn_dvl10_world.ogf



scope_status                             = 1
scope_dynamic_zoom                       = on
scope_texture                            = wpn_crosshair_marchf
scope_zoom_factor                                  = 6


[wpn_dvl10_marchf_hud]:wpn_dvl10_hud
item_visual                              = dynamics\weapons\wpn_dvl10\wpn_dvl10_marchf_hud.ogf
;-----------------------------------------------------------------------------------------------------
