Page MenuHomeFeedback Tracker

AI is not able to target GMG correctly in vehicles with more than one weapon
New, WishlistPublic

Description

Scenario 1: AI sitting in a Hunter with GMG

Scenario 2: AI sitting in a vehicle with GMG and HMG, e.g. "B_APC_Tracked_01_rcws_F"

If you order the AI in both szenarios to target and fire their weapons, the AI in scenario 1 will act as expected, hitting the target.
In scenario 2 they will shoot the HMG on target as well, but not the GMG. There seems to be no compensation for projectile drop.

{F27113} {F27114}

Details

Legacy ID
3370850997
Severity
None
Resolution
Open
Reproducibility
Always
Category
AI Aiming / Shooting
Steps To Reproduce

In Editor: Place a Panther ("B_APC_Tracked_01_rcws_F") and a GMG Hunter ("B_MRAP_01_gmg_F") controlled by the AI. Choose a target and place it > 1000m away from the vehicles (more distance -> more discrepancy).

My naming of the vehicles:
Panther -> apc
Hunter -> hunter
Target -> tgt

Scenario 1
Via debug console type:
->"hunter doWatch tgt; hunter doTarget tgt"
->wait until gunner has aligned the gun
->"hunter action ["SWITCHWEAPON",hunter, gunner hunter, 3]; hunter action ["USEWEAPON", hunter, gunner hunter, 3];"

Scenario 2
Via debug console type:
->"apc doWatch tgt; apc doTarget tgt"
->wait until gunner has aligned the gun
->"apc action ["SWITCHWEAPON",apc, gunner apc, 3]; apc action ["USEWEAPON", apc, gunner apc, 3];"

In both scenarios the vehicles will fire the GMG. Watch the difference. To check, you can alter scenario 2 to HMG fire:

Via debug console type:
->"apc doWatch tgt; apc doTarget tgt"
->wait until gunner has aligned the gun
->"apc action ["SWITCHWEAPON",apc, gunner apc, 6]; apc action ["USEWEAPON", apc, gunner apc, 6];"

Additional Information

Image attached showing both guns aligned on target.

Event Timeline

Soldia edited Steps To Reproduce. (Show Details)Sep 25 2015, 1:42 PM
Soldia edited Additional Information. (Show Details)
Soldia set Category to AI Aiming / Shooting.
Soldia set Reproducibility to Always.
Soldia set Severity to None.
Soldia set Resolution to Open.
Soldia set Legacy ID to 3370850997.May 8 2016, 12:48 PM