Okay, so I've made a neat, AoE boarding ability. It is designed to only target enemy capitals (don't worry, the ability has a VERY small range, you'll only be able to target one at a time).
The problem is, I start the game, and try to enable my mod, and it just minidumps. I've even tried removing the ability referencing in the Squad file, to load it dynamically once I've started a game.
And yes, I've got the manifest all set up. Here is the code for my ability-
The Ability itself-
TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToTargetsInRadiusWithTravel"
instantActionTriggerType "AlwaysPerform"
buffType "BuffAssaultCapitalBegin"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 1
object "CapitalShip"
numSpaces 1
space "Normal"
numConstraints 0
range
Level:0 100.000000
Level:1 100.000000
Level:2 100.000000
maxTargetCount
Level:0 -1.000000
Level:1 -1.000000
Level:2 -1.000000
effectInfo
effectAttachInfo
attachType "Center"
smallEffectName ""
largeEffectName ""
soundID ""
travelSpeed 100.000000
effectStaggerDelay 0.000000
hasWeaponEffects FALSE
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 1
levelSourceType "FixedLevel0"
aiUseTime "Anytime"
aiUseTargetCondition "Any"
isAutoCastAvailable TRUE
isAutoCastOnByDefault TRUE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "None"
cooldownTime
Level:0 10.000000
Level:1 10.000000
Level:2 10.000000
orderAcknowledgementType "ONGENERALORDERISSUED"
researchPrerequisites
NumResearchPrerequisites 0
nameStringID "IDS_ABILITY_ASSAULTCAPITAL_NAME"
descStringID "IDS_ABILITY_ASSAULTCAPITAL_DESCRIPTION"
hudIcon "HUDICON_ABILITY_FLAKBURST"
smallHudIcon "HUDICON_ABILITY_FLAKBURST"
infoCardIcon ""
The first buff that it calls-
TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeNewBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "NotExclusive"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 2
instantAction
buffInstantActionType "DoDamage"
instantActionTriggerType "OnDelay"
delayTime 0.000000
damage
Level:0 200.000000
Level:1 0.000000
Level:2 0.000000
damageAffectType "AFFECTS_ONLY_HULL"
damageType "PHYSICAL"
isDamageShared TRUE
instantAction
buffInstantActionType "ApplyBuffToTargetsInRadius"
instantActionTriggerType "OnDelay"
delayTime 0.000000
buffType "BuffAssaultCapitalEnd"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 1
object "CapitalShip"
numSpaces 1
space "Normal"
numConstraints 0
range
Level:0 100.000000
Level:1 100.000000
Level:2 100.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"
And the 2nd buff that it calls-
TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeNewBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "NotExclusive"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 0
numPeriodicActions 0
numOverTimeActions 1
overTimeAction
buffOverTimeActionType "DoDamage"
damageRate
Level:0 50.000000
Level:1 0.000000
Level:2 0.000000
damageAffectType "AFFECTS_ONLY_HULL"
damageType "PHYSICAL"
isDamageShared TRUE
numEntityModifiers 0
numEntityBoolModifiers 2
entityBoolModifier "DisableAbilities"
entityBoolModifier "DisableRegeneration"
numFinishConditions 1
finishCondition
finishConditionType "TimeElapsed"
time
Level:0 20.000000
Level:1 0.000000
Level:2 0.000000
Could anyone please help me with this?