0ad/binaries/data/mods/public/gui/session/PanelEntities.xml
Freagarach 2e79c0a177 Remove health component from relics.
Since relics ought to be undestroyable, a health component makes no
sense. This makes that the Invulnerability-flag can be removed and
relics can be captured again (after 0f91c5ac61#inline-5236).

Differential Revision: D1268
Original patch by: @temple
Reviewed by: @wraitii
Comments by: @bb, @elexis
Fixes #5007, #5847, 0f91c5ac61#inline-5236

This was SVN commit r24327.
2020-12-06 07:22:51 +00:00

38 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<object name="panelEntityButtons" size="2 38 50 93">
<!-- Displays buttons for the most important units like heroes and relics -->
<repeat count="19" var="n">
<object name="panelEntityButton[n]" size="0 0 50 50" type="button" hidden="true" style="iconButton" tooltip_style="sessionToolTip">
<!-- Placeholders storing the position for the bars -->
<object size="3 100%-5 100%-3 100%-2" name="panelEntitySectionPosTop[n]" hidden="true"/>
<object size="3 100% 100%-3 100%+5" name="panelEntitySectionPosBottom[n]" hidden="true"/>
<object name="panelEntityBackground[n]" type="image" ghost="true" size="1 1 100%-1 100%-1"/>
<object name="panelEntityImage[n]" size="5 5 100%-5 100%-5" type="image" ghost="true"/>
<object name="panelEntityHitOverlay[n]" hidden="true" type="image" ghost="true" size="5 5 100%-5 100%-5"/>
<!-- Health bar -->
<object size="3 100%-5 100%-3 100%-2" name="panelEntityHealthSection[n]" ghost="true">
<object size="0 0 100% 5" name="panelEntityHealth[n]" type="image" ghost="true">
<object type="image" sprite="barBorder" ghost="true" size="-1 -1 100%+1 100%+1"/>
<object type="image" sprite="healthBackground" ghost="true"/>
<object type="image" sprite="healthForeground" ghost="true" name="panelEntityHealthBar[n]"/>
<object type="image" sprite="statsBarShaderHorizontal" ghost="true"/>
</object>
</object>
<!-- Capture bar -->
<object size="3 100% 100%-3 100%+5" name="panelEntityCaptureSection[n]" ghost="true">
<object size="0 0 100% 5" name="panelEntityCapture[n]" type="image" ghost="true">
<object type="image" sprite="barBorder" ghost="true" size="-1 -1 100%+1 100%+1"/>
<repeat count="9" var="m">
<object type="image" ghost="true" name="panelEntityCaptureBar[n][m]" hidden="true"/>
</repeat>
<object type="image" sprite="statsBarShaderHorizontal" ghost="true"/>
</object>
</object>
</object>
</repeat>
</object>