summaryrefslogtreecommitdiff
path: root/graphics/sprites/equipment/head/infantryhelm.xml
blob: a8bd03fb167faa463c7ee3cfa9808736a8203fbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?xml version="1.0"?>
<sprite>
	<imageset name="base" src="graphics/sprites/equipment/head/infantryhelm.png" width="25" height="22"/>

	<action name="stand" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-38"/>
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="2" offsetY ="-38"/>
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-2" offsetY ="-38"/>
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="-1" offsetY ="-38"/>
		</animation>
	</action>

	<action name="walk" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-37" delay="75"/>
		  <frame index="0" offsetX="0" offsetY ="-38" delay="150"/>
		  <frame index="0" offsetX="0" offsetY ="-37" delay="75"/>
		  <frame index="0" offsetX="0" offsetY ="-38" delay="150"/>
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="2" offsetY ="-38" delay="75"/>
		  <frame index="1" offsetX="2" offsetY ="-37" delay="75"/>
		  <frame index="1" offsetX="2" offsetY ="-38" delay="150"/>
		  <frame index="1" offsetX="2" offsetY ="-37" delay="75"/>
		  <frame index="1" offsetX="2" offsetY ="-38" delay="75"/>
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-2" offsetY ="-38" delay="75"/>
		  <frame index="2" offsetX="-2" offsetY ="-39" delay="150"/>
		  <frame index="2" offsetX="-2" offsetY ="-38" delay="75"/>
		  <frame index="2" offsetX="-2" offsetY ="-39" delay="150"/>
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="-1" offsetY ="-38" delay="75"/>
		  <frame index="3" offsetX="-1" offsetY ="-37" delay="75"/>
		  <frame index="3" offsetX="-1" offsetY ="-38" delay="150"/>
		  <frame index="3" offsetX="-1" offsetY ="-37" delay="75"/>
		  <frame index="3" offsetX="-1" offsetY ="-38" delay="75"/>
		</animation>
	</action>

	<action name="attack" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-36" delay="75"/>
		  <frame index="0" offsetX="0" offsetY ="-37" delay="75"/>
		  <frame index="0" offsetX="0" offsetY ="-34" delay="75"/>
		  <frame index="0" offsetX="0" offsetY ="-33" delay="75"/>
		  <end />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="6" offsetY ="-39" delay="75"/>
		  <frame index="1" offsetX="6" offsetY ="-40" delay="75"/>
		  <frame index="1" offsetX="2" offsetY ="-37" delay="75"/>
		  <frame index="1" offsetX="1" offsetY ="-36" delay="75"/>
		  <end />
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-3" offsetY ="-38" delay="225"/>
		  <frame index="2" offsetX="-3" offsetY ="-35" delay="75"/>
		  <end />
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="-4" offsetY ="-39" delay="75"/>
		  <frame index="3" offsetX="-4" offsetY ="-40" delay="75"/>
		  <frame index="3" offsetX="-1" offsetY ="-37" delay="75"/>
		  <frame index="3" offsetX="0" offsetY ="-36" delay="75"/>
		  <end />
		</animation>
	</action>

	<action name="attack_bow" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-37" delay="225"/>
		  <frame index="0" offsetX="0" offsetY ="-36" delay="75"/>
		  <frame index="0" offsetX="0" offsetY ="-37" delay="75"/>
		  <end />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="5" offsetY ="-38" delay="225"/>
		  <frame index="1" offsetX="7" offsetY ="-39" delay="150"/>
		  <end />
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-2" offsetY ="-38" delay="225"/>
		  <frame index="2" offsetX="-3" offsetY ="-37" delay="75"/>
		  <frame index="2" offsetX="-3" offsetY ="-38" delay="75"/>
		  <end />
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="-4" offsetY ="-38" delay="225"/>
		  <frame index="3" offsetX="-6" offsetY ="-39" delay="150"/>
		  <end />
		</animation>
	</action>

	<action name="sit" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-26"/>
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="6" offsetY ="-29"/>
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-1" offsetY ="-30"/>
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="-7" offsetY ="-29"/>
		</animation>
	</action>

	<action name="dead" imageset="base">
		<animation direction="default">
			<frame index="4" offsetX="35" offsetY="-6"/>
		</animation>
	</action>

</sprite>