Novalith -- Even better

Hi all,


I am working on a mod that will (hopefully) make the Novalith Cannon an even more awesome feature of the TEC. Instead of just doing damage to the target planet, I am trying to damage every object in the planet's gravity well, be it friend or foe. Unfortunatly, I have hit a wall. Another set of eyes would be much apriciated:

 

I have underlined my changes

I brought the third instant action from the Flak Burst Buff for the Kol.

The main issue I am having is this: It doesnt work.

File: BuffCannonShellTech.entity

 

numInstantActions 3
instantAction
 buffInstantActionType "DoDamageToPlanet"
 instantActionTriggerType "OnDelay"
 delayTime 0.000000
 damage
  Level:0 3500.000000
  Level:1 0.000000
  Level:2 0.000000
 populationKilled
  Level:0 150.000000
  Level:1 0.000000
  Level:2 0.000000
instantAction
 buffInstantActionType "ApplyBuffToSelf"
 instantActionTriggerType "OnDelay"
 delayTime 0.000000
 buffType "BuffCannonShellTechPopulationLoss"
 effectInfo
  effectAttachInfo
   attachType "Invalid"
  smallEffectName ""
  largeEffectName ""
  soundID ""
instantAction
 buffInstantActionType "DoDamage"
 instantActionTriggerType "OnDelay"
 delayTime 0.000000
 damage
  Level:0 30000.000000
  Level:1 0.000000
  Level:2 0.000000
 damageAffectType "AFFECTS_SHIELDS_AND_HULL"
 damageType "PHYSICAL"
 isDamageShared TRUE

 

 

4,120 views 8 replies
Reply #1 Top

so bascily, your turning the novalith into a pre-1.2 kostura.

Reply #2 Top

Well yeah it doesn't work, you aren't targetting anything that can take damage. Or rather you are targetting the planet, which obviously isn't what you want.

The Flak burst buff assumes that the ability that called it has a range, which isn't really applicable to the novalith cannon. This is how the Kostura sets up its damage effect.

instantAction
    buffInstantActionType "ApplyBuffToTargetsInRadiusWithTravel"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    buffType "BuffCannonShellPhaseOnShips" #Separate damage buff
    targetFilter
        numOwnerships 1
        ownership "Enemy"
        numObjects 3
        object "CapitalShip"
        object "Frigate"
        object "StarBase"
        numSpaces 1
        space "Normal"
        numConstraints 0
    range
        Level:0 40000.000000
        Level:1 0.000000
        Level:2 0.000000
    maxTargetCount
        Level:0 -1.000000
        Level:1 -1.000000
        Level:2 -1.000000
    effectInfo
      ...

Reply #3 Top

Thanks for the coding help!

 

And, I never got Trinity, I got the expansions as they came out. I cant find where to download just a patch for v1.2, the only way I can find to get it is to purchas Trinity -- not gonna happen.

Reply #4 Top

Trinity is the same as Diplomacy by itself. So if you have Diplomacy 1.2 its the same as Trinity 1.2.

.

Reply #5 Top

OH. How convenient.

 

Well, thanks again for the code! My new Novalith mod (however futile) works like a charm.

Reply #6 Top

I've had this idea going for quite awhile.. its great,

 My own rendition of this basically "destroys" the planet... everything in the gravity well is generally vaporized and the resulting explosion is reminiscent of Super Nova lol   

Reply #7 Top

I wish there was a way to turn the planet into an asteroid belt or something...

Reply #8 Top

I know that would be great