It turns out that the reason the pirate dont work is that FLY_TO_LURK_AREA isnt working properly, and the AI just gets FRUSTRATED but never makes any progress.
this change works, i nso far as it makes pirates behave more sensibly when they are unable to reach the target lurk area, however, there is something funny going on with
And it seems setDestinationToCurrentLocation is failing, because when the pirate is launched it almost immediately reches approx 2000 distance, and so neeeds to fly closer to the pirate cove, but cannot do so.
Considering that the scanner range is a sphere of about 25km radius, moving 1.5km away doesn't sound too much like lurking to me... It's more likely to be a typo: moving 15km (approx. 2/3 of scanner range) would probably make a lot more sense!
With that in mind, I'd change the line in question to:
Considering that the scanner range is a sphere of about 25km radius, moving 1.5km away doesn't sound too much like lurking to me... It's more likely to be a typo: moving 15km (approx. 2/3 of scanner range) would probably make a lot more sense!
No is must be 1500. It is just to spread the lurkung pirates a bit. The player still has to see them as a group when he finds them on scanner. Pirates use all kind of group messages that makes them act as a group.
---
Maybe the TRAVEL_TO_LURK_AREA state could use a line like:
I uploaded my test version to the box: Pirate Cove 1.73wip version It makes use of a new feature in 1.73. On 1.72 it will behave like the old one, with 1.73 the launching pirates will switch to a new custom pirateAI. I added the above launch detection. This one should behave well on 1.73. I just can't test the new stuff myself and do a public upload when 1.73 is released and it really does what I planned.