Been playing around with mining and the AI.
Was having some interesting results by giving the AI a mining scoop and no weapon, and it would endlessly circle around asteroids, which is kind of neat.
However, I then started trying different weapon parameters to see what kind of interesting effects I could get. And I can't get the AI to fire any weapons at the asteroids. It just circles them.
I tried checking the following flags and parameters.
That the weapon was in range, and the ship has the correct weapon. The weapon works fine for the player.
Weapon parameters:
'Asteroid Weap' = yes
'Passes over asteroids' = no
'2nd trigger' = tried both
'AI won't use' = no
Tried unguided and beams
Damage = tried various
ProxSaftey = 0
Decay = 0
Corona Falloff = 0
Prox and blast = tried various
AI flags:
'Destroy Asteroids'
Scoop Bits'
'Trader behavior'
The weapon does not fire, let alone something else funky causing it not to hit.
It should also be noted that the AI has no problems firing the same weapon when told to attack me.
In a different plug, the AI mins asteroids just fine, and I'm not sure what the difference is.