View Single Post
Old 03-24-10, 11:31 PM   #24
Trublion
Watch
 
Join Date: Mar 2010
Location: TAIWAN
Posts: 26
Downloads: 119
Uploads: 0
Default

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.
Trublion is offline   Reply With Quote