Page MenuHomeFeedback Tracker

Multiple "fire" commands will cause an AI vehicle to change weapon direction after firing the first time
New, WishlistPublic

Description

An AI vehicle should not attempt to change weapon direction when using the "fire" command. Running multiple "fire" commands on an AI vehicle will cause the vehicle to change the weapon direction after the first shot. Regardless of initial weapon direction, if a second "fire" command is issued, the AI vehicle will point the weapon forward and at maximum elevation. After firing the second time, the weapon will return to the initial weapon direction. This issue appears only when the player is greater than about 100 meters away from the AI vehicle. If the player is within 100 meters, the AI vehicle behaves as expected. The main gun will not move before the second shot. If the player starts far away and moves to within 100 meters after the AI vehicle has changed the weapon direction and before the second shot has been fired, the vehicle will return the main gun to the correct position. If enough time has passed after the first shot before issuing another "fire" command, the AI will not move the gun for the second shot.

Details

Legacy ID
3811090607
Severity
None
Resolution
Open
Reproducibility
Always
Category
AI Aiming / Shooting
Steps To Reproduce
  1. create "B_MBT_01_arty_F" named test
  2. place player >100 meters away
  3. run the following script: test fire ["mortar_155mm_AMOS", "Single1"]; sleep 1; test fire ["mortar_155mm_AMOS", "Single1"];
  4. the vehicle will attempt to point the main gun directly overhead after the first round is fired
  5. if the player moves closer than about 100 meters before the second round fires, the vehicle's main gun will move to the correct weapon direction
  6. changing the above script to use "sleep 20" or similar will cause the AI to behave as expected
Additional Information

tested with tanks and artillery

Event Timeline

Jepp edited Steps To Reproduce. (Show Details)Sep 18 2015, 3:16 AM
Jepp edited Additional Information. (Show Details)
Jepp set Category to AI Aiming / Shooting.
Jepp set Reproducibility to Always.
Jepp set Severity to None.
Jepp set Resolution to Open.
Jepp set Legacy ID to 3811090607.May 8 2016, 12:44 PM