I've struggled to get a custom Death Weapon to work, maybe someone can help me.
Behavior = FireWeaponWhenDeadBehavior ModuleTag_11 StartsActive = Yes DelayTime = 1000 DeathWeapon = ShockwaveFinal WeaponOffset = X:0 Y:0 Z:1 End
Weapon ShockwaveFinal IdleAfterFiringDelay = 0 AttackRange = LOT3A_GANDALF_WORD_OF_POWER_RANGE MinimumAttackRange = 0.8 WeaponSpeed = 401 ; dist/sec MinWeaponSpeed = 241 MaxWeaponSpeed = 601 ; dist/sec Upper limit on scaling, when attacking past nominal "max" range ScaleWeaponSpeed = Yes ; Used for lob weapons, scales speed proportional to range RadiusDamageAffects = ENEMIES NOT_SIMILAR DelayBetweenShots = 5000 ; time between shots, msec PreAttackDelay = 2600 PreAttackType = PER_ATTACK ; Do the delay each time we attack a new target FireFX = FX_IsildurBlast FiringDuration = 1400 DamageNugget ; A basic Nugget that just does damage Damage = 5000 Radius = 1000.0 DelayTime = 0 DamageType = FORCE DeathType = NORMAL End MetaImpactNugget ; A Nugget that throws things back with force HeroResist = .75 ShockWaveAmount = 70.0 ShockWaveRadius = 500.0 ShockWaveTaperOff = 1.0 ShockWaveZMult = 1.000 ShockWaveSpeed = 700.0 End End
Nothing is happening after my unit dies, no damage dealt and not FX played. Why is my weapon not called when my unit dies? Does anyone have an idea?