Author Topic: [SOLVED]Cyberdiscs explode on death hardcoded?  (Read 3053 times)

Offline Hobbes

  • Commander
  • *****
  • Posts: 2102
  • Infiltration subroutine in progress
    • View Profile
[SOLVED]Cyberdiscs explode on death hardcoded?
« 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
« Last Edit: February 05, 2015, 05:05:26 pm by Hobbes »

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: [SOLVED]Cyberdiscs explode on death hardcoded?
« Reply #1 on: February 06, 2015, 02:01:15 pm »
Nice info. Wikified.