Page 1 of 1

[b38] Please fix escorts - psychiatrist required

Posted: Mon Apr 16, 2012 12:03 pm
by PowerWyrm
Got an escort on a level which somewhat looked like this:

Code: Select all

###############
#_____________#
#_#########___#
#_#########___#
#_###########0#
#_#############
#______B____XY#
#######_#######
#######A#######
###############
A is the starting spot (stairs up).
I stopped on spot B to see where the escort would go. Decided to go east.
I went ahead and found a dead end. Spot X reveals a trap. Casting Vision reveals the portal one square above spot Y.
Here's the problem: the escort didn't choose to go west, using the only way to the portal that was open; when arriving on spots X and Y, the escort didn't acknowledge there was a trap at all, going back and forth between spots X and Y until committing suicide.

Re: [b38] Please fix escorts - psychiatrist required

Posted: Mon Apr 16, 2012 1:22 pm
by jenx
I treat these as a challenge. You stand on trap and dig a path.

Can happen when escort somehow senses a creature in a particular location and tries to get to them, typically a banshee or shade etc

Re: [b38] Please fix escorts - psychiatrist required

Posted: Tue Apr 17, 2012 11:32 am
by PowerWyrm
jenx wrote:I treat these as a challenge. You stand on trap and dig a path.

Can happen when escort somehow senses a creature in a particular location and tries to get to them, typically a banshee or shade etc
Well my little level map isn't completely accurate. There was no way to dig a path to the portal while standing on the trap. You would have to dig a second spot and during the 30 or so turns spent digging, the escort would move back and forth between an empty square and the trap (X-Y):

Code: Select all

###0#
#####
#####
#_@_#
____#
#####

###0#
#####
###@#
#_XY#
____#
#####

Re: [b38] Please fix escorts - psychiatrist required

Posted: Tue Apr 17, 2012 11:56 am
by jenx
Ok. Still not sure it is a bug

Re: [b38] Please fix escorts - psychiatrist required

Posted: Tue Apr 17, 2012 7:48 pm
by yufra
Do you have a save file with this? It would be too difficult to try and recreate this behavior. Cheers!

Re: [b38] Please fix escorts - psychiatrist required

Posted: Tue Apr 17, 2012 7:57 pm
by edge2054
I've seen this before.

I believe the problem is that the escort can target enemies through walls somehow. Every time I've encountered it the escort had a target. But their pathfinding to their target isn't as good as their portal pathfinding.

Every time I've ran into this, clearing out enemies on the level until I killed the targeted one unstuck the escort.

Granted, that wouldn't really help the two trap scenario.