1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml
WhiteTreePaladin fa1dc05de2 New GUI layout
Delete confirmation dialog
Resource bar replaces resource quantity/icon
Selected units are grouped by type regardless of rank
Ranked units use the same icon
"Basic" units are now considered to have the rank of "Basic" for
grouping purposes

This was SVN commit r8180.
2010-09-25 15:22:41 +00:00

100 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit">
<Identity>
<GenericName>Infantry</GenericName>
<Classes datatype="tokens">Foot Organic</Classes>
<Rank>Basic</Rank>
</Identity>
<Promotion>
<Req>600</Req>
</Promotion>
<Cost>
<BuildTime>18</BuildTime>
<Resources>
<food>50</food>
<wood>0</wood>
<stone>0</stone>
<metal>0</metal>
</Resources>
</Cost>
<Loot>
<xp>100</xp>
<food>1</food>
<wood>1</wood>
<stone>1</stone>
<metal>1</metal>
</Loot>
<Looter/>
<ResourceGatherer>
<MaxDistance>2.0</MaxDistance>
<BaseSpeed>1.0</BaseSpeed>
<Rates>
<food.fish>.5</food.fish>
<food.fruit>.5</food.fruit>
<food.grain>.5</food.grain>
<food.meat>5</food.meat>
<wood.tree>1.0</wood.tree>
<stone.rock>1.0</stone.rock>
<metal.ore>1.0</metal.ore>
<metal.treasure>10000</metal.treasure>
</Rates>
</ResourceGatherer>
<Health>
<Max>100</Max>
<RegenRate>0.2</RegenRate>
</Health>
<Stamina>
<Max>600</Max>
</Stamina>
<Armour>
<Hack>1.0</Hack>
<Pierce>1.0</Pierce>
<Crush>9.0</Crush>
</Armour>
<UnitMotion>
<WalkSpeed>7.0</WalkSpeed>
<Run>
<Speed>17.5</Speed>
</Run>
<CostClass>infantry</CostClass>
</UnitMotion>
<Vision>
<Range>48</Range>
</Vision>
<Builder>
<Rate>1.0</Rate>
<Entities datatype="tokens">
structures/{civ}_house
structures/{civ}_mill
structures/{civ}_farmstead
structures/{civ}_field
structures/{civ}_corral
structures/{civ}_temple
structures/{civ}_market
structures/{civ}_civil_centre
structures/{civ}_barracks
structures/{civ}_dock
structures/{civ}_scout_tower
structures/{civ}_wall_long
structures/{civ}_wall_tower
structures/{civ}_wall_gate
structures/{civ}_fortress
</Entities>
</Builder>
<Sound>
<SoundGroups>
<walk>actor/human/movement/walk.xml</walk>
<run>actor/human/movement/run.xml</run>
<attack>attack/weapon/sword.xml</attack>
<death>actor/human/death/death.xml</death>
<build>resource/construction/con_wood.xml</build>
<gather_fruit>resource/foraging/forage_leaves.xml</gather_fruit>
<gather_grain>resource/farming/farm.xml</gather_grain>
<gather_wood>resource/lumbering/lumbering.xml</gather_wood>
<gather_stone>resource/mining/pickaxe.xml</gather_stone>
<gather_metal>resource/mining/mining.xml</gather_metal>
<trained>actor/singlesteps/steps_gravel.xml</trained>
</SoundGroups>
</Sound>
</Entity>