Originally Posted by: Annihilationzh Need more info.
What's the rest of the object code? Have you modified ObjectCreationList.ini? If so, you need to post any relevant changes.
This is original code from Particle cannon from faction.ini
Behavior = SlowDeathBehavior ModuleTag_18
; don't run this death if we are under construction...
ExemptStatus = UNDER_CONSTRUCTION
DestructionDelay = 2000
FX = INITIAL FX_ParticleUplinkDeathInitial
OCL = INITIAL OCL_SDILinkLasers
FX = FINAL FX_StructureMediumDeath
OCL = FINAL OCL_ParticleUplinkDeathFinal
End
Of course when I am put this in my laser tank it does have uplink lighting effect and explosion BUT it does spawn couple rangers out
I also checked this code from OCL.ini >> OCL = INITIAL OCL_SDILinkLasers it contains no creating any objects rather than a cool laser explosion
And this code is what they spawn the rangers >> OCL = FINAL OCL_ParticleUplinkDeathFinal
; ----------------------------------------------
ObjectCreationList OCL_ParticleUplinkDeathFinal
CreateObject
ObjectNames = AmericaInfantryRanger
IgnorePrimaryObstacle = Yes
Disposition = SEND_IT_OUT
DispositionIntensity = 4
Count = 6
RequiresLivePlayer = Yes
End
; ----------------------------------------------
I checked all the FX and none giving a code of spawning rangers.
So I removed it and changed to
Behavior = SlowDeathBehavior ModuleTag_18
; don't run this death if we are under construction...
ExemptStatus = UNDER_CONSTRUCTION
DestructionDelay = 2000
FX = INITIAL FX_ParticleUplinkDeathInitial
OCL = INITIAL OCL_SDILinkLasers
FX = FINAL FX_StructureMediumDeath
Weapon = FINAL TankDeathWeapon
End
So at the end the tank should just simply explode without spawning rangers but in game still keep spawning rangers along with my new explosion death weapon that I am just added
I am copied this code and use on other tanks and works perfectly but only my laser crusader have a trouble even I gave them an exact same code of slow death begavior