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

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

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.

WingsTemplate.zip

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', also avoid using the same id for the subtexture id and sprite id

For customs

Just add the sprites atlas on your custom "atlas.xml'. You don't need the sprite data for the custom character.

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.

For customs without editing the main Atlas

You can have a wings spriteData for a custom archer, in case you want to add a ghost for a custom that you didn't created. Just to the same as it was a base archer.

FAQ

  • Can I have a wings of any size?

NO, currently Archer Loader only support wings with dimensions and animations the from base wings

Clone this wiki locally