Jump to content
klamacz

AI Driving - Feedback topic

Recommended Posts

you can tweak lots config settings to minimize performance hit, only way to tell is by giving it a go - it's on Steam so easy to add into the mix!

  • Like 1

Share this post


Link to post
Share on other sites

What are the most pressing AI driving issue in your experience?

 

Is it really objects/units blocking the road?

Or rather AI getting confused by objects near the road, getting off road unnecessarily and with bad consequences, taking corners badly, and traffic avoidance?

 

Not talking about convoy behavior or object interaction with vehicles..

 

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

- unpredictable obstacle avoidance (somethimes I don't see any, but its always at the same spot, must be terrain-related)

- missing crowd management (if few units/vehicles try individually to solve a situation, they usually contradict the actions of others. in that situation a crowd management must take aktion simulating communication/coordination between drivers in such an situation (e.g. you move first, when you are few metres away then I move next..))

- inability to detect obstacles early enougth, vehicles smash often into clearly visible objects at middle of the street

Share this post


Link to post
Share on other sites
14 minutes ago, The Man Without Qualities said:

- inability to detect obstacles early enougth, vehicles smash often into clearly visible objects at middle of the street

 

My experience is that the AI can't detect anything but terrain objects. If it's not terrain object, the AI will just bump into it, and only then try to find a way around - and that part is ugly to watch too.

  • Like 1

Share this post


Link to post
Share on other sites
On 4/9/2019 at 8:52 AM, .kju said:

Is it really objects/units blocking the road?

Or rather AI getting confused by objects near the road, getting off road unnecessarily and with bad consequences, taking corners badly, and traffic avoidance?

Its a bit of both.

The AI ends up driving to fast, can't stop in time and then crashes or over shoots a corner.

The AI also show almost no regard for other vehicles. Vic A drives up behind Vic B, bumpers Vic B, Vic A then tries to go around but Vic B pulls to the same side as Vic A resulting in another crash, then Vic A slowly scrapes around Vic B or runs them off the road or complete stop and then a headache ensues.

Share this post


Link to post
Share on other sites

maybe the distributed design aproach might be one of the generic roots for all problems.

If I remeber inteviews with BIS Spanels the made the netcode design years back having in mind that there are weak computers and slow internet connectivity.

Hence they distribute the load of AI calc to the clients as far as they can and to overcome the weak connectivity with the server (and hence the inaccurate sync) the do a kind of prediction at server.

That way "rubberbanding" occurs as well as units "spawning around" for a few meters.

 

If now 3 vehicles meet somewhere, one owned by server, one by client A and one by client B, it is up to the server to merge all events and feed the results back to the clients.

That has some delay and might explain why vehicles sometimes smash into each other, maybe client B was not aware about the fact that client A vehicle made a sudden move.

 

If everything (controler input of all clients) would be merged at server before executed (simulated) it might change the entire behavior. As for oldstyle MP-shooter.

 

Dunno if the methods I described are still in code like that, but if so, I have doubts that changes to the AI routines would result into any significant improvements.

Share this post


Link to post
Share on other sites

For the first time in ages, I ragequit Arma3.  Holy fucking weeping jesus Devs, do you even play your own game?  I'm in a prowler, and tank is ahead.  We are travelling down a STRAIGHT road on tanoa, and my driver decides to run over the standing stones at the side of the road.  Later, the same road, we come across a tank.  The driver tries to pass the tank, swerving uncontrollably, hits the back of the tank and we're all dead.

 

Sandbox, my friggen arse !

  • Like 1
  • Thanks 1
  • Haha 1
  • Sad 2

Share this post


Link to post
Share on other sites
20 minutes ago, kremator said:

For the first time in ages, I ragequit Arma3.  Holy fucking weeping jesus Devs, do you even play your own game?  I'm in a prowler, and tank is ahead.  We are travelling down a STRAIGHT road on tanoa, and my driver decides to run over the standing stones at the side of the road.  Later, the same road, we come across a tank.  The driver tries to pass the tank, swerving uncontrollably, hits the back of the tank and we're all dead.

 

Sandbox, my friggen arse !

 

I gave up on vehicles long time ago; the only place they work is flat deserts without roads, heck even boats aren't able to properly navigate around static ships.

That AI driving overhaul BI started and never finished has made things even worse; for me Arma 3 has been 100% infantry for a couple years, at this point vehicles are just esthetic bonus for fancy insertions and extractions.

  • Like 1

Share this post


Link to post
Share on other sites

Yes. I think this has been part of the move, intended or otherwise away from COOP and towards PvP and it's attendant PvE. That has been what has been buttering BI's bread for years now so it's not to be unexpected.

As playerunknown has shown us, any fool can make an utterly synthetic, addictive PvP that has no reference to real life. It takes skill and years to make AI that are worth their own pixels. Ask the Spanel brothers.

  • Like 2

Share this post


Link to post
Share on other sites
On 4/19/2019 at 3:12 AM, haleks said:

 

I gave up on vehicles long time ago; the only place they work is flat deserts without roads, heck even boats aren't able to properly navigate around static ships.

That AI driving overhaul BI started and never finished has made things even worse; for me Arma 3 has been 100% infantry for a couple years, at this point vehicles are just esthetic bonus for fancy insertions and extractions.

 

imagine if even a couple weeks of effort were put into AI/Driving by the devs in the past few years. would have made huge difference. instead we get politician-like stalling/delaying/deflections/etc until its too late

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites
On 4/18/2019 at 6:53 PM, kremator said:

For the first time in ages, I ragequit Arma3.  Holy fucking weeping jesus Devs, do you even play your own game?  I'm in a prowler, and tank is ahead.  We are travelling down a STRAIGHT road on tanoa, and my driver decides to run over the standing stones at the side of the road.  Later, the same road, we come across a tank.  The driver tries to pass the tank, swerving uncontrollably, hits the back of the tank and we're all dead.

You must be new. I gave up on street vehicles about 10000 years ago. I was just sick of watching them drive into a street lamp and then needing like 2 minutes to drive around it.

But yet have to check vcom ai for this. I think he guides the ai units with can openers.

  • Like 1
  • Haha 1

Share this post


Link to post
Share on other sites

Just one more "input". I experienced significant differences between "wild" (as is) vehicles (in convoy or not), and vehicles with limited speed... really limited speed (18 km/h). It sounds like the FSM has sufficient slot to take obstacles into account. And, as consequence, the heavier scenario, the worse AI driving.

Share this post


Link to post
Share on other sites
Posted (edited)

A normal Saturday morning for me. I've discovered that the roadAt command is a bit odd. In a given position, roadat player is reliable but roadat vehicle player isn't. Having nailed that down, sitting on an ATV, punching variants into the script timer thingy to see which reliable one is quicker, when....

*sigh*

 

 

Edited by Tankbuster
original video removed as the soundtrack features Mrs Tank shouting at my son to do his homework :)
  • Haha 4

