Planet drain and 'cloaking' (Nephil's mod in the works)

Hello everyone,

1) To all those experienced modders out there, I was wondering if I could twink with drain planet in the way that it would drain a percentage of the total income of a planet (of all three ressources simultaneously), instead of the default 15 ressources/sec ? If so...could you please give me the general layout of how to twink it?

2) If not, can I just create new abilities for my ships? If so how?

Second question is about 'cloaking', I've heird in other mods that you cannot turn invisible, but is their a way to make the ship in question invulnerable to all ships EXCEPT ONE (which would be the only way to destroy the ship)?

 

What I'm trying to accomplish is that the Nephil Broadcasting Union, gathers it's ressources not by traditional asteroids and planets (since they can't control any of them). But instead attach a 'satellite' to each allied or enemy planet (also need issue about leaching on an ally....) which would gather a percentage of the total income of that planet (this represents the interest of other aliens for the 'targeted planet'...

Hope I expressed myself correctly!

Justin a.k.a ShadowMastiff

 

1,812 views 5 replies
Reply #1 Top

To change the amount of resources drained, you need to take a look at the BuffResourceDrainActivated.entity file. There you can control both the damage done to the planet, amount of resources taken and the length of the effect.

Reply #2 Top

Ok thanks!

But..that's damage per second...a fixed amount! I want a percentage of planet's income...! Anyone way to change that?

Reply #3 Top

You can take a look at the TEC's Sova Carrier's Embargo ability and its buffs.

 

AbilityEmbargo.entity, BuffEmbargoSelf.entity, BuffEmbargoPlanet.entity, and BuffEmbargoShips.entity.

Reply #4 Top

Yep, SpardaSon nailed it. That buff has percentages, so you can use essentially a copy of that buff, just tie it to your ability and tweak it to suit your needs.

Reply #5 Top

Awesome!!! Thanks you so much..both of you!! Now I can get my main ship up and running :)!