summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-11-26 10:12:14 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-11-26 10:12:14 +0000
commit9dbadcc5eedbf05cc226aac834fec94de90af6d3 (patch)
treed8f7f3e3fa1a343034d95d68d054cf9cb05b607f
parent6cbb525a07ccb20996118ae908878a6b5a65e03b (diff)
downloadclientdata-9dbadcc5eedbf05cc226aac834fec94de90af6d3.tar.gz
clientdata-9dbadcc5eedbf05cc226aac834fec94de90af6d3.tar.bz2
clientdata-9dbadcc5eedbf05cc226aac834fec94de90af6d3.tar.xz
clientdata-9dbadcc5eedbf05cc226aac834fec94de90af6d3.zip
Equipment database namespace and support for gender specific equipment sprites
-rw-r--r--equipment.xml62
-rw-r--r--graphics/images/error.pngbin0 -> 314 bytes
-rw-r--r--graphics/sprites/chest-leather-female.pngbin0 -> 8175 bytes
-rw-r--r--graphics/sprites/chest-leather-female.xml104
-rw-r--r--graphics/sprites/chest-leather-male.pngbin0 -> 14451 bytes
-rw-r--r--graphics/sprites/chest-leather-male.xml104
-rw-r--r--graphics/sprites/error.xml10
7 files changed, 280 insertions, 0 deletions
diff --git a/equipment.xml b/equipment.xml
new file mode 100644
index 00000000..81935dd6
--- /dev/null
+++ b/equipment.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<!--
+ This file maps the server sided visible equipment ID numbers to the animation files.
+-->
+<equipments>
+ <equipment id="1" slot = "0">
+ <sprite>item001.xml</sprite>
+ </equipment>
+ <equipment id="2" slot = "0">
+ <sprite>item002.xml</sprite>
+ </equipment>
+ <equipment id="3" slot = "0">
+ <sprite gender="male">chest-leather-male.xml</sprite>
+ <sprite gender="female">chest-leather-female.xml</sprite>
+ </equipment>
+ <equipment id="4" slot = "0">
+ <sprite>item004.xml</sprite>
+ </equipment>
+ <equipment id="5" slot = "0">
+ <sprite>item005.xml</sprite>
+ </equipment>
+ <equipment id="6" slot = "0">
+ <sprite>item006.xml</sprite>
+ </equipment>
+ <equipment id="7" slot = "0">
+ <sprite>item007.xml</sprite>
+ </equipment>
+ <equipment id="8" slot = "0">
+ <sprite>item008.xml</sprite>
+ </equipment>
+ <equipment id="9" slot = "0">
+ <sprite>item009.xml</sprite>
+ </equipment>
+ <equipment id="10" slot = "0">
+ <sprite>item010.xml</sprite>
+ </equipment>
+ <equipment id="11" slot = "0">
+ <sprite>item011.xml</sprite>
+ </equipment>
+ <equipment id="12" slot = "0">
+ <sprite>item012.xml</sprite>
+ </equipment>
+ <equipment id="13" slot = "0">
+ <sprite>item013.xml</sprite>
+ </equipment>
+ <equipment id="14" slot = "0">
+ <sprite>item014.xml</sprite>
+ </equipment>
+ <equipment id="15" slot = "0">
+ <sprite>item015.xml</sprite>
+ </equipment>
+ <equipment id="16" slot = "0">
+ <sprite>item016.xml</sprite>
+ </equipment>
+ <equipment id="17" slot = "0">
+ <sprite>item017.xml</sprite>
+ </equipment>
+ <equipment id="18" slot = "0">
+ <sprite gender="male">chest-vnecksweater-male.xml</sprite>
+ <sprite gender="female">chest-vnecksweater-female.xml</sprite>
+ </equipment>
+</equipments> \ No newline at end of file
diff --git a/graphics/images/error.png b/graphics/images/error.png
new file mode 100644
index 00000000..6fd7c1a8
--- /dev/null
+++ b/graphics/images/error.png
Binary files differ
diff --git a/graphics/sprites/chest-leather-female.png b/graphics/sprites/chest-leather-female.png
new file mode 100644
index 00000000..e92912a5
--- /dev/null
+++ b/graphics/sprites/chest-leather-female.png
Binary files differ
diff --git a/graphics/sprites/chest-leather-female.xml b/graphics/sprites/chest-leather-female.xml
new file mode 100644
index 00000000..9052c491
--- /dev/null
+++ b/graphics/sprites/chest-leather-female.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0"?>
+<sprite name="player" action="stand">
+
+ <imageset name="base" src="graphics/sprites/chest-leather-female.png" width="64" height="64" />
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0" />
+ </animation>
+ <animation direction="left">
+ <frame index="18" />
+ </animation>
+ <animation direction="up">
+ <frame index="36" />
+ </animation>
+ <animation direction="right">
+ <frame index="54" />
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="6" delay="75" />
+ </animation>
+ <animation direction="left">
+ <sequence start="19" end="24" delay="75" />
+ </animation>
+ <animation direction="up">
+ <sequence start="37" end="42" delay="75" />
+ </animation>
+ <animation direction="right">
+ <sequence start="55" end="60" delay="75" />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="base">
+ <animation direction="down">
+ <frame index="7" />
+ </animation>
+ <animation direction="left">
+ <frame index="25" />
+ </animation>
+ <animation direction="up">
+ <frame index="43" />
+ </animation>
+ <animation direction="right">
+ <frame index="61" />
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="8" />
+ </animation>
+ <animation direction="left">
+ <frame index="26" />
+ </animation>
+ <animation direction="up">
+ <frame index="44" />
+ </animation>
+ <animation direction="right">
+ <frame index="62" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="9" end="12" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="27" end="30" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="45" end="48" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="63" end="66" delay="75" />
+ <end />
+ </animation>
+ </action>
+
+ <action name="attack_bow" imageset="base">
+ <animation direction="down">
+ <sequence start="13" end="17" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="31" end="35" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="49" end="53" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="67" end="71" delay="75" />
+ <end />
+ </animation>
+ </action>
+
+</sprite> \ No newline at end of file
diff --git a/graphics/sprites/chest-leather-male.png b/graphics/sprites/chest-leather-male.png
new file mode 100644
index 00000000..65508b31
--- /dev/null
+++ b/graphics/sprites/chest-leather-male.png
Binary files differ
diff --git a/graphics/sprites/chest-leather-male.xml b/graphics/sprites/chest-leather-male.xml
new file mode 100644
index 00000000..82caf473
--- /dev/null
+++ b/graphics/sprites/chest-leather-male.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0"?>
+<sprite name="player" action="stand">
+
+ <imageset name="base" src="graphics/sprites/chest-leather-male.png" width="64" height="64" />
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0" />
+ </animation>
+ <animation direction="left">
+ <frame index="18" />
+ </animation>
+ <animation direction="up">
+ <frame index="36" />
+ </animation>
+ <animation direction="right">
+ <frame index="54" />
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="6" delay="75" />
+ </animation>
+ <animation direction="left">
+ <sequence start="19" end="24" delay="75" />
+ </animation>
+ <animation direction="up">
+ <sequence start="37" end="42" delay="75" />
+ </animation>
+ <animation direction="right">
+ <sequence start="55" end="60" delay="75" />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="base">
+ <animation direction="down">
+ <frame index="7" />
+ </animation>
+ <animation direction="left">
+ <frame index="25" />
+ </animation>
+ <animation direction="up">
+ <frame index="43" />
+ </animation>
+ <animation direction="right">
+ <frame index="61" />
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="8" />
+ </animation>
+ <animation direction="left">
+ <frame index="26" />
+ </animation>
+ <animation direction="up">
+ <frame index="44" />
+ </animation>
+ <animation direction="right">
+ <frame index="62" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="9" end="12" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="27" end="30" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="45" end="48" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="63" end="66" delay="75" />
+ <end />
+ </animation>
+ </action>
+
+ <action name="attack_bow" imageset="base">
+ <animation direction="down">
+ <sequence start="13" end="17" delay="75" />
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="31" end="35" delay="75" />
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="49" end="53" delay="75" />
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="67" end="71" delay="75" />
+ <end />
+ </animation>
+ </action>
+
+</sprite> \ No newline at end of file
diff --git a/graphics/sprites/error.xml b/graphics/sprites/error.xml
new file mode 100644
index 00000000..51b27345
--- /dev/null
+++ b/graphics/sprites/error.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="base" src="graphics/images/error.png" width="29" height="9" />
+
+ <action name="default" imageset="base">
+ <animation direction="default">
+ <frame index="0" />
+ </animation>
+ </action>
+</sprite> \ No newline at end of file