Debian Codegraph @

techs/megapack/factions/norsemen/units/swordman/swordman.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="500" regeneration="1"/>
11 <max-ep value="0"/>
12 <armor value="20"/>
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="5"/>
20 </levels>
21 <fields>
22 <field value="land"/>
23 </fields>
24 <properties/>
25 <light enabled="false"/>
26 <unit-requirements>
27 </unit-requirements>
28 <upgrade-requirements>
29 </upgrade-requirements>
30 <resource-requirements>
31 <resource name="wood" amount="35"/>
32 <resource name="gold" amount="75"/>
33 <resource name="food" amount="1"/>
34 </resource-requirements>
35 <resources-stored/>
36 <image path="images/swordman.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 <sound path="sounds/swordman_select5.wav"/>
45 <sound path="sounds/swordman_select6.wav"/>
46 </selection-sounds>
47 <command-sounds enabled="true">
48 <sound path="sounds/swordman_ack1.wav"/>
49 <sound path="sounds/swordman_ack2.wav"/>
50 <sound path="sounds/swordman_ack3.wav"/>
51 <sound path="sounds/swordman_ack4.wav"/>
52 <sound path="sounds/swordman_ack5.wav"/>
53 <sound path="sounds/swordman_ack6.wav"/>
54 </command-sounds>
55 </parameters>
56
57 <!-- *** skills *** -->
58
59 <skills>
60
61 <skill>
62 <type value="stop"/>
63 <name value="stop_skill"/>
64 <ep-cost value="0"/>
65 <speed value="1000"/>
66 <anim-speed value="45"/>
67 <animation path="models/armored_swordman_standing.g3d"/>
68 <sound enabled="false"/>
69 </skill>
70
71 <skill>
72 <type value="move"/>
73 <name value="move_skill"/>
74 <ep-cost value="0"/>
75 <speed value="220"/>
76 <anim-speed value="90"/>
77 <animation path="models/armored_swordman_walking.g3d"/>
78 <sound enabled="false"/>
79 </skill>
80
81 <skill>
82 <type value="move"/>
83 <name value="charge_skill"/>
84 <ep-cost value="0"/>
85 <speed value="220"/>
86 <anim-speed value="125"/>
87 <animation path="models/armored_swordman_charging.g3d"/>
88 <sound enabled="false"/>
89 </skill>
90
91 <skill>
92 <type value="attack"/>
93 <name value="attack_skill"/>
94 <ep-cost value="0"/>
95 <speed value="100"/>
96 <anim-speed value="100"/>
97 <animation path="models/armored_swordman_attacking.g3d"/>
98 <animation path="models/armored_swordman_attacking.g3d"/>
99 <sound enabled="true" start-time="0.47">
100 <sound-file path="sounds/swordman_attack1.wav"/>
101 <sound-file path="sounds/swordman_attack2.wav"/>
102 <sound-file path="sounds/swordman_attack3.wav"/>
103 <sound-file path="sounds/swordman_attack7.wav"/>
104 <sound-file path="sounds/swordman_attack8.wav"/>
105 <sound-file path="sounds/swordman_attack9.wav"/>
106 <sound-file path="sounds/swordman_attack4.wav"/>
107 <sound-file path="sounds/swordman_attack5.wav"/>
108 <sound-file path="sounds/swordman_attack6.wav"/>
109 <sound-file path="sounds/swordman_attack10.wav"/>
110 <sound-file path="sounds/swordman_attack11.wav"/>
111 <sound-file path="sounds/swordman_attack12.wav"/>
112 </sound>
113 <attack-strenght value="100"/>
114 <attack-var value="30"/>
115 <attack-range value="1"/>
116 <attack-type value="sword"/>
117 <attack-fields>
118 <field value="land"/>
119 </attack-fields>
120 <attack-start-time value="0"/>
121 <projectile value="false"/>
122 <splash value="false"/>
123 </skill>
124
125 <!-- *** skill 3 *** -->
126 <skill>
127 <type value="morph"/>
128 <name value="morph_skill"/>
129 <ep-cost value="0"/>
130 <speed value="300"/>
131 <anim-speed value="80"/>
132 <animation path="../swordman_berserk/models/armored_swordman_morphing.g3d"/>
133 <sound enabled="false"/>
134 </skill>
135
136 <!-- *** skill 4 *** -->
137 <skill>
138 <type value="die"/>
139 <name value="die_skill"/>
140 <ep-cost value="0"/>
141 <speed value="60"/>
142 <anim-speed value="60"/>
143 <animation path="models/armored_swordman_dying.g3d"/>
144 <sound enabled="true" start-time="0">
145 <sound-file path="sounds/swordman_die1.wav"/>
146 <sound-file path="sounds/swordman_die2.wav"/>
147 <sound-file path="sounds/swordman_die3.wav"/>
148 <sound-file path="sounds/swordman_die4.wav"/>
149 <sound-file path="sounds/swordman_die5.wav"/>
150 <sound-file path="sounds/swordman_die6.wav"/>
151 </sound>
152 <fade value="false"/>
153 </skill>
154
155 </skills>
156
157 <!-- *** commands *** -->
158
159 <commands>
160
161 <command>
162 <type value="stop"/>
163 <name value="stop"/>
164 <image path="../archer/images/tech_stop.bmp"/>
165 <unit-requirements/>
166 <upgrade-requirements/>
167 <stop-skill value="stop_skill"/>
168 </command>
169
170 <command>
171 <type value="move"/>
172 <name value="move"/>
173 <image path="../archer/images/tech_move.bmp"/>
174 <unit-requirements/>
175 <upgrade-requirements/>
176 <move-skill value="move_skill"/>
177 </command>
178
179 <command>
180 <type value="attack"/>
181 <name value="attack"/>
182 <image path="images/swordman_attack.bmp"/>
183 <unit-requirements/>
184 <upgrade-requirements/>
185 <move-skill value="charge_skill"/>
186 <attack-skill value="attack_skill"/>
187 </command>
188
189 <command>
190 <type value="attack_stopped"/>
191 <name value="hold_position"/>
192 <image path="../archer/images/tech_hold.bmp"/>
193 <unit-requirements/>
194 <upgrade-requirements/>
195 <stop-skill value="stop_skill"/>
196 <attack-skill value="attack_skill"/>
197 </command>
198
199 <command>
200 <type value="morph"/>
201 <name value="promote_to_swordman_berserk"/>
202 <image path="../swordman_berserk/images/swordman.bmp"/>
203 <unit-requirements/>
204 <upgrade-requirements/>
205 <morph-skill value="morph_skill"/>
206 <morph-unit name= "swordman_berserk"/>
207 <discount value="60"/>
208 </command>
209 </commands>
210 </unit>