Debian Codegraph @

techs/megapack/factions/norsemen/units/spearman/spearman.xml

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4
5 <!-- *** parameters *** -->
6
7 <parameters>
8 <size value="1"/>
9 <height value="2"/>
10 <max-hp value="700" regeneration="1"/>
11 <max-ep value="0"/>
12 <armor value="7"/>
13 <armor-type value="leather"/>
14 <sight value="10"/>
15 <time value="50"/>
16 <multi-selection value="true"/>
17 <cellmap value="false"/>
18 <levels>
19 <level name="elite" kills="3"/>
20 </levels>
21 <fields>
22 <field value="land"/>
23 </fields>
24 <properties/>
25 <light enabled="false"/>
26 <unit-requirements>
27 <unit name="bone_tent"/>
28 </unit-requirements>
29 <upgrade-requirements/>
30 <resource-requirements>
31 <resource name="wood" amount="25"/>
32 <resource name="gold" amount="35"/>
33 <resource name="food" amount="1"/>
34 </resource-requirements>
35 <resources-stored/>
36 <image path="images/spearman.bmp"/>
37 <image-cancel path="../archer/images/tech_cancel.bmp"/>
38 <meeting-point value="false"/>
39 <selection-sounds enabled="true">
40 <sound path="sounds/swordman_select1.wav"/>
41 <sound path="sounds/swordman_select2.wav"/>
42 <sound path="sounds/swordman_select3.wav"/>
43 <sound path="sounds/swordman_select4.wav"/>
44 </selection-sounds>
45 <command-sounds enabled="true">
46 <sound path="sounds/swordman_ack1.wav"/>
47 <sound path="sounds/swordman_ack2.wav"/>
48 <sound path="sounds/swordman_ack3.wav"/>
49 <sound path="sounds/swordman_ack4.wav"/>
50 <sound path="sounds/swordman_ack5.wav"/>
51 </command-sounds>
52 </parameters>
53
54 <!-- *** skills *** -->
55
56 <skills>
57
58 <skill>
59 <type value="stop"/>
60 <name value="stop_skill"/>
61 <ep-cost value="0"/>
62 <speed value="1000"/>
63 <anim-speed value="45"/>
64 <animation path="models/spearman_standing.g3d"/>
65 <sound enabled="false"/>
66 </skill>
67
68 <skill>
69 <type value="move"/>
70 <name value="move_skill"/>
71 <ep-cost value="0"/>
72 <speed value="250"/>
73 <anim-speed value="114"/>
74 <animation path="models/spearman_walking.g3d"/>
75 <sound enabled="false"/>
76 </skill>
77
78 <skill>
79 <type value="move"/>
80 <name value="charge_skill"/>
81 <ep-cost value="0"/>
82 <speed value="220"/>
83 <anim-speed value="125"/>
84 <animation path="models/spearman_charging.g3d"/>
85 <sound enabled="false"/>
86 </skill>
87
88 <skill>
89 <type value="attack"/>
90 <name value="attack_skill"/>
91 <ep-cost value="0"/>
92 <speed value="150"/>
93 <anim-speed value="90"/>
94 <animation path="models/spearman_attacking.g3d"/>
95 <sound enabled="true" start-time="0.47">
96 <sound-file path="sounds/swordman_attack1.wav"/>
97 <sound-file path="sounds/swordman_attack2.wav"/>
98 <sound-file path="sounds/swordman_attack3.wav"/>
99 <sound-file path="sounds/swordman_attack4.wav"/>
100 <sound-file path="sounds/swordman_attack5.wav"/>
101 <sound-file path="sounds/swordman_attack6.wav"/>
102 <sound-file path="sounds/swordman_attack7.wav"/>
103 <sound-file path="sounds/swordman_attack8.wav"/>
104 <sound-file path="sounds/swordman_attack9.wav"/>
105 <sound-file path="sounds/swordman_attack10.wav"/>
106 <sound-file path="sounds/swordman_attack11.wav"/>
107 <sound-file path="sounds/swordman_attack12.wav"/>
108 </sound>
109 <attack-strenght value="50"/>
110 <attack-var value="20"/>
111 <attack-range value="1"/>
112 <attack-type value="piercing"/>
113 <attack-fields>
114 <field value="land"/>
115 </attack-fields>
116 <attack-start-time value="0"/>
117 <projectile value="false"/>
118 <splash value="false"/>
119 </skill>
120
121 <!-- *** skill 3 *** -->
122 <skill>
123 <type value="morph"/>
124 <name value="morph_skill"/>
125 <ep-cost value="0"/>
126 <speed value="500"/>
127 <anim-speed value="80"/>
128 <animation path="../spearman_berserk/models/spearman_morphing.g3d"/>
129 <sound enabled="false"/>
130 </skill>
131
132 <!-- *** skill 4 *** -->
133 <skill>
134 <type value="die"/>
135 <name value="die_skill"/>
136 <ep-cost value="0"/>
137 <speed value="60"/>
138 <anim-speed value="60"/>
139 <animation path="models/spearman_dying.g3d"/>
140 <sound enabled="true" start-time="0">
141 <sound-file path="sounds/swordman_die1.wav"/>
142 <sound-file path="sounds/swordman_die2.wav"/>
143 </sound>
144 <fade value="false"/>
145 </skill>
146
147 </skills>
148
149 <!-- *** commands *** -->
150
151 <commands>
152
153 <command>
154 <type value="stop"/>
155 <name value="stop"/>
156 <image path="../archer/images/tech_stop.bmp"/>
157 <unit-requirements/>
158 <upgrade-requirements/>
159 <stop-skill value="stop_skill"/>
160 </command>
161
162 <command>
163 <type value="move"/>
164 <name value="move"/>
165 <image path="../archer/images/tech_move.bmp"/>
166 <unit-requirements/>
167 <upgrade-requirements/>
168 <move-skill value="move_skill"/>
169 </command>
170
171 <command>
172 <type value="attack"/>
173 <name value="attack"/>
174 <image path="images/spearman_attack.bmp"/>
175 <unit-requirements/>
176 <upgrade-requirements/>
177 <move-skill value="charge_skill"/>
178 <attack-skill value="attack_skill"/>
179 </command>
180
181 <command>
182 <type value="attack_stopped"/>
183 <name value="hold_position"/>
184 <image path="../archer/images/tech_hold.bmp"/>
185 <unit-requirements/>
186 <upgrade-requirements/>
187 <stop-skill value="stop_skill"/>
188 <attack-skill value="attack_skill"/>
189 </command>
190
191 <command>
192 <type value="morph"/>
193 <name value="promote_to_spearman_berserk"/>
194 <image path="../spearman_berserk/images/spearman.bmp"/>
195 <unit-requirements/>
196 <upgrade-requirements/>
197 <morph-skill value="morph_skill"/>
198 <morph-unit name= "spearman_berserk"/>
199 <discount value="60"/>
200 </command>
201
202 <!--command>
203 <type value="morph"/>
204 <name value="promote_to_armored_swordman"/>
205 <image path="../armored_swordman/images/armored_swordman.bmp"/>
206 <unit-requirements/>
207 <upgrade-requirements/>
208 <morph-skill value="morph_skill"/>
209 <morph-unit name= "armored_swordman"/>
210 <discount value="60"/>
211 </command-->
212
213 </commands>
214 </unit>