Aircraft AI problem

This new Commander's Edition of Harpoon Classic includes land units, neutral and unknown sides, an improved radar and area ECM model and a host of other improvements. Rounding that out are over 200 scenarios and the WestPac Battleset. Try out this great new version of the classic Harpoon!
Post Reply
makobyte
Posts: 37
Joined: Tue Apr 21, 2009 5:06 am

Aircraft AI problem

Post by makobyte »

Ok, I order a attack on a ship by aircraft.
The aircraft weapons have a range of 50+ miles.
The ship has air defense of 35 miles.
The aircraft launches the weapons...
the proceeds to fly past them to the ship... [X(]

Needless to say my aircraft get shot down before their weapons hit the ship.
What I want is for my aircraft to behave with some common sense. [8|]

What should happen is:
The aircraft launches the weapons...
then loiters outside of the ship air defense range until battle damage assessment indicates that the missiles hit and the aircraft can rtb or the missiles were shot down and the aircraft can line up for a second shot.

Am I doing something wrong or is this a programming ai issue? [&:]
VictorInThePacific
Posts: 169
Joined: Thu Oct 30, 2008 1:25 am

RE: Aircraft AI problem

Post by VictorInThePacific »

What you describe is the way it works.

If your airplane has any weapons left and an attack order, it will attack until it dies.

For other examples of this, check out my "No man's land" AAR, esp. 1 h 48 min, 2 h 25 min, 10 h 40 min.

Specifically:

If your attack aircraft has AS missiles and either guns or AA missiles and it is ordered to attack a ground base which has planes flying patrol in the base formation, then your plane will (most likely) first launch its AS missiles and then continue its attack against the patrolling planes (part of the base).

I expect that in the situation you are describing, your aircraft still had bombs or cannon, and was continuing its attack run.

Unfortunately you will have to manually order the airplane to stop after it launches its stand-off weapons, because the computer will not reliably do this for you.

On the other hand, as long as your AS missiles are still in flight, it may be fairly safe to approach the ship at that time because the SAMs may be fully engaged against the AS missiles.

I deliberately use this principle, for example, in my thread "Air attack on US SAG" eg. post 56 "By the numbers". Other people have discussed it as well.

makobyte
Posts: 37
Joined: Tue Apr 21, 2009 5:06 am

RE: Aircraft AI problem

Post by makobyte »

Actually the result was my aircraft got shot down since they were moving much faster than the weapons they released.
Also, I purposely withheld some standoff weaponry so that I could re-engage if the ship was able to survive the weapons I sent.
I was rather unhappy about that fact that after release my aircraft just flew into the air defense range and died taking the precious weapons with them.
Another question that needs to be checked (I have not checked it yet) and that is SARH ASM's; a SARH or guided ASM needs to be guided by the aircraft into the target. Usually (not always) this is done by flying behind the weapon and illuminating the target with CWI. This suicidal action performed by pilots flying past their guided weapons will create a situation where the aircraft will cease illuminating the target prior to the weapon impact which in most cases would cause the weapon to enter a dumb state and destruct. Some SARH weapons also have a backup of either a Infrared seeker or inertial guidance to the last known target location.
VictorInThePacific
Posts: 169
Joined: Thu Oct 30, 2008 1:25 am

RE: Aircraft AI problem

Post by VictorInThePacific »

ORIGINAL: makobyte

Actually the result was my aircraft got shot down since they were moving much faster than the weapons they released.

For example, a high-performance F/A plane using subsonic weapons.
Also, I purposely withheld some standoff weaponry so that I could re-engage if the ship was able to survive the weapons I sent.
I was rather unhappy about that fact that after release my aircraft just flew into the air defense range and died taking the precious weapons with them.

Well, I didn't design the game, but there could be a number of different attack runs you might want to implement. For example, launch a whole swack of ASMs, and while the SAMs from the ships in the outer ring are busy with those, you zoom in and whale on the high-value targets. How should the computer know what attack plan you are using? So it assumes, if at the first possible attack point, you have reserved some weapons, you want to close until you see the whites of their eyes before shooting. Works ... sometimes.

Personally, I prefer to control my units manually in the vicinity of the enemy. (more shameless self-promotion) : See, for example, my AAR "Thanh Hoa Bridge", post 1, "difficulties" 1.

2 more things occur to me:

1) In certain (all ?) situations, if your unit has reached the first possible point where it can shoot, if you refuse the shot entirely, the unit will try to head back home or will stop moving. May apply only to air intercepts.

2) In certain situations, if your airplane is about to enter enemy SAM range, you will be warned. Not always; I have lost planes to ships I never even saw.
User avatar
CV32
Posts: 1046
Joined: Mon May 15, 2006 4:36 pm
Location: The Rock, Canada
Contact:

RE: Aircraft AI problem

Post by CV32 »

Simple answer. Micro management when you are in contact with the enemy.
Brad Leyte
HC3 development group member for HCE
Author of HCDB official database for HCE
Harpgamer.com Co-Owner
makobyte
Posts: 37
Joined: Tue Apr 21, 2009 5:06 am

RE: Aircraft AI problem

Post by makobyte »

This looks to be the answer... [8|]
User avatar
NefariousKoel
Posts: 1741
Joined: Tue Jul 23, 2002 3:48 am
Location: Murderous Missouri Scum

RE: Aircraft AI problem

Post by NefariousKoel »

ORIGINAL: makobyte

This looks to be the answer... [8|]

It's not as bad as you may think. Just select the group after (or preferably just before you know they're in launch range) and give them a Loiter speed order after the initial attack. Sit back & watch the fireworks during BDA.

Although, as mentioned, if you have some shorter ranged weapons that you really want to use.. it helps following behind the units you just launched since they're good air defense decoys. Use that with care, though, the SAM fire like machineguns quite often. :P
User avatar
hermanhum
Posts: 2209
Joined: Wed Sep 21, 2005 10:48 am
Contact:

Harpoon Classic scenarios

Post by hermanhum »

ORIGINAL: NefariousKoel

Although, as mentioned, if you have some shorter ranged weapons that you really want to use.. it helps following behind the units you just launched since they're good air defense decoys.
Be careful with this tactic. Sometimes, if you follow your weapons too closely, the AI detects your planes and engages them before it detects the weapons! [:D]
User avatar
CV32
Posts: 1046
Joined: Mon May 15, 2006 4:36 pm
Location: The Rock, Canada
Contact:

RE: Harpoon Classic scenarios

Post by CV32 »

As NefariousKoel intimates, I think you'll have more success (both in beating the enemy and in learning how to play HCE) by micro managing your assets once they are in contact with the enemy.

Harpoon Classic has never been about sending units off to battle and then sitting back and watching the fireworks, and I, for one, would never want to see that change.
Brad Leyte
HC3 development group member for HCE
Author of HCDB official database for HCE
Harpgamer.com Co-Owner
Post Reply

Return to “Larry Bond's Harpoon - Commander's Edition”