A Guide to Yami's 'Battle Symphony'

Hello, I have a question 🙂

In my game, all of my actors can equip all weapons and learn all skills. 

Is there a way to bind the skills's Symphony Animation according to equipped weapon types? 

For example, set skill A to use Symphony notetags from currently equipped weapons (like move user, change pose, etc) and then the skill animation use the animation ID assigned to the skill A? 

Right now, there are some skills that are not weapon-specific; for example, Silence Buster, which deals damage and cast Silence at enemy. Since the skill is equippable by all the actors, this cause the actor to run to the enemy and bash it with its bow/gun; instead of firing the attack from a distance, and vice versa. 
Actually that's quite simple! you just have to use the "IF" tag

so it should look something like this:

Code:
<whole action>afterimage: user, trueimmortal: target, trueanimation 81: user, waithide nonfocuscreate icon: user, weapon</whole action><target action>if user.equips[0].wtype_id == 6icon: user, angle 45icon: user, weapon, cur_x 12wait 4icon create: user, arrow, hand, 592icon throw user: target, arrow, 14, 30, waiticon delete: user, arrowendif user.equips[0].wtype_id == 10wait: 10endunless user.equips[0].wtype_id == 6 && user.equips[0].wtype_id == 10move user: target, base, waiticon: user, weapon, swingendattack animation: target, wait ani wait: 3skill effect: dmgmove target: backward, 2wait: 3icon delete: user, weapon</target action><follow action>wait: 30move target: backward, 30icon delete: user, weaponshow nonfocusafterimage: user, falseimmortal: targets, false</follow action><finish action>move user: originface: user, leftwait: 30move target: originwait: 30wait for move</finish action>
Actually that's quite simple! you just have to use the "IF" tag

so it should look something like this:

<whole action>afterimage: user, trueimmortal: target, trueanimation 81: user, waithide nonfocuscreate icon: user, weapon</whole action><target action>if user.equips[0].wtype_id == 6icon: user, angle 45icon: user, weapon, cur_x 12wait 4icon create: user, arrow, hand, 592icon throw user: target, arrow, 14, 30, waiticon delete: user, arrowendif user.equips[0].wtype_id == 10wait: 10endunless user.equips[0].wtype_id == 6 && user.equips[0].wtype_id == 10move user: target, base, waiticon: user, weapon, swingendattack animation: target, wait ani wait: 3skill effect: dmgmove target: backward, 2wait: 3icon delete: user, weapon</target action><follow action>wait: 30move target: backward, 30icon delete: user, weaponshow nonfocusafterimage: user, falseimmortal: targets, false</follow action><finish action>move user: originface: user, leftwait: 30move target: originwait: 30wait for move</finish action>

Hmm, I took the liberty to modify your code a bit into something like below.

<whole action>afterimage: user, trueimmortal: target, trueanimation 81: user, waithide nonfocuscreate icon: user, weapon</whole action><target action>if user.equips[0].wtype_id == 17 or 18stance: user, skillicon create: user, weaponicon: user, weapon, angle, 45icon: user, weapon, cur_x 12wait: 4icon create: user, arrow, hand, 1780icon: user, arrow, rotate, 120, 30icon throw user: target, arrow, 14, 35, waiticon delete: user, arrowendif user.equips[0].wtype_id == 19icon create: user, weapon, handicon: user, weapon, angle, 45icon: user, weapon, cur_x 5wait: 4attack animation: targetskill effect: wholeicon: user, weapon, angle, 0icon: user, weapon, cur_x -5icon: user, weapon, cur_y 5wait: 4icon: user, weapon, angle, -25icon: user, weapon, cur_x -5wait: 4icon delete: user, weapon endif user.equips[0].wtype_id == 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 14 or 15 or 16move user: target, base, waiticon: user, weapon, swingendattack animation: target, wait ani wait: 3skill effect: dmgmove target: backward, 2wait: 3icon delete: user, weaponend</target action><follow action>wait: 30move target: backward, 30icon delete: user, weaponshow nonfocusafterimage: user, falseimmortal: targets, false</follow action><finish action>move user: originface: user, leftwait: 30move target: originwait: 30wait for move</finish action>This result in the user shoot and run to whack the enemy. Possibly because I need to use Unless condition as well? 

My weapon type as follows. 

  1. Dagger
  2. Sword
  3. Greatsword
  4. Katana
  5. 2h Katana
  6. Magic Sword
  7. Spear
  8. Scythe
  9. Rod
  10. Staff
  11. Cards
  12. Orb
  13. Grimoire
  14. Axe
  15. Mace
  16. War Fan 
  17. Bow
  18. Crossbow
  19. Gun
(Yeah I have a lot of characters ._.)

Out of the list, 1-8 and 14-16 are melee weapons, while 17-19 are ranged (though I have different animations for each).

