You have been taken by the Mists

Author Topic: AI Pathfinding  (Read 652 times)

pretty

  • Outlander
  • **
  • Posts: 54
AI Pathfinding
« on: June 25, 2020, 03:41:05 AM »
Can someone please fix this horrible thing?

Npcs hopping behind meleers just because agroed someone behind them. Making meleers to auto chase before player could react triggering tens of AoOs.

Pushing player pcs x tiles away even dropping pc behind the doors.

This crappy ai pathfind drains all fun from dungeoning with fighter.


Yesper

  • Guest
Re: AI Pathfinding
« Reply #1 on: June 25, 2020, 11:36:29 AM »
That's just how the game do. Even if they could be fixed, it's a game-engine thing to take up with Beamdog. Things to keep in mind:

 - Every door is a dark lord, here.
 - If the AI switches targets, it is (more often than not) for a number of relatively predictable reasons.
 - The AoO thing is easily avoided as well. Sometimes, it's a calculated risk that the player and/or character will take.

Hathor

  • Dark Lord
  • *****
  • Posts: 500
Re: AI Pathfinding
« Reply #2 on: June 25, 2020, 11:39:58 AM »
That's just how the game do. Even if they could be fixed, it's a game-engine thing to take up with Beamdog. Things to keep in mind:

 - Every door is a dark lord, here.
 - If the AI switches targets, it is (more often than not) for a number of relatively predictable reasons.
 - The AoO thing is easily avoided as well. Sometimes, it's a calculated risk that the player and/or character will take.

Sadly this is true, just how the game works. It's good to get a sense of these things as they can largely be worked around.

pretty

  • Outlander
  • **
  • Posts: 54
Re: AI Pathfinding
« Reply #3 on: June 26, 2020, 03:00:22 AM »
That's just how the game do. Even if they could be fixed, it's a game-engine thing to take up with Beamdog. Things to keep in mind:

 - Every door is a dark lord, here.
 - If the AI switches targets, it is (more often than not) for a number of relatively predictable reasons.
 - The AoO thing is easily avoided as well. Sometimes, it's a calculated risk that the player and/or character will take.

Not entirely true. I spent 15 years on nwn and since nwn EE came out.

I never had such issue elsewhere. It never happened that npc would target archer in back linie and just jumped over several PC characters blocking the way. The only place where it happens, is Ravenloft.

SardineTheAncestor

  • Dark Power
  • ******
  • Posts: 1785
Re: AI Pathfinding
« Reply #4 on: June 26, 2020, 04:19:50 AM »
Most monsters here will target the attacker with the lowest AC. Very few do not do this.

Archers are typically fairly low on AC since they can neither benefit from parry AC or shields. Thus, archers need to be completely blocked off by the characters engaged with the enemy.

I found that Archer PCs are best used for counter-archery. NPC archers won't rush after you, and you can generally outshoot them 1 on 1. Doesn't matter what class you are. Other than that, they can be alright at shooting enemies who are running away, but beware if you do not kill it, it might come back and mess your day up if you don't have an escape or a way to fight back in melee. For this reason, archery is typically a something melee characters will sometimes do instead of chasing enemies off. Early on, my archer learned the hard way not to shoot at things she couldn't survive a fight with.

If you completely block off a doorway or other chokepoint, you can have an archer shooting without pulling enemies through your guys. Just don't close the door. It will throw players around. NPCs shouldn't be able to shove players out of the way, but they will run past if there is room.
Insatisfait permanent, c'est ça l'apanage du champion.