AI management overhaul

First of all, ramake button binds (PC only, consolers have to figure it out themselves).

  • X fast pres - context orders (no changes to how it works now)
  • X hold - precise orders
  • Ctrl fast pres - quick messages
  • Ctrl hold - general orders

Current UI is too cluttered to add anything without making it tedious to use.

  1. Precise orders - orders that require player to point at something / in a direction.

    Scroll - soldier selection - player can scroll up/down to select individual soldiers. Press to select all.

    LMB - move order - player can click or hold and drag to tell AI where it should position itself.
    Those positions should snap to envioment (like in Man of War or Company of Heroes for example).



    Draging will give control over spacing between soldiers.

    RMB - orders menu - here player can choose orders from the pie menu. Then player points with the crosshair where it should be done and confirms with LMB or cancles with RMB.
    Examples avalable of orders:

    • overwatch - player can order AI to focus on a specyfic direction. This increases AIs’ accuracy and aggro in set direction but decreases aggro in other directions.
      It automatically turns off when AI moved more than 10m. I suggest this to make it a bit less micro intensive.

      Also it causes AI to seek cover like if there was enemy presence from this direction at all times.

    • suppress - causes AI to aggro on enemies that are behind hard cover and shoot at them (no effect on aggro on enemies behind bushed etc.). So any enemy that leaves the cover is instantly shot.
      It lasts ~15s and has similar controls to overwatch.

    • throw (smoke) grenade / fire a rifle grenade - orders AI to throw a grenade / fire rifle grenade to the specyfic location.
      An opaque circle (green for smoke, red for the rest for visual distinction) shows the aproximate location where the grenade will land. If location is outside of the throwing range, a foot icon will show on the bottom of the aiming circle. This indicates that soldier will move towards enemy to throw it.


      AI can already be orderd to close the distance and throw an explosion pack at a tank so the base code is already in the game.

    • place AT/AP mines - orders AI to plant mines in the selected location.
      Controls are similar to the grenade throwing.

    • use flamethrower - orders AI to fire it’s FT at selected location for ~3s.
      Controls are similar to the grenade throwing.

    • use mortar - opens a map (like for arty) and causes AI to shoot max 3 rounds at selected locations. Basically standard for BF series point and click adventure.


      It has a 1-2min cooldown to avoid spam.

    • charge - orders AI to sprint to the position and melee atack enemies nearby.
      Controls are similar to the grenade throwing.

    • build - opens the build menu like if the player was in control on an engineer and orders AI controlled engineer to build structures.
      Controls work 1:1 like current building. The difference is that buildings are hammered by AI.
      Credit to @Devenddar.

  2. General orders - orders that don’t require any additional actions. Commands like current Formation, Follow and Firemode fit into this category.
    Examples of additional commands:

    • Targeting mode - allows to choose between:

      • good accuracy, slow aggro -good for long range engagements
      • bad accuracy, fast aggro - good for CQC
      • medium accuracy, medium aggro - ballanced stance
    • Formation - allows to choose between:

      • line
      • doubble line
      • column
      • doubble column
      • wedge

      It is overritten by the LPM position commands.

    • Movement speed - allows to choose between:

      • fast - AI always sprints
      • normal - AI walks and can fire while moving
      • slow - AI crouches or crawls

That’s all I have. If you give more ideas, I’ll include them in the main post with apropriet credits.

10 Likes

God I just want the MoW/CoH ability to put them in cover like that
I’d be happy with that

3 Likes

A sidenote about AI following formations.
Currently Ai follows the player like this:
image
So if player moves 1m, all AI moves 1m. Player turns left, the whole formation turns left.
This causes AI to statter all the time as they have to move because the player moves.

It should work more like this:

Summary

image

So each soldier has a ~1m tolerance zone to how he is position in the formation. This will cause less AI statter as player will have more freedom of movement and will give AI more flexibility to find cover.

Take note that this is based on observations so I may be wrong.


Also make current formation order work when I order my AI to stay in place. After a year you should have already done it. This can’t be that hard to do.

2 Likes

I think you can change it in control settings?

Bots should also build something (i know that they can, but it’s buggy and you can’t choose or ask bot do it when have only 1 engineer) and use shovel in somewhere.

I can to some extent. But I can’t do what I described.

Yeah, forgot about this one. I’ll add it.

Managing AI should stay as much straightforward as possible, no point in “I’d probably better use macros” level of micromanagement when the whole squad is usually going to be dead in less than a minute.

It would be enough if we just could tell bots “go/stay there” and they effing STAYED there INSIDE buildings and BEHIND cover, instead of running around like they constantly had squirrels in their pants.

2 Likes

This is straight forward. This is like 10 orders, most of witch are about throwing or placing.

AI can function in the game in 3 ways:

  • terminator
  • dumb but you can control it
  • dumb

1st and 3rd being bad for warious ways. So imo 2nd is the only option.
And if for someone it’s too complicated, don’t use it.

Call me lazy or spoiled, but 10 is way too much, especially with the current pace of the game.

A single main order input (current X) should allow to do most actions with contextual choices.

As I’ve said, current context order (fast press X) remains unchanged. So you loose nothing if you don’t like more complex commands. Meanwhile others can gain.

1 Like