summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/elmo-artis.xml
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sprites/npcs/xml/elmo-artis.xml')
-rw-r--r--graphics/sprites/npcs/xml/elmo-artis.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/graphics/sprites/npcs/xml/elmo-artis.xml b/graphics/sprites/npcs/xml/elmo-artis.xml
new file mode 100644
index 00000000..f6106f4e
--- /dev/null
+++ b/graphics/sprites/npcs/xml/elmo-artis.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Reid
+Copyright (C) 2015 Evol Online -->
+
+<sprite>
+ <imageset name="base"
+ src="graphics/sprites/npcs/sprite/elmo-artis.png"
+ width="64"
+ height="64"
+ offsetX ="-12"/>
+
+ <action name="stand" imageset="base">
+ <animation direction="default">
+ <label name="start"/>
+ <!-- 10% -->
+ <goto label="blink" rand="10"/>
+ <!-- 40% from the 90% unused percent are used on "long" label -->
+ <goto label="long" rand="40"/>
+ <!-- 100% from the 60% unused percent are used on "simple" label -->
+ <goto label="simple" rand="100"/>
+
+ <!-- Leg animation -->
+ <!-- Long Moving Leg Animation -->
+ <label name="long"/>
+ <frame index="0" delay="120"/>
+ <sequence value="3,4" delay="110"/>
+ <frame index="5" delay="120"/>
+ <sequence value="4,3" delay="110"/>
+ <goto label="start"/>
+ <!-- Simple Moving Leg Animation -->
+ <label name="simple"/>
+ <frame index="0" delay="120"/>
+ <frame index="3" delay="110"/>
+ <frame index="4" delay="120"/>
+ <frame index="3" delay="110"/>
+ <goto label="start"/>
+
+ <!-- Blinking and last frame of leg animation -->
+ <label name="blink"/>
+ <frame index="1" delay="50"/>
+ <frame index="2" delay="60"/>
+ <frame index="4" delay="120"/>
+ <frame index="3" delay="110"/>
+ <goto label="start"/>
+ </animation>
+ </action>
+</sprite>