|
Post by jrackley on Apr 23, 2017 18:58:16 GMT
So I am noticing during trying to set up a boss fight that if the Player and Enemy attack at the same time the enemies attack gets interruped and does not finish the animation. Break attack is not enabled at all and all hit reactions have been removed so I am unsure why this is happening, if someone could point me in the correct direction I would greatly appreciate it as always.
thanks in advance
|
|
|
Post by tharindu on Apr 24, 2017 1:29:33 GMT
So I am noticing during trying to set up a boss fight that if the Player and Enemy attack at the same time the enemies attack gets interruped and does not finish the animation. Break attack is not enabled at all and all hit reactions have been removed so I am unsure why this is happening, if someone could point me in the correct direction I would greatly appreciate it as always. thanks in advance Hmm do you mind sharing the inspector for the ai controller? Might give some insight.
|
|
|
Post by jrackley on Apr 24, 2017 3:09:39 GMT
So I am noticing during trying to set up a boss fight that if the Player and Enemy attack at the same time the enemies attack gets interruped and does not finish the animation. Break attack is not enabled at all and all hit reactions have been removed so I am unsure why this is happening, if someone could point me in the correct direction I would greatly appreciate it as always. thanks in advance Hmm do you mind sharing the inspector for the ai controller? Might give some insight. Will do next time I am at the gaming computer, tried a test with the default Invector player and enemy as well and the same thing happens so not sure on this one but I really need the enemy to complete the attack whether they are being attacked or not.
|
|
|
Post by tharindu on Apr 24, 2017 3:36:25 GMT
Hmm do you mind sharing the inspector for the ai controller? Might give some insight. Will do next time I am at the gaming computer, tried a test with the default Invector player and enemy as well and the same thing happens so not sure on this one but I really need the enemy to complete the attack whether they are being attacked or not. Let me also check and let you know. If it's happening even with the default enemy I should be able to recreate too. This is melee 2.0c right ? I understand why you need this. Boss fight can get quickly out of control if the player can do this continuously for a strong attack from the boss .
|
|
|
Post by jrackley on Apr 24, 2017 3:54:59 GMT
Will do next time I am at the gaming computer, tried a test with the default Invector player and enemy as well and the same thing happens so not sure on this one but I really need the enemy to complete the attack whether they are being attacked or not. Let me also check and let you know. If it's happening even with the default enemy I should be able to recreate too. This is melee 2.0c right ? I understand why you need this. Boss fight can get quickly out of control if the player can do this continuously for a strong attack from the boss . yes 2.0c
|
|
|
Post by tharindu on Apr 24, 2017 3:55:25 GMT
Okay I think I have a vague idea on what's going on. I am not near my gaming pc so I cannot for sure say this but I'm assuming you're using the same animator controller for both AI and player. Let's not do that and have two copies, one for the AI , one for the controller. Once you've got that in place can you go to the strong attack / weak attack in the enemy's animator ( the attack you want to continue regardless of defense) , and set this boolean (Ignore Defense) on the ASB ? If it doesn't work could you let me know if the boss has the melee manager component ? If possible can you post some screenshots of the ASBs in the animator, and the melee weapon's config and all ? temporary hosting photo
|
|
|
Post by jrackley on Apr 24, 2017 4:04:24 GMT
Okay I think I have a vague idea on what's going on. I am not near my gaming pc so I cannot for sure say this but I'm assuming you're using the same animator controller for both AI and player. Let's not do that and have two copies, one for the AI , one for the controller. Once you've got that in place can you go to the strong attack / weak attack in the enemy's animator ( the attack you want to continue regardless of defense) , and set this boolean (Ignore Defense) on the ASB ? temporary hosting photoNope different Animator controllers already setup and Ignore defense is set, that is why I am so confused as to what is happening,lol I definitely appreciate your help troubleshooting.
|
|
|
Post by tharindu on Apr 25, 2017 2:14:55 GMT
This is a real head scratcher. Truthfully I couldn't look up anymore than this yesterday for which I apologize. I will look a bit deeper to figure out the problem.
|
|
|
Post by Invector on Apr 26, 2017 2:16:59 GMT
If your attack trigger a big reaction id, the character will lockMovement and also cancel the attack animation
|
|
|
Post by jrackley on Apr 26, 2017 12:11:03 GMT
If your attack trigger a big reaction id, the character will lockMovement and also cancel the attack animation Will double check this today when I get home from work, but I am pretty sure that I removed all reaction triggers and even the animations. Will let you know, thank you.
|
|
|
Post by jrackley on Apr 26, 2017 23:43:20 GMT
If your attack trigger a big reaction id, the character will lockMovement and also cancel the attack animation Okay I double checked, my weapon has reaction id set to 0 which I removed all reaction animations from the boss(both big and small). Break attack is not checked, so in theory there is nothing that should cause an interruption at all. However when I attack the boss at the same time that he is attacking me, the bosses animation gets interrupted instead of playing all the way through the attack motion. I have tried to change layers for the bosses weapon as well and this did not help either so I am at a loss.
|
|
|
Post by Invector on Apr 26, 2017 23:50:17 GMT
Hmmm you need to check what is interrupting the attack animation, try checking what animation is triggered or if the ResetState is called
|
|