WeaponData
{
    UiData4
    {
        "ui" "ui/tfx/r99_hcog_dot"
        "mesh" "models/weapons/attachments/holo_rui_upper"
        Args
        {
            vis player_zoomfrac
            ammo weapon_ammo
            clipSize weapon_clipSize
            clipCount weapon_stockpileClipCount
        }
    }

    UiData3
    {
        "ui" "ui/tfx/r99_hcog_dot"
        "mesh" "models/weapons/attachments/holo_rui_upper"
        Args
        {
            vis player_zoomfrac
            ammo weapon_ammo
            clipSize weapon_clipSize
            clipCount weapon_stockpileClipCount
        }
    }
    UiData5
    {
        "ui" "ui/tfx/r99_hcog_dot"
        "mesh" "models/weapons/attachments/holo_rui_upper"
        Args
        {
            vis player_zoomfrac
            ammo weapon_ammo
            clipSize weapon_clipSize
            clipCount weapon_stockpileClipCount
        }
    }




    // Cosmetic default ADS placement; native optic-specific vectors remain inherited.
    "viewmodel_offset_ads" "0 0.75 0"
    UiData1
    {
        "ui" "ui/tfx/r99_reticle"
        "mesh" "models/weapons/attachments/r97_rui_upper"
        Args
        {
            vis player_zoomfrac
        }
    }
    // Keep this R97 rear ammo display readable during ADS only.
    // The fields and zero values also occur in native weapon definitions.
    "dof_zoom_nearDepthStart" "0"
    "dof_zoom_nearDepthEnd" "0"
    Mods
    {
        holosight
        {
            "viewmodel_offset_ads" "0 4 -0.150068"
            "dof_zoom_nearDepthStart" "0"
            "dof_zoom_nearDepthEnd" "0"
        }
        redline_sight
        {
            "viewmodel_offset_ads" "0 4 -0.150068"
            "zoom_fov" "36.667383"
            "dof_zoom_nearDepthStart" "0"
            "dof_zoom_nearDepthEnd" "0"
        }
        threat_scope
        {
            "zoom_fov" "36.667383"
            "threat_scope_enabled" "0"
            "viewmodel_offset_ads" "0 4 -0.150068"
            "dof_zoom_nearDepthStart" "0"
            "dof_zoom_nearDepthEnd" "0"
        }
    }
    UiData2
    {
        "ui" "ui/tfx/r99_ammo_counter"
        "mesh" "models/weapons/attachments/r97_rui_lower"
        Args
        {
            ammo weapon_ammo
            clipSize weapon_clipSize
            // Stock reserve input remains native; all reserve draw styles are alpha0.
            clipCount weapon_stockpileClipCount
            vis player_zoomfrac
        }
    }
}
