1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml
WhiteTreePaladin bc704b288a Made Animal AI default to "PASSIVE" if its type was not found
Added rudimentary fishing for units and merchant ships
Adjusted resource gather rates
Improved Mountain Pass map

This was SVN commit r7799.
2010-07-24 20:26:25 +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>1</food.grain>
<food.meat>8</food.meat>
<metal.ore>3</metal.ore>
<metal.treasure>10000</metal.treasure>
<stone.rock>3</stone.rock>
<wood.tree>2</wood.tree>
</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>12</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>