Tkins Tkins

Ability Creation - Assistance required

Ability Creation - Assistance required

Capturing Neutrals and Spawning Starbases

How would you go about making a capture neutral ability that spawns a starbase. It needs to also be restricted by the starbase maximum.

 

We've tried combining the two abilities and buffs but we get an error. I'll post it here if needed, I just don't have the error on file now. I believe it was generic.

 

TXT

entityType "Buff"

onReapplyDuplicateType "PrioritizeNewBuffs"

buffStackingLimitType "ForAllPlayers"

stackingLimit 1

allowFirstSpawnerToStack FALSE

buffExclusivityForAIType "ExclusiveForAllPlayers"

isInterruptable FALSE

isChannelling FALSE

numInstantActions 2

instantAction

buffInstantActionType "ChangePlayerIndexToFirstSpawner"

instantActionTriggerType "OnDelay"

delayTime 0.000000

instantAction

buffInstantActionType "CreateStarBase"

instantActionTriggerType "OnDelay"

delayTime 0.000000

starBaseType "StarBaseColony"

placementRadius

Level:0 1000.000000

Level:1 1000.000000

Level:2 1000.000000

numPeriodicActions 0

numOverTimeActions 0

numEntityModifiers 0

numEntityBoolModifiers 0

numFinishConditions 1

finishCondition

finishConditionType "AllOnDelayInstantActionsDone"

 

 

19,073 views 29 replies
Reply #27 Top

Yup, except that wouldn't work with the AI. As far as I can tell, the AI has never constructed a starbase in a neutral gravity well.

 

They do capture neutrals though, so this allows them to spawn starbases when capturing neutrals. This will work with the mod being created that will involve heavy fighting over neutrals. I'd prefer it though if you couldn't build more starbases than the limit. This allows you to keep capturing neutral nodes and placing starbases. A bit silly :(

Reply #28 Top

Have the buff you created that spawns the starbase spawn a frigate instead.  Give the firgate one passive ability, disabling its ability to jump, and one ability it can activate, spawning a starbase.  I don't know that it will work but I think the max count is controlled by the ability activation.  Good luck.

Reply #29 Top

I've considered something like that as well. I haven't divulged all the info on this mod yet though so it's hard for you guys to know all the limits. 

 

The reason I think that wouldn't work, is that I want to make capturing a neutral dependent on spawning a starbase. This way you'd have to destroy the starbase before spawning capturing the neutral entity.

 

It's, unfortunately, a very precise restriction for the ability and I'm thinking what would happen if I spawned the frigate is that if you captured the neutral, it would spawn a frigate that wouldn't turn into a starbase. Then you could capture the neutrals without taking out the starbase and then having a frigate spawned.  Anyone please correct me if I'm wrong!

 

I'm thinking I should start a new thread with details of the mod so that everyone can get a better idea of the restrictions.