Debian Codegraph @

techs/megapack/factions/indian/units/horseman/horseman.xml

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4
5 <!-- *** parameters *** -->
6
7 <parameters>
8 <size value="2"/>
9 <height value="2"/>
10 <max-hp value="1300" regeneration="2"/>
11 <max-ep value="0"/>
12 <armor value="50"/>
13 <armor-type value="leather"/>
14 <sight value="10"/>
15 <time value="120"/>
16 <multi-selection value="true"/>
17 <cellmap value="false"/>
18 <levels>
19 <level name="elite" kills="6"/>
20 </levels>
21 <fields>
22 <field value="land"/>
23 </fields>
24 <properties/>
25 <light enabled="false"/>
26 <unit-requirements>
27 </unit-requirements>
28 <upgrade-requirements>
29 <upgrade name="stables"/>
30 <upgrade name="iron"/>
31 </upgrade-requirements>
32 <resource-requirements>
33 <resource name="wood" amount="100"/>
34 <resource name="gold" amount="250"/>
35 <resource name="housing" amount="1"/>
36 </resource-requirements>
37 <resources-stored/>
38 <image path="images/horseman.bmp"/>
39 <image-cancel path="../archer/images/tech_cancel.bmp"/>
40 <meeting-point value="false"/>
41 <selection-sounds enabled="true">
42 <sound path="sounds/horseman_select1.wav"/>
43 <sound path="sounds/horseman_select2.wav"/>
44 <sound path="sounds/horseman_select3.wav"/>
45 <sound path="sounds/horseman_select4.wav"/>
46 <sound path="sounds/horseman_select5.wav"/>
47 </selection-sounds>
48 <command-sounds enabled="true">
49 <sound path="sounds/horseman_ack1.wav"/>
50 <sound path="sounds/horseman_ack2.wav"/>
51 <sound path="sounds/horseman_ack3.wav"/>
52 <sound path="sounds/horseman_ack4.wav"/>
53 <sound path="sounds/horseman_ack5.wav"/>
54 </command-sounds>
55
56 </parameters>
57
58 <!-- *** skills *** -->
59
60 <skills>
61
62 <!-- *** skill 0 *** -->
63 <skill>
64 <type value="stop"/>
65 <name value="stop_skill"/>
66 <ep-cost value="0"/>
67 <speed value="1000"/>
68 <anim-speed value="50"/>
69 <animation path="models/horseman_standing.g3d"/>
70 <sound enabled="false"/>
71 </skill>
72
73 <!-- *** skill 1 *** -->
74 <skill>
75 <type value="move"/>
76 <name value="move_skill"/>
77 <ep-cost value="0"/>
78 <speed value="480"/>
79 <anim-speed value="120"/>
80 <animation path="models/horseman_walking.g3d"/>
81 <particles value="true">
82 <particle-file path="dirt_particles.xml"/>
83 <particle-file path="dirt_particles2.xml"/>
84 </particles>
85 <sound enabled="true" start-time="0">
86 <sound-file path="$COMMONDATAPATH/sounds/horseman_walk1.wav"/>
87 <sound-file path="$COMMONDATAPATH/sounds/horseman_walk2.wav"/>
88 <sound-file path="$COMMONDATAPATH/sounds/horseman_walk3.wav"/>
89 </sound>
90
91 </skill>
92
93 <!-- *** skill 2 *** -->
94 <skill>
95 <type value="attack"/>
96 <name value="attack_skill"/>
97 <ep-cost value="0"/>
98 <speed value="110"/>
99 <anim-speed value="110"/>
100 <animation path="models/horseman_attacking.g3d"/>
101 <sound enabled="true" start-time="0">
102 <sound-file path="sounds/horseman_attack1.wav"/>
103 <sound-file path="sounds/horseman_attack2.wav"/>
104 <sound-file path="sounds/horseman_attack3.wav"/>
105 <sound-file path="sounds/horseman_attack4.wav"/>
106 <sound-file path="sounds/horseman_attack5.wav"/>
107 </sound>
108 <attack-strenght value="215"/>
109 <attack-var value="25"/>
110 <attack-range value="3"/>
111 <attack-type value="slashing"/>
112 <attack-fields>
113 <field value="land"/>
114 </attack-fields>
115 <attack-start-time value="0.8"/>
116 <projectile value="false"/>
117 <splash value="false"/>
118 </skill>
119
120 <!-- *** skill 3 *** -->
121 <skill>
122 <type value="die"/>
123 <name value="die_skill"/>
124 <ep-cost value="0"/>
125 <speed value="60"/>
126 <anim-speed value="50"/>
127 <animation path="models/horseman_dying.g3d"/>
128 <sound enabled="true" start-time="0">
129 <sound-file path="sounds/horseman_die1.wav"/>
130 <sound-file path="sounds/horseman_die2.wav"/>
131 <sound-file path="sounds/horseman_die3.wav"/>
132 <sound-file path="sounds/horseman_die4.wav"/>
133 </sound>
134 <fade value="false"/>
135 </skill>
136
137 </skills>
138
139 <!-- *** commands *** -->
140
141 <commands>
142
143 <!-- *** Command 0 *** -->
144 <command>
145 <type value="stop"/>
146 <name value="stop"/>
147 <image path="../archer/images/tech_stop.bmp"/>
148 <unit-requirements/>
149 <upgrade-requirements/>
150 <stop-skill value="stop_skill"/>
151 </command>
152
153 <!-- *** command 1 *** -->
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 2 *** -->
164 <command>
165 <type value="attack"/>
166 <name value="attack"/>
167 <image path="images/horseman_attack.bmp"/>
168 <unit-requirements/>
169 <upgrade-requirements/>
170 <move-skill value="move_skill"/>
171 <attack-skill value="attack_skill"/>
172 </command>
173
174 <command>
175 <type value="attack_stopped"/>
176 <name value="hold_position"/>
177 <image path="../archer/images/tech_hold.bmp"/>
178 <unit-requirements/>
179 <upgrade-requirements>
180 <upgrade name="training_field"/>
181 </upgrade-requirements>
182 <stop-skill value="stop_skill"/>
183 <attack-skill value="attack_skill"/>
184 </command>
185
186 </commands>
187 </unit>