Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / romans / units / swordsman / swordsman.xml
blobb38a68ff350fecb27c50d2c694865efc400d90ec
1 <?xml version="1.0" standalone="no"?>
3 <unit>
4         <parameters>
5                 <size value="1"/>
6                 <height value="2"/>
7                 <max-hp value="850"  regeneration="1"/>
8                 <max-ep value="0"/>
9                 <armor value="45"/>
10                 <armor-type value="metal"/>
11                 <sight value="11"/>
12                 <time value="80"/>
13                 <multi-selection value="true"/>
14                 <cellmap value="false"/>
15                 <levels>
16                         <level name="elite" kills="4"/>
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 name="blacksmith_shop"/>
26                 </unit-requirements>
27                 <upgrade-requirements/>
28                 <resource-requirements>
29                         <resource name="wood" amount="75"/>
30                         <resource name="gold" amount="150"/>
31                         <resource name="food" amount="2"/>
32                 </resource-requirements>
33                 <resources-stored/>
34                 <image path="images/guard.jpg"/>
35                 <image-cancel path="../archer/images/tech_cancel.bmp"/>
36                 <meeting-point value="false"/>
37                 <selection-sounds enabled="true">
38                         <sound path="$COMMONDATAPATH/sounds/guard_select1.wav"/>
39                         <sound path="$COMMONDATAPATH/sounds/guard_select2.wav"/>
40                         <sound path="$COMMONDATAPATH/sounds/guard_select3.wav"/>
41                         <sound path="$COMMONDATAPATH/sounds/guard_select4.wav"/>
42                         <sound path="$COMMONDATAPATH/sounds/guard_select5.wav"/>
43                 </selection-sounds>
44                 <command-sounds enabled="true">
45                         <sound path="$COMMONDATAPATH/sounds/guard_ack1.wav"/>
46                         <sound path="$COMMONDATAPATH/sounds/guard_ack2.wav"/>
47                         <sound path="$COMMONDATAPATH/sounds/guard_ack3.wav"/>
48                         <sound path="$COMMONDATAPATH/sounds/guard_ack4.wav"/>
49                         <sound path="$COMMONDATAPATH/sounds/guard_ack5.wav"/>
50                         <sound path="$COMMONDATAPATH/sounds/guard_ack6.wav"/>
51                         <sound path="$COMMONDATAPATH/sounds/guard_ack7.wav"/>
52                 </command-sounds>
53         </parameters>
55         <skills>
56                 <skill>
57                         <type value="stop"/>
58                         <name value="stop_skill"/>
59                         <ep-cost value="0"/>
60                         <speed value="1000"/>
61                         <anim-speed value="50"/>
62                         <animation path="models/swordsman_idle1.g3d"/>
63                         <sound enabled="false"/>
64                 </skill>
66                 <skill>
67                         <type value="move"/>
68                         <name value="move_skill"/>
69                         <ep-cost value="0"/>
70                         <speed value="170"/>
71                         <anim-speed value="100"/>
72                         <animation path="models/swordsman_walk.g3d"/>
73                         <sound enabled="false"/>
74                 </skill>
76                 <skill>
77                         <type value="attack"/>
78                         <name value="attack_skill"/>
79                         <ep-cost value="0"/>
80                         <speed value="80"/>
81                         <anim-speed value="120"/>
82                         <animation path="models/swordsman_attack.g3d"/>
83                         <sound enabled="true" start-time="0.1">
84                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack1.wav"/>
85                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack2.wav"/>
86                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack3.wav"/>
87                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack4.wav"/>
88                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack5.wav"/>
89                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack6.wav"/>
90                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack7.wav"/>
91                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack8.wav"/>
92                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack9.wav"/>
93                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack10.wav"/>
94                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack11.wav"/>
95                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack12.wav"/>
96                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack13.wav"/>
97                                 <sound-file path="$COMMONDATAPATH/sounds/guard_attack14.wav"/>
98                         </sound>
99                         <attack-strenght value="125"/>
100                         <attack-var value="35"/>
101                         <attack-range value="1"/>
102                         <attack-type value="slashing"/>
103                         <attack-fields>
104                                 <field value="land"/>
105                         </attack-fields>
106                         <attack-start-time value="0.1"/>
107                         <projectile value="false"/>
108                         <splash value="false"/>
109                 </skill>
111                 <skill>
112                         <type value="die"/>
113                         <name value="die_skill"/>
114                         <ep-cost value="0"/>
115                         <speed value="60"/>
116                         <anim-speed value="90"/>
117                         <animation path="models/swordsman_die.g3d"/>
118                         <sound enabled="true" start-time="0">
119                                 <sound-file path="$COMMONDATAPATH/sounds/guard_die1.wav"/>
120                                 <sound-file path="$COMMONDATAPATH/sounds/guard_die2.wav"/>
121                                 <sound-file path="$COMMONDATAPATH/sounds/guard_die3.wav"/>
122                                 <sound-file path="$COMMONDATAPATH/sounds/guard_die4.wav"/>
123                         </sound>
124                         <fade value="false"/>
125                 </skill>
127                 <skill>
128                         <type value="move"/>
129                         <name value="charge_skill"/>
130                         <ep-cost value="0"/>
131                         <speed value="170"/>
132                         <anim-speed value="120"/>
133                         <animation path="models/swordsman_walk.g3d"/>
134                         <sound enabled="false"/>
135                 </skill>
137         </skills>
139         <commands>
140                 <command>
141                         <type value="stop"/>
142                         <name value="stop"/>
143                         <image path="../archer/images/tech_stop.bmp"/>
144                         <unit-requirements/>
145                         <upgrade-requirements/>
146                         <stop-skill value="stop_skill"/>
147                 </command>
149                 <command>
150                         <type value="move"/>
151                         <name value="move"/>
152                         <image path="../archer/images/tech_move.bmp"/>
153                         <unit-requirements/>
154                         <upgrade-requirements/>
155                         <move-skill value="move_skill"/>
156                 </command>
158                 <command>
159                         <type value="attack"/>
160                         <name value="attack"/>
161                         <image path="images/guard_attack.bmp"/>
162                         <unit-requirements/>
163                         <upgrade-requirements/>
164                         <move-skill value="charge_skill"/>
165                         <attack-skill value="attack_skill"/>
166                 </command>
168                 <command>
169                         <type value="attack_stopped"/>
170                         <name value="hold_position"/>
171                         <image path="../archer/images/tech_hold.bmp"/>
172                         <unit-requirements/>
173                         <upgrade-requirements>
174                                 <upgrade name="training_field"/>
175                         </upgrade-requirements>
176                         <stop-skill value="stop_skill"/>
177                         <attack-skill value="attack_skill"/>
178                 </command>
179         </commands>
180 </unit>