Yami Battle Symphony - Guard problem?

Hello All!  I'm relatively new to RPG Maker VX Ace and this would be my first post so hopefully this isn't a stupid question.....

I added the following scripts for side view battles:

Yami Engine Symphony - Battle Symphony
Version: 1.15 (2013.03.04)

Yami Engine Symphony - Add-on: Holder Battlers
Last Updated: 2013.02.01

I'm using characters from the High Fantasy Resource Packs.

I've managed to get everything working PERFECTLY, except for the guard command.   When used, my characters act as if they've been hit.

I've tried changing the settings in the area below.  Changes made below worked for Victory, Magic, ect. but no matter what i change the defend setting to nothing happens:

What am i missing?   Any help would be greatly appreciated! 🙂

Script.jpg
For that you need to create a new array

like this

when :Guard

array = [1,0]

but for make the ''guard'' enable you need first to create the method who work with guard for that

you go in the specific section

and write

def guard

end

the rest i don't remember what the configuration you need
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


If you need further help, please post links to the threads or blog posts where you downloaded the scripts.
It's not a stupid question, rest assured! Yami's Symphony is excellent, but I have no idea what happened with guard. It's not functional by default. I had this same problem with enemy Holder battlers insisting on ignoring the :defend animation.

I prefer a path of direct solution when it works best, especially if I can avoid having to make an array or edit something with which I'm unfamiliar and fear causing an accumulating row of disasters. My answer? My recommendation is to use Symphony to your advantage.

Go into your skill for Guard and apply this to the notebox (by default, replacing the text "Skill #2 will be used when you select the Guard command"):

<target action>stance: user, defendwait: 15</target action>This worked for me. With the Holder Battler add-on, it will apply the right animation if you have Defend set up in Symphony whenever you use Guard. For 8D/Kaduki, the term would be "pose" instead of "stance". You can edit this to make it nicely fit what you need it to be, of course. This will apply the stance for all guarding by enemy and party but that's kind of the idea of the script, in my opinion! Hope that helps!
@Shaz-I apologize.... i wasnt sure where to post this.... now i know 🙂

@Neo and Venetian-AWESOME!!!  Thank you both so much for your suggestions and help!

@Venetian-I got your idea to work, perfect! 🙂 .     I added another suggestion i found online (added a line to 83 on the script, are we allowed to do this?) to make the pose stick until the next turn.   Problem is my character keeps the guard pose but doesnt return to idle on the next turn until AFTER i execute an action.  Not the end of the world at least he finally uses the guard pose.......   Does your pose stay or does it just last a second and the character returns to idle?
Because it's about commands that you need to enter to work with a script that you've added, it needs to go into script support. Links to topics/blogs where the scripts are presented will also help - make it easier for people to find and look at the scripts.
I assume that you mean in the Holder Battles add-on. What did you add to line 83? As regards to whether you are allowed to edit, Battle Engine Symphony's topic states: "This Battle System is open and free, You can use it in both non-commercial and commercial projects. Furthermore, You can redistribute your build for free." So, yes, you are all right.

I did not add anything to that line. I have kept it as "  return :idle", so, you're right. My characters (and enemies) return to idle quickly after guarding. It works well enough. I believe a more efficient approach might be to append at line 84, to the auto_pose_hb method, something like "return :defend if (battler is guarding)". Unfortunately, I don't know how to do this! If that couldn't be figured out, a logical and sensible thing to try to do would be having your guarding character use the Defend stance when they are struck. The Defend stance would supersede being struck and flailing. Maybe something like this, if it is possible? Note that I haven't tested this and don't think this works, as is! It's just an idea.

def self.index_hb(pose)    case pose    # array = [row, frames]    # frames is optional, default is 15    when :idle      array = [0, 12]    when :struck    if :defend      array = [1, 15]   else     array = [3, 10]    when :woozy      array = [2, 12]For Shaz and any others that are not familiar, here is the link to the Symphony Engine and visual battler add-ons.
Thank you Shaz! 🙂

Venetian- Thank you for the info!    Your idea is interesting....  i think i'll try to play around with it and see what happens.

I inserted the below above line 83 (return :defend if battler.guard?) and it does work! It just doesnt change the stance back until AFTER you select a new action, i wonder if theres a way to have it terminate at the start of the next turn?  I have notes all over the place, im trying to track down where i got this from so i can ask the person that figured this out.   If you try it, let me know what you think.script3.jpg

(sorry...  my pictures show up tiny i have trouble copying and pasting a large photo but if you click on it it'll pop up)
To make a stance terminate at the start of the next turn would be more involved, I'd guess. I tried your insert and that works for me, too, as long as "return :defend if battler.guard?" is above the :idle stance in the list of auto_pose_hb. I assume it takes priority when the condition is fulfilled.

The problem with my idea is that I don't think I can define and set conditions like that inside of a case statement. If I write an if-then condition like I did in my example, underneath :struck, the :defend array simply always acts when a battler is struck, in my testing. Even when they are not guarding. That's not desirable. I'll keep looking at this.

I think that what you've got so far is at least a much better solution for visible guarding.
i have a problem similar to this except it's the certain hit animation that is used and even the tag (that works for you) does not work for me

kevin olsen, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Please make a new thread with your problem.

Original thread: https://forums.rpgmakerweb.com/threads/yami-battle-symphony-guard-problem.22776/