;------------------------------------------------------------------------------------------------
[wpn_rg-6]:zero_immunities,weapon_probability,default_weapon_params,wpn_rg-6_sounds
        GroupControlSection         = spawn_group
        discovery_dependency        =
        $npc                        = on
        $prefetch                   = 2
        $spawn                      = "weapons\rg-6"
        scheduled                   = off
        cform                       = skeleton
        
        class                       = WP_RG6
        slot                        = 2
        animation_slot              = 10
        ef_main_weapon_type         = 4
        ef_weapon_type              = 12
        hand_dependence             = 1
        single_handed               = 0
        
        sprint_allowed              = true
        
        inv_grid_height             = 2
        inv_grid_width              = 4
        inv_grid_x                  = 36
        inv_grid_y                  = 32
        inv_name                    = st_wpn_rg6
        inv_name_short              = st_wpn_rg6
        description                 = st_wpn_rg6_descr
        
		kind 						= w_explosive
        inv_weight                  = 6.2
        cost                        = 38850
        weapon_class                = heavy_weapon
        
        hud                         = wpn_rg-6_hud
        visual                      = dynamics\weapons\wpn_rg6\wpn_rg6.ogf
        position                    = -0.026, -0.111, 0.
        orientation                 = 0, 0, 0
        fire_point                  = 0.0, 0.120, 0.452
        fire_point2                 = 0.0, 0.120, 0.452
        strap_bone0                 = bip01_spine2
        strap_bone1                 = bip01_spine1
        strap_position              = -0.26, -0.11, 0.15
        strap_orientation           = -15, -9, 110
        ph_mass                     = 3
        
        flame_particles             = weapons\generic_weapon05
        smoke_particles             = amik\weapons\smoke_particles\smoke_particles_pump_01
        
        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
        
        upgr_icon_x                 = 900
        upgr_icon_y                 = 900
        upgr_icon_width             = 250
        upgr_icon_height            = 100
        
        tri_state_reload            = on
        ammo_class                  = ammo_vog-25, ammo_vog-25_bad, ammo_vog-25_verybad
        ammo_current                = 10
        ammo_elapsed                = 0
        ammo_limit                  = 60
        ammo_mag_size               = 6
        startup_ammo                = 0
        
        scope_status                = 0
        scope_zoom_factor           = 0
        
        silencer_status             = 0
        
        grenade_launcher_status     = 0
        launch_speed                = 76
        
        hit_impulse                 = 150
        hit_power                   = 0.75, 0.75, 0.75, 0.75
        hit_type                    = fire_wound
        fire_distance               = 500
        bullet_speed                = 76
        rpm                         = 150
        rpm_empty_click             = 200
        
        zoom_dof                    = 0.5, 1.0, 180
        zoom_enabled                = true
        reload_dof                  = 0.0, 0.5, 5, 1.3
control_inertion_factor = 1.0f
        crosshair_inertion          = 8.3
        fire_dispersion_base        = 0.76
        fire_dispersion_condition_factor = 0.001
        
        misfire_probability         = 0.001
        misfire_start_condition     = 0.7 ;  0.86
        misfire_start_prob          = 0.004
        misfire_end_condition       = 0.14
        misfire_end_prob            = 0.11
        
        condition_queue_shot_dec    = 0.009
        condition_shot_dec          = 0.009
        
        cam_relax_speed             = 7.0
        cam_dispersion              = 3.02
        cam_dispersion_frac         = 0.1
        cam_dispersion_inc          = 3.02
        cam_max_angle               = 50
        cam_max_angle_horz          = 50
        cam_step_angle_horz         = 3.9
        
        PDM_disp_accel_factor       = 2.9
        PDM_disp_base               = 0.95
        PDM_disp_crouch             = 1.0
        PDM_disp_crouch_no_acc      = 1.0
        PDM_disp_vel_factor         = 2.9
        
        cam_relax_speed_ai          = 360
        holder_fov_modifier         = 1.0
        holder_range_modifier       = 1.0
        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                  = 172
        kill_msg_width              = 68
        kill_msg_height             = 30
		
		snd_reload					= weapons\librarian_rg6\reload_loop
		snd_open_weapon				= weapons\librarian_rg6\reload_start
		snd_close_weapon			= weapons\librarian_rg6\reload_end
		snd_add_cartridge			= weapons\librarian_rg6\reload_loop
