1 <?xml version="1.0" standalone="no"?>
5 <!-- *** parameters *** -->
10 <max-hp value="700" regeneration="1"/>
13 <armor-type value="leather"/>
16 <multi-selection value="true"/>
17 <cellmap value="false"/>
19 <level name="elite" kills="3"/>
25 <light enabled="false"/>
28 <upgrade-requirements>
29 <upgrade name="root"/>
30 </upgrade-requirements>
31 <resource-requirements>
32 <resource name="wood" amount="25"/>
33 <resource name="gold" amount="35"/>
34 <resource name="food" amount="1"/>
35 </resource-requirements>
37 <image path="images/spearman.bmp"/>
38 <image-cancel path="../archer/images/tech_cancel.bmp"/>
39 <meeting-point value="false"/>
40 <selection-sounds enabled="true">
41 <sound path="sounds/swordman_select1.wav"/>
42 <sound path="sounds/swordman_select2.wav"/>
43 <sound path="sounds/swordman_select3.wav"/>
44 <sound path="sounds/swordman_select4.wav"/>
46 <command-sounds enabled="true">
47 <sound path="sounds/swordman_ack1.wav"/>
48 <sound path="sounds/swordman_ack2.wav"/>
49 <sound path="sounds/swordman_ack3.wav"/>
50 <sound path="sounds/swordman_ack4.wav"/>
51 <sound path="sounds/swordman_ack5.wav"/>
55 <!-- *** skills *** -->
61 <name value="stop_skill"/>
64 <anim-speed value="45"/>
65 <animation path="models/spearman_standing.g3d"/>
66 <sound enabled="false"/>
71 <name value="move_skill"/>
74 <anim-speed value="90"/>
75 <animation path="models/spearman_walking.g3d"/>
76 <sound enabled="false"/>
81 <name value="charge_skill"/>
84 <anim-speed value="125"/>
85 <animation path="models/spearman_charging.g3d"/>
86 <sound enabled="false"/>
90 <type value="attack"/>
91 <name value="attack_skill"/>
94 <anim-speed value="200"/>
95 <animation path="models/spearman_attacking.g3d"/>
96 <sound enabled="true" start-time="0.47">
97 <sound-file path="sounds/swordman_attack1.wav"/>
98 <sound-file path="sounds/swordman_attack2.wav"/>
99 <sound-file path="sounds/swordman_attack3.wav"/>
100 <sound-file path="sounds/swordman_attack4.wav"/>
101 <sound-file path="sounds/swordman_attack5.wav"/>
102 <sound-file path="sounds/swordman_attack6.wav"/>
103 <sound-file path="sounds/swordman_attack7.wav"/>
104 <sound-file path="sounds/swordman_attack8.wav"/>
105 <sound-file path="sounds/swordman_attack9.wav"/>
106 <sound-file path="sounds/swordman_attack10.wav"/>
107 <sound-file path="sounds/swordman_attack11.wav"/>
108 <sound-file path="sounds/swordman_attack12.wav"/>
110 <attack-strenght value="55"/>
111 <attack-var value="40"/>
112 <attack-range value="1"/>
113 <attack-type value="piercing"/>
115 <field value="land"/>
117 <attack-start-time value="0"/>
118 <projectile value="false"/>
119 <splash value="false"/>
122 <!-- *** skill 3 *** -->
124 <type value="morph"/>
125 <name value="morph_skill"/>
128 <anim-speed value="80"/>
129 <animation path="models/spearman_standing.g3d"/>
130 <sound enabled="false"/>
133 <!-- *** skill 4 *** -->
136 <name value="die_skill"/>
139 <anim-speed value="60"/>
140 <animation path="models/spearman_dying.g3d"/>
141 <sound enabled="true" start-time="0">
142 <sound-file path="sounds/swordman_die1.wav"/>
143 <sound-file path="sounds/swordman_die2.wav"/>
145 <fade value="false"/>
150 <!-- *** commands *** -->
157 <image path="../archer/images/tech_stop.bmp"/>
159 <upgrade-requirements/>
160 <stop-skill value="stop_skill"/>
166 <image path="../archer/images/tech_move.bmp"/>
168 <upgrade-requirements/>
169 <move-skill value="move_skill"/>
173 <type value="attack"/>
174 <name value="attack"/>
175 <image path="images/spearman_attack.bmp"/>
177 <upgrade-requirements/>
178 <move-skill value="charge_skill"/>
179 <attack-skill value="attack_skill"/>
183 <type value="attack_stopped"/>
184 <name value="hold_position"/>
185 <image path="../archer/images/tech_hold.bmp"/>
187 <upgrade-requirements/>
188 <stop-skill value="stop_skill"/>
189 <attack-skill value="attack_skill"/>
193 <type value="morph"/>
194 <name value="promote_to_armored_swordman"/>
195 <image path="../armored_swordman/images/armored_swordman.bmp"/>
197 <upgrade-requirements/>
198 <morph-skill value="morph_skill"/>
199 <morph-unit name= "armored_swordman"/>
200 <discount value="60"/>