Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / tech / units / battle_machine / battle_machine.xml
blob888b684c2d845f432327181fc9aa43627c876126
1 <?xml version="1.0" standalone="no"?>
3 <unit>
5         <parameters>
6                 <size value="2"/>
7                 <height value="3"/>
8                 <ai-build-size value="3"/>
9                 <max-hp value="2500" regeneration="1"/>
10                 <max-ep value="0"/>
11                 <armor value="45"/>
12                 <armor-type value="wood"/>
13                 <sight value="10"/>
14                 <time value="140"/>
15                 <multi-selection value="true"/>
16                 <cellmap value="false"/>
17                 <levels>
18                         <level name="elite" kills="10"/>
19                 </levels>
20                 <fields>
21                         <field value="land"/>
22                         <field value="air"/>
23                 </fields>
24                 <properties/>
25                 <light enabled="false"/>
26                 <unit-requirements>
27                         <unit name="blacksmith"/>
28                         <unit name="technodrome"/>
29                 </unit-requirements>
30                 <upgrade-requirements>
31                         <upgrade name="robotics"/>
32                 </upgrade-requirements>
33                 <resource-requirements>
34                         <resource name="wood" amount="300"/>
35                         <resource name="gold" amount="150"/>
36                         <resource name="food" amount="1"/>
37                 </resource-requirements>
38                 <resources-stored/>
39                 <image path="images/battle_machine.bmp"/>
40                 <image-cancel path="../archer/images/tech_cancel.bmp"/>
41                 <meeting-point value="false"/>
42                 <selection-sounds enabled="true">
43                         <sound path="$COMMONDATAPATH/sounds/technician_select1.wav"/>
44                         <sound path="$COMMONDATAPATH/sounds/technician_select2.wav"/>
45                         <sound path="$COMMONDATAPATH/sounds/technician_select3.wav"/>
46                         <sound path="$COMMONDATAPATH/sounds/technician_select4.wav"/>
47                 </selection-sounds>
48                 <command-sounds enabled="true">
49                         <sound path="$COMMONDATAPATH/sounds/technician_ack1.wav"/>
50                         <sound path="$COMMONDATAPATH/sounds/technician_ack2.wav"/>
51                         <sound path="$COMMONDATAPATH/sounds/technician_ack3.wav"/>
52                         <sound path="$COMMONDATAPATH/sounds/technician_ack4.wav"/>
53                         <sound path="$COMMONDATAPATH/sounds/technician_ack5.wav"/>
54                         <sound path="$COMMONDATAPATH/sounds/technician_ack6.wav"/>
55                         <sound path="$COMMONDATAPATH/sounds/technician_ack7.wav"/>
56                 </command-sounds>
58         </parameters>
60         <skills>
62                 <skill>
63                         <type value="stop"/>
64                         <name value="stop_skill"/>
65                         <ep-cost value="0"/>
66                         <speed value="1000"/>
67                         <anim-speed value="50"/>
68                         <animation path="models/battle_machine_standing.g3d"/>
69                         <sound enabled="false"/>
70                 </skill>
72                 <skill>
73                         <type value="move"/>
74                         <name value="move_skill"/>
75                         <ep-cost value="0"/>
76                         <speed value="170"/>
77                         <anim-speed value="90"/>
78                         <animation path="models/battle_machine_walking.g3d"/>
79                         <sound enabled="true" start-time="0">
80                                 <sound-file path="sounds/machine_walk1.wav"/>
81                                 <sound-file path="sounds/machine_walk2.wav"/>
82                                 <sound-file path="sounds/machine_walk3.wav"/>
83                                 <sound-file path="sounds/machine_walk4.wav"/>
84                                 <sound-file path="sounds/machine_walk5.wav"/>
85                         </sound>
87                 </skill>
89                 <skill>
90                         <type value="attack"/>
91                         <name value="attack_skill"/>
92                         <ep-cost value="0"/>
93                         <speed value="90"/>
94                         <anim-speed value="90"/>
95                         <animation path="models/battle_machine_attacking.g3d"/>
96                         <sound enabled="true" start-time="0">
97                                 <sound-file path="sounds/machine_attack1.wav"/>
98                                 <sound-file path="sounds/machine_attack1b.wav"/>
99                                 <sound-file path="sounds/machine_attack1c.wav"/>
100                         </sound>
101                         <attack-strenght value="400"/>
102                         <attack-var value="150"/>
103                         <attack-range value="1"/>
104                         <attack-type value="slashing"/>
105                         <attack-fields>
106                                 <field value="land"/>
107                         </attack-fields>
108                         <attack-start-time value="0.8"/>
109                         <projectile value="false"/>
110                         <splash value="false"/>
111                 </skill>
113                 <skill>
114                         <type value="attack"/>
115                         <name value="attack_arrow_skill"/>
116                         <ep-cost value="0"/>
117                         <speed value="52"/>
118                         <anim-speed value="65"/>
119                         <animation path="models/battle_machine_attacking2.g3d"/>
120                         <sound enabled="true" start-time="0.5">
121                                 <sound-file path="sounds/machine_attack2.wav"/>
122                                 <sound-file path="sounds/machine_attack2b.wav"/>
123                                 <sound-file path="sounds/machine_attack2c.wav"/>
124                         </sound>
125                         <attack-strenght value="170"/>
126                         <attack-var value="75"/>
127                         <attack-range value="9"/>
128                         <attack-type value="piercing"/>
129                         <attack-start-time value="0.5"/>
130                         <attack-fields>
131                                 <field value="air"/>
132                                 <field value="land"/>
133                         </attack-fields>
134                         <projectile value="true">
135                                 <particle value="true" path="particle_proj.xml"/>
136                                 <sound enabled="true">
137                                         <sound-file path="../ornithopter/sounds/orni_hit1.wav"/>
138                                         <sound-file path="../ornithopter/sounds/orni_hit2.wav"/>
139                                         <sound-file path="../ornithopter/sounds/orni_hit3.wav"/>
140                                         <sound-file path="../ornithopter/sounds/orni_hit4.wav"/>
141                                         <sound-file path="../ornithopter/sounds/orni_hit5.wav"/>
142                                 </sound>
143                         </projectile>
144                         <splash value="true">
145                                 <radius value="1"/>
146                                 <damage-all value="true"/>
147                                 <particle value="true" path="particle_splash.xml"/>
148                         </splash>
149                 </skill>
151                 <skill>
152                         <type value="die"/>
153                         <name value="die_skill"/>
154                         <ep-cost value="0"/>
155                         <speed value="60"/>
156                         <anim-speed value="60"/>
157                         <animation path="models/battle_machine_dying.g3d"/>
158                         <sound enabled="true" start-time="0">
159                                 <sound-file path="sounds/machine_die1.wav"/>
160                                 <sound-file path="sounds/machine_die2.wav"/>
161                                 <sound-file path="sounds/machine_die3.wav"/>
162                         </sound>
163                         <fade value="false"/>
164                 </skill>
166                 <skill>
167                         <type value="move"/>
168                         <name value="charge_skill"/>
169                         <ep-cost value="0"/>
170                         <speed value="240"/>
171                         <anim-speed value="100"/>
172                         <animation path="models/battle_machine_charging.g3d"/>
173                         <sound enabled="true" start-time="0">
174                                 <sound-file path="sounds/machine_walk1.wav"/>
175                                 <sound-file path="sounds/machine_walk2.wav"/>
176                                 <sound-file path="sounds/machine_walk3.wav"/>
177                                 <sound-file path="sounds/machine_walk4.wav"/>
178                                 <sound-file path="sounds/machine_walk5.wav"/>
179                         </sound>
180                 </skill>
182         </skills>
184         <!-- *** commands *** -->
186         <commands>
188                 <command>
189                         <type value="stop"/>
190                         <name value="stop"/>
191                         <image path="../archer/images/tech_stop.bmp"/>
192                         <unit-requirements/>
193                         <upgrade-requirements/>
194                         <stop-skill value="stop_skill"/>
195                 </command>
197                 <command>
198                         <type value="move"/>
199                         <name value="move"/>
200                         <image path="../archer/images/tech_move.bmp"/>
201                         <unit-requirements/>
202                         <upgrade-requirements/>
203                         <move-skill value="move_skill"/>
204                 </command>
206                 <command>
207                         <type value="attack"/>
208                         <name value="attack"/>
209                         <image path="images/battle_machine_attack.bmp"/>
210                         <unit-requirements/>
211                         <upgrade-requirements/>
212                         <move-skill value="charge_skill"/>
213                         <attack-skill value="attack_skill"/>
214                 </command>
216                 <command>
217                         <type value="attack"/>
218                         <name value="attack_arrow"/>
219                         <image path="images/battle_machine_attack_arrow.bmp"/>
220                         <unit-requirements/>
221                         <upgrade-requirements/>
222                         <move-skill value="charge_skill"/>
223                         <attack-skill value="attack_arrow_skill"/>
224                 </command>
226                    <command>
227                         <type value="attack_stopped"/>
228                         <name value="hold_position"/>
229                         <image path="../archer/images/tech_hold.bmp"/>
230                         <unit-requirements/>
231                         <upgrade-requirements>
232                                 <upgrade name="training_field"/>
233                         </upgrade-requirements>
234                         <stop-skill value="stop_skill"/>
235                         <attack-skill value="attack_skill"/>
236                 </command>
238         </commands>
239 </unit>