genesis92x / VcomAI-3.0

Vcom AI 3.0
75 stars 39 forks source link

[3.4.0 dev] AI acting very weird near APCs/vehicles with an inventory [re-arming issue] #164

Open tyl3r99 opened 4 years ago

tyl3r99 commented 4 years ago

Describe the bug Please refer to my video https://youtu.be/jrKdSVMrBvs

You can see straight away the AI that are near a vehicle decide to go weird and flock the APC's. When I remove them they do an interact animation then proceed as normal??

To Reproduce Steps to reproduce the behavior:

  1. place 1 v 1 group in the editor away so they are not in combat mode straight away.
  2. place 1 waypoint for each team so they eventually meet.
  3. place x1 apc near each group
  4. preview.

Expected behavior for them not to fall in love with vehicles :P

Screenshots https://youtu.be/jrKdSVMrBvs

VCOM Version:

Additional mods used:

(EDIT) --> I tried this on 3.3.2 and 3.3.3 also and could reproduce this all the time

tyl3r99 commented 4 years ago

Added extra info at the bottom

tyl3r99 commented 4 years ago

Will test shortly with the newest commit 👌

tyl3r99 commented 4 years ago

I've found the issue!!

10:24:19 Action::Process - No target [action: Rearm] 10:24:19 Action::Process - No target [action: Rearm] 10:24:19 Action::Process - No target [action: Rearm] 10:24:19 Action::Process - No target [action: Rearm] 10:24:20 Action::Process - No target [action: Rearm] 10:24:20 Action::Process - No target [action: Rearm]

When changing the setting Mag count ai begin to look for additional mags = minimum (2) this seems to stop happening.

it seems to be certain units that keep wanting to rearm at vehicles on their default vanilla kit. maybe smoke grenades or chem lights or something

ghost commented 3 years ago

Happens to me too on 3.4.0 Release version, with Helicopter from RHS mod. Video: https://www.youtube.com/watch?v=QLCPhtXSQMg&feature=youtu.be