OpenXcom Forum

Modding => Work In Progress => Topic started by: Hobbes on February 05, 2015, 04:50:00 pm

Title: [SOLVED]Cyberdiscs explode on death hardcoded?
Post by: Hobbes on February 05, 2015, 04:50:00 pm
I've been trying to add this property to a unit so that it explodes upon death (this is for the nightly built 2015-01-18 03:22):
Code: [Select]
    specab: 1
However so far I never got any of those units to explode upon death no matter what I try. I've also checked on the Waspite mod since the Cybermite unit also has that property but I found out that it doesn't explode as well. I've also tried the specab: 3 property (burns floor and explodes on death) but it doesn't explode as well.

Anyone knows if these properties hard coded to specific units (Cyberdisc)? Because it is working with Cyberdiscs.

EDIT: Just figured it out. The unit's corpse item needs to have these two properties added:
    power: 60
    blastRadius: 6
Title: Re: [SOLVED]Cyberdiscs explode on death hardcoded?
Post by: kkmic on February 06, 2015, 02:01:15 pm
Nice info. Wikified.