Debian Codegraph @

techs/megapack/factions/norsemen/units/mistletoe_tree/mistletoe_tree.xml

raw
1 <?xml version="1.0" standalone="no" ?>
2 <unit>
3 <parameters>
4 <size value="2" />
5 <height value="5" />
6 <ai-build-size value="3"/>
7 <max-hp value="5000" regeneration="0"/>
8 <max-ep value="0" />
9 <armor value="0" />
10 <armor-type value="wood"/>
11 <sight value="19" />
12 <time value="50" />
13 <multi-selection value="true"/>
14 <uniform-selection value="true"/>
15 <cellmap value="false" />
16 <levels/>
17 <fields>
18 <field value="land" />
19 </fields>
20 <properties>
21 <property value="burnable"/>
22 </properties>
23 <light enabled="false" />
24 <unit-requirements>
25 <unit name="blacksmith" />
26 <unit name="mead_bar" />
27 </unit-requirements>
28 <upgrade-requirements />
29 <resource-requirements>
30 <resource name="gold" amount="150" />
31 <resource name="wood" amount="200" />
32 </resource-requirements>
33 <resources-stored>
34 <resource name="wood" amount="2000" />
35 </resources-stored>
36 <image path="images/mistletree.bmp"/>
37 <image-cancel path="../archer/images/tech_cancel.bmp"/>
38 <meeting-point value="true" image-path="../mead_bar/images/meeting_point.bmp"/>
39 <selection-sounds enabled="true">
40 <sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
41 </selection-sounds>
42 <command-sounds enabled="true">
43 <sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
44 </command-sounds>
45 </parameters>
46 <skills>
47 <skill>
48 <name value="be_built_skill"/>
49 <ep-cost value="0"/>
50 <speed value="300"/>
51 <anim-speed value="300"/>
52 <animation path="models/mistletree_construction.g3d"/>
53 <sound enabled="false"/>
54 <type value="be_built"/>
55 </skill>
56 <skill>
57 <type value="stop"/>
58 <name value="stop_skill"/>
59 <ep-cost value="0"/>
60 <speed value="100"/>
61 <anim-speed value="20"/>
62 <animation path="models/mistletree.g3d"/>
63 <sound enabled="false"/>
64 </skill>
65 <skill>
66 <type value="produce"/>
67 <name value="produce_skill"/>
68 <ep-cost value="0"/>
69 <speed value="300"/>
70 <anim-speed value="30"/>
71 <animation path="models/mistletree.g3d"/>
72 <sound enabled="false"/>
73 </skill>
74 <skill>
75 <type value="attack"/>
76 <name value="attack_air_skill"/>
77 <ep-cost value="0"/>
78 <speed value="80"/>
79 <anim-speed value="80"/>
80 <animation path="models/mistletree_attacking.g3d"/>
81 <sound enabled="false" start-time="0">
82 <sound-file path="/sounds/tower_attack1.wav"/>
83 <sound-file path="/sounds/tower_attack2.wav"/>
84 <sound-file path="/sounds/tower_attack3.wav"/>
85 <sound-file path="/sounds/tower_attack4.wav"/>
86 <sound-file path="/sounds/tower_attack5.wav"/>
87 <sound-file path="/sounds/tower_attack6.wav"/>
88 </sound>
89 <attack-strenght value="150"/>
90 <attack-var value="50"/>
91 <attack-range value="15"/>
92 <attack-type value="magic"/>
93 <attack-start-time value="0.3"/>
94 <attack-fields>
95 <field value="air"/>
96 </attack-fields>
97 <projectile value="true">
98 <particle value="true" path="particle_proj.xml"/>
99 <sound enabled="false" start-time="0">
100 <sound-file path="/sounds/tower_hit1.wav"/>
101 <sound-file path="/sounds/tower_hit2.wav"/>
102 <sound-file path="/sounds/tower_hit3.wav"/>
103 </sound>
104 </projectile>
105 <splash value="true">
106 <radius value="3"/>
107 <damage-all value="true"/>
108 <particle value="true" path="particle_splash.xml"/>
109 </splash>
110 </skill>
111 <skill>
112 <type value="upgrade"/>
113 <name value="upgrade_skill"/>
114 <ep-cost value="0"/>
115 <speed value="300"/>
116 <anim-speed value="30"/>
117 <animation path="models/mistletree.g3d"/>
118 <sound enabled="false"/>
119 </skill>
120 <skill>
121 <type value="die"/>
122 <name value="die_skill"/>
123 <ep-cost value="0" />
124 <speed value="300"/>
125 <anim-speed value="100" />
126 <animation path="models/mistletree_destroyed.g3d"/>
127 <sound enabled="true" start-time="0">
128 <sound-file path="$COMMONDATAPATH/sounds/tech_building_fall5.wav"/>
129 </sound>
130 <fade value="false"/>
131 </skill>
132 </skills>
133 <commands>
134 <command>
135 <type value="attack_stopped"/>
136 <name value="air_on"/>
137 <image path="images/mistletree_attack.bmp"/>
138 <unit-requirements/>
139 <upgrade-requirements/>
140 <stop-skill value="stop_skill"/>
141 <attack-skill value="attack_air_skill"/>
142 </command>
143 <command>
144 <type value= "stop"/>
145 <name value="attack_off"/>
146 <name value="hold_position"/>
147 <image path="../archer/images/tech_stop.bmp"/>
148 <unit-requirements/>
149 <upgrade-requirements/>
150 <stop-skill value="stop_skill"/>
151 </command>
152 <command>
153 <type value="upgrade"/>
154 <name value="research_root"/>
155 <image path="../../upgrades/root/images/root.bmp"/>
156 <unit-requirements/>
157 <upgrade-requirements/>
158 <upgrade-skill value="upgrade_skill"/>
159 <produced-upgrade name="root"/>
160 </command>
161 <command>
162 <type value="produce"/>
163 <name value="resurrect_wild_sow" />
164 <image path="../wild_sow/images/wild_sow.bmp"/>
165 <unit-requirements/>
166 <upgrade-requirements/>
167 <produce-skill value="produce_skill"/>
168 <produced-unit name="wild_sow"/>
169 </command>
170 </commands>
171 </unit>