I was thinking about using > or < command to achieve this, is it possible? Although I don't know how to write it properly >.<
Okay try this

<whole action>afterimage: user, trueimmortal: target, trueanimation 81: user, waithide nonfocuscreate icon: user, weapon</whole action><target action>if user.equips[0].wtype_id.between?(17,18)stance: user, skillicon create: user, weaponicon: user, weapon, angle, 45icon: user, weapon, cur_x 12wait: 4icon create: user, arrow, hand, 1780icon: user, arrow, rotate, 120, 30icon throw user: target, arrow, 14, 35, waiticon delete: user, arrowendif user.equips[0].wtype_id == 19icon create: user, weapon, handicon: user, weapon, angle, 45icon: user, weapon, cur_x 5wait: 4attack animation: targetskill effect: wholeicon: user, weapon, angle, 0icon: user, weapon, cur_x -5icon: user, weapon, cur_y 5wait: 4icon: user, weapon, angle, -25icon: user, weapon, cur_x -5wait: 4icon delete: user, weapon endif user.equips[0].wtype_id.between?(1,8) || user.equips[0].wtype_id.between?(14,16)move user: target, base, waiticon: user, weapon, swingendattack animation: target, wait ani wait: 3skill effect: dmgmove target: backward, 2wait: 3icon delete: user, weaponend</target action><follow action>wait: 30move target: backward, 30icon delete: user, weaponshow nonfocusafterimage: user, falseimmortal: targets, false</follow action><finish action>move user: originface: user, leftwait: 30move target: originwait: 30wait for move</finish action>No idea if that works, let me know if it does. 😀

Just editted what you had.
Works like charm!!! Except, the gun type always hits twice; I simply removed your "skill effect: whole" on the Gun IF condition, and now they work properly! Thank you sooo mucchhhh 😀 😀 😀 😀
Works like charm!!! Except, the gun type always hits twice; I simply removed your "skill effect: whole" on the Gun IF condition, and now they work properly! Thank you sooo mucchhhh 😀 😀 😀 😀
Glad I could help!
While I'm at it, I'm trying to make a Gunblade weapon. 

Here is how my notetag looks like.

<target action>afterimage: user, trueimmortal: target, trueicon create: user, weapon, handpose: user, 2h swing reversemove user: target, base, waitpose: user, 2h swing icon: user, weapon, swing, waitwait: 4animation 7: target, waitdamage change: 25%attack effect: wholepose: user, 2h swing reverseicon: user, weapon, upswing, waitwait: 4animation 7: target, waitdamage change: 25%attack effect: wholewait: 8jump arc 45 user: origin, waitmove user: forward, 6, 4, waiticon: user, weapon, angle, 45icon: user, weapon, cur_x 5wait: 4animation 91: target, waitdamage change: 50%attack effect: wholewait: 4move user: origin, 4, waitwait for moveimmortal: targets, falseafterimage: user, false</target action>Since it's a 3-hit skill, I'm trying to get the damage distributed per hit to 25%, 25%, and lastly 50%.

However, each hit still gives damage for 100%, resulting in 300% more damage Q_Q

Did I put the damage change in wrong position? 
You don't need to change it to 25% unless it has changed to something else, so you can remove the second one of those.

Also, I would stick at least a wait: 1 after the damage change before calling the skill effect.  Give that a whirl and see what happens.

Lastly, it might be a good idea to damage change to 100% at the end.
Still doesn't work 🙁 oh well, in the end I simply do it the ghetto way and divide the damage formula by 3 lol

good enough for me, thank you ^^
Still doesn't work 🙁 oh well, in the end I simply do it the ghetto way and divide the damage formula by 3 lol

good enough for me, thank you ^^
I've had that happen too.

You most likely have a script that's overwriting the make_damage method in Game_ActionResult.

I guess the easiest way to have your damage change functionality back is to create a new script below all of your other scripts and paste the following from Yami's Script:

class Game_ActionResult #-------------------------------------------------------------------------- # alias method: make_damage #-------------------------------------------------------------------------- alias bes_se_make_damage make_damage def make_damage(value, item) value = (value * self.damage_ratio.to_f / 100).to_i bes_se_make_damage(value, item) endend # Game_ActionResultI solved it differently because one of my own scripts overwrote that method but that code snippet above should do it. If it doesn't tell me.

----------------------------------------------------------------------

I have a question as well. I can't for the life of me figure out how to hide non focus battlers.

I feel pretty dumb right now but I hope someone can give me the correct syntax.
It should be

hide nonfocus

and

show nonfocus
Yep I was being dumb again. Maybe I should've got the Visual Effects Add-on before asking.

