Victor Engine [Bow Attack Error]

deyrnizeshed

Villager
Member
Joined
Aug 21, 2013
Messages
12
Reaction score
0
First Language
English
Primarily Uses
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!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

sy7hf7tgtgrf

Villager
Member
Joined
Aug 25, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
Hi again,

here is the screen shot of my database [Weapon]

bow.JPG

and here is the script i am using

Victor's Animated Battles.txt

Thanks for replying. I don't get why there is no damage but when I use the victor's holder battler sprites, it works.
I also have this same problem. I have done everything to try and fix it and have had no luck. Hopefully someone knows how. The problem resides with the script,not with the weapon. I have a way to get damage but it removes the bow and arrow from view. So if anyone can modify this to show the bow and arrow and do damage, that would be great. I just added these to the ones already in the script and renamed them with the 2 suffix.

# 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>
 
Last edited by a moderator:

deyrnizeshed

Villager
Member
Joined
Aug 21, 2013
Messages
12
Reaction score
0
First Language
English
Primarily Uses
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 :)
 

sy7hf7tgtgrf

Villager
Member
Joined
Aug 25, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
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 :)
Wait, did you get the bow animation and the arrow animation to play with the damage?

Edit: I see that the animation plays but, you are right. I will see if I can fix this.
 
Last edited by a moderator:

deyrnizeshed

Villager
Member
Joined
Aug 21, 2013
Messages
12
Reaction score
0
First Language
English
Primarily Uses
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. :)
 

sy7hf7tgtgrf

Villager
Member
Joined
Aug 25, 2013
Messages
13
Reaction score
1
First Language
English
Primarily Uses
K I'll try to edit the code.

EDIT I fixed it. Follow these steps carefully.

1st. The "# Pose for 'Bow' type weapons Fix" should just be renamed from bow2 to bow3 (I'm keeping it in the script just incase I need to fix stuff)

2nd. For the original "# Pose for 'Bow' type weapons", rename it from bow to bow2.

3rd. Find this line, "action: targets, arrow;" change it to "action: targets, arrow2;"

4th. The last line in the original pose needs to be changed from, "wait: self, action;" to "wait: targets, action;"

5th. That should be it. Here is the entire section if you just want to replace it.

 # Pose for 'Bow' type weapons

    <action: bow2, reset>

    wait: targets, movement;

    direction: self, subjects;

    pose: self, row 2, all frames, sufix _3, wait 4;

    icon: self, image 'Bow1', x +6, above;

    icon: self, image 'Bow2', x +6, above;

    icon: self, image 'Bow3', x +6, above;

    wait: 10;

    action: targets, arrow2;

    icon: self, image 'Bow2', x +6, above;

    icon: self, image 'Bow1', x +6, above;

    wait: targets, action;

    </action>
 
Last edited by a moderator:

deyrnizeshed

Villager
Member
Joined
Aug 21, 2013
Messages
12
Reaction score
0
First Language
English
Primarily Uses
Wow! Thank you so much ! It worked like magic. Haha! 
 

Dr_Simon

Warper
Member
Joined
Sep 2, 2013
Messages
1
Reaction score
0
First Language
English
Primarily Uses
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.
 

RupamOntherocks

Villager
Member
Joined
Jan 18, 2014
Messages
24
Reaction score
4
First Language
Bengali
Primarily Uses
Ummmm...sorry to bother...but after following all the steps i still get those non dealing damage errors...the damage is still reflecting to the actor.. ;_;
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Ummmm...sorry to bother...but after following all the steps i still get those non dealing damage errors...the damage is still reflecting to the actor.. ;_;
Give us the numbers for actor and enemy and the used skill.
It might still be that the enemy has too high a defense for the attack values of the actor, that would also result in no damage and can't be fixed with anything on pose or animation script...
 

RupamOntherocks

Villager
Member
Joined
Jan 18, 2014
Messages
24
Reaction score
4
First Language
Bengali
Primarily Uses
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.
 

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
677
Reaction score
271
First Language
English
Primarily Uses
RMMV
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.
 

The Yank

Veteran
Veteran
Joined
Nov 25, 2013
Messages
101
Reaction score
37
First Language
English
Primarily Uses
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top