-
Notifications
You must be signed in to change notification settings - Fork 3
Taunt
This mod support Taunts, you can both use Taunts as a variant or enable it globally in the "Mods menu" inside "ArcherLoader by RedDude"
-
How to install a Taunt? Just put the Taunts Folders on a "CustomArchers" folder from your preference
-
How to create a taunt? To create a Taunt to the a base archer is recommended to use PinkTaunt as reference.
and to Custom Archer, use Skeleton Archer by @All-Seeing#9253
A Sample of a Taunt spriteData.xml:
<SpriteData>
<sprite_string id="taunt/pink" Category="taunt" For="PINK">
<Texture>taunt/pink</Texture>
<TextureRed>taunt/pink/red</TextureRed>
<TextureBlue>taunt/pink/blue</TextureBlue>
<NoHatTexture>taunt/noHat/pink</NoHatTexture>
<NoHatTextureBlue>taunt/noHat/pink/blue</NoHatTextureBlue>
<NoHatTextureRed>taunt/noHat/pink/red</NoHatTextureRed>
<CrownTexture>taunt/crown/pink</CrownTexture>
<CrownTextureBlue>taunt/crown/pink/blue</CrownTextureBlue>
<CrownTextureRed>taunt/crown/pink/red</CrownTextureRed>
<!-- <SFXLooped>taunt</SFXLooped> -->
<SFX>taunt</SFX>
<!-- <SFXVaried>taunt</SFXVaried> -->
<FrameWidth>20</FrameWidth>
<FrameHeight>20</FrameHeight>
<OriginX>10</OriginX>
<OriginY>12</OriginY>
<Y>0</Y>
<Animations>
<Anim id="taunt" delay="0.05" frames="1,1,1,1"/>
<Anim id="tauntNoHat" delay="0.05" frames="1,1,1,1,1,1"/>
<Anim id="tauntCrown" delay="0.05" frames="1,1,1,1,1,1"/>
</Animations>
</sprite_string>
</SpriteData>To create a taunt for an archer that comes to the game for normal/alt/secret, make as you are creating a custom Archer, but you don't need an archerData.xml. You will need a 'atlas.png','atlas.xml' and a 'spriteData.xml'
You will need to add the attributes Category="taunt" For="PINK" to the <sprite_string> where:
For="PINK" have to be the base archer that you want to add. so i.e. For="PINK" For="PINK_ALT" For="PINK_SECRET" For="GREEN" For="RED_ALT"
The Category="taunt" needs to be this, don't touch it.
For base archers, the taunt sound should stays in the taunt folder together with the spriteData.xml
Put the taunt spriteData in your custom spriteData. you should not put `Category="taunt" 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 <Taunt> in the archerData.xml of your custom with the spriteData Id contain the taunt.
ie in the sample above <Taunt>taunt/pink</Taunt>. *Don't add as a child of <Sprite>, should be outside, Like <Corpse> and all the others base elements.
Also, you can have the taunt sound inside SFX folder from your custom, just
<SFXLooped>SFX/taunt</SFXLooped>or
<SFX>SFX/taunt</SFX>or
<SFXVaried>SFX/taunt</SFXVaried>-
Do I have any size restriction for the Taunt? No.
-
My taunt is too far or too close for the character use the follow elements to adjust
<OriginX></OriginX>
<OriginY></OriginY>
<Y></Y>
<X></X>-
Do I need all those animations and Textures? Yes, you need all the animations and textures, or it will fallback to the default taunt.
-
<NoHatTextureBlue>? why not<BlueNoHatTexture>? or<NoHatBlueTexture>? Doesn't matter, it will work in all the cases -
Why not?:
<NoHat>
<Normal></Normal>
<NoHat></NoHat>
<Crown></Crown>
</NoHat>`It will work too
*How about?:
<Crown>
<Normal></Normal>
<Blue></Blue>
<Red></Red>
</Crown>It will work too, please stop