sorry for the long delay. Been a bit crazy here.
Should already be relatively simple to configure. The combat target distances and thresholds are all at the very top of aiscripts\MICT.move.attack.object.capital. Allowing boost and allowing jump are a bit further in, but could be deactivated with a simple switch from "true" to "false". Guess could move those up so that everything's in one place.Scoob wrote:I was wondering if you'd consider making aspects of MICT configurable via a file to allow fine-tuning of behaviours?
The retreat thresholds are a bit harder to find, and are in the conditions for the retreat actions themselves. Could move those up as well.
And all of these things could be moved to a separate configuration file, but I don't see much advantage in having a separate file vs having them at the top of the file. Hm, unless other configuration options are added impacting different behaviors. Could be tricky having all options for the different behaviors in one file though since the mod's modular.
Re: station assault, all of the station's modules and surface elements are just added to the turrets' target list. Which they fire on depends on which are in line of sight and are in range of each individual turret. That's done in the code though. In script, we could only control what's in the target list. So, for example, we could control whether or not that central sphere is fired on at all in addition to other things, but not when that sphere is fired upon.
By the way, what's shown as target in the ship's display (on the event monitor) is what the captain is maneouvering relative to. It does not show what the defence officer is firing at.
Re: movement to neighboring zone, thanks. Hmm. Right now, the moment a leader decides to go somewhere, he/she sends a signal to all of his/her subordinates to go there, and they go separately. What's odd is their firing their boosters immediately since it's the same turn-then-boost movement to the same location. Will take a look. Offhand, can't see why the leaders movement would be different from the subordinates'. At that point, they'll be running the exact same script with the same parameters!