summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Yaro <reidyaro@gmail.com>2013-06-14 03:55:11 +0100
committerReid Yaro <reidyaro@gmail.com>2013-06-14 03:55:11 +0100
commit28f18f040c894e895e22aae9064959904e787d8f (patch)
tree83a4a2e282c5065b8c39197656c4907ef091d4b0
parent3169f8aa465aa0339954650209dcf5440879d182 (diff)
downloadclientdata-28f18f040c894e895e22aae9064959904e787d8f.tar.gz
clientdata-28f18f040c894e895e22aae9064959904e787d8f.tar.bz2
clientdata-28f18f040c894e895e22aae9064959904e787d8f.tar.xz
clientdata-28f18f040c894e895e22aae9064959904e787d8f.zip
Correct bad animation loop on weapon sprites.
-rw-r--r--graphics/sprites/equipment/weapons/knife.pngbin5105 -> 4758 bytes
-rw-r--r--graphics/sprites/equipment/weapons/knife.xml115
-rw-r--r--graphics/sprites/equipment/weapons/piouslayer.pngbin6759 -> 7104 bytes
-rw-r--r--graphics/sprites/equipment/weapons/piouslayer.xml2
4 files changed, 114 insertions, 3 deletions
diff --git a/graphics/sprites/equipment/weapons/knife.png b/graphics/sprites/equipment/weapons/knife.png
index 642af5fd..6a50ee9f 100644
--- a/graphics/sprites/equipment/weapons/knife.png
+++ b/graphics/sprites/equipment/weapons/knife.png
Binary files differ
diff --git a/graphics/sprites/equipment/weapons/knife.xml b/graphics/sprites/equipment/weapons/knife.xml
index 7daacd50..1d6ae0fd 100644
--- a/graphics/sprites/equipment/weapons/knife.xml
+++ b/graphics/sprites/equipment/weapons/knife.xml
@@ -1,11 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Author: Reid
-Copyright (C) 2011-2013 Evol Online -->
+Copyright (C) 2012-2013 Evol Online -->
<sprite>
<imageset name="base"
src="graphics/sprites/equipment/weapons/knife.png"
width="64"
height="64"/>
- <include file="races/human-male.xml"/>
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0"/>
+ </animation>
+ <animation direction="left">
+ <frame index="16"/>
+ </animation>
+ <animation direction="up">
+ <frame index="32"/>
+ </animation>
+ <animation direction="right">
+ <frame index="48"/>
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="6" delay="80"/>
+ </animation>
+ <animation direction="left">
+ <sequence start="17" end="22" delay="80"/>
+ </animation>
+ <animation direction="up">
+ <sequence start="33" end="38" delay="80"/>
+ </animation>
+ <animation direction="right">
+ <sequence start="49" end="54" delay="80"/>
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="7" end="10" delay="80"/>
+ <frame index="11"/>
+ </animation>
+ <animation direction="left">
+ <sequence start="23" end="26" delay="80"/>
+ <frame index="27"/>
+ </animation>
+ <animation direction="up">
+ <sequence start="39" end="42" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="55" end="58" delay="80"/>
+ <frame index="59"/>
+ </animation>
+ </action>
+
+ <action name="attack_bow" imageset="base">
+ <animation direction="down">
+ <sequence start="11" end="15" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="27" end="31" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="43" end="47" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="59" end="63" delay="80"/>
+ <end />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="base">
+ <animation direction="down">
+ <frame index="68"/>
+ </animation>
+ <animation direction="left">
+ <frame index="69"/>
+ </animation>
+ <animation direction="up">
+ <frame index="70"/>
+ </animation>
+ <animation direction="right">
+ <frame index="71"/>
+ </animation>
+ </action>
+
+ <action name="sittop" imageset="base">
+ <animation direction="down">
+ <frame index="64"/>
+ </animation>
+ <animation direction="left">
+ <frame index="65"/>
+ </animation>
+ <animation direction="up">
+ <frame index="66"/>
+ </animation>
+ <animation direction="right">
+ <frame index="67"/>
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="72"/>
+ </animation>
+ <animation direction="left">
+ <frame index="72"/>
+ </animation>
+ <animation direction="up">
+ <frame index="72"/>
+ </animation>
+ <animation direction="right">
+ <frame index="72"/>
+ </animation>
+ </action>
</sprite>
diff --git a/graphics/sprites/equipment/weapons/piouslayer.png b/graphics/sprites/equipment/weapons/piouslayer.png
index edd59f10..c2c5ecd4 100644
--- a/graphics/sprites/equipment/weapons/piouslayer.png
+++ b/graphics/sprites/equipment/weapons/piouslayer.png
Binary files differ
diff --git a/graphics/sprites/equipment/weapons/piouslayer.xml b/graphics/sprites/equipment/weapons/piouslayer.xml
index ff8fad2b..bc86db0d 100644
--- a/graphics/sprites/equipment/weapons/piouslayer.xml
+++ b/graphics/sprites/equipment/weapons/piouslayer.xml
@@ -7,5 +7,5 @@ Copyright (C) 2011-2013 Evol Online -->
width="64"
height="64"/>
- <include file="races/human-male.xml"/>
+ <include file="equipment/weapons/knife.xml"/>
</sprite>