Debian Codegraph @

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

raw
1 <?xml version="1.0" standalone="no"?>
2
3 <unit>
4 <parameters>
5 <size value="1"/>
6 <height value="1"/>
7 <max-hp value="450" regeneration="5"/>
8 <max-ep value="0" regeneration="0"/>
9 <armor value="15"/>
10 <armor-type value="leather"/>
11 <sight value="12"/>
12 <time value="70"/>
13 <multi-selection value="true"/>
14 <cellmap value="false"/>
15 <levels>
16 <level name="expert" kills="5"/>
17 <level name="master" kills="15"/>
18 </levels>
19 <fields>
20 <field value="land"/>
21 </fields>
22 <properties/>
23 <light enabled="false"/>
24 <unit-requirements>
25 </unit-requirements>
26 <upgrade-requirements>
27 </upgrade-requirements>
28 <resource-requirements>
29 <resource name="gold" amount="140"/>
30 <resource name="stone" amount="50"/>
31 <resource name="food" amount="1"/>
32 </resource-requirements>
33 <resources-stored/>
34 <image path="images/snake.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/archmage_select1.wav"/>
39 <sound path="$COMMONDATAPATH/sounds/archmage_select2.wav"/>
40 <sound path="$COMMONDATAPATH/sounds/archmage_select3.wav"/>
41 <sound path="$COMMONDATAPATH/sounds/archmage_select4.wav"/>
42 <sound path="$COMMONDATAPATH/sounds/archmage_select5.wav"/>
43 </selection-sounds>
44 <command-sounds enabled="true">
45 <sound path="$COMMONDATAPATH/sounds/archmage_ack1.wav"/>
46 <sound path="$COMMONDATAPATH/sounds/archmage_ack2.wav"/>
47 <sound path="$COMMONDATAPATH/sounds/archmage_ack3.wav"/>
48 <sound path="$COMMONDATAPATH/sounds/archmage_ack4.wav"/>
49 <sound path="$COMMONDATAPATH/sounds/archmage_ack5.wav"/>
50 <sound path="$COMMONDATAPATH/sounds/archmage_ack6.wav"/>
51 <sound path="$COMMONDATAPATH/sounds/archmage_ack7.wav"/>
52 </command-sounds>
53 </parameters>
54
55 <skills>
56
57 <skill>
58 <type value="stop"/>
59 <name value="stop_skill"/>
60 <ep-cost value="0"/>
61 <speed value="1000"/>
62 <anim-speed value="60"/>
63 <animation path="models/snake_standing.g3d"/>
64 <sound enabled="false"/>
65 </skill>
66
67 <skill>
68 <type value="move"/>
69 <name value="move_skill"/>
70 <ep-cost value="0"/>
71 <speed value="140"/>
72 <anim-speed value="90"/>
73 <animation path="models/snake_walking.g3d"/>
74 <sound enabled="false"/>
75 </skill>
76
77 <skill>
78 <type value="attack"/>
79 <name value="poison_shot_skill"/>
80 <ep-cost value="0"/>
81 <speed value="75"/>
82 <anim-speed value="75"/>
83 <animation path="models/snake_attacking.g3d"/>
84 <sound enabled="true" start-time="0.4">
85 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack1.wav"/>
86 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack2.wav"/>
87 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack3.wav"/>
88 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack4.wav"/>
89 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack6.wav"/>
90 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack8.wav"/>
91 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack11.wav"/>
92 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack12.wav"/>
93 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack13.wav"/>
94 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack15.wav"/>
95 <sound-file path="$COMMONDATAPATH/sounds/archmage_attack16.wav"/>
96 </sound>
97 <attack-strenght value="140"/>
98 <attack-var value="30"/>
99 <attack-range value="9"/>
100 <attack-type value="energy"/>
101 <attack-fields>
102 <field value="land"/>
103 <field value="air"/>
104 </attack-fields>
105 <attack-start-time value="0.5"/>
106 <projectile value="true">
107 <particle value="true" path="particle_proj.xml"/>
108 <sound enabled="true">
109 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit1.wav"/>
110 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit2.wav"/>
111 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit3.wav"/>
112 <sound-file path="$COMMONDATAPATH/sounds/archmage_hit4.wav"/>
113 </sound>
114 </projectile>
115 <splash value="true">
116 <radius value="3"/>
117 <damage-all value="false"/>
118 <particle value="true" path="particle_splash.xml"/>
119 </splash>
120 </skill>
121
122 <skill>
123 <type value="die"/>
124 <name value="die_skill"/>
125 <ep-cost value="0"/>
126 <speed value="120"/>
127 <anim-speed value="60"/>
128 <animation path="models/snake_dying.g3d"/>
129 <sound enabled="true" start-time="0">
130 <sound-file path="$COMMONDATAPATH/sounds/archmage_die1.wav"/>
131 <sound-file path="$COMMONDATAPATH/sounds/archmage_die2.wav"/>
132 </sound>
133 <fade value="false"/>
134 </skill>
135
136 </skills>
137
138 <!-- *** commands *** -->
139
140 <commands>
141
142 <command>
143 <type value="stop"/>
144 <name value="stop"/>
145 <image path="../spearman/images/tech_stop.bmp"/>
146 <unit-requirements/>
147 <upgrade-requirements/>
148 <stop-skill value="stop_skill"/>
149 </command>
150
151 <command>
152 <type value="move"/>
153 <name value="move"/>
154 <image path="../spearman/images/tech_move.bmp"/>
155 <unit-requirements/>
156 <upgrade-requirements/>
157 <move-skill value="move_skill"/>
158 </command>
159
160 <command>
161 <type value="attack"/>
162 <name value="poison_shot"/>
163 <image path="images/snake_attack.bmp"/>
164 <unit-requirements/>
165 <upgrade-requirements/>
166 <move-skill value="move_skill"/>
167 <attack-skill value="poison_shot_skill"/>
168 </command>
169
170 <command>
171 <type value="attack_stopped"/>
172 <name value="hold_position"/>
173 <image path="../spearman/images/tech_hold.bmp"/>
174 <unit-requirements/>
175 <upgrade-requirements/>
176 <stop-skill value="stop_skill"/>
177 <attack-skill value="poison_shot_skill"/>
178 </command>
179
180 </commands>
181 </unit>