Dragon Bones Tag Question...

Hello everyone.

Basically I'm using dragon bones and in the note tags it has these tags for attack -->
Ani Attack: Attack A
Ani Swing: Attack B
Ani Thrust: Attack C

In addition to these attacks I've got different attack motions which look like this--->
Available Motions:
Attack A - Cannon Attack
Attack B - Claw Attack
Attack C - PowerUp

My question is; how do I write in note tags to use these different motions like
Attack B - Claw Attack

I'm not too sure how to write it in the note tags to use these attacks like
Attack B - Claw Attack

If someone could shed some light on this I would be eternally grateful.

Best Wishes, Glyn.
I know it's not hard but I can't figure it out. =(
I know it's not hard but I can't figure it out. =(
You can only set one animation for each motion type, but you can select an animation from the armature in an action sequence to have certain attacks use a motion that differs from the default.
You should write it how it's used in the examples, and the corresponding settings file in the dragonbones animation.

I'm going to assume you're using a Dragonbones battler from the Libraium collection.

Here is an example straight from VisuStella.
Code:
<Dragonbones Battler Settings>
 Battler: Demon

 Scale: 0.3, 0.3

 Size: 80, 80

 Motion Wait: idle
 Motion Damage: hit
 Motion Swing: attack
 Motion Thrust: attack
 Motion Missile: attack
 Motion Skill: special
 Motion spell: special
 Motion Dead: defeated
</Dragonbones Battler Settings>

In those settings, you see it is using this format "Motion XXXX: Animation".

This means that for the Motion Wait: Use the Idle Animation.
The list of animations the battler has is usually at the top of the settings file.
In the case of the battler: AncientAutomaton, these are the possible animation keywords:
Idle, IdleWeak, Attack, Skill, Skill2, Ultimate, Damage.

But using your specific battler you're being given the animations: Attack A, Attack B, and Attack C.
The name Cannon Attack, Claw Attack and Power Up are just to let you know what animation to expect. For instance, you might not want to have the 'Power Up' animation play when doing just a normal attack, probably want to use that when a skill is used instead.

So to use them, you should just apply those keywords to the motion you want. I'm just going to put them in each of the default attack motions.

Code:
<Dragonbones Battler Settings>
 Battler: Demon

 Scale: 0.3, 0.3

 Size: 80, 80

 Motion Wait: idle
 Motion Damage: hit
 Motion Swing: Attack A
 Motion Thrust: Attack B
 Motion Missile: Attack C
 Motion Skill: special
 Motion spell: special
 Motion Dead: defeated
</Dragonbones Battler Settings>

These would/should be the default animations the battler will use in a combat. For example, if you were to make this DragonBones Battler overwrite the default Goblin enemy, it'll still use the Goblin's skills and attacks, but it'll use the DragonBones battler and animations to do it. So if the goblin does a sword swipe attack, then the DragonBones battler 'should' use Motion Swing: Attack A.

Now, making it use different animations for different attacks beyond what you specified in the battler settings, would require you to use the Battle Animation Sequence that I believe is provided with the battle core plugin. And this gets quite complicated so I won't explain how to do that.

Note - I am not using the plugin so some information may not be accurate, but from the documentation I read, this should be correct. I'll change it if someone points out any wrong information.
Hi! Thanks for the response but I'm not sure I understand. Forgive me for being a bit thick but could you please give an example how it might look?

This is what I have in the note-tag section for my cyber wolf enemy --->

<DragonBone Settings>
Battler: CyberWolf
Scalex: -1.2
Scaley: 1.2
Width: 100
Height: 220

Ani Wait: Idle
Ani Walk: Idle
Ani Attack: Attack A
Ani Swing: Attack B
Ani Thrust: Attack C
Ani Missile: Attack A
Ani Skill: Attack A
Ani Chant: Idle
Ani Spell: Attack A
Ani Item: Attack A
Ani Guard: Idle
Ani Evade: Idle
Ani Damage: Damage
Ani Abnormal: Idle
Ani Sleep: Idle
Ani Dying: Idle
Ani Dead: Damage
Ani Victory: Idle
Ani Escape: Idle

Replace Sprite
</DragonBone Settings>
Okay, so what you posted is how it would be used in RPG Maker MV.
In the MZ version of the plugin provided by VisuStella, the notetag format doesn't use the wording Ani but instead uses Motion.

Here is what it looks like for MZ, this is an example taken directly from the documentation they provided:
Spoiler
Code:
<Dragonbones Battler Settings>
 Battler: filename

 Scale: x, y

 Scale X: x
 Scale Y: x

 Offset: x, y

 Offset X: x
 Offset Y: x

 Size: width, height

 Width: x
 Height: x

 Time Scale: x

 Motion Walk: animation
 Motion Wait: animation
 Motion Chant: animation
 Motion Guard: animation
 Motion Damage: animation
 Motion Evade: animation
 Motion Thrust: animation
 Motion Swing: animation
 Motion Missile: animation
 Motion Skill: animation
 Motion Spell: animation
 Motion Item: animation
 Motion Escape: animation
 Motion Victory: animation
 Motion Dying: animation
 Motion Abnormal: animation
 Motion Sleep: animation
 Motion Dead: animation
</Dragonbones Battler Settings>

- Used for: Actor, Enemy Notetags
- The above notetag allows to wrap up all the information you'd like to
  set for Dragonbones battler armatures needed inside a single notetag
  container.
- The settings are the same as the notetags listed above it.
- You may remove the settings you don't wish to change.
- The only necessary data is the 'Battler: filename' line.
Here is an example:
Code:
Example:

<Dragonbones Battler Settings>
 Battler: Demon

 Scale: 0.3, 0.3

 Size: 80, 80

 Motion Wait: idle
 Motion Damage: hit
 Motion Swing: attack
 Motion Thrust: attack
 Motion Missile: attack
 Motion Skill: special
 Motion spell: special
 Motion Dead: defeated
</Dragonbones Battler Settings>
You don't need to use all instances of Scale or Offset, they're just showing you 'could' combine them into one line as shown above.

So here is what your CyberWolf should look like in MZ:
Code:
<Dragonbones Battler Settings>
 Battler: CyberWolf

 Scale: -1.2, 1.2

 Size: 100, 220

 Motion Walk: Idle
 Motion Wait: Idle
 Motion Chant: Idle
 Motion Guard: Idle
 Motion Damage: Damage
 Motion Evade: Idle
 Motion Thrust: Attack C
 Motion Swing: Attack B
 Motion Missile: Attack A
 Motion Skill: Attack A
 Motion Spell: Attack A
 Motion Item: Attack A
 Motion Escape: Idle
 Motion Victory: Idle
 Motion Dying: Idle
 Motion Abnormal: Idle
 Motion Sleep: Idle
 Motion Dead: Damage

Replace Sprite
</Dragonbones Battler Settings>
Ok thx! That helps a lot but one thing I don't get is... It still sort of works even when using MV tags although the Cyber wolf is animated he only does one attack. Do you know why this happens? Thanks a lot friend for helping. =)
Hi GMOcean! I just tried the Cyberwolf battler with your example setting and here's what I discovered. When it's the Cyberwolf turn to attack he does not do anything most of the time. I don't know what's going wrong. You got any ideas m8? Thx once more.
Hmm... I'll have to take a look then. It'll be a bit, I have stuff to do, but I'll do a clean install, and do some tests to figure this out, if no one else provides a working example.
Ok thx bro!
Okay, so I don't know exactly why it isn't working for you, but I do have a thought as to why.
After doing a clean install, only using these plugins in this order:
Public_0_Dragonbones
VisuMZ_0_CoreEngine
VisuMZ_1_BattleCore
VisuMZ_2_DragonbonesUnion

I then added this to my actor Reid:
Code:
<Dragonbones Battler Settings>
 Battler: SKXoer

 Scale X: 0.3
 Scale Y: 0.3

 Height: 0

 Time Scale: 1.0

 Motion Walk: Idle
 Motion Wait: Idle
 Motion Chant: Idle
 Motion Guard: Idle
 Motion Damage: Damage
 Motion Evade: Idle
 Motion Thrust: Attack A
 Motion Swing: Attack A
 Motion Missile: Attack C
 Motion Skill: Attack A
 Motion Spell: Attack A
 Motion Item: Attack A
 Motion Escape: Idle
 Motion Victory: Attack A
 Motion Dying: Idle
 Motion Abnormal: Idle
 Motion Sleep: Attack A
 Motion Dead: Damage

</Dragonbones Battler Settings>
In your case, you'd replace SKXoer with CyberWolf. If you do that, everything should work. You add all of that to the enemy or actor and it'll work.

Now as to why you're not getting your CyberWolf to actually do anything, the only thing I can think of is the following:
1. The most likely reason is you're not using VisuMZ_1_BattleCore plugin.
2. The next reason is that for the particular motion, for example Motion Thrust, you have something like Motion Thrust: Attack D. Basically in this situation if the dragonbones animation json files don't have Attack D Motion, it won't do anything.

But from my guess, it's #1. When I remove the BattleCore plugin, the goblins that I replaced with the dragonbones animations, will stand there fully animated, but when they attack they don't move. However if I DO have the plugin, they'll actually do the attacks and such.
Hi! I tried ordering the plugins as you said and now I get this error that's in the screenshot.
I've tried to place the tiers from 0 to 2 and I still get the same error. =(
I have also provided a screenshot of my plugin list and as you can the tiers go from smallest to largest and I still get the same error.
Ok, so I got it working again but the old problem still persists. The cyberwolf will only do one style of attack. Anyone know why?
If a monster is being used for CyberWolf, it will only ever do 1 motion of attack.
This is because monsters in RPG Maker MZ, by default only have 1 motion of attack. If you want them to do other motions to make full use of the Dragonbones animations, you need to use Action Sequences.

I recommend going through the help documentation of VisuStella's BattleCore plugin, and DragonBones plugin extensively. They explain exactly how to do what you want, even if it's hard to understand.
One just more quick question. I can't see my player on my map, he's invisible. I've tried transparency and noting happens. Can some please help to get control off my player that's visible?
Ok so this is how I've setup my cyberwolf settings
<DragonBone Settings>
Battler: CyberWolf
Scalex: -1.2
Scaley: 1.2
Width: 100
Height: 220
Motion Wait: Idle
Motion Walk: Idle
Motion Attack: Attack A
Motion Attack: Attack B
Motion Attack: Attack C
Motion Swing: Attack B
Motion Thrust: Attack C
Motion Missile: Attack A
Motion Skill: Attack A
Motion Chant: Idle
Motion Spell: Attack A
Motion Item: Attack A
Motion Guard: Idle
Motion Evade: Idle
Motion Damage: Damage
Motion Abnormal: Idle
Motion Sleep: Idle
Motion Dying: Idle
Motion Dead: Damage
Motion Victory: Idle
Motion Escape: Idle

Replace Sprite
</DragonBone Settings>

And he still just does one type of attack. Can some please explain to me how I get him to do his other moves. Explain to as if I'm a complete moron. THX
I've already explained to you that enemies in RPG Maker MZ, only have 1 animation for attacking. Regardless of if they use a skill or just a basic attack, they will only ever do 1 animation for that attack.

In order to make them do a different animation, you need to use the plugin commands in VisuStellaMZ_BattleCore plugin along with a few key notetags in the monster's skills.

Read the documentation for the BattleCore plugin, specifically EVERYTHING related to 'Action Sequences'. Both for Plugins and NoteTags.

It's a very complex matter to do, yet alone explain. Because it involves, telling the skill to 'listen' to a common event, the common event then handles everything.
From moving the Enemy towards the Actor and ViceVersa, the attack motion to use, when to use the attack motion, how fast should the motion be used, what special effects to play, the timing for when to show those effects, how fast should the effects play, moving the character in question back to the position it was just at, switching animations again back to idle if needed, and finally telling the common even that the custom animation sequence is over, so the battle can continue.

Original thread: https://forums.rpgmakerweb.com/threads/dragon-bones-tag-question.153889/