Beating Enemies on the Ground more than once

dcelso

Member
Hi, I'm trying to do that is in the tutorial : "Beating Enemies on the Ground by BonusJZ" to hit more than once
I have written "ani pain4" to shermie and yasiro eniemies. to do the custom pain.
In the player, In freespecial4 I change to ANI_ATTACK4, to that the enemies can go to pain4 when are beaten.
But the code continues doing a single hit and goint to the normal pain animation.
What can I do? Do I need change any entity value to can use pain4?
 

Attachments

Is attack box attack4?
And also does the attack box have knockdown and otg?

Example
Anim attack9

Attack4 100 90 34 56 5 0 0 0 0
Otg 1
Frame data/chars/spicegirls/poshspice1.png
 
I have this.
And It does not work.

kula:
Code:
anim    freespecial4
    loop    0
    delay    6
    offset    15 123
    bbox    13 24 21 100
    frame    data/chars/kula/a3-000.gif
    move    10
    offset    25 123
    bbox    24 28 16 97
    frame    data/chars/kula/a3-001.gif
    move    10
    offset    35 123
    frame    data/chars/kula/a3-002.gif
    move    0
    otg    1
    attack4    44 2 16 126 15 0 0 0 0 0
    bbox    35 28 10 96
    frame    data/chars/kula/a3-003.gif
    otg    1
    attack4    42 1 14 129 15 0 0 0 0 0
    frame    data/chars/kula/a3-004.gif
    attack4    0 0 0 0 0
    frame    data/chars/kula/a3-005.gif
    bbox    24 28 16 97
    frame    data/chars/kula/a3-002.gif
    move    -10
    offset    25 123
    frame    data/chars/kula/a3-001.gif
    move    -10
    offset    15 123
    bbox    13 24 21 100
    frame    data/chars/kula/a3-000.gif

Shermie

Code:
anim    pain4
    loop    0
    delay    20
    offset    80 83
    bbox    47 62 97 23
    frame    data/chars/shermie/fall5.gif
    bbox    27 66 116 18
    frame    data/chars/shermie/fall6.gif
[code]
 
You might want to check out Word Heroes by @magggas for an example. It has this feature.


DC
 
You might want to check out Word Heroes by @magggas for an example. It has this feature.


DC

ohh, Great!.
Thanks so much. I will do it.

did you play all the openbor games ? :)
 
but only once.
I want hit them more times while they are in the ground. :'(

Hmmm... do you want fallen enemies to stay still on ground after being attacked? so you can hit them again?

[A day later]

Technically, your setting is sufficient to hit fallen enemies again however since they are knocked away, you have to chase them to hit them again. And they might rise before you get close. Therefore you need to control knocking away power with dropv and rise time with staydown.
I modified Kula's FREESPECIAL into this:
Code:
anim    freespecial4
    delay    6
    otg    1
    offset    15 123
    bbox    13 24 21 100
    frame    data/chars/kula/a3-000.gif
    move    10
    offset    25 123
    bbox    24 28 16 97
    frame    data/chars/kula/a3-001.gif
    move    10
    offset    35 123
    frame    data/chars/kula/a3-002.gif
    move    0
    attack4    44 2 16 126 15 0 0 0 0 0
    bbox    35 28 10 96
    dropv    -1 0 0
    staydown 100 10
    frame    data/chars/kula/a3-003.gif
    attack4    42 1 14 129 15 0 0 0 0 0
    dropv    -1 0 0
    staydown 100 10
    frame    data/chars/kula/a3-004.gif
    attack4    0 0 0 0 0
    frame    data/chars/kula/a3-005.gif
    bbox    24 28 16 97
    frame    data/chars/kula/a3-002.gif
    move    -10
    offset    25 123
    frame    data/chars/kula/a3-001.gif
    move    -10
    offset    15 123
    bbox    13 24 21 100
    frame    data/chars/kula/a3-000.gif

dropv is set to -1 to knock enemy downwards or to pin fallen enemies to ground.
staydown is set to 100 to give extra rise time for fallen enemies.

Also enemies need to have proper response to this attack. Here's Shermie's FALL4:
Code:
anim    fall4
    delay    20
    offset    80 83
    bbox    47 62 97 23
    frame    data/chars/shermie/fall5.gif
    bbox    27 66 116 18
    frame    data/chars/shermie/fall6.gif

That's copy of her PAIN4 actually.

I've tested this attack and Kula can hit fallen enemies multiple times :D
And I'm aware that this attack might give funny response against standing enemies but at least you get the idea :sneaky:
 
Last edited:
Back
Top Bottom