Disable Weapons Ability Help

Hit a brick wall trying to make this ability work

I'm a little new to modding but i understand the "basics" and such, but have recently hit a brick wall trying to make this ability work how i want it to.

I basically want to make a ability that will have a chance of disabling a ships weapons (If anyone is familiar to the eve online ECM module). Right now it seems that its skipping the whole 'periodicAction' section for some reason.

This is the code i have thus far.

 TXT

entityType "Ability"

buffInstantActionType "ApplyBuffToTarget"

instantActionTriggerType "AlwaysPerform"

buffType "BuffECMPreCast"

targetFilter

numOwnerships 1

ownership "Enemy"

numObjects 2

object "Corvette"

object "Frigate"

numSpaces 1

space "Normal"

numConstraints 1

constraint "HasWeapons"

range

Level:0 50000.000000

Level:1 50000.000000

Level:2 50000.000000

Level:3 50000.000000

effectInfo

effectAttachInfo

attachType "Invalid"

smallEffectName ""

mediumEffectName ""

largeEffectName ""

soundID ""

needsToFaceTarget FALSE

canCollideWithTarget TRUE

moveThruTarget FALSE

isUltimateAbility FALSE

maxNumLevels 4

levelSourceType "Intrinsic"

minExperienceLevelRequired

Level:0 0.000000

Level:1 2.000000

Level:2 4.000000

Level:3 6.000000

aiUseTime "Anytime"

aiUseTargetCondition "Any"

isAutoCastAvailable TRUE

isAutoCastOnByDefault TRUE

pickRandomPlanetToExploreForAutoCastTarget FALSE

ignoreNonCombatShipsForAutoCastTarget TRUE

onlyAutoCastWhenDamageTakenExceedsPerc 0.000000

useCostType "AntiMatter"

antiMatterCost

Level:0 80.000000

Level:1 80.000000

Level:2 80.000000

Level:3 80.000000

cooldownTime

Level:0 10.000000

Level:1 10.000000

Level:2 10.000000

Level:3 10.000000

orderAcknowledgementType "ONATTACKORDERISSUED"

researchPrerequisites

NumResearchPrerequisites 0

RequiredFactionNameID ""

RequiredCompletedResearchSubjects 0

nameStringID "IDS_ABILITY_ECMBATTERY_NAME"

descStringID "IDS_ABILITY_ECMBATTERY_DESCRIPTION"

hudIcon "HUDICON_RESEARCHSUBJECT_TRADESHIPCAPACITY1"

smallHudIcon "HUDICON_RESEARCHSUBJECT_TRADESHIPCAPACITY1"

infoCardIcon ""


 

TXT

entityType "Buff"

onReapplyDuplicateType "PrioritizeNewBuffs"

buffStackingLimitType "ForAllPlayers"

stackingLimit 1

allowFirstSpawnerToStack FALSE

buffExclusivityForAIType "ExclusiveForAllPlayers"

isInterruptable FALSE

isChannelling FALSE

numInstantActions 0

numPeriodicActions 1

periodicAction

actionCountType "Infinite"

actionIntervalTime

Level:0 2.000000

Level:1 2.000000

Level:2 2.000000

Level:3 2.000000

    buffInstantActionType "ApplyBuffToTargetWithTravel"

    instantActionTriggerType "OnChance"

buffApplyChance

Level:0 0.500000

Level:1 0.500000

Level:2 0.500000

Level:3 0.500000

buffType "BuffECMPostCast"

targetFilter

numOwnerships 1

ownership "Enemy"

numObjects 2

object "Frigate"

object "Corvette"

numSpaces 1

space "Normal"

numConstraints 1

constraint "HasWeapons"

range

Level:0 50000.000000

Level:1 55000.000000

Level:2 60000.000000

Level:3 65000.000000

travelSpeed 50000.000000

hasWeaponEffects TRUE

weaponEffectOriginType "Targetter"

weaponEffectAttachInfo

attachType "Ability"

abilityIndex 0

weaponEffectImpactOffsetType "Center"

canWeaponEffectHitHull FALSE

canWeaponEffectHitShields FALSE

weaponEffectsDef

weaponType "Projectile"

burstCount 60

burstDelay 0.500000

fireDelay 0.000000

muzzleEffectName ""

muzzleSoundMinRespawnTime 0.100000

muzzleSounds

soundCount 1

sound ""

hitEffectName ""

hitHullEffectSounds

soundCount 1

sound ""

hitShieldsEffectSounds

soundCount 1

sound ""

projectileTravelEffectName "EVE_Buff_ECMJammer_Projectile"

numOverTimeActions 0

numEntityModifiers 0

numEntityBoolModifiers 0

numFinishConditions 2

finishCondition

finishConditionType "TimeElapsed"

time

Level:0 10.000000

Level:1 30.000000

Level:2 30.000000

Level:3 30.000000

finishCondition

finishConditionType "OwnerChanged"


 

TXT

entityType "Buff"

onReapplyDuplicateType "PrioritizeNewBuffs"

buffStackingLimitType "ForAllPlayers"

stackingLimit 1

allowFirstSpawnerToStack FALSE

buffExclusivityForAIType "ExclusiveForAllPlayers"

isInterruptable FALSE

isChannelling FALSE

numInstantActions 1

instantAction

buffInstantActionType "PlayPersistantAttachedEffect"

instantActionTriggerType "OnDelay"

delayTime 0.000000

effectInfo

effectAttachInfo

attachType "Center"

smallEffectName "EVE_Buff_ECMJammer_Small"

mediumEffectName "EVE_Buff_ECMJammer_Medium"

largeEffectName "EVE_Buff_ECMJammer_Large"

soundID ""

numPeriodicActions 0

numOverTimeActions 0

numEntityModifiers 0

numEntityBoolModifiers 1

entityBoolModifier "DisableWeapons"

numFinishConditions 2

finishCondition

finishConditionType "TimeElapsed"

time

Level:0 30.000000

Level:1 30.000000

Level:2 30.000000

Level:3 30.000000

finishCondition

finishConditionType "OwnerChanged"


 

Any help is greatly appreciated! 

7,502 views 0 replies