Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / romans / units / catapult / catapult.xml
blob65cab4b54f2b81a17d4f60522cb7348bd0622a7b
1 <?xml version="1.0" standalone="no"?>
3 <unit>
4         <parameters>
5                 <size value="2"/>
6                 <height value="2"/>
7                 <ai-build-size value="3"/>
8                 <max-hp value="1800" regeneration="1"/>
9                 <max-ep value="0"/>
10                 <armor value="0"/>
11                 <armor-type value="wood"/>
12                 <sight value="15"/>
13                 <time value="100"/>
14                 <multi-selection value="true"/>
15                 <cellmap value="false"/>
16                 <levels/>
17                 <fields>
18                         <field value="land"/>
19                 </fields>
20                 <properties>
21                         <property value="rotated_climb"/>
22                 </properties>
23                 <light enabled="false"/>
24                 <unit-requirements>
25                         <unit name="blacksmith_shop"/>
26                         <unit name="military_camp"/>
27                 </unit-requirements>
28                 <upgrade-requirements/>
29                 <resource-requirements>
30                         <resource name="gold" amount="100"/>
31                         <resource name="wood" amount="200"/>
32                         <resource name="food" amount="1"/>
33                 </resource-requirements>
34                 <resources-stored/>
35                 <image path="images/catapult.bmp"/>
36                 <image-cancel path="../archer/images/tech_cancel.bmp"/>
37                 <meeting-point value="false"/>
38                 <selection-sounds enabled="true">
39                         <sound path="$COMMONDATAPATH/sounds/technician_select1.wav"/>
40                         <sound path="$COMMONDATAPATH/sounds/technician_select2.wav"/>
41                         <sound path="$COMMONDATAPATH/sounds/technician_select3.wav"/>
42                         <sound path="$COMMONDATAPATH/sounds/technician_select4.wav"/>
43                 </selection-sounds>
44                 <command-sounds enabled="true">
45                         <sound path="$COMMONDATAPATH/sounds/technician_ack1.wav"/>
46                         <sound path="$COMMONDATAPATH/sounds/technician_ack2.wav"/>
47                         <sound path="$COMMONDATAPATH/sounds/technician_ack3.wav"/>
48                         <sound path="$COMMONDATAPATH/sounds/technician_ack4.wav"/>
49                         <sound path="$COMMONDATAPATH/sounds/technician_ack5.wav"/>
50                         <sound path="$COMMONDATAPATH/sounds/technician_ack6.wav"/>
51                         <sound path="$COMMONDATAPATH/sounds/technician_ack7.wav"/>
52                 </command-sounds>
54         </parameters>
56         <skills>
58                 <skill>
59                         <type value="stop"/>
60                         <name value="stop_skill"/>
61                         <ep-cost value="0"/>
62                         <speed value="1000"/>
63                         <anim-speed value="40"/>
64                         <animation path="models/catapult_idle.g3d"/>
65                         <sound enabled="false"/>
66                 </skill>
68                 <skill>
69                         <type value="move"/>
70                         <name value="move_skill"/>
71                         <ep-cost value="0"/>
72                         <speed value="150"/>
73                         <anim-speed value="150"/>
74                         <animation path="models/catapult_walk.g3d"/>
75                         <sound enabled="true" start-time="0.1">
76                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk1.wav"/>
77                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk2.wav"/>
78                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk3.wav"/>
79                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk4.wav"/>
80                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk5.wav"/>
81                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk6.wav"/>
82                         </sound>
83                 </skill>
85                 <skill>
86                         <type value="attack"/>
87                         <name value="attack_skill"/>
88                         <ep-cost value="0"/>
89                         <speed value="50"/>
90                         <anim-speed value="50"/>
91                         <animation path="models/catapult_attack.g3d"/>
92                         <sound enabled="true" start-time="0.35">
93                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_attack1.wav"/>
94                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_attack2.wav"/>
95                         </sound>
96                         <attack-strenght value="350"/>
97                         <attack-var value="150"/>
98                         <attack-range value="10"/>
99                         <attack-type value="impact"/>
100                         <attack-start-time value="0.35"/>
101                         <attack-fields>
102                                 <field value="land"/>
103                         </attack-fields>
104                         <projectile value="true">
105                                 <particle value="true" path="particle_proj.xml"/>
106                                 <sound enabled="true">
107                                         <sound-file path="$COMMONDATAPATH/sounds/catapult_hit1.wav"/>
108                                         <sound-file path="$COMMONDATAPATH/sounds/catapult_hit2.wav"/>
109                                 </sound>
110                         </projectile>
111                         <splash value="true">
112                                 <radius value="2"/>
113                                 <damage-all value="true"/>
114                                 <particle value="true" path="particle_splash.xml"/>
115                         </splash>
116                 </skill>
118                 <skill>
119                         <type value="die"/>
120                         <name value="die_skill"/>
121                         <ep-cost value="0"/>
122                         <speed value="120"/>
123                         <anim-speed value="120"/>
124                         <animation path="models/catapult_die.g3d"/>
125                         <sound enabled="true" start-time="0.1">
126                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_die1.wav"/>
127                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_die2.wav"/>
128                                 <sound-file path="$COMMONDATAPATH/sounds/catapult_die3.wav"/>
129                         </sound>
130                         <fade value="false"/>
131                 </skill>
133         </skills>
135         <commands>
137                 <command>
138                         <type value="stop"/>
139                         <name value="stop"/>
140                         <image path="../archer/images/tech_stop.bmp"/>
141                         <unit-requirements/>
142                         <upgrade-requirements/>
143                         <stop-skill value="stop_skill"/>
144                 </command>
146                 <command>
147                         <type value="move"/>
148                         <name value="move"/>
149                         <image path="../archer/images/tech_move.bmp"/>
150                         <unit-requirements/>
151                         <upgrade-requirements/>
152                         <move-skill value="move_skill"/>
153                 </command>
155                 <command>
156                         <type value="attack"/>
157                         <name value="fire_ball"/>
158                         <image path="images/catapult_attack.bmp"/>
159                         <unit-requirements/>
160                         <upgrade-requirements/>
161                         <move-skill value="move_skill"/>
162                         <attack-skill value="attack_skill"/>
163                 </command>
165                    <command>
166                         <type value="attack_stopped"/>
167                         <name value="hold_position"/>
168                         <image path="../archer/images/tech_hold.bmp"/>
169                         <unit-requirements/>
170                         <upgrade-requirements>
171                                 <upgrade name="training_field"/>
172                         </upgrade-requirements>
173                         <stop-skill value="stop_skill"/>
174                         <attack-skill value="attack_skill"/>
175                 </command>
177         </commands>
178 </unit>