Debian Codegraph @

techs/megapack/factions/magic/units/initiate/initiate.xml

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4 <parameters>
5 <size value="1"/>
6 <height value="2"/>
7 <max-hp value="450" regeneration="1"/>
8 <max-ep value="50" regeneration="1" start-percentage="100"/>
9 <armor value="0"/>
10 <armor-type value="leather"/>
11 <sight value="9"/>
12 <time value="40"/>
13 <multi-selection value="true"/>
14 <cellmap value="false"/>
15 <levels/>
16 <fields>
17 <field value="land"/>
18 </fields>
19 <properties/>
20 <light enabled="false"/>
21 <unit-requirements/>
22 <upgrade-requirements/>
23 <resource-requirements>
24 <resource name="gold" amount="75"/>
25 <resource name="energy" amount="1"/>
26 </resource-requirements>
27 <resources-stored/>
28 <image path="images/initiate.bmp"/>
29 <image-cancel path="../archmage/images/magic_cancel.bmp"/>
30 <meeting-point value="false"/>
31 <selection-sounds enabled="true">
32 <sound path="sounds/initiate_select1.wav"/>
33 <sound path="sounds/initiate_select2.wav"/>
34 <sound path="sounds/initiate_select3.wav"/>
35 <sound path="sounds/initiate_select4.wav"/>
36 <sound path="sounds/initiate_select5.wav"/>
37 </selection-sounds>
38 <command-sounds enabled="true">
39 <sound path="sounds/initiate_ack1.wav"/>
40 <sound path="sounds/initiate_ack2.wav"/>
41 <sound path="sounds/initiate_ack3.wav"/>
42 <sound path="sounds/initiate_ack4.wav"/>
43 <sound path="sounds/initiate_ack5.wav"/>
44 <sound path="sounds/initiate_ack6.wav"/>
45 <sound path="sounds/initiate_ack7.wav"/>
46 <sound path="sounds/initiate_ack8.wav"/>
47 <sound path="sounds/initiate_ack9.wav"/>
48 </command-sounds>
49 </parameters>
50 <skills>
51 <skill>
52 <type value="stop"/>
53 <name value="stop_skill"/>
54 <ep-cost value="0"/>
55 <speed value="1000"/>
56 <anim-speed value="70"/>
57 <animation path="models/initiate_standing.g3d"/>
58 <sound enabled="false"/>
59 </skill>
60 <skill>
61 <type value="stop"/>
62 <name value="stop_loaded_skill"/>
63 <ep-cost value="0"/>
64 <speed value="70"/>
65 <anim-speed value="60"/>
66 <animation path="models/initiate_standing_loaded.g3d"/>
67 <sound enabled="false"/>
68 </skill>
69 <skill>
70 <type value="stop"/>
71 <name value="stop_loaded_wood_skill"/>
72 <ep-cost value="0"/>
73 <speed value="70"/>
74 <anim-speed value="60"/>
75 <animation path="models/initiate_standing_loaded_wood.g3d"/>
76 <sound enabled="false"/>
77 </skill>
78 <skill>
79 <type value="move"/>
80 <name value="move_skill"/>
81 <ep-cost value="0"/>
82 <speed value="150"/>
83 <anim-speed value="130"/>
84 <animation path="models/initiate_walking.g3d"/>
85 <sound enabled="false"/>
86 </skill>
87 <skill>
88 <type value="move"/>
89 <name value="move_wood_skill"/>
90 <ep-cost value="0"/>
91 <speed value="165"/>
92 <anim-speed value="130"/>
93 <animation path="models/initiate_walking.g3d"/>
94 <sound enabled="false"/>
95 </skill>
96 <skill>
97 <type value="move"/>
98 <name value="move_gold_skill"/>
99 <ep-cost value="0"/>
100 <speed value="165"/>
101 <anim-speed value="130"/>
102 <animation path="models/initiate_walking.g3d"/>
103 <sound enabled="false"/>
104 </skill>
105 <skill>
106 <type value="move"/>
107 <name value="move_loaded_skill"/>
108 <ep-cost value="0"/>
109 <speed value="130"/>
110 <anim-speed value="120"/>
111 <animation path="models/initiate_walking_loaded.g3d"/>
112 <sound enabled="false"/>
113 </skill>
114 <skill>
115 <type value="move"/>
116 <name value="move_loaded_wood_skill"/>
117 <ep-cost value="0"/>
118 <speed value="130"/>
119 <anim-speed value="120"/>
120 <animation path="models/initiate_walking_loaded_wood.g3d"/>
121 <sound enabled="false"/>
122 </skill>
123 <skill>
124 <type value="build"/>
125 <name value="build_skill"/>
126 <ep-cost value="0"/>
127 <speed value="150"/>
128 <anim-speed value="80"/>
129 <animation path="models/initiate_building.g3d"/>
130 <sound enabled="true" start-time="0">
131 <sound-file path="sounds/initiate_build1.wav"/>
132 <sound-file path="sounds/initiate_build2.wav"/>
133 <sound-file path="sounds/initiate_build3.wav"/>
134 </sound>
135 </skill>
136 <skill>
137 <type value="repair"/>
138 <name value="repair_skill"/>
139 <ep-cost value="0"/>
140 <speed value="50"/>
141 <anim-speed value="150"/>
142 <animation path="models/initiate_repairing.g3d"/>
143 <sound enabled="true" start-time="0">
144 <sound-file path="sounds/initiate_build1.wav"/>
145 <sound-file path="sounds/initiate_build2.wav"/>
146 <sound-file path="sounds/initiate_build3.wav"/>
147 </sound>
148 </skill>
149 <skill>
150 <type value="harvest"/>
151 <name value="harvest_skill"/>
152 <ep-cost value="0"/>
153 <speed value="200"/>
154 <anim-speed value="80"/>
155 <animation path="models/initiate_harvesting.g3d"/>
156 <sound enabled="true" start-time="0">
157 <sound-file path="sounds/initiate_harvest1.wav"/>
158 <sound-file path="sounds/initiate_harvest2.wav"/>
159 <sound-file path="sounds/initiate_harvest3.wav"/>
160 <sound-file path="sounds/initiate_harvest4.wav"/>
161 </sound>
162 </skill>
163 <skill>
164 <type value="morph"/>
165 <name value="morph_skill"/>
166 <ep-cost value="0"/>
167 <speed value="500"/>
168 <anim-speed value="80"/>
169 <animation path="models/initiate_morphing.g3d"/>
170 <sound enabled="false"/>
171 </skill>
172 <skill>
173 <type value="attack"/>
174 <name value="attack_skill"/>
175 <ep-cost value="10"/>
176 <speed value="40"/>
177 <anim-speed value="40"/>
178 <animation path="models/initiate_attacking.g3d"/>
179 <sound enabled="true" start-time="0.2">
180 <sound-file path="sounds/initiate_attack1.wav"/>
181 <sound-file path="sounds/initiate_attack2.wav"/>
182 <sound-file path="sounds/initiate_attack3.wav"/>
183 <sound-file path="sounds/initiate_attack4.wav"/>
184 <sound-file path="sounds/initiate_attack5.wav"/>
185 <sound-file path="sounds/initiate_attack6.wav"/>
186 <sound-file path="sounds/initiate_attack7.wav"/>
187 <sound-file path="sounds/initiate_attack8.wav"/>
188 </sound>
189 <attack-strenght value="100"/>
190 <attack-var value="40"/>
191 <attack-range value="4"/>
192 <attack-type value="energy"/>
193 <attack-fields>
194 <field value="land"/>
195 </attack-fields>
196 <attack-start-time value="0.45"/>
197 <projectile value="true">
198 <particle value="true" path="particle_proj.xml"/>
199 <sound enabled="true">
200 <sound-file path="sounds/initiate_hit1.wav"/>
201 <sound-file path="sounds/initiate_hit2.wav"/>
202 <sound-file path="sounds/initiate_hit3.wav"/>
203 <sound-file path="sounds/initiate_hit4.wav"/>
204 </sound>
205 </projectile>
206 <splash value="false"/>
207 </skill>
208 <skill>
209 <type value="die"/>
210 <name value="die_skill"/>
211 <ep-cost value="0"/>
212 <speed value="150"/>
213 <anim-speed value="150"/>
214 <animation path="models/initiate_dying.g3d"/>
215 <sound enabled="true" start-time="0">
216 <sound-file path="sounds/initiate_die1.wav"/>
217 <sound-file path="sounds/initiate_die2.wav"/>
218 <sound-file path="sounds/initiate_die3.wav"/>
219 </sound>
220 <fade value="false"/>
221 </skill>
222 </skills>
223 <commands>
224 <command>
225 <type value="stop"/>
226 <name value="stop"/>
227 <image path="../archmage/images/magic_stop.bmp"/>
228 <unit-requirements/>
229 <upgrade-requirements/>
230 <stop-skill value="stop_skill"/>
231 </command>
232 <command>
233 <type value= "move"/>
234 <name value="move"/>
235 <image path="../archmage/images/magic_move.bmp"/>
236 <unit-requirements/>
237 <upgrade-requirements/>
238 <move-skill value="move_skill"/>
239 </command>
240 <command>
241 <type value="attack"/>
242 <name value="attack"/>
243 <image path="images/initiate_attack.bmp"/>
244 <unit-requirements/>
245 <upgrade-requirements/>
246 <move-skill value="move_skill"/>
247 <attack-skill value="attack_skill"/>
248 </command>
249 <command>
250 <type value="repair"/>
251 <name value="repair"/>
252 <image path="images/initiate_repair.bmp"/>
253 <unit-requirements/>
254 <upgrade-requirements/>
255 <move-skill value="move_skill"/>
256 <repair-skill value="repair_skill"/>
257 <repaired-units>
258 <unit name="mage_tower"/>
259 <unit name="energy_source"/>
260 <unit name="summoner_guild"/>
261 <unit name="library"/>
262 <unit name="archmage_tower"/>
263 <unit name="wicker_behemoth"/>
264 <unit name="tower_of_souls"/>
265 <unit name="golem"/>
266 <unit name="power_golem"/>
267 </repaired-units>
268 </command>
269 <command>
270 <type value="build"/>
271 <name value="build"/>
272 <image path="images/initiate_build.bmp"/>
273 <unit-requirements/>
274 <upgrade-requirements/>
275 <move-skill value="move_skill"/>
276 <build-skill value="build_skill"/>
277 <buildings>
278 <building name="energy_source"/>
279 <building name="summoner_guild"/>
280 <building name="library"/>
281 <building name="archmage_tower"/>
282 <building name="mage_tower"/>
283 </buildings>
284 <start-sound enabled="true">
285 <sound-file path="sounds/initiate_work_start1.wav"/>
286 <sound-file path="sounds/initiate_work_start2.wav"/>
287 </start-sound>
288 <built-sound enabled="true">
289 <sound-file path="sounds/initiate_work_end1.wav"/>
290 <sound-file path="sounds/initiate_work_end2.wav"/>
291 </built-sound>
292 </command>
293 <command>
294 <type value="build"/>
295 <name value="ritual"/>
296 <image path="../behemoth/images/behemoth.bmp"/>
297 <unit-requirements/>
298 <upgrade-requirements/>
299 <move-skill value="move_skill"/>
300 <build-skill value="build_skill"/>
301 <buildings>
302 <building name="tower_of_souls"/>
303 <building name="golem"/>
304 <building name="wicker_behemoth"/>
305 </buildings>
306 <start-sound enabled="true">
307 <sound-file path="sounds/initiate_work_start1.wav"/>
308 <sound-file path="sounds/initiate_work_start2.wav"/>
309 </start-sound>
310 <built-sound enabled="true">
311 <sound-file path="sounds/initiate_work_end1.wav"/>
312 <sound-file path="sounds/initiate_work_end2.wav"/>
313 </built-sound>
314 </command>
315 <command>
316 <type value="harvest"/>
317 <name value="mine"/>
318 <image path="images/initiate_harvest.bmp"/>
319 <unit-requirements/>
320 <upgrade-requirements/>
321 <move-skill value="move_gold_skill"/>
322 <harvest-skill value="harvest_skill"/>
323 <stop-loaded-skill value="stop_loaded_skill"/>
324 <move-loaded-skill value="move_loaded_skill"/>
325 <harvested-resources>
326 <resource name="gold"/>
327 <resource name="stone"/>
328 </harvested-resources>
329 <max-load value="20"/>
330 <hits-per-unit value="1"/>
331 </command>
332 <command>
333 <type value="harvest"/>
334 <name value="harvest"/>
335 <image path="images/initiate_harvest_wood.bmp"/>
336 <unit-requirements/>
337 <upgrade-requirements/>
338 <move-skill value="move_wood_skill"/>
339 <harvest-skill value="harvest_skill"/>
340 <stop-loaded-skill value="stop_loaded_wood_skill"/>
341 <move-loaded-skill value="move_loaded_wood_skill"/>
342 <harvested-resources>
343 <resource name="wood"/>
344 </harvested-resources>
345 <max-load value="20"/>
346 <hits-per-unit value="1"/>
347 </command>
348 <command>
349 <type value="morph"/>
350 <name value="promote_to_battlemage"/>
351 <image path="../battlemage/images/battlemage.bmp"/>
352 <unit-requirements/>
353 <upgrade-requirements/>
354 <morph-skill value="morph_skill"/>
355 <morph-unit name= "battlemage"/>
356 <discount value="0"/>
357 </command>
358 </commands>
359 </unit>