Good Job on the scripts. A few "programming comments" if I may:
In ship-navigation.aix, if I read the code correctly for
ShipHeavyFollowSlowBlind
ShipHeavyFollowCloseDistance
ShipHeavyFollowAcquired
the line
# Ship:GetContactDepth() <= -7.0 and
(Ship:ContactIs(SUBMARINE) or Ship:ContactIs(UNITUNKNOWN) or Ship:GetContactDepth() <= -5.0)....
means that ships will try to reacquire targets no matter if I am submerged or visible. As long as contact is SUBMARINE or UNITUNKNOWN, the depth does not matter. It used to matter, but was commented out.
May I ask the reason, not for sake of argument but more as an enlightenment.
|