Bridge Commander Central

BC Forums => BC Scripting => Topic started by: cnotsch on September 14, 2008, 09:02:38 AM

Title: Searching AI scripter
Post by: cnotsch on September 14, 2008, 09:02:38 AM
Hi,
I'm searching an AI scripter for my new ATM mod.
An interface wich allows the AI to select the torpedoes in store.
If anyone is interested...
Title: Re: Searching AI scripter
Post by: MLeo on September 14, 2008, 09:56:15 AM
ATM?

Currently, the AI will choose the best Torpedo it has, for a specific range if I remember correctly.

Also, do you mean you can choose what torpedoes an AI ship has, or that you want a programatic interface that the AI can use to pick a torpedo from all the torpedoes (or a selection thereof) installed?
Title: Re: Searching AI scripter
Post by: cnotsch on September 14, 2008, 12:02:54 PM
I assume you know the currently released version of my ATM (Advanced Torpedo Manager - mod).
I've completely redone this mod and part of the new functions is that it also works for AI-ships.
So i wanted to add an AI-interface that gives the AI the possibility to choose frome the stored torpedoes as well.

Edit: ATM: http://bridgecommander.filefront.com/file/;90757 (http://bridgecommander.filefront.com/file/;90757)
Title: Re: Searching AI scripter
Post by: MLeo on September 14, 2008, 02:00:56 PM
I'm not.

From my experience with my More Than Four Torpedoes mod, I can tell you that you either need to override the section that picks a torpedo, or (ab)use the current system. I chose the latter. Basicly, you set your own torpedoes for the ship, and let the AI do the rest.

For other actions (I assume you also do something like allowing to teleport torpedoes?) you will have to write extra components that can be "plugged into" new AI (that can be based on the existing AI). But will be far more difficult.