Debian Codegraph @

techs/megapack/factions/egypt/units/spearthrower/spearthrower.xml

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4 <parameters>
5 <size value="1"/>
6 <height value="2"/>
7 <max-hp value="700" regeneration="1"/>
8 <max-ep value="0"/>
9 <armor value="20"/>
10 <armor-type value="leather"/>
11 <sight value="15"/>
12 <time value="60"/>
13 <multi-selection value="true"/>
14 <cellmap value="false"/>
15 <levels>
16 <level name="elite" kills="5"/>
17 </levels>
18 <fields>
19 <field value="land"/>
20 <field value="air"/>
21 </fields>
22 <properties/>
23 <light enabled="false"/>
24 <unit-requirements>
25 <unit name="desert_camp"/>
26 </unit-requirements>
27 <upgrade-requirements/>
28 <resource-requirements>
29 <resource name="wood" amount="50"/>
30 <resource name="gold" amount="100"/>
31 <resource name="food" amount="1"/>
32 </resource-requirements>
33 <resources-stored/>
34 <image path="images/archer.bmp"/>
35 <image-cancel path="../spearman/images/tech_cancel.bmp"/>
36 <meeting-point value="false"/>
37 <selection-sounds enabled="true">
38 <sound path="$COMMONDATAPATH/sounds/archer_select1.wav"/>
39 <sound path="$COMMONDATAPATH/sounds/archer_select2.wav"/>
40 <sound path="$COMMONDATAPATH/sounds/archer_select3.wav"/>
41 <sound path="$COMMONDATAPATH/sounds/archer_select4.wav"/>
42 <sound path="$COMMONDATAPATH/sounds/archer_select5.wav"/>
43 <sound path="$COMMONDATAPATH/sounds/archer_select6.wav"/>
44 <sound path="$COMMONDATAPATH/sounds/archer_select7.wav"/>
45 <sound path="$COMMONDATAPATH/sounds/archer_select8.wav"/>
46 <sound path="$COMMONDATAPATH/sounds/archer_select9.wav"/>
47 <sound path="$COMMONDATAPATH/sounds/archer_select10.wav"/>
48 <sound path="$COMMONDATAPATH/sounds/archer_select11.wav"/>
49
50 </selection-sounds>
51 <command-sounds enabled="true">
52 <sound path="$COMMONDATAPATH/sounds/archer_ack1.wav"/>
53 <sound path="$COMMONDATAPATH/sounds/archer_ack2.wav"/>
54 <sound path="$COMMONDATAPATH/sounds/archer_ack3.wav"/>
55 <sound path="$COMMONDATAPATH/sounds/archer_ack4.wav"/>
56 <sound path="$COMMONDATAPATH/sounds/archer_ack5.wav"/>
57 <sound path="$COMMONDATAPATH/sounds/archer_ack6.wav"/>
58 <sound path="$COMMONDATAPATH/sounds/archer_ack7.wav"/>
59 <sound path="$COMMONDATAPATH/sounds/archer_ack8.wav"/>
60 <sound path="$COMMONDATAPATH/sounds/archer_ack9.wav"/>
61 <sound path="$COMMONDATAPATH/sounds/archer_ack10.wav"/>
62 <sound path="$COMMONDATAPATH/sounds/archer_ack11.wav"/>
63 <sound path="$COMMONDATAPATH/sounds/archer_ack12.wav"/>
64 <sound path="$COMMONDATAPATH/sounds/archer_ack13.wav"/>
65 <sound path="$COMMONDATAPATH/sounds/archer_ack14.wav"/>
66 <sound path="$COMMONDATAPATH/sounds/archer_ack15.wav"/>
67 </command-sounds>
68 </parameters>
69
70 <skills>
71
72 <skill>
73 <type value="stop"/>
74 <name value="stop_skill"/>
75 <ep-cost value="0"/>
76 <speed value="1000"/>
77 <anim-speed value="45"/>
78 <animation path="models/spearthrower_standing.g3d"/>
79 <sound enabled="false"/>
80 </skill>
81
82 <skill>
83 <type value="move"/>
84 <name value="move_skill"/>
85 <ep-cost value="0"/>
86 <speed value="220"/>
87 <anim-speed value="125"/>
88 <animation path="models/spearthrower_walking.g3d"/>
89 <sound enabled="false"/>
90 </skill>
91
92 <skill>
93 <type value="attack"/>
94 <name value="attack_skill"/>
95 <ep-cost value="0"/>
96 <speed value="50"/>
97 <anim-speed value="50"/>
98 <animation path="models/spearthrower_attacking.g3d"/>
99 <sound enabled="true" start-time="0.5">
100 <sound-file path="$COMMONDATAPATH/sounds/archer_attack1.wav"/>
101 <sound-file path="$COMMONDATAPATH/sounds/archer_attack2.wav"/>
102 <sound-file path="$COMMONDATAPATH/sounds/archer_attack3.wav"/>
103 <sound-file path="$COMMONDATAPATH/sounds/archer_attack4.wav"/>
104 </sound>
105 <attack-strenght value="95"/>
106 <attack-var value="65"/>
107 <attack-range value="9"/>
108 <attack-type value="piercing"/>
109 <attack-start-time value="0.5"/>
110 <attack-fields>
111 <field value="land"/>
112 <field value="air"/>
113 </attack-fields>
114 <projectile value="true">
115 <particle value="true" path="particle_proj.xml"/>
116 <sound enabled="true">
117 <sound-file path="$COMMONDATAPATH/sounds/arrow_hit1.wav"/>
118 <sound-file path="$COMMONDATAPATH/sounds/arrow_hit2.wav"/>
119 <sound-file path="$COMMONDATAPATH/sounds/arrow_hit3.wav"/>
120 <sound-file path="$COMMONDATAPATH/sounds/arrow_hit4.wav"/>
121 <sound-file path="$COMMONDATAPATH/sounds/arrow_hit5.wav"/>
122 </sound>
123 </projectile>
124 <splash value="false"/>
125 </skill>
126
127 <skill>
128 <type value="die"/>
129 <name value="die_skill"/>
130 <ep-cost value="0"/>
131 <speed value="60"/>
132 <anim-speed value="50"/>
133 <animation path="models/spearthrower_dying.g3d"/>
134 <sound enabled="true" start-time="0">
135 <sound-file path="$COMMONDATAPATH/sounds/archer_die1.wav"/>
136 <sound-file path="$COMMONDATAPATH/sounds/archer_die2.wav"/>
137 <sound-file path="$COMMONDATAPATH/sounds/archer_die3.wav"/>
138 <sound-file path="$COMMONDATAPATH/sounds/archer_die4.wav"/>
139 </sound>
140 <fade value="false"/>
141 </skill>
142
143 </skills>
144
145 <!-- *** commands *** -->
146
147 <commands>
148
149 <command>
150 <type value= "stop"/>
151 <name value="stop"/>
152 <image path="../spearman/images/tech_stop.bmp"/>
153 <unit-requirements/>
154 <upgrade-requirements/>
155 <stop-skill value="stop_skill"/>
156 </command>
157
158 <command>
159 <type value="move"/>
160 <name value="move"/>
161 <image path="../spearman/images/tech_move.bmp"/>
162 <unit-requirements/>
163 <upgrade-requirements/>
164 <move-skill value="move_skill"/>
165 </command>
166
167 <command>
168 <type value="attack"/>
169 <name value="attack"/>
170 <image path="images/archer_attack.bmp"/>
171 <unit-requirements/>
172 <upgrade-requirements/>
173 <move-skill value="move_skill"/>
174 <attack-skill value="attack_skill"/>
175 </command>
176
177 <command>
178 <type value="attack_stopped"/>
179 <name value="hold_position"/>
180 <image path="../spearman/images/tech_hold.bmp"/>
181 <unit-requirements/>
182 <upgrade-requirements>
183 <!--upgrade name="training_field"/-->
184 </upgrade-requirements>
185 <stop-skill value="stop_skill"/>
186 <attack-skill value="attack_skill"/>
187 </command>
188
189 </commands>
190 </unit>