Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / romans / units / spearman / spearman.xml
blob6271093bbd99629ae238a606d8b80e6acefabcc6
1 <?xml version="1.0" standalone="no"?>
3 <unit>
4         <parameters>
5                 <size value="1"/>
6                 <height value="2"/>
7                 <max-hp value="700" regeneration="1"/>
8                 <max-ep value="0"/>
9                 <armor value="16"/>
10                 <armor-type value="metal"/>
11                 <sight value="12"/>
12                 <time value="30"/>
13                 <multi-selection value="true"/>
14                 <cellmap value="false"/>
15                 <levels>
16                         <level name="elite" kills="3"/>
17                 </levels>
18                 <fields>
19                         <field value="land"/>
20                 </fields>
21                 <properties/>
22                 <light enabled="false"/>
23                 <unit-requirements>
24                         <unit name="training_camp"/>
25                 </unit-requirements>
26                 <upgrade-requirements/>
27                 <resource-requirements>
28                         <resource name="wood" amount="30"/>
29                         <resource name="gold" amount="40"/>
30                         <resource name="food" amount="1"/>
31                 </resource-requirements>
32                 <resources-stored/>
33                 <image path="images/swordman.jpg"/>
34                 <image-cancel path="../archer/images/tech_cancel.bmp"/>
35                 <meeting-point value="false"/>
36                 <selection-sounds enabled="true">
37                         <sound path="$COMMONDATAPATH/sounds/swordman_select1.wav"/>
38                         <sound path="$COMMONDATAPATH/sounds/swordman_select2.wav"/>
39                         <sound path="$COMMONDATAPATH/sounds/swordman_select3.wav"/>
40                         <sound path="$COMMONDATAPATH/sounds/swordman_select4.wav"/>
41                         <sound path="$COMMONDATAPATH/sounds/swordman_select5.wav"/>
42                         <sound path="$COMMONDATAPATH/sounds/swordman_select6.wav"/>
43                         <sound path="$COMMONDATAPATH/sounds/swordman_select7.wav"/>
44                 </selection-sounds>
45                 <command-sounds enabled="true">
46                         <sound path="$COMMONDATAPATH/sounds/swordman_ack1.wav"/>
47                         <sound path="$COMMONDATAPATH/sounds/swordman_ack2.wav"/>
48                         <sound path="$COMMONDATAPATH/sounds/swordman_ack3.wav"/>
49                         <sound path="$COMMONDATAPATH/sounds/swordman_ack4.wav"/>
50                         <sound path="$COMMONDATAPATH/sounds/swordman_ack5.wav"/>
51                         <sound path="$COMMONDATAPATH/sounds/swordman_ack6.wav"/>
52                 </command-sounds>
53         </parameters>
55         <skills>
57                 <skill>
58                         <type value="stop"/>
59                         <name value="stop_skill"/>
60                         <ep-cost value="0"/>
61                         <speed value="1000"/>
62                         <anim-speed value="45"/>
63                         <animation path="models/spear_man_idle1.g3d"/>
64                         <animation path="models/spear_man_idle1.g3d"/>
65                         <animation path="models/spear_man_idle2.g3d"/>
66                         <animation path="models/spear_man_idle3.g3d"/>
67                         <animation path="models/spear_man_idle4.g3d"/>
68                         <sound enabled="false"/>
69                 </skill>
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/spear_man_walk.g3d"/>
78                         <sound enabled="false"/>
79                 </skill>
81                 <skill>
82                         <type value="move"/>
83                         <name value="charge_skill"/>
84                         <ep-cost value="0"/>
85                         <speed value="250"/>
86                         <anim-speed value="125"/>
87                         <animation path="models/spear_man_walk.g3d"/>
88                         <sound enabled="false"/>
89                 </skill>
91                 <skill>
92                         <type value="attack"/>
93                         <name value="attack_skill"/>
94                         <ep-cost value="0"/>
95                         <speed value="35"/>
96                         <anim-speed value="90"/>
97                         <animation path="models/spear_man_attack.g3d"/>
98                         <sound enabled="true" start-time="0.47">
99                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack1.wav"/>
100                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack2.wav"/>
101                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack3.wav"/>
102                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack4.wav"/>
103                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack5.wav"/>
104                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack6.wav"/>
105                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack7.wav"/>
106                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack8.wav"/>
107                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack9.wav"/>
108                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack10.wav"/>
109                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack11.wav"/>
110                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_attack12.wav"/>
111                         </sound>
112                         <attack-strenght value="60"/>
113                         <attack-var value="30"/>
114                         <attack-range value="2"/>
115                         <attack-type value="piercing"/>
116                         <attack-fields>
117                                 <field value="land"/>
118                         </attack-fields>
119                         <attack-start-time value="0"/>
120                         <projectile value="false"/>
121                         <splash value="false"/>
122                 </skill>
124                 <skill>
125                         <type value="die"/>
126                         <name value="die_skill"/>
127                         <ep-cost value="0"/>
128                         <speed value="60"/>
129                         <anim-speed value="100"/>
130                         <animation path="models/spear_man_die.g3d"/>
131                         <sound enabled="true" start-time="0">
132                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_die1.wav"/>
133                                 <sound-file path="$COMMONDATAPATH/sounds/swordman_die2.wav"/>
134                         </sound>
135                         <fade value="false"/>
136                 </skill>
138         </skills>
140         <commands>
142 <command>
143                         <type value="stop"/>
144                         <name value="stop"/>
145                         <image path="../archer/images/tech_stop.bmp"/>
146                         <unit-requirements/>
147                         <upgrade-requirements/>
148                         <stop-skill value="stop_skill"/>
149                 </command>
151                 <command>
152                         <type value="move"/>
153                         <name value="move"/>
154                         <image path="../archer/images/tech_move.bmp"/>
155                         <unit-requirements/>
156                         <upgrade-requirements/>
157                         <move-skill value="move_skill"/>
158                 </command>
160                 <command>
161                         <type value="attack"/>
162                         <name value="attack"/>
163                         <image path="images/swordman_attack.bmp"/>
164                         <unit-requirements/>
165                         <upgrade-requirements/>
166                         <move-skill value="charge_skill"/>
167                         <attack-skill value="attack_skill"/>
168                 </command>
170                 <command>
171                         <type value="attack_stopped"/>
172                         <name value="hold_position"/>
173                         <image path="../archer/images/tech_hold.bmp"/>
174                         <unit-requirements/>
175                         <upgrade-requirements>
176                                 <upgrade name="training_field"/>
177                         </upgrade-requirements>
178                         <stop-skill value="stop_skill"/>
179                         <attack-skill value="attack_skill"/>
180                 </command>
182         </commands>
183 </unit>