Jump to content
Official BF Editor Forums

An AI plane's choice of targets


mft004
 Share

Recommended Posts

Greetings wizards - if you're not all retired yet XD :'(

I seek help. In my sub-mod of Fh2 (wizards on their forums all retired), I have a few late entries to the tank pool including Jagdtiger. When I drive this beast out to the battle, the enemy AI in bomber planes choose to strafe the tank with machine gun fire rather than drop bombs on it. Would anyone know what setting needs to be changed, presumably in the tweak files of the tank, which will make the plane AI recognise that this is not a soft-top vehicle and thus should be bombed, not strafed?

Thanks for any help and sorry to disturb your retirement!!! A little shoutout to Clivewil for helping me with slowing plane speeds a few years back!

Mark

Link to comment
Share on other sites

19 hours ago, mft004 said:

presumably in the tweak files of the tank

i take this to mean that the bomber mentioned is behaving normally with other tanks and it's only this specific tank that is getting straffed instead of bombed.

open the tank's Objects.ai and check that its setStrType is set to HeavyArmour, like in this example from the Tunguska -

aiTemplatePlugIn.create Physical TunguskaPhysical
aiTemplatePlugIn.setStrType HeavyArmour

Edited by clivewil
Link to comment
Share on other sites

You're still alive! This is a great day.

Many thanks, that solved the problem. Yes the other regular tanks are treated to bombs and rockets rather than straffing. Jagdtiger wasn't included in a vanilla Fh2 release, it was part of a community modpack for Fh1 vets mostly but didn't have any ai support so I had to copy previous examples - I chose a Marder III which is also a non-turreted tank destroyer but that vehicle ai template had the LightArmour StrType as you suspected.

Many thanks again sir

Edited by mft004
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...