OpenXcom Forum

Modding => Work In Progress => Topic started by: robin on December 26, 2014, 12:38:07 am

Title: Chryssalid zombie attack elucidation
Post by: robin on December 26, 2014, 12:38:07 am
Is the target turned into a zombie just if the attack "connects"?
Or does the attack need to do enough damage to kill, for the zombification to occur?

Thanks


Edit:
Reading the wiki it seems it just needs to connect with the target, so the damage of the weapon inflicting the attack could virtually be 0 and the zombification will still happen.
(I'm not exclusively talking about a melee weapon; in fact I use this ability with a ranged weapon, applied to the ammo, the damage type of the ammo themselves is "acid").
Title: Re: Chryssalid zombie attack elucidation
Post by: Yankes on December 26, 2014, 01:47:40 am
(read from source code)Zombification is set after any hit that "connect" unit.
(speculation without analyzing source code)After that if unit is killed by any damage its turn to zombie.
Title: Re: Chryssalid zombie attack elucidation
Post by: BBHood217 on December 26, 2014, 03:38:40 am
Zombification occurs at the start of X-Com's turn on any soldier that got hit by a chryssalid, whether they died or not.  Being attacked at all is enough, one of the reasons why chryssalids are so feared (and some might say unfair).

I have a question now.  Since reaction fire with melee weapons is possible in OpenXcom, what happens when a soldier gets hit by a chryssalid's reaction attack?  Does he get zombified immediately?
Title: Re: Chryssalid zombie attack elucidation
Post by: kkmic on January 05, 2015, 10:59:41 am
I have a question now.  Since reaction fire with melee weapons is possible in OpenXcom, what happens when a soldier gets hit by a chryssalid's reaction attack?  Does he get zombified immediately?

Now that's a good question.

Warboy? :P
Title: Re: Chryssalid zombie attack elucidation
Post by: robin on January 05, 2015, 11:10:58 am
I haven't experienced that particular case, but form what I've tested zombification happens immediately as the target is killed by the attack.
If the target survives the attack, zombifications happens at the end of the turn, like it were a grenade with timer 0 (I'm talking about the alien turn; as I said I still haven't experience a non-lethal zombifying reaction attack during my turn).
Title: Re: Chryssalid zombie attack elucidation
Post by: BlackLibrary on January 05, 2015, 05:35:13 pm
You get hit with reaction strike, you get zombified.
Title: Re: Chryssalid zombie attack elucidation
Post by: robin on January 16, 2015, 09:43:15 pm
No.
Tested now: if an agent gets hit by a zombifyng reaction attack that doesn't kill him on the spot, he lives and can still act normally; zombification then happens just as you hit the "End Turn" button.
Title: Re: Chryssalid zombie attack elucidation
Post by: volutar on January 16, 2015, 09:52:36 pm
Melee reaction actually is not vanilla, thus this behavior couldn't be put in line with it. Although it might highlight another possible issue that should be fixed (if it will be confirmed). As for me I think impregnanted target should turn zombie immediately.
Title: Re: Chryssalid zombie attack elucidation
Post by: robin on January 16, 2015, 10:03:11 pm
Melee reaction actually is not vanilla, thus this behavior couldn't be put in line with it. Although it might highlight another possible issue that should be fixed (if it will be confirmed). As for me I think impregnanted target should turn zombie immediately.
Actually it was ranged attack, from a zombifying firearm I modded in; the zombification ability is added to the ammunition (since it uses ammunition; if it were ammo-less it would be added to the weapon itself). Though I think that a reaction melee attack would work the same? Maybe the difference is in that zombifing melee damage ignores (or at leasc should AFAIK+IIRC) armor, while the acid damage of my firearm doesn't?
Title: Re: Chryssalid zombie attack elucidation
Post by: volutar on January 16, 2015, 10:14:04 pm
Yes. Technically melee reaction should work similar to ranged. Postponed transformation means AI would be spending TUs on one target without any feedback and won't switch to other if first target is impregnated. It's like mind controlling without popping window "successful". Though I can be wrong. Let warboy clarify that.