;		snd_reload_misfire			= weapons\librarian_rg6\unjam
		snd_shoot					= weapons\librarian_rg6\shoot
 

[wpn_rg-6_hud]:hud_base
        item_visual                 = anomaly_weapons\wpn_rg6\wpn_rg6_hud.ogf
        attach_place_idx            = 0
        zoom_hide_crosshair         = true
        
        item_position               = 0, 0, 0
        item_orientation            = 0, 0, 0
        
        aim_hud_offset_pos               = -0.111355, -0.022745, -0.054007
        aim_hud_offset_pos_16x9          = -0.111355, -0.022745, -0.054007
        aim_hud_offset_rot               = -0.115059, 0.060377, -0.134671
        aim_hud_offset_rot_16x9          = -0.115059, 0.060377, -0.134671
		
        hands_orientation                = 4.8912, 5.274737, -7.055736
        hands_orientation_16x9           = 4.8912, 5.274737, -7.055736
        hands_position                   = -0.02288, -0.001283, 0.09359
        hands_position_16x9              = -0.02288, -0.001283, 0.09359

        lowered_hud_offset_pos           = 0.08707, -0.047317, -0.054355
        lowered_hud_offset_pos_16x9      = 0.08707, -0.047317, -0.054355
        lowered_hud_offset_rot           = -0.009067, -0.789548, 0.1
        lowered_hud_offset_rot_16x9      = -0.009067, -0.789548, 0.1
                        
        lean_hud_offset_pos         	 	= 0, 0, 0
        lean_hud_offset_rot         	 	= 0, 0, 0
		
        anm_open							= rg6_hand_reload_start, rg6_reload_start
        anm_add_cartridge					= rg6_hand_reload_loop, rg6_reload_loop
        anm_close							= rg6_hand_reload_end, rg6_reload_end
;		anm_reload_misfire					= rg6_hand_unjam, rg6_unjam

        anm_hide							= rg6_hand_holster, rg6_idle
        anm_idle							= rg6_hand_idle, rg6_idle
        anm_idle_aim						= rg6_hand_idle_aim, rg6_idle
        anm_idle_aim_moving					= rg6_hand_moving, rg6_idle, 0.75
        anm_idle_aim_moving_crouch			= rg6_hand_moving, rg6_idle, 0.7
        anm_idle_moving						= rg6_hand_moving, rg6_idle
        anm_idle_sprint						= rg6_hand_sprint, rg6_idle, 1.1
        anm_shots							= rg6_hand_shoot, rg6_shoot
        anm_show							= rg6_hand_draw, rg6_idle
		
;		anm_hide_jammed						= rg6_hand_holster, rg6_idle_jam
;		anm_idle_jammed						= rg6_hand_idle, rg6_idle_jam
;		anm_idle_aim_jammed					= rg6_hand_idle_aim, rg6_idle_jam
;		anm_idle_moving_jammed				= rg6_hand_moving, rg6_idle_jam
;		anm_idle_sprint_jammed				= rg6_hand_sprint, rg6_idle_jam
;		anm_show_jammed						= rg6_hand_draw, rg6_idle_jam
;		anm_shots_jammed					= rg6_hand_shoot, rg6_shoot_jam
		        
		fire_bone							= muzzle
		fire_bone2							= muzzle
		fire_point							= 0, 0, 0
		fire_point2							= 0, 0, 0
 
		freelook_z_offset_mul		= 0.3