|
Post by majestic on Nov 16, 2016 7:39:40 GMT
I’d like to set up enemies so that some parts of the body can damaged more easily.
For example, take the head. I can see how to use Add Extra Body Member to get the enemy to give damage from its head (e.g. a zombie bite), but is it possible to configure it to take damage (e.g. an enemy receiving more damage when hit in the head)?
|
|
|
Post by dreadlord on Nov 16, 2016 8:07:30 GMT
select your body part e.g. the head and add a Damage Modifier Value. So its Base Damage plus the Damage Modifier for the Head.
|
|
|
Post by majestic on Nov 16, 2016 11:26:00 GMT
Thanks dreadlord, I did try that but it's not working for some reason.
Quick follow-up question: I've defined the head as a new body part, but now I'd like to remove it. After deleting its hitbox and removing the vMeleeAttackObject component, it's still listed under EnemyAI > vMeleeManager > Body Members. Is there any way to delete it?
|
|
|
Post by Invector on Nov 16, 2016 14:02:11 GMT
On the MeleeManager, select your body member and hit the X button to remove it
|
|
|
Post by majestic on Nov 16, 2016 21:53:37 GMT
Hmm...I'm not seeing that when it's selected, and I haven't modified the vMeleeManager script. It may be a Unity bug, or something I've changed somewhere else. Hopefully this will work when I reinstall the codebase with the 2.0a fixes.
|
|
|
Post by majestic on Nov 17, 2016 11:33:20 GMT
All OK now - reinstalling vMeleeManager fixed this.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 4, 2016 13:18:51 GMT
Nice! Glad it's fixed , it's pretty cool how know, it does all the arms/legs all in the melee manager :D
|
|