1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml
WhiteTreePaladin cad0baed3c Adjusted gather speeds
Rocks have more resources (500 -> 1000)

This was SVN commit r7830.
2010-08-01 00:06:40 +00:00

98 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit">
<Identity>
<GenericName>Infantry</GenericName>
<Classes datatype="tokens">Foot Organic</Classes>
</Identity>
<Promotion>
<Req>600</Req>
</Promotion>
<Cost>
<BuildTime>20</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>.8</food.fish>
<food.fruit>1</food.fruit>
<food.grain>.8</food.grain>
<food.meat>6</food.meat>
<wood.tree>1.5</wood.tree>
<stone.rock>1.5</stone.rock>
<metal.ore>1.5</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}_barracks
structures/{civ}_civil_centre
structures/{civ}_corral
structures/{civ}_dock
structures/{civ}_farmstead
structures/{civ}_field
structures/{civ}_fortress
structures/{civ}_house
structures/{civ}_market
structures/{civ}_mill
structures/{civ}_scout_tower
structures/{civ}_temple
structures/{civ}_wall_gate
structures/{civ}_wall_long
structures/{civ}_wall_tower
</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>
</SoundGroups>
</Sound>
</Entity>