haikel
Junior vMember
i wanna be the very best ... like no one ever was.
Posts: 43
|
Post by haikel on Jan 24, 2017 7:14:35 GMT
enemies used to deal damage to my player and the same goes with the player to the enemies . everything was fine and works perfectly. but I imported Quest System pro asset from the asset store and I had this errors I posted into their forums and the published of the asset told me that he is going to contact INVECTOR and see if there is a solution for that . after that he told me to rename the internal class "MinMaxRange" in the "vMinMaxRangeAttribute" script to "vMinMaxRange" I did that , and the errors gone . but now the enemy won't deal damage to my player and my player don't do damage either . is there any solution for that ?
|
|
|
Post by jrackley on Jan 24, 2017 13:39:10 GMT
check your Animator to make sure that the attacks have the vMeleeAttack script attached them, you may need to apply the animator fix, that is usually the case when this happens. Also make sure that your weapon is on the layer "Ignore Raycast"
|
|
haikel
Junior vMember
i wanna be the very best ... like no one ever was.
Posts: 43
|
Post by haikel on Jan 25, 2017 1:17:09 GMT
yes the vMeleeAttackBehavior scpirt is attached to my animations and I'm not using weapons , I'm using hand to hand combat it works just fine if I rename internal class back to "MinMaxRange" but that will conflict with Quest System pro asset because it has a script contains an internal class with the same name ... :(
|
|
|
Post by Invector on Jan 25, 2017 12:54:42 GMT
yes the vMeleeAttackBehavior scpirt is attached to my animations and I'm not using weapons , I'm using hand to hand combat it works just fine if I rename internal class back to "MinMaxRange" but that will conflict with Quest System pro asset because it has a script contains an internal class with the same name ... :( make sure to rename using the F2 shortcut on visual studio, to rename on every script that uses this variavel and not only on the script you are
|
|
|
Post by shadex on Jan 26, 2017 19:06:58 GMT
check your Animator to make sure that the attacks have the vMeleeAttack script attached them, you may need to apply the animator fix, that is usually the case when this happens. Also make sure that your weapon is on the layer "Ignore Raycast" Whats the Animator Fix? My scripts keep detaching, so if there is a way to fix that, It would save me countless hours.
|
|
|
Post by Invector on Jan 26, 2017 19:21:56 GMT
check your Animator to make sure that the attacks have the vMeleeAttack script attached them, you may need to apply the animator fix, that is usually the case when this happens. Also make sure that your weapon is on the layer "Ignore Raycast" Whats the Animator Fix? My scripts keep detaching, so if there is a way to fix that, It would save me countless hours. We create a AnimatorFix.rar that is basically the Invector_MeleeCombat.controller & meta ziped, so if you lost the behaviour, the .meta will recovery that information, you can try to create a backup of yours when you're done with the settings.
|
|