Jump to content

Recommended Posts

Posted

I was thinking to create a mission of Tatsinskaya airfield being run over by the T-34's but there seems to be no way of making AI-controlled tanks attack the taxiing aircraft.. 

Low priority wayponits, Command: Attack area (with either "attack air targets" or "attack ground targets" ticked) - not working. 

Maybe there is some other way? 

Any help appreciated!  

JG4_Deciman
Posted

are your ai planes set as 'engageble'?
If not they are completely ignored by and ai...

 

Deci

Posted (edited)
6 hours ago, Vendigo said:

I was thinking to create a mission of Tatsinskaya airfield being run over by the T-34's but there seems to be no way of making AI-controlled tanks attack the taxiing aircraft.. 

Low priority wayponits, Command: Attack area (with either "attack air targets" or "attack ground targets" ticked) - not working. 

Maybe there is some other way? 

Any help appreciated!  

 

3 hours ago, JG4_Deciman said:

are your ai planes set as 'engageble'?
If not they are completely ignored by and ai...

 

Deci

I suppose a small mod of the the bot and the mainturret (or the machinegunturret) has to be created to attack planes too:

turret:

image.png.78d4947bfeeee19d32f1396613b8ff95.png

image.thumb.png.288963ffbfe91a60699afedf75a710a0.png

has this bot (used for all ai maingunturrets I suppose):

image.png.e70e4baffa0ace365d29d4e55d801b4f.png

this bot refers to this further bot:image.png.61ff744e0d4427a22d49c5595816b0d1.png

image.png.35ca79df7643ea88cad98133c5fbdd3c.png

And here some thing to be changed:

image.thumb.png.6c5408f3969cb6e96de5054c78fb3c23.png

 

Example of an AAA bot

image.png.2309b77bef5a7e0b3309493d2d7872b2.png

 

 

 

Edited by kraut1
Posted (edited)
3 hours ago, JG4_Deciman said:

are your ai planes set as 'engageble'?
If not they are completely ignored by and ai...

 

Deci

 

Yes, the AI planes are engageable and actually the armored vehicles BA-64 do attack the taxiing planes; I think that's because BA-64's are armed with a machine gun, not a cannon while the T-34's are ignoring the planes (not firing with cannons, machine guns)... 

 

@kraut1 thank you for the advice; can you tell me whether this mod will affect the behavior of all AI-controlled tanks in all missions? 

Or it can be applied to only select missions in a single player campaign? 

Edited by Vendigo
Posted
13 minutes ago, Vendigo said:

 

Yes, the AI planes are engageable and actually the armored vehicles BA-64 do attack the taxiing planes; I think that's because BA-64's are armed with a machine gun, not a cannon while the T-34's are ignoring the planes (not firing with cannons, machine guns)... 

 

@kraut1 thank you for the advice; can you tell me whether this mod will affect the behavior of all AI-controlled tanks in all missions? 

Or it can be applied to only select missions in a single player campaign? 

I suppose that all main battle tanks are using by default the same bots and this means the behaviour of all tanks is influenced as long the mod is installed.

But maybe because the aa range is defined for the individual turrets too you can deativate AAA for other tanks too

There are in general different possibilities:

-simple mod that changes the behaviour of all tanks and you advice the players to install it only for few defined missions.

-installation with JSGME will be very quick

-you try to optimize the bots in a way that additional aa has lower priority and a low range. Maybe this mod could be installed permanently (by the way: the russian destroyer 7 uses the tankgun bot too, but no problem the if dest.7 tries to engage plane too)

as you see there are different possibilities...

 

By the way I can remember in ca.2002 very early in my IL-2 career I lost one career BF109-E7 pilot during an anti tank low level attack: A russian gunner head aimed very well with his main gun...

 

Posted

@kraut1 I appreciate your detailed explanation! 

My objective is to create a single player campaign and post it for everyone to use, so I don't think that permanently changing the behavior of AI tanks for the sake of one mission is a good thing to do.. 

I am thinking, maybe it could by possible in the same way as customized terrain in certain missions is possible... for example, move the modified  "properties file" into the Campaign's folder and link the respective ***.mission file to the modified "properties file" within the Campaign's folder, then it's workable only for this respective mission...

 

Or else, I would have to play with Command: Attack area MCU's ("attack ground"), placing them where the AI aircraft are taxiing, then the T-34 bots will be firing in the correct direction at least... 

  

 

Posted
1 hour ago, Vendigo said:

 

Yes, the AI planes are engageable and actually the armored vehicles BA-64 do attack the taxiing planes; I think that's because BA-64's are armed with a machine gun, not a cannon while the T-34's are ignoring the planes (not firing with cannons, machine guns)... 

 

