Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / egypt / units / spearman / spearman.xml
blob12fa69e088d619b65ab0b9384b803644f1135605
1 <?xml version="1.0" standalone="no"?>
3 <unit>
4         <parameters>
5                 <size value="1"/>
6                 <height value="2"/>
7                 <max-hp value="530" regeneration="1"/>
8                 <max-ep value="0"/>
9                 <armor value="16"/>
10                 <armor-type value="leather"/>
11                 <sight value="10"/>
12                 <time value="35"/>
13                 <multi-selection value="true"/>
14                 <cellmap value="false"/>
15                 <levels>
16                         <level name="elite" kills="3"/>
17                 </levels>
18                 <fields>
19                         <field value="land"/>
20                 </fields>
21                 <properties/>
22                 <light enabled="false"/>
23                 <unit-requirements>
24                         <unit name="desert_camp"/>
25                 </unit-requirements>
26                 <upgrade-requirements/>
27                 <resource-requirements>
28                         <resource name="wood" amount="25"/>
29                         <resource name="gold" amount="50"/>
30                         <resource name="food" amount="1"/>
31                 </resource-requirements>
32                 <resources-stored/>
33                 <image path="images/swordman.bmp"/>
34                 <image-cancel path="../spearman/images/tech_cancel.bmp"/>
35                 <meeting-point value="false"/>
36                 <selection-sounds enabled="true">
37                         <sound path="sounds/spearman_select1.wav"/>
38                         <sound path="sounds/spearman_select2.wav"/>
39                         <sound path="sounds/spearman_select3.wav"/>
40                         <sound path="sounds/spearman_select4.wav"/>
41                 </selection-sounds>
42                 <command-sounds enabled="true">
43                         <sound path="sounds/spearman_ack1.wav"/>
44                         <sound path="sounds/spearman_ack2.wav"/>
45                         <sound path="sounds/spearman_ack3.wav"/>
46                         <sound path="sounds/spearman_ack4.wav"/>
47                         <sound path="sounds/spearman_ack5.wav"/>
48                         <sound path="sounds/spearman_ack6.wav"/>
49                 </command-sounds>
50         </parameters>
52         <skills>
54                 <skill>
55                         <type value="stop"/>
56                         <name value="stop_skill"/>
57                         <ep-cost value="0"/>
58                         <speed value="1000"/>
59                         <anim-speed value="45"/>
60                         <animation path="models/spearman_standing.g3d"/>
61                         <sound enabled="false"/>
62                 </skill>
64                 <skill>
65                         <type value="move"/>
66                         <name value="move_skill"/>
67                         <ep-cost value="0"/>
68                         <speed value="220"/>
69                         <anim-speed value="90"/>
70                         <animation path="models/spearman_charging.g3d"/>
71                         <sound enabled="false"/>
72                 </skill>
74                 <skill>
75                         <type value="move"/>
76                         <name value="charge_skill"/>
77                         <ep-cost value="0"/>
78                         <speed value="220"/>
79                         <anim-speed value="125"/>
80                         <animation path="models/spearman_charging.g3d"/>
81                         <sound enabled="false"/>
82                 </skill>
84                 <skill>
85                         <type value="attack"/>
86                         <name value="attack_skill"/>
87                         <ep-cost value="0"/>
88                         <speed value="100"/>
89                         <anim-speed value="100"/>
90                         <animation path="models/spearman_attacking.g3d"/>
91                         <sound enabled="true" start-time="0.20">
92                                 <sound-file path="sounds/spearman_attack7.wav"/>
93                                 <sound-file path="sounds/spearman_attack8.wav"/>
94                                 <sound-file path="sounds/spearman_attack1.wav"/>
95                                 <sound-file path="sounds/spearman_attack2.wav"/>
96                                 <sound-file path="sounds/spearman_attack3.wav"/>
97                                 <sound-file path="sounds/spearman_attack4.wav"/>
98                                 <sound-file path="sounds/spearman_attack5.wav"/>
99                                 <sound-file path="sounds/spearman_attack6.wav"/>
100                                 <sound-file path="sounds/spearman_attack9.wav"/>
101                         </sound>
102                         <attack-strenght value="80"/>
103                         <attack-var value="30"/>
104                         <attack-range value="1"/>
105                         <attack-type value="slashing"/>
106                         <attack-fields>
107                                 <field value="land"/>
108                         </attack-fields>
109                         <attack-start-time value="0"/>
110                         <projectile value="false"/>
111                         <splash value="false"/>
112                 </skill>
114                 <skill>
115                         <type value="morph"/>
116                         <name value="morph_skill"/>
117                         <ep-cost value="0"/>
118                         <speed value="500"/>
119                         <anim-speed value="80"/>
120                         <animation path="models/spearman_standing.g3d"/>
121                         <sound enabled="false"/>
122                 </skill>
124                 <skill>
125                         <type value="die"/>
126                         <name value="die_skill"/>
127                         <ep-cost value="0"/>
128                         <speed value="60"/>
129                         <anim-speed value="40"/>
130                         <animation path="models/spearman_dying.g3d"/>
131                         <sound enabled="true" start-time="0">
132                                 <sound-file path="sounds/spearman_die1.wav"/>
133                                 <sound-file path="sounds/spearman_die2.wav"/>
134                                 <sound-file path="sounds/spearman_die3.wav"/>
135                         </sound>
136                         <fade value="false"/>
137                 </skill>
139         </skills>
141         <commands>
143                 <command>
144                         <type value="stop"/>
145                         <name value="stop"/>
146                         <image path="../spearman/images/tech_stop.bmp"/>
147                         <unit-requirements/>
148                         <upgrade-requirements/>
149                         <stop-skill value="stop_skill"/>
150                 </command>
152                 <command>
153                         <type value="move"/>
154                         <name value="move"/>
155                         <image path="../spearman/images/tech_move.bmp"/>
156                         <unit-requirements/>
157                         <upgrade-requirements/>
158                         <move-skill value="move_skill"/>
159                 </command>
161                 <command>
162                         <type value="attack"/>
163                         <name value="attack"/>
164                         <image path="images/swordman_attack.bmp"/>
165                         <unit-requirements/>
166                         <upgrade-requirements/>
167                         <move-skill value="charge_skill"/>
168                         <attack-skill value="attack_skill"/>
169                 </command>
171                 <!--command>
172                         <type value="attack_stopped"/>
173                         <name value="hold_position"/>
174                         <image path="../spearman/images/tech_hold.bmp"/>
175                         <unit-requirements/>
176                         <upgrade-requirements>
177                                 <upgrade name="training_field"/>
178                         </upgrade-requirements>
179                         <stop-skill value="stop_skill"/>
180                         <attack-skill value="attack_skill"/>
181                 </comman->
183                 <command>
184                         <type value="morph"/>
185                         <name value="promote_to_guard"/>
186                         <image path="../guard/images/guard.bmp"/>
187                         <unit-requirements/>
188                         <upgrade-requirements/>
189                         <morph-skill value="morph_skill"/>
190                         <morph-unit name= "guard"/>
191                         <discount value="60"/>
192                 </command-->
194         </commands>
195 </unit>