HELP! Squad Abilities

I made one but now it minidumps

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?

2,648 views 2 replies
Reply #1 Top

My initial guess is that you are appling it WITH TRAVEL.

 

Keep in mind that squad abilities work differntly than with normal abilities.

In a normal ability, the buff is on ONE SPECIFIC entity.

 

A squad ability is NOT on ONE SPECIFIC entity. It is "spread" over seven (or whatever number of fighters) entities. The fighters do NOT have the ability, the SQUAD does.

 

So when you have something like Travel coming from a squad, where the heck does it start? Since a "Squad" isn't a "REAL" Definite entity.

 

AKA: try taking out the Travel.

Reply #2 Top

hmm, I'll try that. Though, the squad in question is made up of a single 'fighter' that can actually shoot behind itself.

Also, I think you would find this ability amusing- I used the Guardian's Shield Projection effects to create a 'Gamma-Ray Field'. There are two versions- a frigate version that targets SC, and a Capital version that kills SC AND FRIGATES!

I have made some funny abilities. Right now I am correcting an 'invasion' ability. I'll likely use the effects of the Marza's Raze Planet, but instead of the Raze Planet shells, the TEC's Colony Pods.