Thank you. 🤣
Getting back to this after a long absence and saw you guys using "damage change". Is there a way to change damage by points rather than percentages? So for example, with a missile attack, 1 extra damage is added if the enemy is flying. Just an example of course... I have the if case down for checking a target's state, but unsure of what can be changed during an attack.
Pardon my noob question but do you have any idea why my attack animations, damage and effects are all played twice? I followed this guide exactly (minus holder's battlers, I'm not planning on using that) but when I try it out what I see is this:

1) Actor does the animaiton specified in the "Animation" box. Damage and effects are applied.

2) Then actor does what I actually told him to do using symphony tags, so the animation and damage is played again.

Now, I'm sure I must have messed something up and that's a really silly and simple thing to fix... but for the life of me I can't figure out what it is. Googling doesn't help either. Also, my problem has nothing to do with other scripts that I'm using; deleting them all yielded no results.

On the other hand, when I created a blank project and added battle symphony (and required scripts) in, everything worked just fine and I used exactly the same symphony tags for exactly the same skill.

So, uh... I'm lost. Do you have any idea what I messed up and how can I fix it? Or at least where can I look for any mistakes I made (whatever they might be)?
On the other hand, when I created a blank project and added battle symphony (and required scripts) in, everything worked just fine and I used exactly the same symphony tags for exactly the same skill.
I have to ask to be sure, but when you removed the other scripts, did you save before testing? Because this definitely sounds like a battle script ordering problem. Of course, something like this could happen if you have "repeats" set to 2. Just some thoughts...
I have to ask to be sure, but when you removed the other scripts, did you save before testing? Because this definitely sounds like a battle script ordering problem. Of course, something like this could happen if you have "repeats" set to 2. Just some thoughts...
Yeah, I did save. In fact, I just made another test which confused me even more.

I started a blank project. Copied all of the scripts from my game into the blank project (so with all personalised settings kept). And guess what? Everything worked :S

EDIT: I finally found out what was causing the issue. Took me forever to notice but eventually I realised, that I have some skills that actually work correctly, even though they are nearly identical to the ones that don't work.

Anyway, the reason why symphony wasn't working on some of my skills was because I set the hit type to "magical attack". When I set this back to physical, everything works fine.

So now the question is: what can I do to make magical attacks process correctly?
The Jump command, quoted in post # 1, talks about moving on the axis X.

It is possible to determine the Y axis in the jump?

example:jump arc Y main? or "jump to X,Y" ?
not is possible?

initial position: 200, 300

jump to position: 230, 360 ? it is possible?
I am looking to do an animation where the character teleports behind the monster. The problem I'm having is getting the character to face the back of the monster.
I am looking to do an animation where the character teleports behind the monster. The problem I'm having is getting the character to face the back of the monster.
I spent FOREVER looking for a way to do this. I eventually stumbled on this script, from http://forums.rpgmakerweb.com/index.php?/topic/25993-simple-symphony-tag-question/, by ShadowLurk:

class Scene_Battle < Scene_Base #-------------------------------------------------------------------------- # alias method: imported_symphony #-------------------------------------------------------------------------- alias :imported_symphony_dir_face :imported_symphony def imported_symphony case @action.upcase when /FACE/i action_set_battler_facing else imported_symphony_dir_face end end def action_set_battler_facing targets = get_action_targets.uniq return if targets.size == 0 case @action_values[1] when "REVERSE", "BACKWARD" reverse_direction = true when "1", "2", "3", "4", "6", "7", "8", "9" direction = @action_values[1].to_i when "DOWN" direction = 2 when "LEFT" direction = 4 when "RIGHT" direction = 6 when "UP" direction = 8 else return end targets.each { |target| target.face_direction(reverse_direction ? Direction.opposite(target.direction) : direction) } endendclass Game_Battler < Game_BattlerBase def face_direction(direction) @direction = direction return if $imported["BattleSymphony-HB"] && self.use_hb? return if SYMPHONY::Visual:😀ISABLE_AUTO_MOVE_POSE && self.use_custom_charset? @pose = Direction.pose(direction) endendTuck that in your scripts below Symphony somewhere, and have "Face: user, reverse" in your notetag for the skill. For example, here's one of mine, a simple teleport/backstab.

<no cast ani>

<setup action>

animation 140: user

teleport user: target, back

face: user, reverse

</setup action>

 

<target action>

icon create: user, weapon, hand, wait

icon effect: user, weapon, swing, 12

animation 280: target, wait

skill effect: dmg, calc

teleport user: origin

</target action>
@Dirge

Please provide a link back to the origin of that script.  At the moment there are no details of who to credit, terms of use or anything else.
@ksjp17 Right right, sorry! Forgot to go dig the link out, I've edited my post.

Original thread: https://forums.rpgmakerweb.com/threads/a-guide-to-yamis-battle-symphony.19884/