Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / tech / units / barracks / barracks.xml
blobcba4c72c580885510e4c96cb472e5980dd7b92e3
1 <?xml version="1.0" standalone="no" ?>
2 <unit>
3         <parameters>
4                 <size value="4" />
5                 <height value="2" />
6                 <ai-build-size value="6"/>
7                 <max-hp value="6000" regeneration="0"/>
8                 <max-ep value="0" />
9                 <armor value="0" />
10                 <armor-type value="stone"/>
11                 <sight value="6" />
12                 <time value="100" />
13                 <multi-selection value="true"/>
14                 <uniform-selection value="true"/>
15                 <cellmap value="true">
16                         <row value="1011"/>
17                         <row value="0000"/>
18                         <row value="1011"/>
19                         <row value="1011"/>
20                 </cellmap>
21                 <levels/>
22                 <fields>
23                         <field value="land" />
24                 </fields>
25                 <properties>
26                         <property value="burnable"/>
27                 </properties>
28                 <light enabled="false" />
29                 <rotationAllowed value="false" />
30                 <unit-requirements>
31                         <unit name="castle" />
32                 </unit-requirements>
33                 <upgrade-requirements />
34                 <resource-requirements>
35                         <resource name="gold" amount="100" />
36                         <resource name="stone" amount="150" />
37                         <resource name="wood" amount="50" />
38                 </resource-requirements>
39                 <resources-stored />
40                 <image path="images/barracks.bmp" />
41                 <image-cancel path="../archer/images/tech_cancel.bmp"/>
42                 <meeting-point value="true" image-path="images/meeting_point.bmp"/>
43                 <selection-sounds enabled="true">
44                         <sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
45                 </selection-sounds>
46                 <command-sounds enabled="true">
47                         <sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
48                 </command-sounds>
49         </parameters>
50         <skills>
51                 <skill>
52                         <type value="stop"/>
53                         <name value="stop_skill"/>
54                         <ep-cost value="0" />
55                         <speed value="50" />
56                         <anim-speed value="100" />
57                         <animation path="models/barracks.g3d" />
58                         <sound enabled="false" />
59                 </skill>
60                 <skill>
61                         <type value="be_built" />
62                         <name value="be_built_skill"/>
63                         <ep-cost value="0" />
64                         <speed value="300" />
65                         <anim-speed value="300" />
66                         <animation path="../castle/construction_models/barracks_construction.g3d" />
67                         <sound enabled="false" />
68                 </skill>
69                 <skill>
70                         <type value="upgrade"/>
71                         <name value="upgrade_skill"/>
72                         <ep-cost value="0" />
73                         <speed value="300" />
74                         <anim-speed value="300" />
75                         <animation path="models/barracks.g3d" />
76                         <sound enabled="false" />
77                 </skill>
78                 <skill>
79                         <type value="produce"/>
80                         <name value="produce_skill"/>
81                         <ep-cost value="0" />
82                         <speed value="300" />
83                         <anim-speed value="300" />
84                         <animation path="models/barracks.g3d" />
85                         <sound enabled="false" />
86                 </skill>
87                 <skill>
88                         <type value="die" />
89                         <name value="die_skill"/>
90                         <ep-cost value="0" />
91                         <speed value="300" />
92                         <anim-speed value="300" />
93                         <animation path="../castle/destruction_models/barracks_destruction.g3d" />
94                         <particles value="true">
95                                 <particle-file path="smoke_particles.xml"/>
96                                 <particle-file path="glow_particles.xml"/>
97                         </particles>
98                         <sound enabled="true" start-time="0">
99                                 <sound-file path="$COMMONDATAPATH/sounds/tech_building_fall4.wav"/>
100                         </sound>
101                         <fade value="false"/>
102                 </skill>
103         </skills>
104         <commands>
105                 <command>
106                         <type value="produce"/>
107                         <name value="produce_swordman" />
108                         <image path="../swordman/images/swordman.bmp" />
109                         <unit-requirements />
110                         <upgrade-requirements />
111                         <produce-skill value="produce_skill"/>
112                         <produced-unit name="swordman"/>
113                 </command>
114                 <command>
115                         <type value="produce"/>
116                         <name value="produce_archer" />
117                         <image path="../archer/images/archer.bmp" />
118                         <unit-requirements />
119                         <upgrade-requirements />
120                         <produce-skill value="produce_skill"/>
121                         <produced-unit name="archer"/>
122                 </command>
123                 <command>
124                         <type value="produce"/>
125                         <name value="produce_guard" />
126                         <image path="../guard/images/guard.bmp" />
127                         <unit-requirements />
128                         <upgrade-requirements />
129                         <produce-skill value="produce_skill"/>
130                         <produced-unit name="guard"/>
131                 </command>
132                 <command>
133                         <type value="produce"/>
134                         <name value="produce_horseman" />
135                         <image path="../horseman/images/horseman.bmp" />
136                         <unit-requirements />
137                         <upgrade-requirements />
138                         <produce-skill value="produce_skill"/>
139                         <produced-unit name="horseman"/>
140                 </command>
141                 <command>
142                         <type value="upgrade"/>
143                         <name value="create_training_field"/>
144                         <image path="../../upgrades/training_field/images/training_field.bmp" />
145                         <unit-requirements />
146                         <upgrade-requirements />
147                         <upgrade-skill value="upgrade_skill"/>
148                         <produced-upgrade name="training_field"/>
149                 </command>
150         </commands>
151 </unit>