Debian Codegraph @

techs/megapack/factions/egypt/units/scarab/scarab.xml

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4 <parameters>
5 <size value="1"/>
6 <height value="1"/>
7 <max-hp value="1400" regeneration="5"/>
8 <max-ep value="0" regeneration="0"/>
9 <armor value="23"/>
10 <armor-type value="leather"/>
11 <sight value="12"/>
12 <time value="90"/>
13 <multi-selection value="true"/>
14 <cellmap value="false"/>
15 <levels>
16 <level name="expert" kills="5"/>
17 <level name="master" kills="15"/>
18 <level name="legendary" kills="30"/>
19 </levels>
20 <fields>
21 <field value="land"/>
22 </fields>
23 <properties/>
24 <light enabled="false"/>
25 <unit-requirements>
26 </unit-requirements>
27 <upgrade-requirements>
28 <upgrade name="summon_scarab"/>
29 </upgrade-requirements>
30
31 <resource-requirements>
32 <resource name="gold" amount="150"/>
33 <resource name="stone" amount="100"/>
34 <resource name="food" amount="2"/>
35 </resource-requirements>
36 <resources-stored/>
37 <image path="images/scarab.bmp"/>
38 <image-cancel path="../spearman/images/tech_cancel.bmp"/>
39 <meeting-point value="false"/>
40 <selection-sounds enabled="true">
41 <sound path="$COMMONDATAPATH/sounds/archmage_select1.wav"/>
42 <sound path="$COMMONDATAPATH/sounds/archmage_select2.wav"/>
43 <sound path="$COMMONDATAPATH/sounds/archmage_select3.wav"/>
44 <sound path="$COMMONDATAPATH/sounds/archmage_select4.wav"/>
45 <sound path="$COMMONDATAPATH/sounds/archmage_select5.wav"/>
46 </selection-sounds>
47 <command-sounds enabled="true">
48 <sound path="$COMMONDATAPATH/sounds/archmage_ack1.wav"/>
49 <sound path="$COMMONDATAPATH/sounds/archmage_ack2.wav"/>
50 <sound path="$COMMONDATAPATH/sounds/archmage_ack3.wav"/>
51 <sound path="$COMMONDATAPATH/sounds/archmage_ack4.wav"/>
52 <sound path="$COMMONDATAPATH/sounds/archmage_ack5.wav"/>
53 <sound path="$COMMONDATAPATH/sounds/archmage_ack6.wav"/>
54 <sound path="$COMMONDATAPATH/sounds/archmage_ack7.wav"/>
55 </command-sounds>
56 </parameters>
57
58 <skills>
59
60 <skill>
61 <type value="stop"/>
62 <name value="stop_skill"/>
63 <ep-cost value="0"/>
64 <speed value="1000"/>
65 <anim-speed value="60"/>
66 <animation path="models/scarab_standing.g3d"/>
67 <sound enabled="false"/>
68 </skill>
69
70 <skill>
71 <type value="move"/>
72 <name value="move_skill"/>
73 <ep-cost value="0"/>
74 <speed value="140"/>
75 <anim-speed value="140"/>
76 <animation path="models/scarab_walking.g3d"/>
77 <sound enabled="false"/>
78 </skill>
79
80 <skill>
81 <type value="attack"/>
82 <name value="dung_attack_skill"/>
83 <ep-cost value="0"/>
84 <speed value="75"/>
85 <anim-speed value="75"/>
86 <animation path="models/scarab_attacking.g3d"/>
87 <sound enabled="true" start-time="0">
88 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack1.wav"/>
89 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack2.wav"/>
90 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack3.wav"/>
91 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack4.wav"/>
92 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack6.wav"/>
93 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack8.wav"/>
94 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack11.wav"/>
95 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack12.wav"/>
96 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack13.wav"/>
97 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack15.wav"/>
98 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack16.wav"/>
99 </sound>
100 <attack-strenght value="180"/>
101 <attack-var value="90"/>
102 <attack-range value="4"/>
103 <attack-type value="energy"/>
104 <attack-fields>
105 <field value="land"/>
106 </attack-fields>
107 <attack-start-time value="0.2"/>
108 <projectile value="true">
109 <particle value="true" path="particle_proj.xml"/>
110 <sound enabled="true">
111 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit1.wav"/>
112 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit2.wav"/>
113 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit3.wav"/>
114 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit4.wav"/>
115 </sound>
116 </projectile>
117 <splash value="true">
118 <radius value="2"/>
119 <damage-all value="false"/>
120 <particle value="true" path="particle_splash.xml"/>
121 </splash>
122 </skill>
123
124 <skill>
125 <type value="die"/>
126 <name value="die_skill"/>
127 <ep-cost value="0"/>
128 <speed value="120"/>
129 <anim-speed value="60"/>
130 <animation path="models/scarab_dying.g3d"/>
131 <sound enabled="true" start-time="0">
132 <sound-file path="$COMMONDATAPATH/sounds/archmage_die1.wav"/>
133 <sound-file path="$COMMONDATAPATH/sounds/archmage_die2.wav"/>
134 </sound>
135 <fade value="false"/>
136 </skill>
137
138 </skills>
139
140 <!-- *** commands *** -->
141
142 <commands>
143
144 <command>
145 <type value="stop"/>
146 <name value="stop"/>
147 <image path="../spearman/images/tech_stop.bmp"/>
148 <unit-requirements/>
149 <upgrade-requirements/>
150 <stop-skill value="stop_skill"/>
151 </command>
152
153 <command>
154 <type value="move"/>
155 <name value="move"/>
156 <image path="../spearman/images/tech_move.bmp"/>
157 <unit-requirements/>
158 <upgrade-requirements/>
159 <move-skill value="move_skill"/>
160 </command>
161
162 <command>
163 <type value="attack"/>
164 <name value="dung_attack"/>
165 <image path="images/scarab_attack.bmp"/>
166 <unit-requirements/>
167 <upgrade-requirements/>
168 <move-skill value="move_skill"/>
169 <attack-skill value="dung_attack_skill"/>
170 </command>
171
172 <command>
173 <type value="attack_stopped"/>
174 <name value="hold_position"/>
175 <image path="../spearman/images/tech_hold.bmp"/>
176 <unit-requirements/>
177 <upgrade-requirements/>
178 <stop-skill value="stop_skill"/>
179 <attack-skill value="dung_attack_skill"/>
180 </command>
181
182 </commands>
183 </unit>