summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/gugli.xml
diff options
context:
space:
mode:
authorAlige <aligetmw@hotmail.fr>2012-06-02 16:20:21 +0200
committerAlige <aligetmw@hotmail.fr>2012-06-02 16:20:21 +0200
commit20c55f76999711f35118ee095e2ce2fd96ded0c2 (patch)
treeea2095e392d14482b608a4d65d97d9e13d8dbeba /graphics/sprites/npcs/xml/gugli.xml
parent493dfb1bf2092b5b7ead4fec68ffb38c650f2404 (diff)
downloadclientdata-20c55f76999711f35118ee095e2ce2fd96ded0c2.tar.gz
clientdata-20c55f76999711f35118ee095e2ce2fd96ded0c2.tar.bz2
clientdata-20c55f76999711f35118ee095e2ce2fd96ded0c2.tar.xz
clientdata-20c55f76999711f35118ee095e2ce2fd96ded0c2.zip
Reworked all XML files by replacing whitespaces by tabs.
Particle XML files will be done later.
Diffstat (limited to 'graphics/sprites/npcs/xml/gugli.xml')
-rw-r--r--graphics/sprites/npcs/xml/gugli.xml63
1 files changed, 33 insertions, 30 deletions
diff --git a/graphics/sprites/npcs/xml/gugli.xml b/graphics/sprites/npcs/xml/gugli.xml
index e0ef20d9..c7d754c4 100644
--- a/graphics/sprites/npcs/xml/gugli.xml
+++ b/graphics/sprites/npcs/xml/gugli.xml
@@ -1,41 +1,44 @@
<?xml version="1.0"?>
-<!-- Author : Reid 4144
-Copyright (C) 2011-2012 Evol Online
+<!-- Author: Reid & 4144.
+Copyright (C) 2011-2012 Evol Online -->
+<!--
Example of the extended animation tags.
Allow set in attribute value any frame numbers.
Both of these examples show the same thing:
- <sequence start="55" end="60" delay="75" />
- <sequence value="55-60" delay="75" />
- <sequence value="55,56,57,58,59,60" delay="75" /> -->
+ <sequence start="55" end="60" delay="75"/>
+ <sequence value="55-60" delay="75"/>
+ <sequence value="55,56,57,58,59,60" delay="75"/>
+-->
<sprite>
- <imageset name="base" src="graphics/sprites/npcs/sprite/gugli.png" width="64" height="64" offsetX="-32"/>
+ <imageset name="npc" src="graphics/sprites/npcs/sprite/gugli.png" width="64" height="64" offsetX="-32"/>
- <action name="stand" imageset="base">
+ <action name="stand" imageset="npc">
+ <animation direction="default">
- <animation direction="default">
- <label name="start"/>
- <!-- 40% 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"/>
- <!-- Long move leg animation. -->
- <label name="long"/>
- <frame index="0" delay="120"/>
- <sequence value="1,2" delay="110"/>
- <frame index="3" delay="120"/>
- <sequence value="2,1" delay="110"/>
- <goto label="start"/>
- <!-- Simple move leg animation. -->
- <label name="simple"/>
- <frame index="0" delay="120"/>
- <frame index="1" delay="110"/>
- <frame index="2" delay="120"/>
- <frame index="1" delay="110"/>
- <goto label="start"/>
- </animation>
- </action>
+ <label name="start"/>
+ <!-- 40% 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"/>
-</sprite> \ No newline at end of file
+ <!-- Long move leg animation. -->
+ <label name="long"/>
+ <frame index="0" delay="120"/>
+ <sequence value="1,2" delay="110"/>
+ <frame index="3" delay="120"/>
+ <sequence value="2,1" delay="110"/>
+ <goto label="start"/>
+
+ <!-- Simple move leg animation. -->
+ <label name="simple"/>
+ <frame index="0" delay="120"/>
+ <frame index="1" delay="110"/>
+ <frame index="2" delay="120"/>
+ <frame index="1" delay="110"/>
+ <goto label="start"/>
+ </animation>
+ </action>
+</sprite>