Hi there, I just have a quick question regarding the animated battle script by victor.
I know most of you have used this script to do bow attacks. But I am having a
hard time debugging this. I have successfully done the bow animation
(The bow is shot and the arrow is released) but then my problem is
NO DAMAGE IS DONE to the ENEMY. Also, I am not using holder's battlers.
This is the note tag I placed under my bow weapons.
<advance pose: step forward>
<attack pose: bow>
<skill pose: bow>
Please help me. Thanks in advance!
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Since you're asking for help with a script, this is where your post should go.
The VX Ace Tutorials forum is for completed tutorials you have created and are sharing.
The VX Ace Support forum is to ask for help with non-script related issues.
When you are asking for help with a script, you should include a link to the script. Don't just say what it is, but give a link, so those helping you can look it up quickly.
Are your weapon settings correct? Do you actually have damage stats set up? I am assuming Victor's script simply handles the sprites, not the actual damage, so that would go back to the settings you have in your database.
Wow thanks a lot for this, Finally there is damage but there is a slight problem, when the actor attacks, he dissapears. Any clue on how to fix this?
Thanks for the quick response though 🙂
Yes, i just added the script that you posted
# Pose for 'Bow' type weapons Fix
<action: bow2, reset>
wait: targets, movement;
direction: self, subjects;
pose: self, row attack, all frames, wait 4;
action: targets, arrow2;
wait: targets, action;
wait: 20;
</action>
# Pose for the targets of 'Bow' attack Fix
<action: arrow2, reset>
throw: self, user, image 'Arrow', arc 10, angle 45, init x -6, init y -12;
wait: self, throw;
anim: self, weapon;
wait: 8;
effect: active, targets, 100%;
</action>
and in the database, i changed the <attack pose: bow> to <attack pose: bow2>.
Then I started a new game and the damage was working but the actor dissapears while attacking and returns only afterwards. 🙂
Wow! Thank you so much ! It worked like magic. Haha!
Lovely! this sorted out my problem too! I could either get the damage to work but then the animation showed the player smacking the monster in the face with the bow, or the animation was perfect but there was no damage.
I'd just add 1 extra line to the code, I found the damage number disappears off the screen a little too fast for my liking so I added "wait: 50;" just before the "wait: targets, action;" line.
I'm just using the bow from the default weapon database ..the shortbow..id number - 31.
And the enemy is also the default Slime (Id - 1)
I'm not using the bow attack for bow skill, just want to use it for regular attacks.
I followed the steps and fixed most of everything.
However, whenever I attack with the bow it does the normal attack animation (as if I attacked with no weapon equipped).
Is there a way for me to make it the physical pierce animation so it actually looks like I'm shooting them.
I'm also having that problem; the animation works beautifully, the damage pops, etc, but the normal animation (no. 1) is shown instead of the piercing one, which is the one i assigned to the weapon.
It does this even without the "no damage" fix. Anyone know how to get it working? Weapon animations work fine with melee weapons that don't have additional notetags.