IMPORTANT
Status: Supported
Minimum version: 1.4
Radial progress shapes
Overview
CUIProgressShape allows drawing circular progress indicators for boosters and other timers.
Key parameters
sector_count— number of circle segments.begin_angle— starting angle.end_angle— ending angle.clockwise— filling direction.blend— blending mode.backandfront— background and active layers.
Example
xml
<indicator_booster_health x="0" y="0" width="32" height="32" sector_count="16" begin_angle="0" end_angle="360">
<back>...</back>
<front>...</front>
</indicator_booster_health>Usage
- Add the node to the HUD XML.
- Configure
sector_countand angles. - Test rendering at different UI scales.
Related material: general information, UI overview.