Debian Codegraph @

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

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4 <parameters>
5 <size value="2"/>
6 <height value="4"/>
7 <max-hp value="1200" regeneration="3"/>
8 <max-ep value="0"/>
9 <armor value="15"/>
10 <armor-type value="wood"/>
11 <sight value="15"/>
12 <time value="100"/>
13 <multi-selection value="true"/>
14 <cellmap value="false"/>
15 <levels/>
16 <fields>
17 <field value="land"/>
18 </fields>
19 <properties>
20 <property value="rotated_climb"/>
21 </properties>
22 <light enabled="false"/>
23 <unit-requirements>
24 <unit name="blacksmith"/>
25 </unit-requirements>
26 <upgrade-requirements>
27 <upgrade name="arrow"/>
28 <upgrade name="iron"/>
29 </upgrade-requirements>
30 <resource-requirements>
31 <resource name="gold" amount="100"/>
32 <resource name="wood" amount="200"/>
33 <resource name="food" amount="1"/>
34 </resource-requirements>
35 <resources-stored/>
36 <image path="images/crossbow.bmp"/>
37 <image-cancel path="../archer/images/tech_cancel.bmp"/>
38 <meeting-point value="false"/>
39 <selection-sounds enabled="true">
40 <sound path="$COMMONDATAPATH/sounds/archer_select1.wav"/>
41 <sound path="$COMMONDATAPATH/sounds/archer_select2.wav"/>
42 <sound path="$COMMONDATAPATH/sounds/archer_select3.wav"/>
43 <sound path="$COMMONDATAPATH/sounds/archer_select4.wav"/>
44 </selection-sounds>
45 <command-sounds enabled="true">
46 <sound path="$COMMONDATAPATH/sounds/archer_ack1.wav"/>
47 <sound path="$COMMONDATAPATH/sounds/archer_ack2.wav"/>
48 <sound path="$COMMONDATAPATH/sounds/archer_ack3.wav"/>
49
50 </command-sounds>
51
52 </parameters>
53
54 <skills>
55
56 <skill>
57 <type value="stop"/>
58 <name value="stop_skill"/>
59 <ep-cost value="0"/>
60 <speed value="1000"/>
61 <anim-speed value="40"/>
62 <animation path="models/crossbow_standing.g3d"/>
63 <sound enabled="false"/>
64 </skill>
65
66 <skill>
67 <type value="move"/>
68 <name value="move_skill"/>
69 <ep-cost value="0"/>
70 <speed value="150"/>
71 <anim-speed value="60"/>
72 <animation path="models/crossbow_walking.g3d"/>
73 <sound enabled="true" start-time="0.1">
74 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk1.wav"/>
75 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk2.wav"/>
76 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk3.wav"/>
77 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk4.wav"/>
78 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk5.wav"/>
79 <sound-file path="$COMMONDATAPATH/sounds/catapult_walk6.wav"/>
80 </sound>
81 </skill>
82
83 <skill>
84 <type value="attack"/>
85 <name value="attack_skill"/>
86 <ep-cost value="0"/>
87 <speed value="50"/>
88 <anim-speed value="50"/>
89 <animation path="models/crossbow_attacking.g3d"/>
90 <sound enabled="true" start-time="0.1">
91 <sound-file path="$COMMONDATAPATH/sounds/catapult_attack1.wav"/>
92 <sound-file path="$COMMONDATAPATH/sounds/catapult_attack2.wav"/>
93 </sound>
94 <attack-strenght value="250"/>
95 <attack-var value="90"/>
96 <attack-range value="10"/>
97 <attack-type value="piercing"/>
98 <attack-start-time value="0"/>
99 <attack-fields>
100 <field value="land"/>
101 </attack-fields>
102 <projectile value="true">
103 <particle value="true" path="particle_proj.xml"/>
104 <sound enabled="true">
105 <sound-file path="$COMMONDATAPATH/sounds/catapult_hit1.wav"/>
106 <sound-file path="$COMMONDATAPATH/sounds/catapult_hit2.wav"/>
107 </sound>
108 </projectile>
109 <splash value="true">
110 <radius value="2"/>
111 <damage-all value="true"/>
112 <particle value="true" path="particle_splash.xml"/>
113 </splash>
114 </skill>
115
116 <skill>
117 <type value="die"/>
118 <name value="die_skill"/>
119 <ep-cost value="0"/>
120 <speed value="120"/>
121 <anim-speed value="120"/>
122 <animation path="models/crossbow_destroyed.g3d"/>
123 <sound enabled="true" start-time="0.1">
124 <sound-file path="$COMMONDATAPATH/sounds/catapult_die1.wav"/>
125 <sound-file path="$COMMONDATAPATH/sounds/catapult_die2.wav"/>
126 <sound-file path="$COMMONDATAPATH/sounds/catapult_die3.wav"/>
127 </sound>
128 <fade value="false"/>
129 </skill>
130
131 <skill>
132 <type value="stop"/>
133 <name value="stop_skill"/>
134 <ep-cost value="0"/>
135 <speed value="1000"/>
136 <anim-speed value="40"/>
137 <animation path="models/crossbow_standing.g3d"/>
138 <sound enabled="false"/>
139 </skill>
140
141 </skills>
142
143 <commands>
144
145 <command>
146 <type value="stop"/>
147 <name value="stop"/>
148 <image path="../archer/images/tech_stop.bmp"/>
149 <unit-requirements/>
150 <upgrade-requirements/>
151 <stop-skill value="stop_skill"/>
152 </command>
153
154 <command>
155 <type value="move"/>
156 <name value="move"/>
157 <image path="../archer/images/tech_move.bmp"/>
158 <unit-requirements/>
159 <upgrade-requirements/>
160 <move-skill value="move_skill"/>
161 </command>
162
163 <command>
164 <type value="attack"/>
165 <name value="attack_arrow"/>
166 <image path="images/catapult_attack.bmp"/>
167 <unit-requirements/>
168 <upgrade-requirements/>
169 <move-skill value="move_skill"/>
170 <attack-skill value="attack_skill"/>
171 </command>
172
173 <command>
174 <type value="attack_stopped"/>
175 <name value="hold_position"/>
176 <image path="../archer/images/tech_hold.bmp"/>
177 <unit-requirements/>
178 <upgrade-requirements/>
179 <stop-skill value="stop_skill"/>
180 <attack-skill value="attack_skill"/>
181 </command>
182
183 </commands>
184 </unit>