forked from 0ad/0ad
Matei
1828443b02
Units were not able to gain more than 1 rank, even when they started at Basic. Also XML values for new bar rendering (changed the meaning of height to not include the border). This was SVN commit r4137.
93 lines
1.9 KiB
XML
Executable File
93 lines
1.9 KiB
XML
Executable File
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
|
|
|
<Entity>
|
|
<Traits
|
|
extant="true"
|
|
>
|
|
<Id>
|
|
<Internal_Only />
|
|
</Id>
|
|
|
|
<Corpse>null</Corpse>
|
|
|
|
<!-- All but sea units are attached to the ground plane. -->
|
|
<Anchor>
|
|
<Type>Ground</Type>
|
|
<!-- If negative or > 90.0, entity will always conform to terrain (assuming traits.pitch allows it) -->
|
|
<ConformX>0</ConformX>
|
|
<ConformZ>0</ConformZ>
|
|
</Anchor>
|
|
|
|
<!-- Defaults to no armour. -->
|
|
<Armour>
|
|
<Value>0.0</Value>
|
|
<Crush>0.0</Crush>
|
|
<Hack>0.0</Hack>
|
|
<Pierce>0.0</Pierce>
|
|
</Armour>
|
|
|
|
<Health>
|
|
<Bar_Height>-1.0</Bar_Height>
|
|
<Bar_Size>20</Bar_Size>
|
|
<Bar_Width>2.0</Bar_Width>
|
|
<Regen_Rate>5.0</Regen_Rate>
|
|
<Regen_Start>15.0</Regen_Start>
|
|
<Decay_Rate>5.0</Decay_Rate>
|
|
|
|
<Border_Height>7</Border_Height>
|
|
<Border_Width>28</Border_Width>
|
|
<Border_Name>bar.dds</Border_Name>
|
|
</Health>
|
|
<Stamina>
|
|
<Max>0.0</Max>
|
|
<Bar_Height>-1.0</Bar_Height>
|
|
<Bar_Size>20</Bar_Size>
|
|
<Bar_Width>2.0</Bar_Width>
|
|
<Border_Height>7</Border_Height>
|
|
<Border_Width>28</Border_Width>
|
|
<Border_Name>bar.dds</Border_Name>
|
|
</Stamina>
|
|
<Rank>
|
|
<Width>7.0</Width>
|
|
<Size>17</Size>
|
|
<Height>-1.0</Height>
|
|
<Name></Name>
|
|
</Rank>
|
|
<Rally>
|
|
<Name>elite.dds</Name>
|
|
<Height>7.0</Height>
|
|
<Width>7.0</Width>
|
|
</Rally>
|
|
|
|
<Flank_Penalty>
|
|
<Sectors>6</Sectors>
|
|
<Value>.2</Value>
|
|
</Flank_Penalty>
|
|
|
|
<Elevation>
|
|
<Rate>1.0</Rate>
|
|
<Value>0.0</Value>
|
|
</Elevation>
|
|
|
|
<Pitch>
|
|
<Sectors>7</Sectors>
|
|
<Value>.1</Value>
|
|
</Pitch>
|
|
|
|
<Display>
|
|
<Bars>
|
|
<Enabled>false</Enabled>
|
|
<Border>bar.dds</Border>
|
|
<Border_Size>0.15</Border_Size>
|
|
</Bars>
|
|
</Display>
|
|
|
|
<Is_Territory_Centre>false</Is_Territory_Centre>
|
|
|
|
</Traits>
|
|
|
|
|
|
|
|
<Script File="scripts/entity_functions.js" />
|
|
<Event On="PrepareOrder" Function="entityEventPrepareOrder" />
|
|
</Entity> |