Aller au contenu

Photo

Custom combat result with backstab animation


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Anomaly-

Anomaly-
  • Members
  • 366 messages
Ok, so basically what I did was create a new combat result which essentially allows for a backstab that can also crit. Everything works perfectly, except for the animation. I've duplicated all of the conditions and flags for backstabs found in combat_h for this result type, but still the animation is that of a regular crit, instead of a backstab. I really can't find any other handling of combat result types, so I have no idea how to make the animations the same. Any help would be greatly appreciated.

#2
Anomaly-

Anomaly-
  • Members
  • 366 messages
...Nothing?

Let me elaborate a bit. I've made it so that it is possible to have a backstab and a critical hit at the same time. Essentially, I created a new combat result that is identical to a backstab, but with critical damage bonus added on top of it. Now the problem is, despite everything else working perfectly, the animation of the attack is that of a critical hit (regular horizontal slash), instead of a backstab (that over the shoulder stabbing animation). I can't figure out why. I've gone through combat_h and effect_damage_h and I've set all of the conditions and gore flags to be identical to a backstab, but for some reason it still does not use the animation.

Does anyone know of any other handling of attack animations, or why this would not be working correctly?

Modifié par Anomaly-, 22 janvier 2011 - 08:10 .