Posted: Fri Jun 16, 2023 11:41 am Post subject:
Slave Miner & BuildingExplosion Not Working
In Zero Hour, I was able to add a death weapon to certain buildings to cause damage to troops that were near it when destroyed.
I added this to nuclear plants and conyards.
The nuclear plant death weapon works, but nothing happens when the conyard is destroyed.
I have a second slave miner that when it's destroyed, it has a blast radius that supposed to kill those around it, but the blast does nothing.
This is the conyard's death weapon
DeathWeapon=BuildingExplosion
[StrutureBlastWH]
;Verses=200%,200%,100%,90%,70%,50%,200%,200%,200%,100%,100%
Verses=200%,200%,50%,10%,10%,10%,10%,10%,10%,10%,10%
Sparky=no
Fire=yes
InfDeath=4
Rocker=yes
CellSpread=8
PercentAtMax=.5
CausesDelayKill=yes ;Hooks up with EligibleForDelayKill to do timer death instead of instant death
DelayKillFrames=5 ; Frame delay if hits Eligible building directly
DelayKillAtMax=7.0 ; multiply this by above to get delay at CellSpread. This is an upward sloping line, not like damage's fade
Wood=yes
Wall=yes
This is the miner's death weapon
DeathWeapon=HeavyOreExplosion
[HeavyOreFireExplosionWH]
Verses=200%,150%,100%,50%,50%,50%,50%,50%,50%,50%,50%
;Verses=150%,100%,100%,90%,70%,50%,200%,200%,200%,100%,100%
Sparky=no
Fire=yes
InfDeath=4
CellSpread=11
Rocker=yes
PercentAtMax=.5
CausesDelayKill=yes ;Hooks up with EligibleForDelayKill to do timer death instead of instant death
DelayKillFrames=5 ; Frame delay if hits Eligible building directly
DelayKillAtMax=7.0 ;multiply this by above to get delay at CellSpread
Wood=yes
Wall=yes QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum