Page MenuHomeFeedback Tracker

AI is stuck with a pistol after changing the primary weapon, supplying rifle ammo won't help
Closed, ResolvedPublic

Description

When AI is told to change its primary weapon, be it from a corpse or a box, it takes only the rifle and equips the pistol, since it doesn't have ammunition for the rifle. So far OK.

The problem starts after telling the AI to pick up magazines for the new rifle (or giving the mags to AI). AI fails to acknowledge, that he has the rifle ammo now and is stuck with pistol forever.

The only way to have the AI to use the rifle, is to temporarily switch to him and manually change to the primary weapon. Not fun to do, waste of time, immersion breaker and on missions, where AI squadmembers are not playable, you're simply screwed.

Desired outcome is to have the AI to detect, that he has rifle magazines in its inventory and to switch to primary weapon accordingly.

Details

Legacy ID
2344565390
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
AI Issues
Steps To Reproduce

Editor:

  1. Place a BLUFOR rifleman and make him player's character.
  2. Place a BLUFOR rifleman, as your subordinate. Make him a playable character.
  3. Place a Blue weapons box in close proximity (EMPTY/Ammo/[BLUE]Basic Weapons.
  4. Place an OPFOR rifleman close in front of you.

Ingame:

  1. Quickly shot the OPFOR rifleman.
  2. Select the rifleman (key F2) and tell him to "Take Katiba", from the action menu (under key 6).

--The rifleman does as ordered and switches to pistol.

  1. Tell the rifleman to "Rearm at rifleman", using the action menu.

--The rifleman acknowledges the order and takes the ammo.

Regardless of having the rifle ammo, the rifleman still uses the pistol. There is no command in the action menu to "use rifle/primary weapon" either.

  1. Select the rifleman and switch to him. Open his inventory and see, that the Katiba ammo is there.
  2. Switch back to the leader.
  3. Point at the weapons box, select the rifleman and select "Inventory" from the action menu (sometimes it may be necessary to have him moved close to the box first). Watch the rifleman.

--The rifleman goes to the box and assumes "searching" posture.

  1. Give him TRG rifle, with either right click or drag and drop method. Observe, that the rifle out of the box, doesn't have a magazine inserted.

--The rifleman says "out of ammo".

  1. Using the same method, give the rifleman a TRG mag.

The rifleman reloads the TRG, and then happily switches back to the pistol.

Telling the rifleman to rearm at the box doesn't help either - he is stuck with the pistol, despite having a TRG with many magazines.

Event Timeline

armapirx edited Additional Information. (Show Details)
armapirx set Category to AI Issues.
armapirx set Reproducibility to Always.
armapirx set Severity to None.
armapirx set Resolution to No Bug.
armapirx set Legacy ID to 2344565390.May 7 2016, 1:54 PM

We are very sorry, this issue was closed as no-bug.

For future reporting please refer to "how to guide" http://feedback.arma3.com/how-to-user.html.html