last abilty problem
I have been trying to make another ability.
This time, I want one that once it hits a ship, it does a small damage, then jumps to another ship, does damage, jump again…and so on.
I have it working, problem it, the buff doesn’t jump. I’ll fire it at one ship, it will hit the ship, do damage, re-applies to another ship, does damage, then, instead of re-applying to a different ship again, it keeps re-applying to that ship, until that ship is dead.
Even adding a constraint “not self” doesn’t help.
Here is what I have so far…
(This is modified slightly, it disables engines and weapons. But it does the same thing, and has the same problem)
TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToTargetWithTravel"
instantActionTriggerType "AlwaysPerform"
buffType "Buffdrdevicestarter"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 2
object "CapitalShip"
object "Frigate"
numConstraints 0
range
Level:0 5000.000000
Level:1 5000.000000
Level:2 5000.000000
travelSpeed 4000.000000
hasWeaponEffects TRUE
weaponEffectAttachInfo
attachType "Ability"
abilityIndex 0
weaponEffectImpactOffsetType "RandomMesh"
canWeaponEffectHitHull TRUE
canWeaponEffectHitShields TRUE
weaponEffectsDef
weaponType "Projectile"
burstCount 1
burstDelay 0.000000
muzzleEffectName "CapitalAbility_GaussBlastLaunch"
muzzleSoundMinRespawnTime 0.100000
muzzleSounds
soundCount 1
sound "WEAPON_GENERICFIRE"
hitEffectName "CapitalAbility_GaussBlastHit"
hitHullEffectSounds
soundCount 1
sound ""
hitShieldsEffectSounds
soundCount 1
sound ""
projectileTravelEffectName "CapitalAbility_GaussBlastTravel"
needsToFaceTarget TRUE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 3
levelSourceType "Intrinsic"
minExperienceLevelRequired
Level:0 0.000000
Level:1 2.000000
Level:2 4.000000
aiUseTime "OnlyInCombat"
aiUseTargetCondition "Any"
isAutoCastAvailable TRUE
isAutoCastOnByDefault TRUE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
isPassive FALSE
antiMatterCost
Level:0 75.000000
Level:1 75.000000
Level:2 75.000000
cooldownTime
Level:0 6.000000
Level:1 6.000000
Level:2 6.000000
researchPrerequisites
NumResearchPrerequisites 0
nameStringID "IDS_ABILITY_GAUSSBLAST_NAME"
descStringID "IDS_ABILITY_GAUSSBLAST_DESCRIPTION"
hudIcon "HUDICON_ABILITY_GAUSSBLAST"
smallHudIcon "HUDICON_ABILITY_GAUSSBLAST"
infoCardIcon ""
Buffdrdevicestarter:
TXT
entityType "Buff"
onReapplyDuplicateType "ReplaceWithNewBuff"
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 2
instantAction
buffInstantActionType "DoDamage"
instantActionTriggerType "OnDelay"
delayTime 0.000000
damage
Level:0 100.000000
Level:1 150.000000
Level:2 200.000000
damageAffectType "AFFECTS_SHIELDS_AND_HULL"
damageType "ENERGY"
isDamageShared TRUE
instantAction
buffInstantActionType "ApplyBuffToTargetsInRadius"
instantActionTriggerType "OnDelay"
delayTime 2.000000
buffType "Buffdrdevicedamage"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 2
object "CapitalShip"
object "Frigate"
numConstraints 1
constraint "NotSelf"
range
Level:0 7000.000000
Level:1 7000.000000
Level:2 7000.000000
maxTargetCount
Level:0 1.000000
Level:1 1.000000
Level:2 1.000000
effectInfo
effectAttachInfo
attachType "Invalid"
smallEffectName ""
largeEffectName ""
soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
finishConditionType "AllOnDelayInstantActionsDone"
buffdrdevicedamage;
TXT
entityType "Buff"
onReapplyDuplicateType "ReplaceWithNewBuff"
buffExclusivityForAIType "ExclusivePerPlayer"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 1
instantAction
buffInstantActionType "ApplyBuffToTargetsInRadius"
instantActionTriggerType "OnDelay"
delayTime 2.000000
buffType "Buffdrdevicedamage"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 2
object "CapitalShip"
object "Frigate"
numConstraints 0
range
Level:0 7000.000000
Level:1 7000.000000
Level:2 7000.000000
maxTargetCount
Level:0 1.000000
Level:1 2.000000
Level:2 3.000000
effectInfo
effectAttachInfo
attachType "Invalid"
smallEffectName ""
largeEffectName ""
soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 2
entityBoolModifier "DisableWeapons"
entityBoolModifier "DisableLinearEngines"
numFinishConditions 1
finishCondition
finishConditionType "TimeElapsed"
time
Level:0 10.000000
Level:1 20.000000
Level:2 30.000000
I have ran this through Developer.
Any ideas?