View Single Post
Old 08-06-22, 04:37 PM   #95
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Ok, so I just set it like this:

strategy BombCourseStrafe(Plane)
{
precond
{
Plane:HasCannons() and Plane:CanFireCannons() and Plane:GetContactRelDistOnWater() <= 3500 and Ship:GetContactSpeed() > 5
}
action
{
Plane:Strafe(1.0);
#Ship:SetThrottle(1.0);
}
}


In game, not seeing any difference (repeating the same test, I had as before Liberator crashing into sea and other planes delivering accurate bomb drops). As for bolded value after Strafe: whatever it means, I tend to see better results with this value being lower. When I set it to 100.0, planes started to crash into each other and into sea more often.
kapuhy is offline   Reply With Quote