One of Arma's soldier AI's big weak points is that each soldier works on his own even when part of a squad.
I am trying to write a script that remedies that, and implements sort of intelligent squad based reaction to coming under fire while keeping things very simple.
each script would be assigned to AI squad leader. in its simplest form the script stays inactive until enemy is detected or AI comes under fire.
The first part i am trying to write would be what to do when coming under fire as AI is worst at this. Currently the simple response i want is...
squad breaks into two parts (A and B).
All hit the ground and look for nearest cover.
Group A fires at the 'know' location of enemy.
Group B starts to run for cover (ranked by protection offered and closeness), stopping every 10m to fire at enemy then run again.
When group B gets to cover they move back a bit so as to be able to see enemy and begin providing suppressing fire.
Group A now begins fire and move routine to cover. the two groups rejoin and Arma AI takes over.
Now i am reading through old scripts and using the comref to get things started, but i am finding it very difficult to build a frame work. this is because i have very little scripting experience.
if someone could advise me through this project I would appreciate it.
eventually i would like to get squad AI reacting to a bunch of different situations where the AI should work together. but getting this framework built is my first step.