1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml
2010-04-23 16:07:45 +00:00

74 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit">
<Identity>
<GenericName>Infantry</GenericName>
</Identity>
<Cost>
<BuildTime>20</BuildTime>
<Resources>
<food>50</food>
<wood>0</wood>
<stone>0</stone>
<metal>0</metal>
</Resources>
</Cost>
<ResourceGatherer>
<BaseSpeed>1.0</BaseSpeed>
<Rates>
<food.fish>1</food.fish>
<food.fruit>1</food.fruit>
<food.grain>1</food.grain>
<food.meat>1</food.meat>
<metal>3</metal>
<stone>3</stone>
<wood>2</wood>
</Rates>
</ResourceGatherer>
<Health>
<Max>100</Max>
<RegenRate>0.2</RegenRate>
</Health>
<Armour>
<Hack>1.0</Hack>
<Pierce>1.0</Pierce>
<Crush>9.0</Crush>
</Armour>
<UnitMotion>
<WalkSpeed>7.0</WalkSpeed>
</UnitMotion>
<Builder>
<Rate>1.0</Rate>
<Entities>
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/walk.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>