zen-mod / ZEN

Zeus enhancement mod for Arma 3
https://zen-mod.github.io/ZEN
GNU General Public License v3.0
108 stars 47 forks source link

Convoy Parameters Module & Intersections #670

Closed Hobogun closed 2 years ago

Hobogun commented 2 years ago

Arma 3 Version: 2.08.149102 (stable) CBA Version: 3.15.7 (stable) ZEN Version: 1.12.2 (stable)

Mods:

- CBA_A3
- ZEN

Description: When using the Convoy Parameters module for a group of vehicles, the lead vehicle will often begin to somewhat turn down another road (if going straight) or otherwise get stuck (if turning) at most if not every intersection or point that two roads connect, causing the lead vehicle to often come to a stop, with it then stuttering backwards and forewords. Even when the lead AI vehicle potentially gets back onto the intended road it was meant to drive down, the next vehicle in line can then often suffer the same issue. This sometimes also results in vehicles further back in the convoy just stopping and not moving at all, even if the vehicles before it are moving away.

Expected behavior: A convoy of vehicles able to drive through a intersection or other road connection without stopping and or turning onto the wrong road.

Steps to reproduce: Follow these steps to reproduce the issue.

  1. Open Zeus and spawn a selection of vehicles ...
  2. Connect the command of the vehicles to the lead vehicle ...
  3. _Follow the instructions as per https://zen-mod.github.io/ZEN/#/user_guide/modules_list to place the Convoy Parameters module on the vehicles. ..._
  4. Give the lead vehicle a waypoint and watch at each intersection or road connection what happens. ...

Where did the issue occur?

Additional information: When not using the Convoy Parameters module and doing it the manual way by assigning the vehicles in the convoy to the lead vehicle, bypassing the module and setting the waypoint, the AI does not suffer the same problem at intersections or road connections.

RPT log file:

Screenshots: In the first screenshot (bottom to top), the lead vehicle which was attempting to go straight in the picture instead turned right onto the right road then after turning right tried to turn left, which left it in a constant moving backwards and forewords stuttering state in the second & third screenshots 20220529204252_1 20220529203829_1 20220529203824_1

mharis001 commented 2 years ago

The Convoy Parameters module does not do anything special other than use commands to set the convoy separation, speed limit, and force stay on road. I think this is probably just an issue with Arma 3 AI driving. Try with the stay on road option disabled.

Hobogun commented 2 years ago

After further testing it seems to just be the 'Stay on Road' option causing issues most of the time, any idea why that specifically would be causing issues then?

mharis001 commented 2 years ago

Just Arma driving AI - they probably try to "stay on the road" a little too much which causes them to stutter.