gabo-hanzo
Well-known member
Hello friends. I hope you are well. I am finishing a project called "Double Dragon Again" something basic but entertaining and not very extensive. I need help to perfect the enemies' attack so that they don't hit in the air before I am within range to receive the attack.
I have been changing the range and the rangez, and when I adjust it to the length of the enemy's arm or a little more, what happens is that the enemy in question gets almost close enough to kiss the player before starting to hit. In summary, they get too close, and the idea is that they shouldn't be idiots in combat. I am using openstats for this.
Can you please advise me?
In the image, you can see Abobo attacking higher up without hitting, and the basic enemy hitting the air near me.
abobo txt
anim attack1
loop 0
delay 12
offset 60 103
bbox 49 51 22 51
range 0 47
rangez -8 8
frame data/chars/abobo/a101.gif
delay 18
attack 65 61 31 17 10 0 0 0 0 8
frame data/chars/abobo/a102.gif
delay 12
attack 0 0 0 0
lopar.txt
anim attack1
loop 0
delay 10
offset 55 111
range 0 37
rangez -7 7
bbox 50 74 13 35
frame data/chars/lopar/a100.gif
delay 18
attack 59 81 18 8 9 0 0 0 0 7
frame data/chars/lopar/a101.gif
attack 0 0 0 0
delay 10
frame data/chars/lopar/a102.gif
thank you in advance


I have been changing the range and the rangez, and when I adjust it to the length of the enemy's arm or a little more, what happens is that the enemy in question gets almost close enough to kiss the player before starting to hit. In summary, they get too close, and the idea is that they shouldn't be idiots in combat. I am using openstats for this.
Can you please advise me?
In the image, you can see Abobo attacking higher up without hitting, and the basic enemy hitting the air near me.
abobo txt
anim attack1
loop 0
delay 12
offset 60 103
bbox 49 51 22 51
range 0 47
rangez -8 8
frame data/chars/abobo/a101.gif
delay 18
attack 65 61 31 17 10 0 0 0 0 8
frame data/chars/abobo/a102.gif
delay 12
attack 0 0 0 0
lopar.txt
anim attack1
loop 0
delay 10
offset 55 111
range 0 37
rangez -7 7
bbox 50 74 13 35
frame data/chars/lopar/a100.gif
delay 18
attack 59 81 18 8 9 0 0 0 0 7
frame data/chars/lopar/a101.gif
attack 0 0 0 0
delay 10
frame data/chars/lopar/a102.gif
thank you in advance

