summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/sprites/equipment/head/cap.pngbin2416 -> 2402 bytes
-rw-r--r--graphics/sprites/equipment/head/headmodel-male.pngbin0 -> 3847 bytes
-rw-r--r--graphics/sprites/heads/headmodel-male.xml189
-rw-r--r--items.xml2
4 files changed, 190 insertions, 1 deletions
diff --git a/graphics/sprites/equipment/head/cap.png b/graphics/sprites/equipment/head/cap.png
index afd9466f..c2431416 100644
--- a/graphics/sprites/equipment/head/cap.png
+++ b/graphics/sprites/equipment/head/cap.png
Binary files differ
diff --git a/graphics/sprites/equipment/head/headmodel-male.png b/graphics/sprites/equipment/head/headmodel-male.png
new file mode 100644
index 00000000..90aeb983
--- /dev/null
+++ b/graphics/sprites/equipment/head/headmodel-male.png
Binary files differ
diff --git a/graphics/sprites/heads/headmodel-male.xml b/graphics/sprites/heads/headmodel-male.xml
new file mode 100644
index 00000000..d44f2651
--- /dev/null
+++ b/graphics/sprites/heads/headmodel-male.xml
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Saulc
+Copyright (C) 2018 TMW2 -->
+<sprite>
+ <imageset name="base"
+ src="graphics/sprites/equipment/head/headmodel-male.png"
+ width="32"
+ height="64"/>
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-1" offsetY="-26"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="-1" offsetY="-26"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetX="-1" offsetY="-26"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="0" offsetY="-26"/>
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-3" offsetY="-25" delay="80"/>
+ <frame index="0" offsetX="-3" offsetY="-26" delay="160"/>
+ <frame index="0" offsetX="-3" offsetY="-25" delay="80"/>
+ <frame index="0" offsetX="-3" offsetY="-26" delay="160"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="1" offsetY="-26" delay="80"/>
+ <frame index="1" offsetX="1" offsetY="-25" delay="80"/>
+ <frame index="1" offsetX="1" offsetY="-26" delay="160"/>
+ <frame index="1" offsetX="1" offsetY="-25" delay="80"/>
+ <frame index="1" offsetX="1" offsetY="-26" delay="80"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetX="-1" offsetY="-25" delay="80"/>
+ <frame index="2" offsetX="-1" offsetY="-26" delay="160"/>
+ <frame index="2" offsetX="-1" offsetY="-25" delay="80"/>
+ <frame index="2" offsetX="-1" offsetY="-26" delay="160"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-1" offsetY="-26" delay="80"/>
+ <frame index="3" offsetX="-1" offsetY="-25" delay="80"/>
+ <frame index="3" offsetX="-1" offsetY="-26" delay="160"/>
+ <frame index="3" offsetX="-1" offsetY="-25" delay="80"/>
+ <frame index="3" offsetX="-1" offsetY="-26" delay="80"/>
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-3" offsetY="-26" delay="80"/>
+ <frame index="0" offsetX="-3" offsetY="-25" delay="80"/>
+ <frame index="0" offsetX="-3" offsetY="-26" delay="80"/>
+ <frame index="0" offsetX="-3" offsetY="-25" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="5" offsetY="-25" delay="80"/>
+ <frame index="1" offsetX="5" offsetY="-26" delay="80"/>
+ <frame index="1" offsetX="1" offsetY="-26" delay="80"/>
+ <frame index="1" offsetY="-25" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetX="-2" offsetY="-26" delay="240"/>
+ <frame index="2" offsetX="-2" offsetY="-24" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-4" offsetY="-27" delay="80"/>
+ <frame index="3" offsetX="-4" offsetY="-29" delay="80"/>
+ <frame index="3" offsetX="-1" offsetY="-25" delay="80"/>
+ <frame index="3" offsetY="-24" delay="80"/>
+ <end />
+ </animation>
+ </action>
+
+ <action name="attack_bow" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-3" offsetY="-25" delay="240"/>
+ <frame index="0" offsetX="-3" offsetY="-23" delay="80"/>
+ <frame index="0" offsetX="-3" offsetY="-24" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="4" offsetY="-26" delay="240"/>
+ <frame index="1" offsetX="6" offsetY="-27" delay="160"/>
+ <end />
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetX="-1" offsetY="-26" delay="160"/>
+ <frame index="2" offsetX="-2" offsetY="-26" delay="80"/>
+ <frame index="2" offsetX="-2" offsetY="-25" delay="80"/>
+ <frame index="2" offsetX="-2" offsetY="-26" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-4" offsetY="-26" delay="240"/>
+ <frame index="3" offsetX="-6" offsetY="-27" delay="160"/>
+ <end />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-3" offsetY="-19"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="6" offsetY="-15"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-18"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-7" offsetY="-15"/>
+ </animation>
+ </action>
+
+ <action name="sittop" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-3" offsetY="-14"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="6" offsetY="-29"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-29"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-7" offsetY="-29"/>
+ </animation>
+ </action>
+
+ <action name="standride" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-3" offsetY="-30"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="6" offsetY="-29"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-29"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-7" offsetY="-29"/>
+ </animation>
+ </action>
+
+ <action name="spawnride" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-3" offsetY="-30"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="6" offsetY="-29"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-29"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-7" offsetY="-29"/>
+ </animation>
+ </action>
+
+ <action name="ride" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="-3" offsetY="-30"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="6" offsetY="-29"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-29"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-7" offsetY="-29"/>
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="default">
+ <frame index="4" offsetX="23" offsetY="5"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/items.xml b/items.xml
index ca2f9ac4..c208719b 100644
--- a/items.xml
+++ b/items.xml
@@ -3623,7 +3623,7 @@ Colors for dyeable equipments or items are set up by itemcolors.xml.
level="20"
type="equip-head"
weight="30">
- <sprite>equipment/head/bowlerhat.xml</sprite>
+ <sprite>heads/headmodel-male.xml</sprite>
<replace sprite="hair">
<item from="-5" to="-4"/>
<item from="-14" to="-9"/>