nuggetz 0 Posted August 15, 2009 How hard is it for an AI vehicle to navigate a road? Playing single player mission and the AI is trying to maneuver a vehicle and keeps knocking down trees. Is it really that hard to code? If something is blocking path = true, then predict trajectory of whatever is in the road and calculate new route. If something is not blocking the road then just FOLLOW THE STUPID PATH! Why does this still suck in A2?. Ruins immersion when your AI controlled tank or whatever just refuses to navigate a path correctly for no good reason. I mean theres no one around for miles. Surely the game could be coded to allow the vehicle to take a path at full steam if it detects that no one is around? I can appreciate the path finding issues when things pop up in the middle of the road as you would have to calculate the other vehicle trajectories or whatever but the fact that a car simply cannot go around a corner is absurd. Share this post Link to post Share on other sites
kremator 1065 Posted August 15, 2009 I had had no problems at all with vehicle pathfinding ... in fact it pretty bloody brilliant. Give them a waypoint over the other side of Chernarus and they GET THERE ! I do agree that it needs to be tweaked (perhaps using the FSM scripting as you suggest) but it's not as disasterous as you make out. Set the AI to SAFE and they drive pretty well. Share this post Link to post Share on other sites
whopper_with_cheese 0 Posted August 15, 2009 (edited) my personal favourite is the friendly AI running over friendlies (including myself), even when those on foot were stationary / standing up in the middle of a big wide field...leaving me reaching for that load key and reminding me again that i'm playing a computer game. who cares if they can get from one side of the map to the other, the point is HOW they do it. Edited August 15, 2009 by whopper_with_cheese Share this post Link to post Share on other sites
kremator 1065 Posted August 15, 2009 I'm sure that can be modifed using the new FSM tools. Patience. Share this post Link to post Share on other sites
.kju 3245 Posted August 15, 2009 AI driving might be possible to tweak in configs. Not in FSM. Share this post Link to post Share on other sites
Greg 0 Posted August 16, 2009 Navigation, path finding, steering and their interaction with collision systems and gameplay are genuine programming challenges. They are also the heart of most game AI systems. BIS does need to improve this area. Here's a few things I've observed: 1) Car swerves to avoid pedestrian who is on the side of the road, knocking down nearby house fencing. 2) Car drives at snail pace speed as troops are walking either side of the road. The road however is completely clear. (Got to look out for unpredictable kids I suppose.) 3) Helicopter turns while soldier is mounting vehicle, crushing the soldier. 4) Truck reverses on top of me and near by soldiers. 5) Truck traveling to way-point drives straight through a platoon of stationary soldiers in an open field, killing 3. Share this post Link to post Share on other sites