summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-06-18 03:26:43 +0200
committerReid <reidyaro@gmail.com>2015-06-18 03:26:43 +0200
commit0da6284f6033fcc07a199bc60a6be4f51f73c83a (patch)
tree67016ef3d86efff6a70b8445f3f6dcd8df6f2e01 /graphics
parent40150be2eefb49e07b149e766ffd874a19f88666 (diff)
downloadclientdata-0da6284f6033fcc07a199bc60a6be4f51f73c83a.tar.gz
clientdata-0da6284f6033fcc07a199bc60a6be4f51f73c83a.tar.bz2
clientdata-0da6284f6033fcc07a199bc60a6be4f51f73c83a.tar.xz
clientdata-0da6284f6033fcc07a199bc60a6be4f51f73c83a.zip
Enhance elmo animation.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sprites/npcs/xml/elmo-artis.xml27
1 files changed, 23 insertions, 4 deletions
diff --git a/graphics/sprites/npcs/xml/elmo-artis.xml b/graphics/sprites/npcs/xml/elmo-artis.xml
index 28401e83..a2e90d0f 100644
--- a/graphics/sprites/npcs/xml/elmo-artis.xml
+++ b/graphics/sprites/npcs/xml/elmo-artis.xml
@@ -11,16 +11,35 @@ Copyright (C) 2015 Evol Online -->
<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 -->
- <sequence value="0,3,4,5,4,3" delay="120"/>
+ <!-- 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 -->
+ <!-- Blinking and last frame of leg animation -->
<label name="blink"/>
- <sequence start="1" end="2" delay="60"/>
- <frame index="3" delay="120"/>
+ <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>