Jump to content
Sign in to follow this  
igneous01

A solution to improving AI group fighting ability

Recommended Posts

Did some more tests and enableAttack false actually breaks AI more than it helps it.

Why?

Here's an example.

I put myself into AI controlled squad with enableAttack false

So what do they do upon contact? Nothing. They stop and get wiped out really quickly if defending enemy without enableAttack false sees them.

Why? Because the enemy commander can give out orders who to attack and where.

Marine commander however can't and thus soldiers will attack only those whom they personally see - making a whole squad have as much teamwork as present on a random public server.

thats the thing with it - soldiers wont attack, the only thing it helps with is units will move into cover and stay in cover while in combat mode - but other than that they will not move (even if you stay behind a wall and they know you are there) which is obviously a problem in and of its own. Which is why we need attack orders - but only half should get the orders and these orders should be directed at groups of 2 or more men.

Share this post


Link to post
Share on other sites

Metalcraze - did you log a CIT about this yet? Do you have a reference?

I think you need some repro missions to show vanilla actions vs attempted fix actions. As was mentioned by Katipo, latest patches may have varied vanilla methods which needs to be verified.

Share this post


Link to post
Share on other sites

Ok i tested again from the editor, no other behavior mods, i put 4 US infantry groups in Novy Sobor with guard waypoints and i put 4 Russian groups up in the forest east of the town up on the hill, i gave one russian group a S&D way point into NS to kick it off.

Once engagement started the other 3 russian groups moved to the inside edge of the forest and laid down serious fire into NS which was returned accordingly... this carried on for over 5mins with no suicide runs?, or none that i could see.

Fuk yea! :yay:

Share this post


Link to post
Share on other sites
thats the thing with it - soldiers wont attack, the only thing it helps with is units will move into cover and stay in cover while in combat mode - but other than that they will not move (even if you stay behind a wall and they know you are there) which is obviously a problem in and of its own. Which is why we need attack orders - but only half should get the orders and these orders should be directed at groups of 2 or more men.

Exactly. As I've said earlier the solution in between this and vanilla will be optimal.

Still won't happen until next year... If ever.

Share this post


Link to post
Share on other sites
Did some more tests and enableAttack false actually breaks AI more than it helps it.

Why?

Here's an example.

I put myself into AI controlled squad with enableAttack false

So what do they do upon contact? Nothing. They stop and get wiped out really quickly if defending enemy without enableAttack false sees them.

Squads with attack disabled are only effective if they have a waypoint to act upon. Because then the leader will hop from cover to cover and his men will follow him intelligently.

Edit: Or if they have a good position in cover.

Edited by maturin

Share this post


Link to post
Share on other sites
Squads with attack disabled are only effective if they have a waypoint to act upon. Because then the leader will hop from cover to cover and his men will follow him intelligently.

Using bis_fnc_taskPatrol and enableattack false works really really well for me, I guess for the reason maturin stated..

Share this post


Link to post
Share on other sites

@maturin: they had a SAD waypoint.

Upon noticing the enemy they just stopped not knowing what to do (there were a lot of obstacles so they couldn't just see the enemy all the time).

While enemy soldiers were simply flanking them and picking them off one by one since the whole team always knew who to shoot and where thanks to an active leader.

Share this post


Link to post
Share on other sites
@maturin: they had a SAD waypoint.

Upon noticing the enemy they just stopped not knowing what to do (there were a lot of obstacles so they couldn't just see the enemy all the time).

While enemy soldiers were simply flanking them and picking them off one by one since the whole team always knew who to shoot and where thanks to an active leader.

That's probably because they stopped searching as soon as contact was made. Ordinarily the team leader would give engage commands at that point.

If they had an active move waypoint on top of the enemy, they would have stayed proactive.

And I guess you do sacrifice flanking.

Share this post


Link to post
Share on other sites

flanking is sacrificed, I think especially now with the new patch, its most effective for static positions or defenses in buildings or fortified areas, because they will not leave a building or fortified position to engage.

Thats where I see its use right now, they operate alot better in buildings (especially with the simple building patrol script) with enableAttack disabled, which allows them to engage from buildings, which is a lot better than them running out of buildings to fight you head on.

Share this post


Link to post
Share on other sites

Solution. Disable AI and play against real people. You won't be disappointed.

Share this post


Link to post
Share on other sites
Solution. Disable AI and play against real people. You won't be disappointed.

I'll go call my 200 friends to sit around an airbase for two hours walking in circles.

:j:

Share this post


Link to post
Share on other sites
Solution. Disable AI and play against real people. You won't be disappointed.

actually theres a 50% chance you will be.

Share this post


Link to post
Share on other sites
actually theres a 50% chance you will be.

Team-killers and other troublemakers makes that 99%.

Share this post


Link to post
Share on other sites

@maturin

You have 200 friends you play arma with and all you do is shoot AI togerther? What a fucking boob! 200 players and you don't split teams and fight each other. Do you all just play AI? Seriously????????

Share this post


Link to post
Share on other sites
@maturin

You have 200 friends you play arma with and all you do is shoot AI togerther? What a fucking boob! 200 players and you don't split teams and fight each other. Do you all just play AI? Seriously????????

I know this is the internet, but that was pretty clear sarcasm.

Setting up a 200 unit battle in SP or co-op takes five minutes. Unless you have the best-organized, popular and financially successful squad out there, doing that with PvP takes five months. And even then, a wide variety of scenarios and battle types are off the table because of issues with balance and boredom.

Share this post


Link to post
Share on other sites

This is probably a stupid question, sorry, but i cant seem to find the answer from google or the bis wiki.

In the editor, i have written the following in the group leaders init "(group this) enableAttack false"

But when i spawn as a squadmember he still gives attack orders to the different members of the group, can anyone tell me what am i doing wrong?

Edited by Maninblue

Share this post


Link to post
Share on other sites

Are you sure he's giving Engage orders? He may just be calling targets. Best way to test is to make him playable and switch after a few minutes.

Share this post


Link to post
Share on other sites
Are you sure he's giving Engage orders? He may just be calling targets. Best way to test is to make him playable and switch after a few minutes.

Yeah hes calling targets for individual soldiers, but only giving out engagement orders to the whole group, i guess it works then. Thanks for the reply.

Share this post


Link to post
Share on other sites
Woah .. you have 200 friends? Cans Iz bee your Fr1endz ?

That's how :rolleyes:

Share this post


Link to post
Share on other sites
100% correct. While I was building my command menu replacement, I replaced all the engage/attack commands with dotarget/commandtarget, and I saw a different kind of AI teammate. They stay with you and use cover. Often I found myself simply directing their fire with binoculars instead of engaging myself.

Please please please, release :)

I've asked before, is there any chance? Even on a beta basis?

Share this post


Link to post
Share on other sites
Please please please, release :)

I've asked before, is there any chance? Even on a beta basis?

Id love to get my hands on this aswell, sounds like fun in single player.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×