Cant get planet to ship damage to work

I've been trying to create a blackhole that will damage ships over time in its gravwell... Here are copy of my entity files.. Anyone have any Suggestions on why its not working?

 

-Aaron

TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToTargetsAtOrbitBody"
instantActionTriggerType "AlwaysPerform"
buffType "BuffBlackholeDamage"
targetFilter
 numOwnerships 0
 numObjects 2
 object "CapitalShip"
 object "Frigate"
 numConstraints 0 
maxTargetCount
 Level:0 -1.000000
 Level:1 -1.000000
 Level:2 -1.000000
effectInfo
 effectAttachInfo
  attachType "Invalid"
 smallEffectName ""
 largeEffectName ""
 soundID ""
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 1
levelSourceType "FixedLevel0"
aiUseTime "Invalid"
aiUseTargetCondition "Invalid"
isAutoCastAvailable FALSE
isAutoCastOnByDefault FALSE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget FALSE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "Passive"
researchPrerequisites
 NumResearchPrerequisites 0
nameStringID ""
descStringID ""
hudIcon ""
smallHudIcon ""
infoCardIcon ""

TXT
entityType "Buff"
onReapplyDuplicateType "KeepOldBuff"
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 0
numPeriodicActions 0
numOverTimeActions 1
overTimeAction
 buffOverTimeActionType "DoDamage"
 damageRate
  Level:0 20.00000
  Level:1 0.000000
  Level:2 0.000000
 damageAffectType "AFFECTS_SHIELDS_AND_HULL"
 damageType "ENERGY"
 isDamageShared TRUE
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
 finishConditionType "EnterHyperspace"

Note left string data out for testing.

3,824 views 3 replies
Reply #1 Top

dont know much about modding myself but if you check out the distant stars mod or Celestial Stars mod (cs is only planet based, ds is much more modified) I know they both have working black holes.

It is a lot of fun to watch the ships explode like popcorn

MUHAHAHAHAHA!

Reply #2 Top

That works.. Found the problem! Thanks Ryat!

 

Reply #3 Top

:)  Glad you got it working!!  I used to play 7 Deadly Sins alot, and the blackholes there were devastating.  :)  Adds an interesting new element to the game doesn't it?  :)

Take care,

-Teal