0ad/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml
Mythos_Ruler daf572eb43 Temporary Blacksmith structures for prototyping and playtesting.
Lots of new techs. Healing techs. Vision for outpost. "Conscription"
tech boosts batch training speed. Implemented Macedonian "Hellenistic
Metropolis" special tech.

Testing placing Champions in the barracks (unlocked with a tech). Try
this out with the Macedonians.

Reduced archer attack damage. Reduced cost of healer.

Lots of other stuff.

This was SVN commit r13400.
2013-05-12 07:23:05 +00:00

123 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit">
<Attack>
<Slaughter>
<Hack>50.0</Hack>
<Pierce>0.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>4.0</MaxRange>
</Slaughter>
</Attack>
<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}_outpost
other/wallset_palisade
structures/{civ}_dock
structures/{civ}_civil_centre
structures/{civ}_barracks
structures/{civ}_blacksmith
structures/{civ}_temple
structures/{civ}_market
structures/{civ}_defense_tower
structures/{civ}_wallset_stone
structures/{civ}_fortress
</Entities>
</Builder>
<Cost>
<BuildTime>9</BuildTime>
<Resources>
<food>50</food>
<wood>0</wood>
<stone>0</stone>
<metal>0</metal>
</Resources>
</Cost>
<Footprint>
<Circle radius="1.5"/>
<Height>2.5</Height>
</Footprint>
<Health>
<Max>100</Max>
<RegenRate>0.2</RegenRate>
</Health>
<Identity>
<GenericName>Infantry</GenericName>
<Classes datatype="tokens">Infantry CitizenSoldier Worker Organic</Classes>
<Rank>Basic</Rank>
</Identity>
<Loot>
<xp>100</xp>
<food>5</food>
<wood>0</wood>
<stone>0</stone>
<metal>0</metal>
</Loot>
<Looter/>
<Promotion>
<RequiredXp>100</RequiredXp>
</Promotion>
<ResourceGatherer>
<MaxDistance>2.0</MaxDistance>
<BaseSpeed>1.0</BaseSpeed>
<Rates>
<food.fish>0.5</food.fish>
<food.fruit>0.5</food.fruit>
<food.grain>0.25</food.grain>
<food.meat>1</food.meat>
<wood.tree>0.75</wood.tree>
<wood.ruins>5</wood.ruins>
<stone.rock>0.75</stone.rock>
<stone.ruins>5</stone.ruins>
<metal.ore>0.75</metal.ore>
</Rates>
</ResourceGatherer>
<Selectable>
<Overlay>
<Texture>
<MainTexture>circle/128x128.png</MainTexture>
<MainTextureMask>circle/128x128_mask.png</MainTextureMask>
</Texture>
</Overlay>
</Selectable>
<Sound>
<SoundGroups>
<select>voice/hellenes/civ/civ_male_select.xml</select>
<order_walk>voice/hellenes/civ/civ_male_ack.xml</order_walk>
<order_attack>voice/hellenes/civ/civ_male_attack.xml</order_attack>
<order_gather>voice/hellenes/civ/civ_male_ack.xml</order_gather>
<order_repair>voice/hellenes/civ/civ_male_ack.xml</order_repair>
<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_tree>resource/lumbering/lumbering.xml</gather_tree>
<gather_rock>resource/mining/pickaxe.xml</gather_rock>
<gather_ore>resource/mining/mining.xml</gather_ore>
<gather_ruins>resource/mining/mining.xml</gather_ruins>
<trained>actor/singlesteps/steps_gravel.xml</trained>
</SoundGroups>
</Sound>
<Stamina>
<Max>1000</Max>
</Stamina>
<UnitMotion>
<WalkSpeed>7.5</WalkSpeed>
<Run>
<Speed>18.75</Speed>
</Run>
<CostClass>infantry</CostClass>
</UnitMotion>
<Vision>
<Range>60</Range>
</Vision>
</Entity>