Solved The blocking animation doesn't perform as expected. (The reason is that the old code doesn't work in the new version)

Question that is answered or resolved.

hbdhl

Active member
I'm modding other people's work, and this is what I copied, and I didn't change it here almost at all, but the character's performance changed, and he can't block anymore.:cry:


Code:
anim freespecial4      #block
      loop      0
      delay      135
      offset      72 131
      bbox      63 102 16 29
      counterframe      0 1 0
      followanim      4
      frame      data/chars/plae1/0bl1.gif

anim follow4      #Block the attack and pull back
      loop      0
      delay      2
      offset      72 131
      move      -6
      frame      data/chars/plae1/0bl1.gif
      frame      data/chars/plae1/0bl1.gif
      frame      data/chars/plae1/0bl1.gif
      frame      data/chars/plae1/0bl1.gif
      delay      10
      move      0
      frame      data/chars/plae1/0bl1.gif
 
Last edited:
I believe the modder named this freespecial as block even though it doesn't have anything which activates blocking state. To be exact, it's counter pose in which character will change animation into follow4 if he/she is attacked when in counter pose.

Now, does this counter work when you tried it in game?
 
I believe the modder named this freespecial as block even though it doesn't have anything which activates blocking state. To be exact, it's counter pose in which character will change animation into follow4 if he/she is attacked when in counter pose.

Now, does this counter work when you tried it in game?

com a4 freespecial4

Yes, there's a button for blocking that triggers the blocking stance of freespecial4, but when the enemy attacks me, it doesn't jump to follow4, and I'm hit as I would be if I were being attacked in a normal situation.
 
I've just tested it and looks like counterframe is broken in latest builds. That command is seriously limited BTW and it is obsoleted by counterrange.
Try this one with that command:
Code:
anim freespecial4 #block
   delay    135
   offset    72 131
   bbox    63 102 16 29
    counterrange 0 0 1 0
   followanim    4
   frame    data/chars/plae1/0bl1.gif
 
I've just tested it and looks like counterframe is broken in latest builds. That command is seriously limited BTW and it is obsoleted by counterrange.
Try this one with that command:
Code:
anim freespecial4 #block
   delay    135
   offset    72 131
   bbox    63 102 16 29
    counterrange 0 0 1 0
   followanim    4
   frame    data/chars/plae1/0bl1.gif
Oh, thank you!
Once I changed "counterframe 0 1 0" to "counterrange 0 0 1 0", the blocking worked correctly.

I thought it was best to open whatever game I was playing with the latest OpenBOR.exe, but this reminds me.
Thanks again!
 
Back
Top Bottom