Help with infected ships/Granting host dominate ability to dominated ships

Hi,

I'm working on creating a few extra hazards and tactical positions to use on maps to break up a few of the stalemates me and me mates usually get into. Fine with the modeling/texturing but trying to learn the scripting, working on a zombie-style infected ship/metal extractor that uses a modified version of the Domination ability to take over ships that get too close and eventually spreads across fleets and the galaxy. I've been applying the ability to a scout so I can control it for testing purposes, I've got it to Dominate both ships and structures on auto, with weapons range shorter than ability so it auto attacks and using the Explore to keep it drifting as I hope the final AI one will.

My main problems at the moment are that I want the infected ships to be granted the same Dominate ability as the host and to join it's fleet once turned. I thought it might have to be placed within the Buff, but I could be wrong.

If anyone could help with advice or ideas it would be much appreciated

cheers
1,519 views 5 replies
Reply #1 Top
My main problems at the moment are that I want the infected ships to be granted the same Dominate ability
End of quote

I'm not sure that's possible.
Reply #2 Top
Yes, it is not possible to dynamically assign abilities to ships. Abilities are defined at the start in the ships' entity files, and that's the only time and place you're allowed to add them.
Reply #3 Top
I'm pretty sure that a ability can 'spread', though. It's just not in the way you describe. There are fleet bonus buffs and such that work as a tree on multiple members of a fleet - I don't remember exactly which but I think it's more a matter of making the cooldown time infinite so that the status effect lasts essentially forever.
Reply #4 Top
Thanks for the help, might have a look at 'spreading' abilities. I was trying to tie the infect ability to one slot, but realised later that I could always use several slots for the original Host ship to Buff the others.

Could a consistantly active Dominate-esque fleet bonus buff within a radius be used by the newly infected ships? Any ideas on particular 'spread' abilities or bonus buffs that I should look at for ideas?

Really hope to get something working, was interesting to see the test plauge ship when it arrived at the pirate base when Exploring.
Reply #5 Top
Thanks for the help, might have a look at 'spreading' abilities. I was trying to tie the infect ability to one slot, but realised later that I could always use several slots for the original Host ship to Buff the others.Could a consistantly active Dominate-esque fleet bonus buff within a radius be used by the newly infected ships? Any ideas on particular 'spread' abilities or bonus buffs that I should look at for ideas?Really hope to get something working, was interesting to see the test plauge ship when it arrived at the pirate base when Exploring.
End of quote


really the most intuitive way to do this would be an ability that casts a buff within everything in range with an unlimited timespan, and that buff then calls the first buff within everything in range

it seems like it'd be impossible but 1. there's an ability that's strikingly similar I can't remember and 2. i don't see why it would be. recursion in action!

also yes new gameplay elements coming out of the limited tools we have available is the #1 thing this modding community needs right now and even if this isn't possible massive kudos to you for the idea.