@kraut1 thank you for the advice; can you tell me whether this mod will affect the behavior of all AI-controlled tanks in all missions? 

Or it can be applied to only select missions in a single player campaign? 

 

23 minutes ago, Vendigo said:

@kraut1 I appreciate your detailed explanation! 

My objective is to create a single player campaign and post it for everyone to use, so I don't think that permanently changing the behavior of AI tanks for the sake of one mission is a good thing to do.. 

I am thinking, maybe it could by possible in the same way as customized terrain in certain missions is possible... for example, move the modified  "properties file" into the Campaign's folder and link the respective ***.mission file to the modified "properties file" within the Campaign's folder, then it's workable only for this respective mission...

 

Or else, I would have to play with Command: Attack area MCU's ("attack ground"), placing them where the AI aircraft are taxiing, then the T-34 bots will be firing in the correct direction at least... 

  

 

Here an example.

Higher priority for ground targets seems to work.

Attached an example, you can check and optimize.

The bot is for all tanks, and the required individual turrets to be changed too.

 

An for the turret I have increased the range for airtargets too

image.png.626fe21309aa812d3611e0cc030b903f.png

image.png.46584c55dbddc9d29f91232ebee6beea.png

Tank_with_limited_AAA_capabilities.zip

AAA-AI-Tank1.Mission.zip

 

Posted (edited)

@kraut1 thank you very much, if I ever finish this campaign, you deserve a credit! 

Btw I am using the bots of simple T-34's because the mission takes place in 1942. 

Edited by Vendigo
  • Like 1
AEthelraedUnraed
Posted
On 1/23/2025 at 3:47 PM, Vendigo said:

Or else, I would have to play with Command: Attack area MCU's ("attack ground"), placing them where the AI aircraft are taxiing, then the T-34 bots will be firing in the correct direction at least...

If you don't want to use mods, I think this is the way to go. Using CheckZone MCUs you could detect when a taxiing aircraft enters a certain position, then activate a nearby attack ground MCU that's placed in such a way as to have shells exploding close by the aircraft. If you have multiple tanks each target different predefined areas of the taxiway, I think the result should look realistic.

 

On 1/23/2025 at 3:47 PM, Vendigo said:

I am thinking, maybe it could by possible in the same way as customized terrain in certain missions is possible... for example, move the modified  "properties file" into the Campaign's folder and link the respective ***.mission file to the modified "properties file" within the Campaign's folder, then it's workable only for this respective mission...

I think it should be possible to create essentially a "duplicate" of the tank, only using modified turret files. It's a bit of a hassle to get working, but if you do, then it should be possible to distribute it along with the campaign. As you only need to mod text files, download size shouldn't be an issue.

 

If you want to go this route, I suggest to start top-down by copying the main script file (e.g. LuaScripts\WorldObjects\vehicles\t34-76stz.txt) and see if that works; then progressively change the things you need to change.

 

On 1/23/2025 at 4:23 PM, Vendigo said:

Btw I am using the bots of simple T-34's because the mission takes place in 1942. 

If I'm not mistaken, the turret of the 1943 T-34 from Prokhorovka was made from summer 1942 onwards and the in-game 1943 model is otherwise also very close... so I think it's plausible that in mid-December 1942 at least some of the participating tanks featured the new turrets. It's hard to see, but I think the tank in this picture has the new turret.

spacer.png

 

For the older turrets, remember that there's also the free playable 1942 T-34 STZ (_t34-76stz instead of t34-76stz in the Mission Editor). It provides a bit of a middle ground between the high-detail Prokhorovka tanks and the AI tanks. This one is definitely period-correct and at the very least it has better AI and more visual detail than the AI-only tanks.

  • Thanks 1
Posted (edited)
4 hours ago, AEthelraedUnraed said:

For the older turrets, remember that there's also the free playable 1942 T-34 STZ (_t34-76stz instead of t34-76stz in the Mission Editor). It provides a bit of a middle ground between the high-detail Prokhorovka tanks and the AI tanks. This one is definitely period-correct and at the very least it has better AI and more visual detail than the AI-only tanks.

 

Actually I have assembled the Tatsinskaya mission (75% finished), using "attack ground" MCU's and fake vehicles as targets, I think it looks good from the air..

At first I used the simple T-34's and now I have replaced them with the more advanced _t34-76stz bots, as per your suggestion.. I was surprised to see that the advanced bots are less accurate when attacking the AAA guns around the airfield. 

Simple bots destroy the first AAA gun with one or two shots, very quickly, while _t34-76stz seem to be aiming way too low and hit the ground multiple times (in the mid distance between the tank and the target) before they destroy the AAA...  This attack is triggered by the tanks "low priority" waypoint btw.  

 

I am not sure yet which tank models I will use finally...      

Edited by Vendigo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...