Ralf Van Bogaert
Member
Hi,
So I have a bunch of characters featuring these animations:
attack1 (jab) #attack.damage.type=0
attack2 (straight) #attack.damage.type=1
attack3 (body blow) #attack.damage.type=2
attack4 (upper) #attack.damage.type=3 (always knocks down)
freespecial1 (legsweep) #attack.damage.type=4 (always knocks down)
pain1 (hit by jab)
pain2 (hit by straight)
pain3 (hit by body blow)
fall1 (fall by jab)
fall2 (fall by straight)
fall3 (fall by body blow)
fall4 (fall by uppercut)
fall5 (fall by leg sweep)
Each attack box has the property attack.damage.type set to the appropriate value, so attack1 triggers pain1/fall1, attack2 pain2/fall2 etc.
This works fine for fall1-4, but not for fall5.
So in other words, this attack box:
attack.damage.force 10
attack.damage.type 4
attack.effect.hit.flash.disable 1
attack.position.x 40
attack.position.y 22
attack.reaction.fall.force 1
attack.reaction.fall.velocity.x 0.0
attack.reaction.fall.velocity.y 4.0
attack.size.x 67
attack.size.y 15
.. should trigger the victim's fall5 animation, but instead uses the 'fall1' one.
I have this in models.txt:
maxfollows 10
maxattacks 10
maxattacktypes 10
maxfreespecials 10
So I don't know why it uses the correct pain/fall animations for 1-4, but not for 5.
So I have a bunch of characters featuring these animations:
attack1 (jab) #attack.damage.type=0
attack2 (straight) #attack.damage.type=1
attack3 (body blow) #attack.damage.type=2
attack4 (upper) #attack.damage.type=3 (always knocks down)
freespecial1 (legsweep) #attack.damage.type=4 (always knocks down)
pain1 (hit by jab)
pain2 (hit by straight)
pain3 (hit by body blow)
fall1 (fall by jab)
fall2 (fall by straight)
fall3 (fall by body blow)
fall4 (fall by uppercut)
fall5 (fall by leg sweep)
Each attack box has the property attack.damage.type set to the appropriate value, so attack1 triggers pain1/fall1, attack2 pain2/fall2 etc.
This works fine for fall1-4, but not for fall5.
So in other words, this attack box:
attack.damage.force 10
attack.damage.type 4
attack.effect.hit.flash.disable 1
attack.position.x 40
attack.position.y 22
attack.reaction.fall.force 1
attack.reaction.fall.velocity.x 0.0
attack.reaction.fall.velocity.y 4.0
attack.size.x 67
attack.size.y 15
.. should trigger the victim's fall5 animation, but instead uses the 'fall1' one.
I have this in models.txt:
maxfollows 10
maxattacks 10
maxattacktypes 10
maxfreespecials 10
So I don't know why it uses the correct pain/fall animations for 1-4, but not for 5.