1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <Entity parent="template_unit">
|
---|
3 | <Attack>
|
---|
4 | <Capture>
|
---|
5 | <AttackName>Capture</AttackName>
|
---|
6 | <Capture>2.5</Capture>
|
---|
7 | <MaxRange>4</MaxRange>
|
---|
8 | <RepeatTime>1000</RepeatTime>
|
---|
9 | <RestrictedClasses datatype="tokens">Field Palisade Wall</RestrictedClasses>
|
---|
10 | </Capture>
|
---|
11 | <Slaughter>
|
---|
12 | <AttackName>Slaughter</AttackName>
|
---|
13 | <Damage>
|
---|
14 | <Hack>1000</Hack>
|
---|
15 | </Damage>
|
---|
16 | <MaxRange>2</MaxRange>
|
---|
17 | </Slaughter>
|
---|
18 | </Attack>
|
---|
19 | <Cost>
|
---|
20 | <BuildTime>15</BuildTime>
|
---|
21 | <Resources>
|
---|
22 | <food>100</food>
|
---|
23 | </Resources>
|
---|
24 | </Cost>
|
---|
25 | <Footprint replace="">
|
---|
26 | <Square width="3.0" depth="6.0"/>
|
---|
27 | <Height>6.0</Height>
|
---|
28 | </Footprint>
|
---|
29 | <Identity>
|
---|
30 | <GenericName>Cavalry</GenericName>
|
---|
31 | <Rank>Basic</Rank>
|
---|
32 | <Classes datatype="tokens">Human FastMoving CitizenSoldier</Classes>
|
---|
33 | <VisibleClasses datatype="tokens">Citizen Soldier Cavalry</VisibleClasses>
|
---|
34 | <Formations datatype="tokens">
|
---|
35 | special/formations/wedge
|
---|
36 | </Formations>
|
---|
37 | </Identity>
|
---|
38 | <Loot>
|
---|
39 | <xp>130</xp>
|
---|
40 | <food>10</food>
|
---|
41 | <wood>5</wood>
|
---|
42 | <stone>0</stone>
|
---|
43 | <metal>0</metal>
|
---|
44 | </Loot>
|
---|
45 | <Position>
|
---|
46 | <TurnRate>5</TurnRate>
|
---|
47 | </Position>
|
---|
48 | <Promotion>
|
---|
49 | <RequiredXp>150</RequiredXp>
|
---|
50 | </Promotion>
|
---|
51 | <Resistance>
|
---|
52 | <Entity>
|
---|
53 | <Damage>
|
---|
54 | <Hack>3</Hack>
|
---|
55 | <Pierce>1</Pierce>
|
---|
56 | <Crush>15</Crush>
|
---|
57 | </Damage>
|
---|
58 | </Entity>
|
---|
59 | </Resistance>
|
---|
60 | <ResourceGatherer>
|
---|
61 | <MaxDistance>2.0</MaxDistance>
|
---|
62 | <BaseSpeed>1.0</BaseSpeed>
|
---|
63 | <Rates>
|
---|
64 | <food.meat>5</food.meat>
|
---|
65 | </Rates>
|
---|
66 | <Capacities>
|
---|
67 | <food>20</food>
|
---|
68 | </Capacities>
|
---|
69 | </ResourceGatherer>
|
---|
70 | <Selectable>
|
---|
71 | <Overlay>
|
---|
72 | <Texture>
|
---|
73 | <MainTexture>128x256/ellipse.png</MainTexture>
|
---|
74 | <MainTextureMask>128x256/ellipse_mask.png</MainTextureMask>
|
---|
75 | </Texture>
|
---|
76 | </Overlay>
|
---|
77 | </Selectable>
|
---|
78 | <Sound>
|
---|
79 | <SoundGroups>
|
---|
80 | <attack_slaughter>attack/weapon/sword_attack.xml</attack_slaughter>
|
---|
81 | <order_attack>voice/{lang}/civ/civ_{phenotype}_attack.xml</order_attack>
|
---|
82 | <order_garrison>voice/{lang}/civ/civ_{phenotype}_garrison.xml</order_garrison>
|
---|
83 | <order_gather>voice/{lang}/civ/civ_{phenotype}_gather.xml</order_gather>
|
---|
84 | <order_walk>voice/{lang}/civ/civ_{phenotype}_walk.xml</order_walk>
|
---|
85 | <select>voice/{lang}/civ/civ_{phenotype}_select.xml</select>
|
---|
86 | <walk>actor/mounted/movement/walk.xml</walk>
|
---|
87 | <run>actor/mounted/movement/walk.xml</run>
|
---|
88 | <gather_meat>resource/gathering/gather_meat.xml</gather_meat>
|
---|
89 | <death>actor/fauna/death/death_horse.xml</death>
|
---|
90 | <trained>interface/alarm/alarm_create_cav.xml</trained>
|
---|
91 | </SoundGroups>
|
---|
92 | </Sound>
|
---|
93 | <StatusBars>
|
---|
94 | <HeightOffset>7.0</HeightOffset>
|
---|
95 | </StatusBars>
|
---|
96 | <UnitMotion>
|
---|
97 | <WalkSpeed op="mul">2</WalkSpeed>
|
---|
98 | <RunMultiplier>1.4</RunMultiplier>
|
---|
99 | </UnitMotion>
|
---|
100 | <Vision>
|
---|
101 | <Range>92</Range>
|
---|
102 | </Vision>
|
---|
103 | </Entity>
|
---|