One feature of this is that several units could reference the same STR_GRENADE_NAME item which could theoretically making it easier to create groups of different units that have the same on death effect without having to define it individually on each unit's corpse.
Is it currently possible to have a unit explode as smoke, incendiary, etc instead of the normal explosion type damage?
I tried configuring specab: 1 on several enemies in the units: section and then configuring their corpse to be either smoke or fire type damage but they did not detonate on death, example:
units:
- type: STR_SECTOID_SOLDIER
race: STR_SECTOID
rank: STR_LIVE_SOLDIER
stats:
tu: 54
stamina: 90
health: 30
bravery: 80
reactions: 63
firing: 52
throwing: 58
strength: 30
psiStrength: 40
psiSkill: 0
melee: 76
armor: SECTOID_ARMOR0
standHeight: 16
kneelHeight: 12
value: 10
deathSound: 10
intelligence: 3
aggression: 2
specab: 1
items:
- type: STR_SECTOID_CORPSE
size: 0.4
costSell: 20000
weight: 30
bigSprite: 46
floorSprite: 42
invWidth: 2
invHeight: 3
recoveryPoints: 5
battleType: 11
armor: 26
blastRadius: 5
power: 50
damageType: 2
I assumed that this wasn't possible when the sectoids didn't explode, but is it instead that my code is wrong?
Edit:
For convenience I have attached a .rul file with the exploding incendiary sectoid units & corpse.