Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / tech / units / technician / technician.xml
blobada85f6ee6dbffb92aa0360cbc31b428c2b2b6df
1 <?xml version="1.0" standalone="no"?>
3 <unit>
5         <parameters>
6                 <size value="1"/>
7                 <height value="2"/>
8                 <max-hp value="550" regeneration="1"/>
9                 <max-ep value="0"/>
10                 <armor value="0"/>
11                 <armor-type value="leather"/>
12                 <sight value="8"/>
13                 <time value="80"/>
14                 <multi-selection value="true"/>
15                 <cellmap value="false"/>
16                 <levels/>
17                 <fields>
18                         <field value="land"/>
19                 </fields>
20                 <properties/>
21                 <light enabled="false"/>
22                 <unit-requirements/>
23                 <upgrade-requirements/>
24                 <resource-requirements>
25                         <resource name="gold" amount="150"/>
26                         <resource name="food" amount="1"/>
27                 </resource-requirements>
28                 <resources-stored/>
29                 <image path="images/technician.bmp"/>
30                 <image-cancel path="../archer/images/tech_cancel.bmp"/>
31                 <meeting-point value="false"/>
32                 <selection-sounds enabled="true">
33                         <sound path="$COMMONDATAPATH/sounds/technician_select1.wav"/>
34                         <sound path="$COMMONDATAPATH/sounds/technician_select2.wav"/>
35                         <sound path="$COMMONDATAPATH/sounds/technician_select3.wav"/>
36                         <sound path="$COMMONDATAPATH/sounds/technician_select4.wav"/>
37                         <sound path="$COMMONDATAPATH/sounds/technician_select5.wav"/>
38                         <sound path="$COMMONDATAPATH/sounds/technician_select6.wav"/>
39                         <sound path="$COMMONDATAPATH/sounds/technician_select7.wav"/>
40                         <sound path="$COMMONDATAPATH/sounds/technician_select8.wav"/>
41                 </selection-sounds>
42                 <command-sounds enabled="true">
43                         <sound path="$COMMONDATAPATH/sounds/technician_ack1.wav"/>
44                         <sound path="$COMMONDATAPATH/sounds/technician_ack2.wav"/>
45                         <sound path="$COMMONDATAPATH/sounds/technician_ack3.wav"/>
46                         <sound path="$COMMONDATAPATH/sounds/technician_ack4.wav"/>
47                         <sound path="$COMMONDATAPATH/sounds/technician_ack5.wav"/>
48                         <sound path="$COMMONDATAPATH/sounds/technician_ack6.wav"/>
49                         <sound path="$COMMONDATAPATH/sounds/technician_ack7.wav"/>
50                         <sound path="$COMMONDATAPATH/sounds/technician_ack8.wav"/>
51                         <sound path="$COMMONDATAPATH/sounds/technician_ack9.wav"/>
52                         <sound path="$COMMONDATAPATH/sounds/technician_ack10.wav"/>
53                         <sound path="$COMMONDATAPATH/sounds/technician_ack11.wav"/>
54                         <sound path="$COMMONDATAPATH/sounds/technician_ack12.wav"/>
55                         <sound path="$COMMONDATAPATH/sounds/technician_ack13.wav"/>
56                         <sound path="$COMMONDATAPATH/sounds/technician_ack14.wav"/>
57                         <sound path="$COMMONDATAPATH/sounds/technician_ack15.wav"/>
58                         <sound path="$COMMONDATAPATH/sounds/technician_ack16.wav"/>
59                         <sound path="$COMMONDATAPATH/sounds/technician_ack17.wav"/>
60                         <sound path="$COMMONDATAPATH/sounds/technician_ack18.wav"/>
61                         <sound path="$COMMONDATAPATH/sounds/technician_ack19.wav"/>
62                 </command-sounds>
64         </parameters>
66         <skills>
68                 <skill>
69                         <type value="stop"/>
70                         <name value="stop_skill"/>
71                         <ep-cost value="0"/>
72                         <speed value="1000"/>
73                         <anim-speed value="55"/>
74                         <animation path="models/technician_standing.g3d"/>
75                         <sound enabled="false"/>
76                 </skill>
78                 <skill>
79                         <type value="stop"/>
80                         <name value="stop_loaded_skill"/>
81                         <ep-cost value="0"/>
82                         <speed value="1000"/>
83                         <anim-speed value="150"/>
84                         <animation path="models/technician_standing_loaded.g3d"/>
85                         <sound enabled="false"/>
86                 </skill>
88                 <skill>
89                         <type value="move"/>
90                         <name value="move_skill"/>
91                         <ep-cost value="0"/>
92                         <speed value="210"/>
93                         <anim-speed value="210"/>
94                         <animation path="models/technician_walking.g3d"/>
95                         <sound enabled="false"/>
96                 </skill>
98                 <skill>
99                         <type value="move"/>
100                         <name value="move_loaded_skill"/>
101                         <ep-cost value="0"/>
102                         <speed value="190"/>
103                         <anim-speed value="50"/>
104                         <animation path="models/technician_walking_loaded.g3d"/>
105                         <sound enabled="false"/>
106                 </skill>
108                 <skill>
109                         <type value="repair"/>
110                         <name value="repair_skill"/>
111                         <ep-cost value="0"/>
112                         <speed value="210"/>
113                         <anim-speed value="210"/>
114                         <animation path="models/technician_repairing.g3d"/>
115                         <sound enabled="true" start-time="0">
116                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
117                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
118                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>
119                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>
120                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>
121                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
122                         </sound>
124                 </skill>
126                 <skill>
127                         <type value="attack"/>
128                         <name value="molotov_skill"/>
129                         <ep-cost value="0"/>
130                         <speed value="35"/>
131                         <anim-speed value="35"/>
132                         <animation path="models/technician_attacking.g3d"/>
133                         <sound enabled="true" start-time="0.5">
134                                 <sound-file path="sounds/technician_attack.wav"/>
135                         </sound>
136                         <attack-strenght value="150"/>
137                         <attack-var value="100"/>
138                         <attack-range value="6"/>
139                         <attack-type value="energy"/>
140                         <attack-start-time value="0.5"/>
141                         <attack-fields>
142                                 <field value="land"/>
143                         </attack-fields>
144                         <projectile value="true">
145                                 <particle value="true" path="particle_proj.xml"/>
146                                 <sound enabled="true">
147                                         <sound-file path="/sounds/technician_hit1.wav"/>
148                                         <sound-file path="/sounds/technician_hit2.wav"/>
149                                 </sound>
150                         </projectile>
151                         <splash value="true">
152                                 <radius value="1"/>
153                                 <damage-all value="true"/>
154                                 <particle value="true" path="particle_splash.xml"/>
155                         </splash>
156                 </skill>
158                 <skill>
159                         <type value="repair"/>
160                         <name value="heal"/>
161                         <ep-cost value="0"/>
162                         <speed value="210"/>
163                         <anim-speed value="210"/>
164                         <animation path="models/technician_healing.g3d"/>
165                         <sound enabled="false"/>
166                 </skill>
168                 <skill>
169                         <type value="build"/>
170                         <name value="build_skill"/>
171                         <ep-cost value="0"/>
172                         <speed value="210"/>
173                         <anim-speed value="210"/>
174                         <animation path="models/technician_repairing.g3d"/>
175                         <sound enabled="true" start-time="0">
176                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
177                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
178                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>
179                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>
180                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>
181                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
182                         </sound>
183                 </skill>
185                 <skill>
186                         <type value="harvest"/>
187                         <name value="mine_skill"/>
188                         <ep-cost value="0"/>
189                         <speed value="50"/>
190                         <anim-speed value="210"/>
191                         <animation path="models/technician_mining.g3d"/>
192                         <sound enabled="true" start-time="0.5">
193                                 <sound-file path="sounds/technician_mine1.wav"/>
194                                 <sound-file path="sounds/technician_mine2.wav"/>
195                                 <sound-file path="sounds/technician_mine3.wav"/>
196                                 <sound-file path="sounds/technician_mine4.wav"/>
197                         </sound>
198                 </skill>
200                 <skill>
201                         <type value="morph"/>
202                         <name value="build_catapult"/>
203                         <ep-cost value="0"/>
204                         <speed value="500"/>
205                         <anim-speed value="200"/>
206                         <animation path="models/technician_morphing_catapult.g3d"/>
207                         <sound enabled="true" start-time="0">
208                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
209                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
210                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>
211                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>
212                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>
213                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
214                         </sound>
215                 </skill>
217                 <skill>
218                         <type value="morph"/>
219                         <name value="build_battle_machine"/>
220                         <ep-cost value="0"/>
221                         <speed value="500"/>
222                         <anim-speed value="200"/>
223                         <animation path="models/technician_morphing_battle_machine.g3d"/>
224                         <sound enabled="true" start-time="0">
225                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
226                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
227                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>
228                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>
229                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>
230                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
231                         </sound>
232                 </skill>
234                 <skill>
235                         <type value="morph"/>
236                         <name value="build_air_ballista"/>
237                         <ep-cost value="0"/>
238                         <speed value="300"/>
239                         <anim-speed value="200"/>
240                         <animation path="../air_ballista/models/air_ballista_morphing.g3d"/>
241                         <sound enabled="true" start-time="0">
242                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
243                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
244                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>
245                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>
246                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>
247                                 <sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
248                         </sound>
249                 </skill>
251                 <skill>
252                         <type value="die"/>
253                         <name value="die_skill"/>
254                         <ep-cost value="0"/>
255                         <speed value="90"/>
256                         <anim-speed value="50"/>
257                         <animation path="models/technician_dying.g3d"/>
258                         <sound enabled="true" start-time="0">
259                                 <sound-file path="$COMMONDATAPATH/sounds/technician_die1.wav"/>
260                                 <sound-file path="$COMMONDATAPATH/sounds/technician_die2.wav"/>
261                                 <sound-file path="$COMMONDATAPATH/sounds/technician_die3.wav"/>
262                                 <sound-file path="$COMMONDATAPATH/sounds/technician_die4.wav"/>
263                         </sound>
264                         <fade value="false"/>
265                 </skill>
267         </skills>
269         <commands>
271                 <command>
272                         <type value="stop"/>
273                         <name value="stop"/>
274                         <image path="../archer/images/tech_stop.bmp"/>
275                         <unit-requirements/>
276                         <upgrade-requirements/>
277                         <stop-skill value="stop_skill"/>
278                 </command>
280                 <command>
281                         <type value="move"/>
282                         <name value="move"/>
283                         <image path="../archer/images/tech_move.bmp"/>
284                         <unit-requirements/>
285                         <upgrade-requirements/>
286                         <move-skill value="move_skill"/>
287                 </command>
289                 <command>
290                         <type value="build"/>
291                         <name value="build"/>
292                         <image path="../worker/images/worker_build.bmp"/>
293                         <unit-requirements/>
294                         <upgrade-requirements/>
295                         <move-skill value="move_skill"/>
296                         <build-skill value="build_skill"/>
297                         <buildings>
298                                 <building name="aerodrome"/>
299                         </buildings>
300                         <start-sound enabled="false"/>
301                         <built-sound enabled="true" start-time="0">
302                                 <sound-file path="$COMMONDATAPATH/sounds/technician_select1.wav"/>
303                                 <sound-file path="$COMMONDATAPATH/sounds/technician_select5.wav"/>
304                         </built-sound>
305                 </command>
307                 <command>
308                         <type value="repair"/>
309                         <name value="repair"/>
310                         <image path="images/technician_repair.bmp"/>
311                         <unit-requirements/>
312                         <upgrade-requirements/>
313                         <move-skill value="move_skill"/>
314                         <repair-skill value="repair_skill"/>
315                         <repaired-units>
316                                 <unit name="catapult"/>
317                                 <unit name="battle_machine"/>
318                                 <unit name="air_ballista"/>
319                                 <unit name="aerodrome"/>
320                         </repaired-units>
321                 </command>
323                 <command>
324                         <type value="repair"/>
325                         <name value="heal"/>
326                         <image path="images/technician_heal.bmp"/>
327                         <unit-requirements/>
328                         <upgrade-requirements/>
329                         <move-skill value="move_skill"/>
330                         <repair-skill value="heal"/>
331                         <repaired-units>
332                                 <unit name="worker"/>
333                                 <unit name="technician"/>
334                                 <unit name="swordman"/>
335                                 <unit name="archer"/>
336                                 <unit name="guard"/>
337                                 <unit name="horseman"/>
338                         </repaired-units>
339                 </command>
341                 <command>
342                         <type value="harvest"/>
343                         <name value="mine_gold"/>
344                         <image path="images/technician_mine.bmp"/>
345                         <unit-requirements/>
346                         <upgrade-requirements/>
347                         <move-skill value="move_skill"/>
348                         <harvest-skill value="mine_skill"/>
349                         <stop-loaded-skill value="stop_loaded_skill"/>
350                         <move-loaded-skill value="move_loaded_skill"/>
351                         <harvested-resources>
352                                 <resource name="gold"/>
353                         </harvested-resources>
354                         <max-load value="5"/>
355                         <hits-per-unit value="1"/>
356                 </command>
358                 <command>
359                         <type value="attack"/>
360                         <name value="molotov"/>
361                         <image path="images/molotov.bmp"/>
362                         <unit-requirements/>
363                         <upgrade-requirements/>
364                         <move-skill value="move_skill"/>
365                         <attack-skill value="molotov_skill"/>
366                 </command>
368                 <command>
369                         <type value="morph"/>
370                         <name value="build_catapult"/>
371                         <image path="../catapult/images/catapult.bmp"/>
372                         <unit-requirements/>
373                         <upgrade-requirements/>
374                         <morph-skill value="build_catapult"/>
375                         <morph-unit name= "catapult"/>
376                         <discount value="40"/>
377                 </command>
379                 <command>
380                         <type value="morph"/>
381                         <name value="build_battle_machine"/>
382                         <image path="../battle_machine/images/battle_machine.bmp"/>
383                         <unit-requirements/>
384                         <upgrade-requirements/>
385                         <morph-skill value="build_battle_machine"/>
386                         <morph-unit name= "battle_machine"/>
387                         <discount value="40"/>
388                 </command>
390                 <command>
391                         <type value="morph"/>
392                         <name value="build_air_ballista"/>
393                         <image path="../air_ballista/images/air_ballista.bmp"/>
394                         <unit-requirements/>
395                         <upgrade-requirements/>
396                         <morph-skill value="build_air_ballista"/>
397                         <morph-unit name= "air_ballista"/>
398                         <discount value="40"/>
399                 </command>
401         </commands>
402 </unit>