Page 1 of 1

[0.10.x][kovarex] Worms invincible while shooting

Posted: Sun Aug 17, 2014 1:08 am
by Rseding91
I'm not sure if it's intentional or not but you can't kill worms while they're in the "firing" animation.

Steps to reproduce:
  • Start a new world
  • Give yourself all research
  • Give yourself a combat shotgun + armor to survive worm attacks
  • Find a worm
  • Shoot it as fast as you can with the shotgun

Note while it's in it's firing animation the shotgun shells never bring it down to zero health but instead it sits right at 1 health until the animation finishes at which point it dies.

Re: [0.10.x] Worms invincible while shooting

Posted: Mon Aug 18, 2014 10:50 am
by Mangledpork
I've noticed this too.
I imagine that the reason is that the death animation starts in an upright position, so the worm must finish it's attack to return to that position so the animation can start, otherwise it would be seen suddenly jerking upright when killed.

Re: [0.10.x] Worms invincible while shooting

Posted: Mon Aug 18, 2014 2:05 pm
by Rseding91
Mangledpork wrote:I've noticed this too.
I imagine that the reason is that the death animation starts in an upright position, so the worm must finish it's attack to return to that position so the animation can start, otherwise it would be seen suddenly jerking upright when killed.

That's my guess as well which is fine but it really shouldn't soak up 4 shotgun bullets in the mean time :)

Re: [0.10.x][kovarex] Worms invincible while shooting

Posted: Mon Aug 25, 2014 3:18 pm
by kovarex
Thanks for the report, I'm just fixing it.

I just wanted to know, that for testing purposes, the easy way to become not killable is to write this command :)

Code: Select all

game.player.character.destructible = false

Re: [0.10.x][kovarex] Worms invincible while shooting

Posted: Mon Aug 25, 2014 4:17 pm
by kovarex
Ok, so I fixed this for 0.10.9

a) Worms will have 0 collision mask (doesn't collide with anything, almost like it is not in the map) while in the dying state
b) Worms will no longer regenerate health when in the dying state (this caused the destroyer robots to add one more shot once in a while when fighting, I was always wandering what was it)
c) Worms (or any other entities), will not show the healthbar in this state.