Page 1 of 1

[FND]Dunce Hat

Posted: 01 Nov 2008, 16:57
by kr0n05931
A dunce hat to replace those nasty error messages:

Re: [WIP]Dunce Hat

Posted: 01 Nov 2008, 17:03
by Crush
I think that's a bad idea. When something is wrong the users should notice it so that they report the error to us.

When we hide the error with a placeholder which looks like a legit item people will think that it is just a new item they don't know yet and won't report it.

Re: [WIP]Dunce Hat

Posted: 01 Nov 2008, 18:02
by kr0n05931
Well, we could always use it for another purpose, such as a quest.

Re: [WIP]Dunce Hat

Posted: 01 Nov 2008, 18:07
by Rotonen
I like the error text too. It's hard to get the message wrong with it.

Re: [WIP]Dunce Hat

Posted: 04 Nov 2008, 01:40
by kr0n05931
here is the finished .xml file:

Code: Select all

<?xml version="1.0"?>
<sprite>
	<imageset name="base" src="graphics/sprites/item010.png" width="19" height="19" />

	<action name="stand" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="-1" offsetY ="-50" />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="-1" offsetY ="-50"/>
		</animation>
		<animation direction="up">
		  <frame index="1" offsetX="-2" offsetY ="-50"/>
		</animation>
		<animation direction="right">
		  <frame index="1" offsetX="0" offsetY ="-50"/>
		</animation>
	</action>

	<action name="walk" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="-1" offsetY ="-49" delay="75"/>
		  <frame index="0" offsetX="-1" offsetY ="-50" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-50" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-49" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-50" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-50" delay="75" />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="-1" offsetY ="-49" delay="75"/>
		  <frame index="1" offsetX="-1" offsetY ="-48" delay="75"/>
		  <frame index="1" offsetX="-1" offsetY ="-49" delay="75"/>
		  <frame index="1" offsetX="-1" offsetY ="-49" delay="75"/>
		  <frame index="1" offsetX="-1" offsetY ="-48" delay="75"/>
		  <frame index="1" offsetX="-1" offsetY ="-49" delay="75"/>
		</animation>
		<animation direction="up">
		  <frame index="1" offsetX="-2" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-2" offsetY ="-51" delay="75"/>
		  <frame index="1" offsetX="-2" offsetY ="-51" delay="75"/>
		  <frame index="1" offsetX="-2" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-2" offsetY ="-51" delay="75"/>
		  <frame index="1" offsetX="-2" offsetY ="-51" delay="75"/>
		</animation>
		<animation direction="right">
		  <frame index="1" offsetX="0" offsetY ="-49" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-48" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-49" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-49" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-48" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-49" delay="75"/>
		</animation>
	</action>

	<action name="attack" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="-1" offsetY ="-48" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-49" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-47" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-45" delay="75" />
		  <end />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="3" offsetY ="-51" delay="75" />
		  <frame index="1" offsetX="3" offsetY ="-52" delay="75" />
		  <frame index="1" offsetX="0" offsetY ="-50" delay="75" />
		  <frame index="1" offsetX="-1" offsetY ="-49" delay="75" />
		  <end />
		</animation>
		<animation direction="up">
		  <frame index="1" offsetX="-3" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-49" delay="75"/>
		  <end />
		</animation>
		<animation direction="right">
		  <frame index="1" offsetX="-3" offsetY ="-51" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-51" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="1" offsetY ="-49" delay="75"/>
		  <end />
		</animation>
	</action>

	<action name="attack_bow" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="-1" offsetY ="-49" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-49" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-49" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-48" delay="75" />
		  <frame index="0" offsetX="-1" offsetY ="-49" delay="75" />
		  <end />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="2" offsetY ="-50" delay="75" />
		  <frame index="1" offsetX="2" offsetY ="-50" delay="75" />
		  <frame index="1" offsetX="2" offsetY ="-50" delay="75" />
		  <frame index="1" offsetX="4" offsetY ="-51" delay="75" />
		  <frame index="1" offsetX="4" offsetY ="-51" delay="75" />
		  <end />
		</animation>
		<animation direction="up">
		  <frame index="1" offsetX="-2" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-2" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-49" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-50" delay="75"/>
		  <end />
		</animation>
		<animation direction="right">
		  <frame index="1" offsetX="-3" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-3" offsetY ="-50" delay="75"/>
		  <frame index="1" offsetX="-5" offsetY ="-51" delay="75"/>
		  <frame index="1" offsetX="-5" offsetY ="-51" delay="75"/>
		  <end />
		</animation>
	</action>

	<action name="sit" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="-1" offsetY ="-38" />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="3" offsetY ="-40"/>
		</animation>
		<animation direction="up">
		  <frame index="1" offsetX="-1" offsetY ="-42"/>
		</animation>
		<animation direction="right">
		  <frame index="1" offsetX="-6" offsetY ="-40"/>
		</animation>
	</action>

	<action name="dead" imageset="base">
		<animation direction="default">
			<frame index="2" offsetX="21" offsetY="-4"/>
		</animation>
	</action>

</sprite>