Share this post


Link to post
Share on other sites
On 5/28/2019 at 6:21 PM, DnA said:

28-05-2019
EXE rev. 145702 (game)
...

  • Tweaked: Improved AI tank path-following (using re-tuned AITankSteeringComponent PID controller settings provided by CUP - many thanks!)

...

Please, give it a go, turn it upside down, do some AI road rage, etc. 🙂 And let us know if you encounter a situation where the AI would behave even worse than before.

Also big big thanks to CUP for playing with the PID and tweaking it to improve the tank driving AI!

  • Like 11
  • Thanks 3

Share this post


Link to post
Share on other sites
On 6/3/2019 at 3:28 PM, oukej said:

Please, give it a go, turn it upside down, do some AI road rage, etc. 🙂 And let us know if you encounter a situation where the AI would behave even worse than before.

From what I can tell concerning AI tank path following (always tested with editor placed "AWARE" units) it seems that tanks tend to cut corners even more extreme than before, often leaving the road/path for 1.2x the vehicles width.

Also had some weird path decisions (only happens with tanks in aware mode, car class vehicles stay on the road in aware, tanks will also stay on the road but only in safe mode) on livonia, like seen in the picture:

Slammer(up):

cEuqrII.jpg

 

Prowler(HMG):

tGA4RDp.jpg

All in all tank driving and collision avoidance seems more stable than prior to the tweaks.

Curious about what others have observed since.

 

Cheers

 

  • Like 4
  • Thanks 1

Share this post


Link to post
Share on other sites
On 6/3/2019 at 4:28 PM, oukej said:

Please, give it a go, turn it upside down, do some AI road rage, etc. 🙂 And let us know if you encounter a situation where the AI would behave even worse than before.

Also big big thanks to CUP for playing with the PID and tweaking it to improve the tank driving AI!

 

May be create post on Reddit, Discord and Twitter for collect more feedback's?

 

And please post scripts for testing this changes without waste time 🙂

Share this post


Link to post
Share on other sites

@pr9inichek for some reasons when I first load this page the video are from 2016, in which the tank's path finding is ... horrendous, to say the least. Those back flips and explosions 😓

 

When I revisited, the videos are now the new tests. There are still some quirks, but quite a long way we've come in these 3 years

 

 

Edited by martin_lee

Share this post


Link to post
Share on other sites
8 hours ago, pr9inichek said:

Some tests:

On a sidenote:

Don't test using setAccTime, since the AI controllers won't be able to properly compensate that, as far as I observed.

 

Cheers

  • Like 2
  • Thanks 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×