1
0
forked from 0ad/0ad
0ad/binaries/data/mods/official/entities/template_unit.xml
Matei 1828443b02 # Fixed a unit rank upgrade bug.
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.
2006-07-17 22:20:12 +00:00

110 lines
1.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<Entity
Parent="template_entity_full"
>
<Traits>
<Corpse>template_corpse</Corpse>
<Id>
<Internal_Only />
<Generic>Unit</Generic>
<Icon>PortraitSheet</Icon>
<Classes>Unit</Classes>
</Id>
<Audio>
<Path>audio/voice/hellenes/soldier</Path>
</Audio>
<Footprint>
<Radius>0.5</Radius>
<Height>4.0</Height>
</Footprint>
<Formation>
<Category>Melee</Category>
<Curr>Loose</Curr>
<List>
<Loose />
<Box />
<Column_C />
<Line_C />
<Column_O />
<Line_O />
<Flank />
<Skirmish />
<Wedge />
<Testudo />
<Phalanx />
</List>
</Formation>
<Health>
<Max>100</Max>
<Bar_Height>5.0</Bar_Height>
<Bar_Size>20</Bar_Size>
<Healable />
</Health>
<Stamina>
<Max>5.0</Max>
<Bar_Height>5.3</Bar_Height>
<Bar_Size>20</Bar_Size>
</Stamina>
<Rank>
<Height>5.0</Height>
</Rank>
<MiniMap>
<Type>Unit</Type>
</MiniMap>
<Vision>
<LOS>6</LOS>
</Vision>
<Display>
<Bars>
<Enabled>true</Enabled>
<Offset>5.0</Offset>
<Width>1.6</Width>
<Height>0.25</Height>
</Bars>
</Display>
</Traits>
<Actions>
<Move>
<Speed>7.0</Speed>
<Speed_Curr/>
<TurningRadius>0.0</TurningRadius>
<Run>
<Speed>12.0</Speed>
<Range>50.0</Range>
<RangeMin>0.0</RangeMin>
<Regen_Rate>10.0</Regen_Rate>
<Decay_Rate>5.0</Decay_Rate>
</Run>
<Pass_Through_Allies>true</Pass_Through_Allies>
</Move>
<Patrol />
<Escort>
<Distance>5.0</Distance>
</Escort>
</Actions>
</Entity>