That actually looks more like something wrong with squad formations than squad AI... Like the gren entity is trying to occupy a spot in the formation the other gren is already in once the squad AI/combat kicks in.
No, it's definitely the squad AI here's 1 of the 2 current squad AIs. However the amount of movement may be influenced by squad formation. Penals and Cons suffer from it less than current Rifles.
-- squadai plan file
------------------------------------------------------------------------------
-- sound options
sound =
{
soundDirectory = "Battle_Chatter",
soundPercentage = 30.0,
}
------------------------------------------------------------------------------
-- plan
plan =
{
------------------------------------------------------------------------------
-- phase0: Before First Bound
{
type = DATA_PHASE,
name = "START ENGINEER PLAN: all move",
--
{
apply_to = {ET_Core, ET_RFlank, ET_LFlank},
actions =
{
ACTION_MOVE_POSTURE_EXT( DT_MIN_ELEM_RANGE, 1.0, 1.0, 45.0, nil, PACE_FAST, PACE_FAST, POSTURE_CROUCH, POSTURE_PRONE, 1.0, false, false, false ),
}
},
},
------------------------------------------------------------------------------
-- phase1 - wait
{
type = DATA_PHASE,
name = "Return Fire (wait1 1.5secs)",
{
apply_to = ET_All,
actions =
{
ACTION_MOVE_LOS( 1.0 )
},
},
},
}
And this is the squad Ai that was used for Riflemen and in bascially identical form for other squads such as Grens before:
-- command macros
import("squadai-util")
-- squadai plan file
------------------------------------------------------------------------------
-- sound options
sound =
{
soundDirectory = "Battle_Chatter",
soundPercentage = 30.0,
}
------------------------------------------------------------------------------
-- plan
plan =
{
------------------------------------------------------------------------------
-- phase0: Before First Bound
{
type = DATA_PHASE,
name = "START PLAN: all move NO COVER NO BACKWARDS",
--
{
apply_to = ET_All,
actions =
{
ACTION_MOVE_LOS( 3.0 )
},
},
},
}
Don't A-move your squads, and you won't have this issue.
This is nonsense. A-move and the direct attack order (on a specific unit) by clicking are identical. The problem also not only occurs when you are entering the combat range.
What you basically tell me is to never order my troops to attack anyone but just move them within fighting range, however focusing certain squads/weakpoints is a fundamental part of the gameplay.