aliens

Author Topic: [Answered] Questions about zombieUnit  (Read 1576 times)

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
[Answered] Questions about zombieUnit
« on: May 02, 2020, 11:07:17 am »
(Question #1): No zombifying enemy units?

I noticed that when shooting X-Com units with a weapon that has the zombieUnit: variable they change into a zombie on death as expected.

However if an enemy unit is struck and killed with the same weapon they do not become a zombie.

Is there a way around this?
(I don't mind if the spawned unit from the dead enemy is hostile, in fact that would be ideal)

(Question #2): Can zombieUnit: be made to only effect specific genders?

Is it possible to use zombieUnitByArmorMale: and / or zombieUnitByArmorFemale: to make it so that soldiers of one gender are turned into zombies on death while the others simply die from the same attack?

(Question #3): Can it be made so some armors spawn zombies on death but not others?

Can the zombieUnitByType: variable be used to allow weapons that can zombifying units but only effect soldiers equipped (Or not equipped) with specific armors causing any other ones to just die normally when struck?
« Last Edit: February 12, 2023, 09:26:44 am by Meridian »

Offline Yankes

  • Commander
  • *****
  • Posts: 3163
    • View Profile
Re: (OXCE) Questions about zombieUnit:
« Reply #1 on: May 02, 2020, 02:44:30 pm »
Zombie spawning is exposed to scripts, you can affect chance of it happening and recently you can alter what exactly unit will spawn.

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: (OXCE) Questions about zombieUnit:
« Reply #2 on: May 04, 2020, 03:36:11 pm »
I'll continue to read up on scripting to pursue that method.

Thank you for the help.