Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / tech / units / horseman / horseman.xml
blobf14e0e6671c27548487260497457d99f7595ec7e
1 <?xml version="1.0" standalone="no"?>
3 <unit>
4         <parameters>
5                 <size value="2"/>
6                 <height value="2"/>
7                 <max-hp value="1400" regeneration="2"/>
8                 <max-ep value="0"/>
9                 <armor value="30"/>
10                 <armor-type value="leather"/>
11                 <sight value="10"/>
12                 <time value="120"/>
13                 <multi-selection value="true"/>
14                 <cellmap value="false"/>
15                 <levels>
16                         <level name="elite" kills="6"/>
17                 </levels>
18                 <fields>
19                         <field value="land"/>
20                 </fields>
21                 <properties/>
22                 <light enabled="false"/>
23                 <unit-requirements>
24                         <unit name="blacksmith"/>
25                         <unit name="farm"/>
26                 </unit-requirements>
27                 <upgrade-requirements>
28                         <upgrade name="stables"/>
29                 </upgrade-requirements>
30                 <resource-requirements>
31                         <resource name="wood" amount="100"/>
32                         <resource name="gold" amount="250"/>
33                         <resource name="food" amount="2"/>
34                 </resource-requirements>
35                 <resources-stored/>
36                 <image path="images/horseman.bmp"/>
37                 <image-cancel path="../archer/images/tech_cancel.bmp"/>
38                 <meeting-point value="false"/>
39                 <selection-sounds enabled="true">
40                         <sound path="$COMMONDATAPATH/sounds/horseman_select1.wav"/>
41                         <sound path="$COMMONDATAPATH/sounds/horseman_select2.wav"/>
42                         <sound path="$COMMONDATAPATH/sounds/horseman_select3.wav"/>
43                         <sound path="$COMMONDATAPATH/sounds/horseman_select4.wav"/>
44                         <sound path="$COMMONDATAPATH/sounds/horseman_select5.wav"/>
45                         <sound path="$COMMONDATAPATH/sounds/horseman_select6.wav"/>
46                         <sound path="$COMMONDATAPATH/sounds/horseman_select7.wav"/>
47                         <sound path="$COMMONDATAPATH/sounds/horseman_select8.wav"/>
48                         <sound path="$COMMONDATAPATH/sounds/horseman_select9.wav"/>
49                         <sound path="$COMMONDATAPATH/sounds/horseman_select10.wav"/>
50                         <sound path="$COMMONDATAPATH/sounds/horseman_select11.wav"/>
51                         <sound path="$COMMONDATAPATH/sounds/horseman_select12.wav"/>
52                 </selection-sounds>
53                 <command-sounds enabled="true">
54                         <sound path="$COMMONDATAPATH/sounds/horseman_ack1.wav"/>
55                         <sound path="$COMMONDATAPATH/sounds/horseman_ack2.wav"/>
56                         <sound path="$COMMONDATAPATH/sounds/horseman_ack3.wav"/>
57                         <sound path="$COMMONDATAPATH/sounds/horseman_ack4.wav"/>
58                         <sound path="$COMMONDATAPATH/sounds/horseman_ack5.wav"/>
59                         <sound path="$COMMONDATAPATH/sounds/horseman_ack6.wav"/>
60                         <sound path="$COMMONDATAPATH/sounds/horseman_ack7.wav"/>
61                         <sound path="$COMMONDATAPATH/sounds/horseman_ack8.wav"/>
62                         <sound path="$COMMONDATAPATH/sounds/horseman_ack9.wav"/>
63                         <sound path="$COMMONDATAPATH/sounds/horseman_ack10.wav"/>
64                         <sound path="$COMMONDATAPATH/sounds/horseman_ack11.wav"/>
65                         <sound path="$COMMONDATAPATH/sounds/horseman_ack12.wav"/>
66                         <sound path="$COMMONDATAPATH/sounds/horseman_ack13.wav"/>
67                         <sound path="$COMMONDATAPATH/sounds/horseman_ack14.wav"/>
68                         <sound path="$COMMONDATAPATH/sounds/horseman_ack15.wav"/>
69                 </command-sounds>
71         </parameters>
73         <skills>
75                 <skill>
76                         <type value="stop"/>
77                         <name value="stop_skill"/>
78                         <ep-cost value="0"/>
79                         <speed value="1000"/>
80                         <anim-speed value="50"/>
81                         <animation path="models/horseman_standing.g3d"/>
82                         <sound enabled="false"/>
83                 </skill>
85                 <skill>
86                         <type value="move"/>
87                         <name value="move_skill"/>
88                         <ep-cost value="0"/>
89                         <speed value="480"/>
90                         <anim-speed value="120"/>
91                         <animation path="models/horseman_walking.g3d"/>
92                         <sound enabled="true" start-time="0">
93                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_walk1.wav"/>
94                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_walk2.wav"/>
95                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_walk3.wav"/>
96                         </sound>
97                 </skill>
99                 <skill>
100                         <type value="attack"/>
101                         <name value="attack_skill"/>
102                         <ep-cost value="0"/>
103                         <speed value="100"/>
104                         <anim-speed value="100"/>
105                         <animation path="models/horseman_attacking.g3d"/>
106                         <sound enabled="true" start-time="0.4">
107                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack1.wav"/>
108                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack2.wav"/>
109                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack3.wav"/>
110                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack4.wav"/>
111                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack5.wav"/>
112                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack6.wav"/>
113                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack7.wav"/>
114                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack8.wav"/>
115                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack9.wav"/>
116                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack10.wav"/>
117                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack11.wav"/>
118                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack12.wav"/>
119                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack13.wav"/>
120                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_attack14.wav"/>
121                         </sound>
122                         <attack-strenght value="215"/>
123                         <attack-var value="25"/>
124                         <attack-range value="3"/>
125                         <attack-type value="piercing"/>
126                         <attack-fields>
127                                 <field value="land"/>
128                         </attack-fields>
129                         <attack-start-time value="0.8"/>
130                         <projectile value="false"/>
131                         <splash value="false"/>
132                 </skill>
134                 <skill>
135                         <type value="die"/>
136                         <name value="die_skill"/>
137                         <ep-cost value="0"/>
138                         <speed value="60"/>
139                         <anim-speed value="50"/>
140                         <animation path="models/horseman_dying.g3d"/>
141                         <sound enabled="true" start-time="0">
142                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_die1.wav"/>
143                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_die2.wav"/>
144                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_die3.wav"/>
145                                 <sound-file path="$COMMONDATAPATH/sounds/horseman_die4.wav"/>
146                         </sound>
147                         <fade value="false"/>
148                 </skill>
150         </skills>
152         <commands>
154                 <command>
155                         <type value="stop"/>
156                         <name value="stop"/>
157                         <image path="../archer/images/tech_stop.bmp"/>
158                         <unit-requirements/>
159                         <upgrade-requirements/>
160                         <stop-skill value="stop_skill"/>
161                 </command>
163                 <command>
164                         <type value="move"/>
165                         <name value="move"/>
166                         <image path="../archer/images/tech_move.bmp"/>
167                         <unit-requirements/>
168                         <upgrade-requirements/>
169                         <move-skill value="move_skill"/>
170                 </command>
172                 <command>
173                         <type value="attack"/>
174                         <name value="attack"/>
175                         <image path="images/horseman_attack.bmp"/>
176                         <unit-requirements/>
177                         <upgrade-requirements/>
178                         <move-skill value="move_skill"/>
179                         <attack-skill value="attack_skill"/>
180                 </command>
182                 <command>
183                         <type value="attack_stopped"/>
184                         <name value="hold_position"/>
185                         <image path="../archer/images/tech_hold.bmp"/>
186                         <unit-requirements/>
187                         <upgrade-requirements>
188                                 <upgrade name="training_field"/>
189                         </upgrade-requirements>
190                         <stop-skill value="stop_skill"/>
191                         <attack-skill value="attack_skill"/>
192                 </command>
194         </commands>
195 </unit>