knotamirage 2 Posted July 3, 2017 Hello everyone, I'm wondering if someone can help me with enacting a state with Victor Engine - Animated Battles? I can't seem to get counterattack (which is a state) to apply to any actors. Weirdly enough, the enemies are able to use it. Basically I have it setup so that an enemy uses a skill imparting him with counterattack, which then triggers a common event, causing my main player to learn the same skill. It SHOULD be working but it doesn't. The enemy just counterattacks my guy to death. I have tried just giving my main character the skill to test it out, and it doesn't work for him. My thought is that I have to actually script in the counterattack effect for it to apply to any main actors (ie., I can't just use the sample one which comes in Victor's script). For some reason, this doesn't seem to matter for the enemies. Once I put counterattack = 100%, enemies counterattack even without there being any notetags in the skill's notetag box. Here's what I have input into the notetag box of the skill: <action: counter on, reset> Here's what part of the script this applies to: # Pose for counter attack activation (important, avoid change) <action: counter on, reset> counter: self, on; </action> I've tried virtually everything; using this notetag on the weapon, creating my own counterattack "skill", and even taking the character out of the battler folder and using the character one instead (which actually doesn't affect things at all). Any help would be greatly appreciated. Share this post Link to post Share on other sites
PhoenixSoul 1,417 Posted July 4, 2017 I am actually not sure what the issue is. I'll defer you to KayZee (KilloZapit). Share this post Link to post Share on other sites
Kayzee 4,063 Posted July 5, 2017 I really don't know anything about this script so I can't help much. Share this post Link to post Share on other sites
roninator2 274 Posted July 5, 2017 @killozaoit then why did you need to comment? I'm using the script but have not setup counter attack. I did have it and a battle test results in my game freezing. I'm ok to go without it. and I may get around to trying to use it again. but I'm working on other parts. Luna engine. Share this post Link to post Share on other sites
Kayzee 4,063 Posted July 5, 2017 (edited) I was called here by... HUMANS who wish to pay ME tribute! Hehe, but seriously, I was told to come, so I came since knotamirage asks me a lot of questions about scripting. Just wanted to make clear that, sadly, I can't help much with most other people's scripts I have no experience with. Edited July 5, 2017 by KilloZapit Share this post Link to post Share on other sites
knotamirage 2 Posted July 10, 2017 @roninator2 I'm happy to hear I'm not the only one unable to get counterattack to work. I wonder if it's even possible. What's most likely happened is Victor included the poses needed to create it (i.e. it doesn't actually exist within the script). It's my project to work on tonight. I've just been through the detailed manual by Lyson and so far, it hasn't helped much with that particular move. I know..I'm okay to go without it too, but it's kind of a staple move for RPG's so it would be really nice to include it. Second, I was asking about the Luna engine just recently. Is it worth scrapping Victor and moving to something like that? And thanks to everyone for taking the time to try and help me with this. 1 Share this post Link to post Share on other sites
roninator2 274 Posted July 10, 2017 I have just finished all the screens I could affect. I had trouble with yanfly system options, the build in message window, name message window and gold window (on map), I had trouble with MOG monster book and switched to Modern Algebra, and finally I put in as a maybe CSCA dungeon tools and there are two screens for it. I haven't tried yet to change those, but everything else is done with the exception of yanfly victory aftermath (it uses the build in message window, which is troublesome to change). I have not done extensive testing on the battles, but the basic battles (attack/spells) work fine with victor engine. The battle hud works fine, except I get basic bars and not the kms generic gauge I have. The luna engine is good for almost all scripts. It had taken me two weeks to make the changes to my game with Luna engine. I've put the game down for a little bit, I have other things to do. I'll get back into working on this in about a month from now. I'll do some testing with the battle system and see what can be done (if anything) for the counterattack. I have tried various settings, but nothing good yet. everything in the game seems to be correct, but At this point I don't know if it's a problem with victor scripts or other scripts in my game. I currently have about 260 scripts (some are split for easy of use (luna engine), and patches). 1 Share this post Link to post Share on other sites
knotamirage 2 Posted July 11, 2017 Hey everyone again. Just wanted to close this issue. I played around with it (talk about testing one's empirical skills) and eventually figured it out. Very stupid thing I didn't even think about. Something that will hopefully help the next person with this problem: Counterattack only works on skills that are set to "Physical Attack" In other words, Magic is out of the question, but even "Certain Hit" will not trigger the counter effect. Anyways, set it to that and you'll be all good. 1 Share this post Link to post Share on other sites
PhoenixSoul 1,417 Posted July 11, 2017 ...Counterattack only works on skills that are set to "Physical Attack"... That must be a quip set by Victor because I know that Counter would work for any type of attack hit otherwise. Odd, but glad I had put this in the spotlight and eventually found it a resolution. Cheers! *raises wine glass* Share this post Link to post Share on other sites
Lord Vectra 414 Posted July 11, 2017 By default, counter attack ONLY effects physical attacks. Reflection effects ONLY magical attacks. Certain hit is affected by nothing EXCEPT for success rate. It ignores EVA, MEV, HIT, everything which is why its called "certain hit." So if his script does that, it is actually normal. 1 Share this post Link to post Share on other sites
roninator2 274 Posted July 11, 2017 That's not what's happening to me. Something else is wrong. I'll get to it later. Share this post Link to post Share on other sites
roninator2 274 Posted July 15, 2017 I got the counter attack to work occasionally with it set to certain hit. On the Counter skill I had <action: counter on, reset> <action: counter off, reset> Not sure if that is messed up, but I'm still in early stages of tests as I'm working on other glitches. One thing it did, which I'll have to work out, is to attack after the enemy returned to it's original spot and the next enemy attacked. Basically the counter happened while the enemy was attacking, but the enemy didn't pause for the counter and the counter didn't happen when the enemy attacked. Share this post Link to post Share on other sites
knotamirage 2 Posted August 7, 2017 That's odd. For me, I attack the enemy (who has counter) and every time I attack, I get attacked right back, and then return to my original position. Share this post Link to post Share on other sites
Lord Vectra 414 Posted August 7, 2017 It could be conflicting with another script. Share this post Link to post Share on other sites
roninator2 274 Posted August 8, 2017 I haven't tested with the enemy with counter attack yet. This was my character having counter attack. If I can't get it working, I'll probably dump the character counter attack option. Should have my computer back up and running in a week. (I moved) Share this post Link to post Share on other sites