Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / tech / units / castle / castle.xml
blobc7e2c1392489d88a76544f1fc275b43507c57def
1 <?xml version="1.0" standalone="no" ?>
2 <unit>
3         <parameters>
4                 <size value="5" />
5                 <height value="2" />
6                 <max-hp value="9000" regeneration="0"/>
7                 <max-ep value="0" />
8                 <armor value="0" />
9                 <armor-type value="stone"/>
10                 <sight value="15" />
11                 <time value="300" />
12                 <multi-selection value="true"/>
13                 <uniform-selection value="true"/>
14                 <cellmap value="true">
15                         <row value="11011"/>
16                         <row value="00011"/>
17                         <row value="11000"/>
18                         <row value="11011"/>
19                         <row value="01010"/>
20                 </cellmap>
21                 <levels/>
22                 <fields>
23                         <field value="land" />
24                 </fields>
25                 <properties>
26                         <property value="burnable"/>
27                 </properties>
28                 <light enabled="true" red="0.8" green="0.8" blue="0.5"/>
29                 <rotationAllowed value="false" />
30                 <unit-requirements/>
31                 <upgrade-requirements />
32                 <resource-requirements>
33                         <resource name="gold" amount="100" />
34                         <resource name="stone" amount="300" />
35                         <resource name="wood" amount="150" />
36                 </resource-requirements>
37                 <resources-stored>
38                         <resource name= "gold" amount="2000"/>
39                         <resource name= "wood" amount="1200"/>
40                         <resource name= "stone" amount="1500"/>
41                         <resource name= "food" amount="150"/>
42                 </resources-stored>
43                 <image path="images/castle.bmp" />
44                 <image-cancel path="../archer/images/tech_cancel.bmp"/>
45                 <meeting-point value="true" image-path="../barracks/images/meeting_point.bmp"/>
46                 <selection-sounds enabled="true">
47                         <sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
48                 </selection-sounds>
49                 <command-sounds enabled="true">
50                         <sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
51                 </command-sounds>
52         </parameters>
53         <skills>
54                 <skill>
55                         <type value="stop" />
56                         <name value="stop_skill"/>
57                         <ep-cost value="0" />
58                         <speed value="300" />
59                         <anim-speed value="100" />
60                         <animation path="models/castle.g3d" />
61                         <sound enabled="false" />
62                 </skill>
63                 <skill>
64                         <type value="be_built" />
65                         <name value="be_built_skill"/>
66                         <ep-cost value="0" />
67                         <speed value="300" />
68                         <anim-speed value="300" />
69                         <animation path="construction_models/castle_construction.g3d" />
70                         <sound enabled="false" />
71                 </skill>
72                 <skill>
73                         <type value="produce" />
74                         <name value="produce_skill"/>
75                         <ep-cost value="0" />
76                         <speed value="300" />
77                         <anim-speed value="300" />
78                         <animation path="models/castle.g3d" />
79                         <sound enabled="false" />
80                 </skill>
81                 <skill>
82                         <type value="die" />
83                         <name value="die_skill"/>
84                         <ep-cost value="0" />
85                         <speed value="300" />
86                         <anim-speed value="300" />
87                         <animation path="destruction_models/castle_destruction.g3d" />
88                         <particles value="true">
89                                 <particle-file path="smoke_particles.xml"/>
90                                 <particle-file path="glow_particles.xml"/>
91                         </particles>
92                         <sound enabled="true" start-time="0">
93                                 <sound-file path="$COMMONDATAPATH/sounds/tech_building_fall2.wav"/>
94                         </sound>
95                         <shake enabled="true" intensity="1000" duration="120" start-time="0.0">
96                                 <self enabled="true" visible="false" in-camera-view="false" camera-distance-affected="false"/>
97                                 <team enabled="true" visible="false" in-camera-view="false" camera-distance-affected="false"/>
98                                 <enemy enabled="true" visible="true" in-camera-view="false" camera-distance-affected="true"/>
99                         </shake>
100                         <fade value="false"/>
101                 </skill>
102         </skills>
103         <commands>
104                 <command>
105                         <type value="produce"/>
106                         <name value="produce_worker" />
107                         <image path="../worker/images/worker.bmp" />
108                         <unit-requirements />
109                         <upgrade-requirements />
110                         <produce-skill value="produce_skill"/>
111                         <produced-unit name="worker"/>
112                 </command>
113         </commands>
114 </unit>