summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-02-05 01:19:38 +0100
committerReid <reidyaro@gmail.com>2015-02-05 01:19:38 +0100
commitbdbb509fec8afc8a85404139c506ac456b29f7f4 (patch)
tree63cde9621755eb89411c394210949d1d5a5bebc0
parent4f4a5e79b0a1fae889017c2d1c43fd54d7a243a3 (diff)
downloadclientdata-bdbb509fec8afc8a85404139c506ac456b29f7f4.tar.gz
clientdata-bdbb509fec8afc8a85404139c506ac456b29f7f4.tar.bz2
clientdata-bdbb509fec8afc8a85404139c506ac456b29f7f4.tar.xz
clientdata-bdbb509fec8afc8a85404139c506ac456b29f7f4.zip
Complete animation on the harbour tile.
-rw-r--r--graphics/sprites/accessories/harbour-hook.xml31
-rw-r--r--graphics/sprites/accessories/harbour-rope.xml28
-rw-r--r--graphics/sprites/npcs/xml/harbour.xml9
-rw-r--r--npcs.xml4
4 files changed, 66 insertions, 6 deletions
diff --git a/graphics/sprites/accessories/harbour-hook.xml b/graphics/sprites/accessories/harbour-hook.xml
new file mode 100644
index 00000000..5eafd0e1
--- /dev/null
+++ b/graphics/sprites/accessories/harbour-hook.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Reid
+Copyright (C) 2015 Evol Online -->
+<sprite>
+ <imageset name="npc"
+ src="graphics/sprites/accessories/harbour-hook.png"
+ width="5"
+ height="40"
+ offsetY="-51"
+ offsetX="92"/>
+
+
+ <action name="stand" imageset="npc">
+ <!-- Static Top -->
+ <animation direction="down">
+ <frame index="0"/>
+ </animation>
+ <!-- Moving Down, x=3, with x*560 delay in ms -->
+ <animation direction="left">
+ <sequence start="0" end="11" delay="140"/>
+ </animation>
+ <!-- Moving Bottom, x=3, with x*560 delay in ms -->
+ <animation direction="up">
+ <sequence start="11" end="0" delay="140"/>
+ </animation>
+ <!-- Static Bottom-->
+ <animation direction="right">
+ <frame index="11"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/graphics/sprites/accessories/harbour-rope.xml b/graphics/sprites/accessories/harbour-rope.xml
new file mode 100644
index 00000000..4d7b927f
--- /dev/null
+++ b/graphics/sprites/accessories/harbour-rope.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Reid
+Copyright (C) 2015 Evol Online -->
+<sprite>
+ <imageset name="npc"
+ src="graphics/sprites/accessories/harbour-rope.png"
+ width="192"
+ height="128"/>
+
+ <action name="stand" imageset="npc">
+ <!-- Static Top -->
+ <animation direction="down">
+ <frame index="0"/>
+ </animation>
+ <!-- Moving Down, common divisor of 560 and delay in ms -->
+ <animation direction="left">
+ <sequence start="0" end="2" delay="80"/>
+ </animation>
+ <!-- Moving Bottom, common divisor of 560 and delay in ms -->
+ <animation direction="up">
+ <sequence start="2" end="0" delay="80"/>
+ </animation>
+ <!-- Static Bottom-->
+ <animation direction="right">
+ <frame index="2"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/graphics/sprites/npcs/xml/harbour.xml b/graphics/sprites/npcs/xml/harbour.xml
index 7ac263a0..005d9b14 100644
--- a/graphics/sprites/npcs/xml/harbour.xml
+++ b/graphics/sprites/npcs/xml/harbour.xml
@@ -10,14 +10,15 @@ Copyright (C) 2015 Evol Online -->
<action name="stand" imageset="npc">
<!-- Static Top -->
<animation direction="down">
+ <frame index="0"/>
</animation>
- <!-- Moving Down, 560 seconds -->
+ <!-- Moving Down, 560 ms -->
<animation direction="left">
- <sequence start="0" end="8" delay="80"/>
+ <sequence start="0" end="8" delay="40"/>
</animation>
- <!-- Moving Bottom, 560 seconds -->
+ <!-- Moving Bottom, 560 ms -->
<animation direction="up">
- <sequence start="8" end="0" delay="80"/>
+ <sequence start="8" end="0" delay="40"/>
</animation>
<!-- Static Bottom-->
<animation direction="right">
diff --git a/npcs.xml b/npcs.xml
index d029d6f4..4837288b 100644
--- a/npcs.xml
+++ b/npcs.xml
@@ -219,10 +219,10 @@ IDs 990-999 = Special
</npc>
<npc id="420">
<!-- Harbour with a funny wheel. -->
- <sprite>npcs/xml/harbourbase.xml</sprite>
+ <sprite>npcs/xml/harbour.xml</sprite>
<sprite>accessories/harbour-hook.xml</sprite>
<sprite>accessories/harbour-rope.xml</sprite>
- <menu name="Talk" command="talk 'NAME'"/>
+ <menu name="Rotate" command="wheel"/>
</npc>
<npc id="800">