0ad/binaries/data/mods/official/entities/template_unit.xml
pyrolink 9c739099fc Various fixes to notifications and orders
Added escort--follow can be done by simply changing the default and
secondary actions from NOTIFY_ESCORT to NOTIFY_FOLLOW in
entityEventTargetchanged.

Bugs are: ranged units can't assist in attacking from some reason, and
when you tell a leading unit to run, the escorting unit doesn't.

This was SVN commit r3503.
2006-02-13 03:28:36 +00:00

76 lines
1.1 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>sheet_civ</Icon>
<Classes>Unit</Classes>
</Id>
<Audio>
<Path>audio/voice/hellenes/soldier</Path>
</Audio>
<Footprint>
<Radius>0.5</Radius>
<Height>4.0</Height>
</Footprint>
<Health>
<Max>100</Max>
<Bar_Height>5.0</Bar_Height>
<Bar_Size>20</Bar_Size>
</Health>
<Stamina>
<Max>5.0</Max>
<Bar_Height>5.3</Bar_Height>
<Bar_Size>20</Bar_Size>
</Stamina>
<MiniMap>
<Type>Unit</Type>
</MiniMap>
<Vision>
<LOS>6</LOS>
</Vision>
</Traits>
<Actions>
<Move>
<Speed>5.0</Speed>
<TurningRadius>0.0</TurningRadius>
<Run>
<Speed>15.0</Speed>
<Range>50.0</Range>
<RangeMin>10.0</RangeMin>
<Regen_Rate>10.0</Regen_Rate>
<Decay_Rate>5.0</Decay_Rate>
</Run>
</Move>
<Patrol />
<Escort>
<Distance>5.0</Distance>
</Escort>
</Actions>
</Entity>