Fractal Softworks Forum

Starsector => Suggestions => Topic started by: Troika on February 15, 2019, 09:25:24 AM

Title: Can we get a way to load an external AI script for a ship?
Post by: Troika on February 15, 2019, 09:25:24 AM
Some player mods (most noteably Kadur and Arkgenesis) are designed around a certain playstyle that the default AI doesn't really support, and it would be good to be able to load custom AI for that kind of thing.
Title: Re: Can we get a way to load an external AI script for a ship?
Post by: Wyvern on February 15, 2019, 09:29:30 AM
Custom AI is already doable.  The problem is that good AI is really hard to make; the quality of Starsector's base AI is one of the things that's impressive about the game, and replicating that level of capability in a mod is... prohibitively difficult.
Title: Re: Can we get a way to load an external AI script for a ship?
Post by: xenoargh on February 15, 2019, 08:01:48 PM
Nah, it's just prohibitively time-consuming, lol, and I got tired of having to retread it every time the meta changed again.

Anyhow, the only public, extant, working semi-all-right generic SS AI replacer is mine.  The available version's way out of date; I have a multi-threaded build sitting on my HD awaiting for 0.9's dust to settle.

Feel free to look at it, the source ships with the mod.  I don't know what playstyle you're hoping to emulate, but, in theory, the current AI framework should be tweakable to do what you want with fairly minimal pain.