Skip to content
Rinaldo Bueno edited this page Jun 6, 2023 · 7 revisions

This mod support custom Wings for both base archers and custom Archers

A Sample of a Wings spriteData.xml:

<SpriteData>
  <sprite_string id="templateWings" For="RED" Category="wings">
    <Texture>template/wings</Texture>

     <!-- not being used in the time been -->
    <FrameWidth>20</FrameWidth>
    <FrameHeight>20</FrameHeight>
    <OriginX>13</OriginX>
    <OriginY>12</OriginY>
    <Animations>
      <Anim id="idle" frames="0" />
      <Anim id="flap" delay=".05" loop="False" frames="1, 2, 3, 4, 4" />
      <Anim id="glide" delay=".1" frames="2,5" />
    </Animations>
  </sprite_string>
</SpriteData>

You obviously should not use the id="templateWings" or 'template/wings'

For Base Archers

  • How to install a custom Wings for base archers? Just put the Wings Folder on a "CustomArchers" folder from your preference

  • How to create a Wings? To create a Wings to the a base archer is recommended to use WingsTemplate as reference. You will need a 'atlas.png','atlas.xml' and a 'spriteData.xml'. You don't need an archerData.xml.

For customs

Just add the sprites atlas on your custom "atlas.xml' and the sprite data in the spriteData.xml

You should not put `Category="wings" For="" in the spriteData (if you use "For" there is a chance to not work for the custom or replace the archer referred in the for).

Then add a <Wings> in the archerData.xml of your custom with the spriteData Id contain the wings.

ie in the sample above <Wings>template/wings</Wings>. *Don't add as a child of <Sprite>, should be outside, Like <Corpse> and all the others base elements.

FAQ

  • Can I have a wings of any size? NO, currently Archer Loader only support wings with dimensions and animations the from base wings

WingsTemplate.zip

Clone this wiki locally