fixed the battleship and carrier issues. But I've noticed one big problem - carrier doesn't have any hydrophone or sonar?? Haven't checked the battleship.
I had to rewrite a good portion of the ship AI to account for the carriers and battleships. Still have to rewrite more after I figure out what to do with them when they are part of a convoy that has escorts. Do I send them out with the escorts or do I have them stay with the convoy? If they are part of an HK group they go with the HK group (but the hydrophone bug mentioned above could prevent them from following the group).
Also changed the way escorts were divied out (for convoys - doesn't apply to HK groups). Before it was x amount get assigned to the contact and the rest were assigned nothing (so they were free to act on their own accord). Noticed that this was problematic as they would peel off from the convoy and attack the contact. Now the remaining escorts are assigned the role of guard convoy to keep them with the convoy.
|